posix: Adapt tst-spawn{2,3} to use libsupport.
[glibc.git] / ChangeLog
blob504f73c7d2c2589d02001aa73b00cf12e1054d4a
1 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * posix/tst-spawn2.c (do_test): Use libsupport.
4         * posix/tst-spawn3.c (do_test): Likewise.
6 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
8         * math/gen-tgmath-tests.py (Tests.__init__): Define
9         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
11         * math/tgmath.h: Include <bits/libc-header-start.h> and
12         <bits/floatn.h>.
13         (__TGMATH_F128): New macro.
14         (__TGMATH_CF128): Likewise.
15         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
16         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
17         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
18         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
19         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
20         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
21         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
22         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
23         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
25         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
26         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
27         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
28         (__TGMATH_BINARY_REAL_IMAG): Likewise.
29         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
30         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
31         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
32         _FloatNx types if the corresponding HUGE_VAL macros are defined.
34         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
35         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
36         complex arguments.
38         [BZ #21687]
39         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
40         (totalorder): Use it.
41         (totalordermag): Likewise.
42         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
43         totalorder and totalordermag.
44         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
45         totalordermag in arguments of calls to those functions.
46         (NCALLS): Change to 134.
48         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
49         cast to return type argument.
50         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
51         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
52         (llrint): Likewise.
53         (lround): Likewise.
54         (llround): Likewise.
55         (ilogb): Likewise.
56         (llogb): Likewise.
57         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
58         (ufromfp): Likewise.
59         (fromfpx): Likewise.
60         (ufromfpx): Likewise.
62         [BZ #21607]
63         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
64         [LDBL_MANT_DIG > DBL_MANT_DIG].
65         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
66         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
67         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
68         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
69         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
70         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
71         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
72         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
73         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
74         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
75         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
76         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
77         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
78         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
79         * math/test-tgmath.c: Include <float.h>.
80         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
81         DBL_MANT_DIG].
82         * math/test-tgmath2.c: Include <float.h>.
83         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
84         DBL_MANT_DIG].
86         * math/gen-tgmath-tests.py: New file.
87         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
88         [PYTHON] (generated): Add test-tgmath3.c.
89         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
90         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
92         * configure.ac (AS): Require binutils 2.25 or later.
93         (LD): Likewise.
94         * configure: Regenerated.
95         * sysdeps/s390/configure.ac (AS): Remove version check.
96         * sysdeps/s390/configure: Regenerated.
97         * sysdeps/x86_64/configure.ac (AS): Remove version check.
98         * sysdeps/x86_64/configure: Regenerated.
99         * manual/install.texi (Tools for Compilation): Document
100         requirement for binutils 2.25 or later.
101         * INSTALL: Regenerated.
103 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
105         [BZ #14995]
106         * configure.ac: Allow gold 1.14 or above to configire glibc
107         * configure: Regenerated.
109 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
111         [BZ #21457]
112         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
113         struct tag.
114         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
115         Likewise.
116         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
117         Likewise.
118         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
119         Declare struct type with __ctx.
120         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
121         tag.
122         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
123         and regs field name.
125 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
127         * elf/loadtest.c (OUT): Define using do { } while (0).
129         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
130         (DO_NUMBER_SPACEPAD): Likewise.
132 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
134         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
135         sysdep_routines.
136         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
137         __memchr_neon.
138         Add ifunc definitions for __memchr_neon and __memchr_noneon.
139         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
140         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
141         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
143 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
145         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
146         Use vector and cu21 instruction.
147         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
148         Add __to_utf8_loop_vx_cu in ifunc resolver.
150 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
152         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
153         Use vector and cu24 instruction.
155 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
157         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
158         Use vector and cu42 instruction.
159         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
160         Add __to_utf16_loop_vx_cu in ifunc resolver.
162 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
164         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
165         Use vector and cu41 instruction.
166         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
167         in ifunc resolver.
169 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
171         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
172         Add vxd, vxe, gs flag.
173         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
174         HWCAP_S390_GS capability.
175         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
176         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
178 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
180         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
181         the first 32 bytes before checking size when size >= 32 bytes.
182         Replace vpmovmskb/subl/jnz with vptest/jnc.
184 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
186         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
187         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
189 2017-06-27  Florian Weimer  <fweimer@redhat.com>
191         Work around test timeouts with ICMP rate limiting on localhost.
192         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
193         function.
194         (do_test): Call it.
196 2017-06-27  Florian Weimer  <fweimer@redhat.com>
198         Call _res_hconf_init from __res_vinit.
199         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
200         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
201         (NEED__RES): Define.
202         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
203         (NEED__RES): Define.
204         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
205         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
206         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
207         (NEED__RES): Define.
208         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
209         _res_hconf_init.
210         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
211         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
213         _res_hconf_init.
215 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
217         * sysdeps/ia64/Implies: Add ieee754/float128.
218         * sysdeps/ia64/bits/floatn.h: New file.
219         * sysdeps/ia64/float128-abi.h: Likewise.
220         * manual/math.texi (Mathematics): Document support for _Float128
221         on ia64.
222         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
223         Makefile variable.
224         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
225         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
226         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
227         * sysdeps/ia64/math-tests.h: New file.
228         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
229         based on TEST_COND_binary128 for [__ia64__].
230         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
231         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
233         [BZ #21457]
234         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
235         ucontext_t.
236         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
237         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
238         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
239         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
240         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
241         ucontext): Likewise.
242         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
243         Likewise.
244         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
245         Likewise.
246         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
247         Likewise.
248         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
249         Likewise.
250         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
251         Likewise.
252         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
253         Likewise.
254         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
255         Likewise.
256         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
257         ucontext): Likewise.
258         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
259         Likewise.
260         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
261         Likewise.
262         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
263         Likewise.
264         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
265         Likewise.
266         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
267         Likewise.
268         * sysdeps/powerpc/powerpc32/backtrace.c (struct
269         rt_signal_frame_32): Likewise.
270         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
271         Likewise.
272         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
273         kernel_rt_sigframe): Likewise.
274         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
275         Likewise.
276         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
277         Likewise.
278         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
279         Likewise.
280         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
281         (__profil_counter): Likewise.
282         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
283         (SIGCONTEXT): Likewise.
284         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
285         kernel_rt_sigframe): Likewise.
286         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
287         kernel_rt_sigframe): Likewise.
288         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
289         Likewise.
290         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
291         Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
293         (__start_context): Likewise.
294         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
295         Likewise.
296         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
297         Likewise.
298         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
299         Likewise.
301         * sysdeps/i386/Implies: Add ieee754/float128.
302         * sysdeps/x86_64/Implies: Likewise.
303         * sysdeps/x86/bits/floatn.h: New file.
304         * sysdeps/x86/float128-abi.h: Likewise.
305         * manual/math.texi (Mathematics): Document support for _Float128
306         on x86_64 and x86.
307         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
308         (math_opt_barrier): Do not put _Float128 values in floating-point
309         registers.
310         (math_force_eval): Likewise.
311         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
312         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
313         to Makefile variable.
314         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
315         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
316         * sysdeps/x86/math-tests.h: New file.
317         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
318         * math/libm-test-getpayload.inc (getpayload_test_data): Use
319         XFAIL_FLOAT128_PAYLOAD.
320         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
321         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
322         * math/libm-test-totalordermag.inc (totalordermag_test_data):
323         Likewise.
324         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
326         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
327         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
329         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
330         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
331         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
336         [BZ #21512]
337         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
338         syscall instead of jump to _exit.
339         (CLONE_VM_BIT): Remove unused define.
340         (CLONE_VM): Likewise.
341         (CLONE_THREAD_BIT): Likewise.
342         (CLONE_THREAD): Likewise.
343         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
344         (CLONE_VM): Remove unused define.
345         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
346         (CLONE_VM): Remove unused define.
347         (CLONE_THREAD): Likewise.
348         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
349         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
350         syscall instead of jump to _exit.
351         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
352         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
353         (CLONE_VM): Remove unused define.
354         (CLONE_THREAD): Likewise.
355         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
356         (CLONE_VM): Remove unused define.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
358         Likewise.
359         (CLONE_VM): Remove unused define.
360         (CLONE_THREAD): Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
362         Likewise.
363         (CLONE_VM): Remove unused define.
364         (CLONE_THREAD): Likewise.
365         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
366         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
367         (CLONE_VM): Remove unused define.
368         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
369         (CLONE_VM): Remove unused define.
370         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
371         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
372         (CLONE_VM): Remove unused define.
373         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
374         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
376 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
377             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
379         * manual/math.texi (Mathematics): Mention the enabling of float128
380         for powerpc64le.
381         * sysdeps/powerpc/bits/floatn.h: New file.
382         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
383         * sysdeps/powerpc/fpu/math_private.h:
384         (__ieee754_sqrtf128): New inline override.
385         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
386         * sysdeps/powerpc/powerpc64le/Makefile: New file.
387         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
388         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
389         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
391         Updated.
392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
393         Likewise.
394         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
395         New file.
397 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
399         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
400         * sysdeps/powerpc/powerpc64le/configure: Update.
402 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
403             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
405         * INSTALL: Regenerate.
406         * manual/install.texi (Recommended Tools for Compilation): Mention
407         the powerpc64le-specific requirement in the manual.
408         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
409         for the compiler features required for building float128.
410         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
412 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
414         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
415         before comparing with another char.
417 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
419         * manual/math.texi: Fix a grammatical error.
421 2017-06-24  Florian Weimer  <fweimer@redhat.com>
423         [BZ #21295]
424         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
426 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
428         [BZ #21295]
429         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
430         Append addresses at the end of the list.
432 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
434         [BZ #21666]
435         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
436         (loc2): Likewise.
437         (locs): Likewise.
439 2017-06-23  Florian Weimer  <fweimer@redhat.com>
441         [BZ #16637]
442         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
443         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
444         digits between colons.
445         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
447 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
448             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
450         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
451         (__sched_get_prioriry_min): Likewise.
452         * include/sys/mman.h (__mmap): Likewise.
453         (__mmap64): Likewise.
454         (__munmap): Likewise.
455         (__mprotect): Likewise.
456         * include/termios.h (__tcsetattr): Likewise.
457         * include/time.h (__nanosleep): Use hidden_proto instead of
458         libc_hidden_proto.
459         * posix/nanosleep.c (__nanosleep): Likewise.
460         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
461         __sched_get_priority_min, and __sched_get_priority_max under
462         GLIBC_PRIVATE.
463         * nptl/allocatestack.c (__free_stacks): Use internal definition for
464         libc symbols.
465         (change_stack_perm): Likewise.
466         (change_stack_perm): Likewise.
467         (allocate_stack): Likewise.
468         * sysdeps/posix/gethostname.c: Likewise.
469         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
470         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
471         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
472         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
473         (__pthread_key_delete): Likewise.
474         (__pthread_detach): Likewise.
475         (__pthread_cancel): Likewise.
476         (__pthread_mutex_trylock): Likewise.
477         (__pthread_mutexattr_init): Likewise.
478         (__pthread_mutexattr_settype): Likewise.
479         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
480         create alias for exported one.
481         * nptl/pthread_join.c (pthread_join): Likewise.
482         * nptl/pthread_detach.c (pthread_detach): Likewise.
483         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
484         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
485         * nptl/pthread_create.c: Change static requirements for pthread
486         symbols.
487         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
488         for internal definition.
489         * nptl/pthread_exit.c (__pthread_exit): Likewise.
490         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
491         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
492         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
493         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
494         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
495         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
496         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
497         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
498         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
499         Likewise.
500         * nptl/pthread_self.c (__pthread_self): Likewise.
501         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
502         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
503         * misc/mmap.c (__mmap): Add internal symbol definition.
504         * misc/mmap.c (__mmap64): Likewise.
505         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
506         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
507         (__mmap64): Likewise.
508         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
509         Add __uname.
511 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
513         * sysdeps/i386/fpu/libm-test-ulps: Update.
514         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
516         * libm-test-support.c (check_float_internal): Clear exceptions at
517         end of function.
518         (check_int): Likewise.
519         (check_long): Likewise.
520         (check_bool): Likewise.
521         (check_longlong): Likewise.
522         (check_intmax_t): Likewise.
523         (check_uintmax_t): Likewise.
525         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
526         Do not declare.
527         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
528         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
529         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
531 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
533         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
534         Replace movzbl and orl with movb.
536 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
538         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
539         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
540         and HUGE_VAL_FNx.
541         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
542         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
543         are in math.h, to avoid having to list the _FloatN and _FloatNx
544         variants as well.  Likewise for the cabs functions.
545         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
546         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
547         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
548         come from TS 18661-3, since this section explicitly states that
549         these functions come from BSD.
550         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
551         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
552         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
553         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
554         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
555         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
556         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
557         remainderfNx.
558         (Setting and modifying single bits of FP values): Document
559         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
560         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
561         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
562         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
563         (Floating-Point Comparison Functions): Document totalorderfN,
564         totalorderfNx, totalordermagfN, totalordermagfNx.
565         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
566         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
567         fdimfN, fdimfNx, fmafN, fmafNx.
568         (Complex Numbers): Document the complex types: _FloatN complex and
569         _FloatNx complex.
570         (rojections, Conjugates, and Decomposing of Complex Numbers):
571         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
572         cargfN, cargfNx, cprojfN, cprojfNx.
573         * manual/math.texi (Mathematics): Mention that the _FloatN and
574         _FloatNx variants of the math functions come from TS 18661-3,
575         unless otherwise stated.
576         (Predefined Mathematical Constants): Document the _FloatN and
577         _FloatNx variants of the macros prefixed with M_.
578         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
579         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
580         ccosfNx, ctanfN, ctanfNx.
581         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
582         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
583         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
584         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
585         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
586         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
587         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
588         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
589         cpowfNx.
590         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
591         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
592         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
593         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
594         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
595         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
596         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
597         ynfN, ynfNx.
599 2017-06-23  Florian Weimer  <fweimer@redhat.com>
601         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
603 2017-06-23  Florian Weimer  <fweimer@redhat.com>
605         * resolv/res_libc.c: Reformat to GNU style.
607 2017-06-23  Florian Weimer  <fweimer@redhat.com>
609         * resolv/resolv-internal.h (__res_initstamp): Declare.
610         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
611         It is implied by the declaration.
612         * resolv/res_libc.c (__res_initstamp): Remove declaration.
614 2017-06-23  Florian Weimer  <fweimer@redhat.com>
616         [BZ #21662]
617         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
618         Use only 24 bits of the register before the subtraction.
619         * string/test-memcmp.c (check1): Check with different lengths.
621 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
623         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
624         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
626 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
628         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
629         Enable generation of float128 entries on the error table.
631 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
633         * include/float.h: Include libc-header-start.h to get the
634         definition of __GLIBC_USE.
636 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
638         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
639         rearranged code and doubles float types.
641 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
644         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
646 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
648         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
649         to errno, and simplify remaining related code.
651 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
653         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
654         PPC_FEATURE2_SCV.
655         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
656         and darn.
658 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
660         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
661         the implementation-specific function name and remove unneeded macros
662         definition.
663         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
664         function name if not defined and pass as parameter to macros
665         accordingly.
667 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
670         (libm-sysdep_routines): Add s_llroundf-ppc64.
671         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
672         (__llroundf): Define as strong alias of __llround.
673         (llroundf):  Define as weak alias of __llround.
674         (__lroundf): Define as strong alias of __llround.
675         (lroundf):  Define as weak alias of __llround.
676         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
677         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
680         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
681         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
682         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
684 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
686         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
687         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
689         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
690         (MATH_TESTS_TG): New macro.
691         (SNAN_TESTS_float128): Likewise.
692         (ROUNDING_TESTS_float128): Likewise.
693         (EXCEPTION_TESTS_float128): Likewise.
694         (SNAN_TESTS): Define using MATH_TESTS_TG.
695         (ROUNDING_TESTS): Likewise.
696         (EXCEPTION_TESTS): Likewise.
698         * sysdeps/ieee754/float128/float128_private.h
699         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
700         pass it to SET_RESTORE_ROUNDF128.
702         * sysdeps/ieee754/float128/float128_private.h: Include
703         <ieee754.h>.
705         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
706         typeof to argument passed to __builtin_types_compatible_p.
707         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
709         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
710         <errno.h>.
711         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
712         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
713         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
714         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
715         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
716         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
717         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
718         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
719         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
720         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
721         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
722         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
723         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
724         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
725         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
726         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
727         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
728         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
729         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
730         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
731         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
732         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
734         * sysdeps/ieee754/float128/strtof128_l.c: Include
735         <bits/types/locale_t.h> instead of <xlocale.h>.
736         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
737         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
739 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
741         * benchtests/scripts/benchout_strings.schema.json: New file.
742         * benchtests/scripts/compare_strings.py: New file.
744         * benchtests/bench-memcpy-large.c: Include json-lib.h.
745         (do_one_test): Print json.
746         (do_test): Likewise.
747         (test_main): Likewise.
748         * benchtests/bench-memcpy-random.c: Include json-lib.h.
749         (do_one_test): Print json.
750         (do_test): Likewise.
751         (test_main): Likewise.
752         * benchtests/bench-memcpy.c: Include json-lib.h.
753         (do_one_test): Print json.
754         (do_test): Likewise.
755         (test_main): Likewise.
757         * benchtests/json-lib.h: Include inttypes.h.
758         (json_attr_int, json_attr_int, json_element_string,
759         json_element_int, json_element_uint): New functions.
760         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
761         json_element_string, json_element_int, json_element_uint): New
762         functions.
764 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
766         * manual/arith.texi (Remainder Functions): Describe remainder as
767         primary and drem as an alternative name.  Change the comment on
768         remainder to ISO, since it is defined in ISO C99.
770 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
772         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
773         macro expansion.
774         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
776 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
778         [BZ #21533]
779         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
780         201706L for Unicode 10.0.
782 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
784         [BZ #21657]
785         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
786         on node-local addresses.
787         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
789 2017-06-21  Florian Weimer  <fweimer@redhat.com>
791         * intl/loadmsgcat.c: Remove alloca support.
792         (_nl_load_domain): Use calloc instead of alloca.
794 2017-04-21  Florian Weimer  <fweimer@redhat.com>
796         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
797         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
798         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
799         alloc_buffer_create_failure.
800         * malloc/Versions (__libc_alloc_buffer_alloc_array)
801         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
802         (__libc_alloc_buffer_copy_string)
803         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
804         * malloc/alloc_buffer_alloc_array.c: New file.
805         * malloc/alloc_buffer_allocate.c: Likewise.
806         * malloc/alloc_buffer_copy_bytes.c: Likewise.
807         * malloc/alloc_buffer_copy_string.c: Likewise.
808         * malloc/alloc_buffer_create_failure.c: Likewise.
809         * malloc/tst-alloc_buffer.c: Likewise.
811 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
814         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
815         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
816         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
817         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
818         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
819         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
820         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
821         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
822         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
823         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
824         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
825         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
826         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
827         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
828         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
829         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
830         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
831         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
832         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
833         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
834         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
835         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
836         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
837         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
838         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
839         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
840         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
841         "locale-defines.h".
842         (UPDATE_STRNCMP_COUNTER): New.
843         (SECTION): Likewise.
844         (GLABEL): Likewise.
845         (LABEL): Likewise.
846         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
847         for libc.a.
849 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
851         [BZ #21622]
852         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
853         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
854         __USE_MISC].
855         (SA_NODEFER): Likewise.
856         (SA_RESETHAND): Likewise.
858 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
860         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
861         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
862         Remove security_level on all fields.
863         * manual/tunables.texi: Replace ifunc with hwcaps.
864         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
865         Renamed to ..
866         (TUNABLE_CALLBACK (set_hwcaps)): This.
867         (init_cpu_features): Updated.
868         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
869         data_cache_size, data_cache_size and non_temporal_threshold to
870         unsigned long int.
871         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
872         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
873         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
874         use DEFAULT_STRLEN.
876 2017-06-21  Florian Weimer  <fweimer@redhat.com>
878         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
879         asprintf to construct an absolute pathname.
881 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
883         * misc/tst-preadvwritev2-common.c: New file.
884         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
885         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
887 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
889         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
890         annotation.
891         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
893 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
895         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
896         hidden __GI__dl_argv symbol.
898 2017-06-21  Florian Weimer  <fweimer@redhat.com>
900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
901         to parse addresses with IPv6 scope IDs.
903 2017-06-21  Florian Weimer  <fweimer@redhat.com>
905         Add the __inet_pton_length helper function.
906         * resolv/resolv-internal.h (__inet_pton_length): Declare.
907         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
908         Add length argument.
909         (__inet_pton): New function.
910         (inet_pton4): Add length argument.
911         (hex_digit_value): New function.
912         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
913         memmove and memset to fill :: gap.
914         * resolv/Makefile (tests, tsts-static, tests-internal): Add
915         tst-inet_pton.
916         * resolv/tst-inet_pton.c: New file.
917         * support/Makefile (libsupport-routines): Add xmprotect.
918         * support/xunistd.h (xmprotect): Declare.
919         * support/xmprotect.c: New file.
921 2017-06-21  Florian Weimer  <fweimer@redhat.com>
923         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
924         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
925         (call_gai, check_ai): New functions.
926         (expect_failure, expect_success): Use them.  Add logging.
928 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
930         * sysdeps/powerpc/powerpc64/multiarch/Makefile
931         (sysdep_routines): Add memchr_power8.
932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
933         (memchr): Add __memchr_power8 to list of memchr functions.
934         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
935         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
936         (memchr): Add __memchr_power8 to ifunc list.
937         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
939 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
941         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
942         (__llrintf): Define as strong alias of __llrint.
943         (llrintf):  Define as weak alias of __llrint.
944         (__lrintf): Define as strong alias of __llrint.
945         (lrintf):  Define as weak alias of __llrint.
946         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
947         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
948         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
951 2017-06-20  Zack Weinberg  <zackw@panix.com>
953         * bits/signum-generic.h: Renamed from bits/signum.h.
954         Add proper multiple include guard and misuse check.
955         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
956         Move definition of SIGIO to "archaic names for compatibility" section.
957         * bits/signum.h: New file which just includes bits/signum-generic.h.
958         * sysdeps/unix/bsd/bits/signum.h
959         * sysdeps/unix/sysv/linux/bits/signum.h
960         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
961         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
962         * sysdeps/unix/sysv/linux/mips/bits/signum.h
963         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
964         Just include <bits/signum-generic.h> and then add or adjust
965         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
967         * signal/Makefile: Install bits/signum-generic.h.
968         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
970         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
971         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
973         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
974         * sysdeps/unix/sysv/linux/Makefile: Run it.
976 2017-06-20  Zack Weinberg  <zackw@panix.com>
978         * locale/xlocale.h: Rename to...
979         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
980         Only define struct __locale_struct and __locale_t, not locale_t.
981         * locale/bits/types/locale_t.h: New file; define locale_t here.
982         * locale/Makefile (headers): Update to match.
984         * include/xlocale.h: Delete wrapper.
985         * include/bits/types/__locale_t.h: New wrapper.
986         * include/bits/types/locale_t.h: New wrapper.
988         * ctype/ctype.h, include/printf.h, include/time.h
989         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
990         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
991         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
992         Correct outdated comments regarding the standardization status of
993         the functions that take locale_t arguments.
995         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
996         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
997         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
998         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
999         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1000         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1001         Don't include xlocale.h. If necessary, include locale.h instead.
1003         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1005         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1006         * include/monetary.h, include/stdlib.h, include/time.h
1007         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1008         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1009         * locale/localeinfo.h, locale/newlocale.c
1010         * locale/nl_langinfo_l.c, locale/uselocale.c
1011         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1012         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1013         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1014         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1015         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1016         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1017         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1018         * sysdeps/ieee754/float128/strtof128_l.c
1019         * sysdeps/ieee754/float128/wcstof128.c
1020         * sysdeps/ieee754/float128/wcstof128_l.c
1021         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1022         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1023         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1024         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1025         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1026         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1027         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1028         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1029         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1030         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1031         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1032         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1033         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1034         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1035         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1036         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1037         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1038         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1039         Change all uses of __locale_t to locale_t.
1041 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1043         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1044         for !__OFF_T_MATCHES_OFF64_T.
1045         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1046         implementation based on open64.
1047         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1048         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1050 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1052         * elf/dl-tunables.list: Move x86 specific tunables to ...
1053         * sysdeps/x86/dl-tunables.list: Here.  New file.
1055 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1057         [BZ #21635]
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1059         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1060         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1061         powerpc32-linux.
1062         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1064         [BZ #21634]
1065         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1066         (conformtest-xfail-conds): New variable.
1067         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1068         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1070 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1072         * benchtests/powf-inputs: Add reduced trace from wrf.
1074 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1075             Erich Elsen  <eriche@google.com>
1077         * elf/dl-tunables.list (tune): Add ifunc,
1078         x86_non_temporal_threshold,
1079         x86_data_cache_size and x86_shared_cache_size.
1080         * manual/tunables.texi: Document glibc.tune.ifunc,
1081         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1082         and glibc.tune.x86_non_temporal_threshold.
1083         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1084         * sysdeps/x86/cpu-tunables.c: Likewise.
1085         * sysdeps/x86/cacheinfo.c
1086         (init_cacheinfo): Check and get data cache size, shared cache
1087         size and non temporal threshold from cpu_features.
1088         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1089         New.
1090         [HAVE_TUNABLES] Include <unistd.h>.
1091         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1092         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1093         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1094         IFUNC selection, data cache size, shared cache size and non
1095         temporal threshold.
1096         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1097         shared_cache_size and non_temporal_threshold.
1099 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1101         * benchtests/README: Describe workload feature.
1102         * benchtests/bench-skeleton.c (main): Add support for
1103         benchmarking traces from workloads.
1105 2017-06-20  Zack Weinberg  <zackw@panix.com>
1107         * string/string.h (__mempcpy_inline): Delete.
1108         * sysdeps/x86_64/multiarch/mempcpy.c
1109         * sysdeps/x86_64/multiarch/stpcpy.c:
1110         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1111         before including string.h.
1113 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
1115         * benchtests/Makefile (bench-math): Add powf.
1116         * benchtests/powf-inputs: New file.
1118 2017-06-20  Zack Weinberg  <zackw@panix.com>
1120         * bits/string.h, string/bits/string.h
1121         * sysdeps/aarch64/bits/string.h
1122         * sysdeps/m68k/m680x0/m68020/bits/string.h
1123         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1124         * sysdeps/x86/bits/string.h: Delete file.
1126         * string/string.h: Don't include bits/string.h.
1127         * string/bits/string3.h: Rename to bits/string_fortified.h.
1128         No need to undef various symbols that the removed headers
1129         might have defined as macros.
1130         * string/Makefile (headers): Remove bits/string.h, change
1131         bits/string3.h to bits/string_fortified.h.
1132         * string/string-inlines.c: Update commentary.  Remove definitions
1133         of various macros that nothing looks at anymore.  Don't directly
1134         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1135         compiler-predefined macros.
1136         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1137         _is_ defined, provide internal hidden alias __strncat.
1138         * include/string.h: Declare internal hidden alias __strncat.
1139         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1140         not defined.
1141         * include/bits/string3.h: Rename to bits/string_fortified.h,
1142         update to match above.
1144         * sysdeps/i386/string-inlines.c: Define compat symbols for
1145         everything formerly defined by sysdeps/x86/bits/string.h.
1146         Make existing definitions into compat symbols as well.
1147         Remove some no-longer-necessary messing around with macros.
1149         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1150         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1152         * sysdeps/s390/multiarch/mempcpy.c
1153         No need to define _HAVE_STRING_ARCH_mempcpy.
1154         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1156         * sysdeps/i386/i686/multiarch/strncat-c.c
1157         * sysdeps/s390/multiarch/strncat-c.c
1158         * sysdeps/x86_64/multiarch/strncat-c.c
1159         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
1161 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
1163         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1164         (LDBL_DIG): Likewise.
1165         (LDBL_MIN_EXP): Likewise.
1166         (LDBL_MIN_10_EXP): Likewise.
1167         (LDBL_MAX_EXP): Likewise.
1168         (LDBL_MAX_10_EXP): Likewise.
1169         (LDBL_MAX): Likewise.
1170         (LDBL_MIN): Likewise.
1171         (LDBL_EPSILON): Likewise.
1172         (FLT_ROUNDS): Change standard from ISO to C90.
1173         (FLT_RADIX): Likewise.
1174         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1175         (FLT_DIG, DBL_DIG): Likewise.
1176         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1177         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1178         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1179         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1180         (FLT_MAX, DBL_MAX): Likewise.
1181         (FLT_MIN, DBL_MIN): Likewise.
1182         (FLT_EPSILON, DBL_EPSILON): Likewise.
1184 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1186         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1187         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1188         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1189         * sysdeps/mips/math-tests.h
1190         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1191         conditional code.
1193 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1195         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1196         It cannot change while __libc_setlocale_lock is acquired.
1198 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1200         * elf/rtld.c (audit_list_string): New variable.
1201         (audit_list): Update comment.
1202         (struct audit_list_iter): Define.
1203         (audit_list_iter_init, audit_list_iter_next): New function.
1204         (dl_main): Use struct audit_list_iter to process audit modules.
1205         (process_dl_audit): Call dso_name_valid_for_suid.
1206         (process_envvars): Set audit_list_string instead of calling
1207         process_dl_audit.
1209 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1211         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1212         (dso_name_valid_for_suid): New function.
1213         (handle_ld_preload): Likewise.
1214         (dl_main): Call it.  Remove alloca.
1216 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1218         [BZ #21625]
1219         * posix/sys/wait.h (strust rusage forward declaration): Change
1220         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1221         !__USE_XOPEN2K].
1222         (wait3): Likewise.
1224         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1225         * configure: Regenerated.
1226         * manual/install.texi (Tools for Compilation): Document
1227         requirement for GCC 4.9 or later.
1228         * INSTALL: Regenerated.
1230 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1232         [BZ #21624]
1233         CVE-2017-1000366
1234         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1235         __libc_enable_secure.
1237 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         [BZ #21539]
1240         * NEWS: Mention s390 ptrace request changes.
1241         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1242         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1243         PTRACE_SETFPREGS): Remove enum constant.
1244         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1245         Remove defines.
1246         (PTRACE_SINGLEBLOCK): New enum constant.
1247         (PT_STEPBLOCK): New define.
1248         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1249         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1250         PTRACE_TE_ABORT_RAND): New enum constant and define.
1251         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1252         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1253         New file.
1254         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1256 2017-06-16  Florian Weimer  <fweimer@redhat.com>
1258         * resolv/res_init.c (res_vinit_1): Use getline to read from the
1259         configuration file.
1260         (__res_vinit): Adjust.
1262 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1264         * resolv/res_init.c (res_vinit_1): New function.
1265         (__res_vinit): Call it.  Handle file open and memory allocation
1266         failures.
1267         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1268         erno from __res_maybe_init failure.
1269         (_nss_dns_gethostbyname4_r): Likewise.
1270         (_nss_dns_gethostbyaddr2_r): Likewise.
1271         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1272         (_nss_dns_getnetbyaddr_r): Likewise.
1274 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1276         * resolv/res_init.c: Reformat to GNU style.
1278 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1280         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1281         (is_sort_mask): New function.
1282         (__res_vinit): Use it.
1284 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1286         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1287         conditionals.
1289 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1291         * resolv/res-close.c: New file.
1292         * resolv/res_init.c (__res_iclose, res_nclose)
1293         (res_thread_freeres): Remove definitions.
1294         * resolv/Makefile (routines): Add res-close.
1296 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1298         * resolv/res_randomid.c: New file.
1299         * resolv/res_init.c (res_randomid): Remove definition.
1300         * resolv/Makefile (routines): Add res_randomid.
1302 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1304         * include/resolv.h (__res_vinit): Declare as hidden.
1305         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1306         * resolv/res_libc.c (res_init): Likewise.
1308 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1310         [BZ #21457]
1311         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1312         _libc_xmmreg): Use __ctx in defining field.
1314         [BZ #21597]
1315         * signal/signal.h (siginterrupt): Make declaration conditional on
1316         [__USE_XOPEN_EXTENDED || __USE_MISC].
1318         [BZ #21584]
1319         * signal/signal.h: Make includes of <bits/sigstack.h> and
1320         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1321         __USE_MISC].
1322         (sigaltstack): Make declaration conditional on
1323         [__USE_XOPEN_EXTENDED || __USE_MISC].
1325         [BZ #21575]
1326         * resource/bits/types/struct_rusage.h: New file.
1327         * include/bits/types/struct_rusage.h: Likewise.
1328         * bits/resource.h (struct rusage): Include
1329         <bits/types/struct_rusage.h> instead of defining here.
1330         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1331         Likewise.
1332         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1333         Likewise.
1334         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1335         Likewise.
1336         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1337         Likewise.
1338         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1339         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1340         Include <bits/types/struct_rusage.h>
1342 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1344         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1346 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1348         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1350 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1352         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1354 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1356         [BZ #21537]
1357         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1358         Check SHARED instead of PIC.
1359         (SYSCALL_PIC_SETUP): Add missing semicolons.
1360         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1361         Check SHARED instead of PIC.
1362         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1363         (__makecontext_ret): Adjust code to jump to exit.
1365 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
1367         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1368         Simplify code by always using SVC 0 instead of EX.
1369         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1371 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
1373         * elf/Versions (ld): Remove _dl_out_of_memory.
1375 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
1377         * timezone/private.h: Update from tzcode 2017b.
1378         * timezone/tzfile.h: Likewise.
1379         * timezone/tzselect.ksh: Likewise.
1380         * timezone/zdump.c: Likewise.
1381         * timezone/zic.c: Likewise.
1382         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1383         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1384         * time/tzset.c (SECSPERDAY): New macro.
1386 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1388         * manual/string.texi (strdup): Complete header and standards
1389         annotation.
1390         (strncpy): Likewise.
1392 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1394         * manual/arith.texi (FP_NAN): Add or complete header and standard
1395         annotations.
1396         (FP_INFINITE): Likewise.
1397         (FP_ZERO): Likewise.
1398         (FP_SUBNORMAL): Likewise.
1399         (FP_NORMAL): Likewise.
1400         (SNAN): Likewise.
1401         (SNANL): Likewise.
1402         (totalorderf): Likewise.
1403         (totalorderl): Likewise.
1404         (totalordermagf): Likewise.
1405         (totalordermagl): Likewise.
1406         (_Complex_I): Likewise.
1407         (I): Likewise.
1409 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1411         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1412         standard annotation.
1413         (ARGP_HELP_SHORT_USAGE): Likewise.
1414         (ARGP_HELP_SEE): Likewise.
1415         (ARGP_HELP_LONG): Likewise.
1416         (ARGP_HELP_PRE_DOC): Likewise.
1417         (ARGP_HELP_POST_DOC): Likewise.
1418         (ARGP_HELP_DOC): Likewise.
1419         (ARGP_HELP_BUG_ADDR): Likewise.
1420         (ARGP_HELP_LONG_ONLY): Likewise.
1421         (ARGP_HELP_EXIT_ERR): Likewise.
1422         (ARGP_HELP_EXIT_OK): Likewise.
1423         (ARGP_HELP_STD_ERR): Likewise.
1424         (ARGP_HELP_STD_USAGE): Likewise.
1425         (ARGP_HELP_STD_HELP): Likewise.
1427 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1429         * manual/Makefile: Generate summary.texi with summary.pl.  Force
1430         use of the C locale.  Update Perl dependency comment.
1431         * manual/header.texi: Update reference to summary.awk.
1432         * manual/macros.texi: Refer authors to `summary.pl --help'.
1433         * manual/summary.awk: Remove file.
1434         * manual/summary.pl: New file.  Generate summary.texi, and check
1435         for @standards-related syntax errors.
1436         * manual/argp.texi: Convert header and standards @comments to
1437         @standards.
1438         * manual/arith.texi: Likewise.
1439         * manual/charset.texi: Likewise.
1440         * manual/conf.texi: Likewise.
1441         * manual/creature.texi: Likewise.
1442         * manual/crypt.texi: Likewise.
1443         * manual/ctype.texi: Likewise.
1444         * manual/debug.texi: Likewise.
1445         * manual/errno.texi: Likewise.
1446         * manual/filesys.texi: Likewise.
1447         * manual/getopt.texi: Likewise.
1448         * manual/job.texi: Likewise.
1449         * manual/lang.texi: Likewise.
1450         * manual/llio.texi: Likewise.
1451         * manual/locale.texi: Likewise.
1452         * manual/math.texi: Likewise.
1453         * manual/memory.texi: Likewise.
1454         * manual/message.texi: Likewise.
1455         * manual/pattern.texi: Likewise.
1456         * manual/pipe.texi: Likewise.
1457         * manual/process.texi: Likewise.
1458         * manual/resource.texi: Likewise.
1459         * manual/search.texi: Likewise.
1460         * manual/setjmp.texi: Likewise.
1461         * manual/signal.texi: Likewise.
1462         * manual/socket.texi: Likewise.
1463         * manual/startup.texi: Likewise.
1464         * manual/stdio.texi: Likewise.
1465         * manual/string.texi: Likewise.
1466         * manual/sysinfo.texi: Likewise.
1467         * manual/syslog.texi: Likewise.
1468         * manual/terminal.texi: Likewise.
1469         * manual/threads.texi: Likewise.
1470         * manual/time.texi: Likewise.
1471         * manual/users.texi: Likewise.
1473 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1475         * manual/macros.texi (@standards): New macro.  Provide placeholder
1476         for header and standards annotations.
1477         (@standardsx): New macro.  Likewise, for lists of @*x elements.
1479 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1481         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1482         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1483         rule.
1484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1485         sync_file_range.
1487          * support/support_test_main.c (support_test_main):  Use optstring
1488          member for option string in getopt_long.
1489          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1490          (CMDLINE_OPTSTRING): New define.
1491          * support/test-driver.h (test_config): Add optstring member.
1493 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1496         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1497         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1498         Check USE_AS_STRPBRK instead of STRPBRK_P.
1499         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1500         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1501         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1502         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1503         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1504         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1505         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1506         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1507         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1508         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1509         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1510         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1511         and "#endif".
1513 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1515         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1516         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1518 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1521         strcat-sse2.
1522         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1523         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1524         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1525         * sysdeps/x86_64/multiarch/strcat.S: Removed.
1526         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1528 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1529             Erich Elsen  <eriche@google.com>
1531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1532         memcmp-sse2.
1533         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1534         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1535         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1536         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1537         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1538         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1540 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1541             Erich Elsen  <eriche@google.com>
1543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1544         memset-sse2-unaligned-erms, and memset_chk-nonshared.
1545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1546         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1547         Update comments.
1548         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1549         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1550         * sysdeps/x86_64/multiarch/memset.c: Likewise.
1551         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1552         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1553         * sysdeps/x86_64/multiarch/memset.S: Removed.
1554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1555         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1556         (__memset_chk_erms): New function.
1558 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1560         * configure.ac(--enable-tunables): Enable by default.
1561         * configure: Regenerate.
1562         * NEWS: Mention change.
1563         * manual/install.texi (enable-tunables): Adjust documentation.
1564         * INSTALL: Regenerate.
1566 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1568         [BZ #18988]
1569         * benchtests/thread_create-inputs: New file.
1570         * benchtests/thread_create-source.c: Likewise.
1571         * support/xpthread_attr_setguardsize.c: Likewise.
1572         * support/Makefile (libsupport-routines): Add
1573         xpthread_attr_setguardsize object.
1574         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1575         * benchtests/Makefile (bench-pthread): Add thread_create.
1576         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1577         then mprotect the required area.
1578         (guard_position): New function.
1579         (setup_stack_prot): Likewise.
1581 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1582             Erich Elsen  <eriche@google.com>
1583             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1586         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1587         mempcpy_chk-nonshared and memmove_chk-nonshared.
1588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1589         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1590         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
1591         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1592         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1593         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1594         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1595         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1596         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1597         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1598         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1599         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1600         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1601         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1602         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1603         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1604         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1605         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1606         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1607         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1608         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1609         (__mempcpy_chk_erms): New function.
1610         (__memmove_chk_erms): Likewise.
1611         (__memcpy_chk_erms): New alias.
1613 2017-06-14  Florian Weimer  <fweimer@redhat.com>
1615         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1616         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1618 2017-06-14  Zack Weinberg  <zackw@panix.com>
1620         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1621         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
1622         defined, don't declare anything other than the E-constants.
1624         * include/errno.h: Change conditional for exposing internal
1625         declarations to (not _ISOMAC and not __ASSEMBLER__).
1626         * bits/errno.h: Remove logic for __need_Emath.  Document
1627         requirements for a port-specific bits/errno.h.
1629         * sysdeps/unix/sysv/linux/bits/errno.h
1630         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1631         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1632         * sysdeps/unix/sysv/linux/mips/bits/errno.h
1633         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1634         Add multiple-include guard and check against improper inclusion.
1635         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1636         constants are defined as simple integer literals.  Consistent
1637         formatting.
1638         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1639         enum __error_t_codes if __ASSEMBLER__ is not defined.
1640         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1642         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1643         including errno.h.
1644         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1645         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1646         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1647         * sysdeps/x86_64/fpu/s_cosf.S
1648         * sysdeps/x86_64/fpu/s_sincosf.S
1649         * sysdeps/x86_64/fpu/s_sinf.S:
1650         Just include errno.h; don't define __need_Emath or include
1651         bits/errno.h directly.
1653 2017-06-14  Zack Weinberg  <zackw@panix.com>
1655         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1656         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1657         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1659         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1660         for IOV_MAX.
1661         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1662         Don't install bits/uio.h.
1663         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1664         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1665         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1667         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1668         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1669         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1672         Include bits/types/struct_iovec.h, not bits/uio.h.
1673         Use __ssize_t, not ssize_t, in function prototypes.
1674         Don't use hard TAB for double space after period in comments.
1676 2017-06-14  Alan Modra  <amodra@gmail.com>
1678         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1679         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1680         refsym and sym parameters.  Adjust callers.
1681         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1682         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1683         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1684         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1685         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1686         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1687         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1688         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1689         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1690         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1691         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1692         Likewise.
1693         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1695         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1696         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1698         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1699         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1700         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1701         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1702         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1703         Delete reloc param, add refsym and sym.  Check optimized plt
1704         call stubs for localentry:0 functions.  Adjust callers.
1705         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1706         and sym parameters.  Adjust callers.
1707         (_dl_reloc_overflow): Move attribute.
1708         (_dl_error_localentry): Declare.
1709         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1710         refsym and sym to elf_machine_fixup_plt.
1711         * elf/testobj6.c (preload): Call printf.
1713 2017-06-14  Alan Modra  <amodra@gmail.com>
1715         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1716         (NOPS, ENTRY_3): New macros.
1717         (ENTRY): Rewrite.
1718         (ENTRY_TOCLESS): Define.
1719         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1720         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1721         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1722         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1723         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1724         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1725         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1726         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1729         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1730         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1731         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1732         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1733         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1734         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1735         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1736         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1737         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1738         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1739         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1740         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1741         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1742         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1743         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1744         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1745         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1746         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1747         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1748         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1749         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1750         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1751         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1752         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1753         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1754         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1755         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1756         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1757         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1758         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1759         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1760         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1761         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1762         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1763         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1764         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1765         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1766         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1767         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1768         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1769         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1770         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1771         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1772         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1774         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1775         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1776         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1777         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1778         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1779         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1780         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1781         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1782         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1783         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1784         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1785         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1786         Likewise.
1787         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1788         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1789         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1790         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1792         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1793         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1794         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1795         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1797         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1798         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1800         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1801         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1802         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1803         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1804         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1805         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1806         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1807         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1808         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1809         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1810         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1811         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1812         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1813         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1814         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1815         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1816         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1817         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1818         add nop when SHARED.
1819         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1820         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1821         define.
1822         (ENTRY_TOCLESS): Define.
1823         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1824         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1825         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1827 2017-06-14  Alan Modra  <amodra@gmail.com>
1829         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1830         MEMSET_is_local.
1831         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1833         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1834         Define MEMSET.
1835         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1836         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1837         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1838         nop after local calls.
1839         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1840         Don't add nop after local call.
1841         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1842         CALL_MCOUNT.
1844 2017-06-14  Alan Modra  <amodra@gmail.com>
1846         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1847         (FUNC_LABEL): Rename from DOT_LABEL.
1848         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1849         Use .p2align rather than .align.
1850         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1851         (ABORT_TRANSACTION): Likewise.
1852         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1853         particularly at end.  Add semicolon at invocation as necessary.
1854         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1855         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1856         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1857         END): Adjust to suit.
1859 2017-06-14  Alan Modra  <amodra@gmail.com>
1861         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1862         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1863         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1864         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1865         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1867         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1869 2017-06-14  Alan Modra  <amodra@gmail.com>
1871         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1872         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1874 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1876         [BZ #21548]
1877         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1878         8 and use it when copying general purpose registers.
1879         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1880         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1881         mips o32.
1882         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1883         new test for mips o32.
1884         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1885         8 and use it when copying general purpose registers.
1886         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1888 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1890         * configure.ac (find_cxx_header): Suppress compiler error message.
1892 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1894         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1895         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1896         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1897         begin/end.
1898         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1899         dynarray_int_end.
1900         (test_str): Test dynarray_str_begin, dynarray_str_end.
1902 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1904         [BZ #21573]
1905         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1906         $(common-objpfx)bits/std_abs.h.
1907         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1908         New target.
1909         * config.make.in (c++-bits-std_abs-h): New.
1910         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1911         (CXX_BITS_STD_ABS_H): New.
1912         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1913         * configure: Regenerated.
1915 2017-06-13  Zack Weinberg  <zackw@panix.com>
1917         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1918         directives.
1920 2017-06-12  Zack Weinberg  <zackw@panix.com>
1922         * bits/sched.h: Remove __need_schedparam logic and replace with a
1923         normal multiple-include guard.  Change field name in struct
1924         sched_param from __sched_priority to sched_priority.  Delete
1925         everything under #ifndef __cpu_set_t_defined.
1926         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1927         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1929         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1930         For compatibility, #define sched_priority to itself, and #define
1931         __sched_priority as sched_priority.
1932         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1933         that was under #ifndef __cpu_set_t_defined in
1934         sysdeps/unix/sysv/linux/bits/sched.h.
1935         * include/bits/cpu-set.h: New wrapper.
1936         * posix/Makefile: Install bits/cpu-set.h.
1938 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1939             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1940             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1942         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1943         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1944         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1945         * math/libm-test-isfinite.inc (finite_test): Likewise.
1946         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1947         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1948         (nexttoward_test_data}: Likewise.
1949         * math/libm-test-remainder.inc (drem_test): Likewise.
1950         * math/libm-test-scalb.inc (scalb_test): Likewise.
1951         (scalb_test_data): Likewise.
1952         * math/libm-test-significand.inc (significand_test): Likewise.
1953         (significand_test_data): Likewise.
1954         * math/libm-test-support.c (check_complex): Replace __complex__
1955         FLOAT with CFLOAT to get the support for old compiler.
1956         * math/libm-test-support.h (check_complex): Likewise.
1957         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1958         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1959         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1960         * math/test-float128.h: New file.
1961         * math/test-math-floatn.h: New file.
1963 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1965         * include/float.h: Allow the definition of macros prefixed with
1966         FLT128 even if _ISOMAC is defined, but provided that
1967         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1969 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1971         * manual/math.texi (Mathematics): Add description for _FloatN and
1972         _FloatNx types and mentions that they are not support in glibc for
1973         any architecture, so far.
1974         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1975         stdlib.h with wchar.h.
1976         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1977         (Printing of Floats): Add description for strfromfN.
1979 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1980             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1981             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1983         * include/gmp.h (__mpn_construct_float128): New declaration.
1984         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1985         (__strtof128_l): New declaration.
1986         (__strtof128_nan): Likewise.
1987         (__wcstof128_nan): Likewise.
1988         (__strtof128_internal): Likewise.
1989         (____strtof128_l_internal): Likewise.
1990         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1991         (__wcstof128_l): New declaration.
1992         (__wcstof128_internal): Likewise.
1994         * stdlib/Makefile (bug-strtod2): Link libm too.
1996         * stdlib/stdlib.h (strtof128): New declaration.
1997         (strtof128_l): Likewise.
1999         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2000         tst-strtod.h macros to ensure float128 gets tested too.
2002         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2004         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2005         tests.
2006         (IF_FLOAT128): New macro.
2007         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2008         the tests.
2009         (STRTOD_TEST_FOREACH): Likewise.
2011         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2012         wcstof128 functions into libc.
2014         * sysdeps/ieee754/float128/Versions: Add exports for the above
2015         new functions.
2017         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2018         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2019         * sysdeps/ieee754/float128/strtof128.c: New file.
2020         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2021         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2022         * sysdeps/ieee754/float128/wcstof128.c: New file.
2023         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2024         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2025         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2026         (CFLAGS-wcstof128_l): Likewise.
2028         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2029         (wcstof128): New declaration.
2030         (wcstof128_l): Likewise.
2032 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #21552]
2035         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2036         not [__USE_XOPEN].
2037         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2039         [BZ #21550]
2040         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2042 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2045         strcpy-sse2 and stpcpy-sse2.
2046         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2047         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2048         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2049         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2050         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2051         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2052         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2053         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2054         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2055         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2056         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2057         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2058         (libc_hidden_def): Always defined as empty.
2059         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2060         Always Defined as empty.
2062 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2064         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2066 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2068         [BZ #15105]
2069         [BZ #19463]
2070         * include/string.h: Add internal redirect for __stpcpy.
2071         * string/Makefile: Remove bits/string2.h.
2072         * string/string.h: Update comment.
2073         * string/string-inlines.c: Remove bits/string2.h include and comment.
2074         * string/bits/string2.h: Remove file.
2076 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2078         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2079         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2080         * sunrpc/des_impl.c (_des_crypt): Likewise.
2081         * sunrpc/key_call.c (key_gendes): Likewise.
2082         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2083         * sunrpc/svc_simple.c (universal): Likewise.
2084         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2085         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2086         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2088 2017-06-10  Zack Weinberg  <zackw@panix.com>
2090         * stdlib/errno.h: Correct an outdated comment.
2092 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2094         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2095         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2096         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2097         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2098         New file.  Invoke newly supported sysconf values for powerpc,
2099         and report results.  If none are supported, report so.
2100         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2101         tst-sysconf.
2103 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2105         * include/sys/auxv.h (__getauxval): Add a prototype and its
2106         libc_hidden_proto.
2107         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2109 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
2111         [BZ #21561]
2112         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2113         [__USE_XOPEN_EXTENDED].
2114         (id_t): Likewise.
2115         (include of <bits/types/siginfo_t.h): Likewise.
2116         (waitid): Likewise.
2117         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2118         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2119         (WEXITED): Likewise.
2120         (WCONTINUED): Likewise.
2121         (WNOWAIT): Likewise.
2122         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2123         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2124         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2126         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2127         libc.so PLT entry optional.
2128         (__gtsf2): Likewise.
2129         (__unorddf2): Likewise.
2130         (__unordsf2): Likewise.
2131         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2132         New optional libc.so PLT entry.
2134         [BZ #21554]
2135         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2136         not [__USE_XOPEN].
2138         [BZ #21560]
2139         * posix/sys/wait.h: Condition include of <signal.h> on
2140         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
2141         unconditionally.
2142         [!__pid_t_defined] (pid_t): Define typedef.
2144 2017-06-09  Zack Weinberg  <zackw@panix.com>
2146         * include/errno.h (__errno_location): Use __attribute_const__
2147         instead of bare __attribute__.
2149 2017-06-09  Zack Weinberg  <zackw@panix.com>
2151         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2152         (common-generated): Add libc-modules.h and libc-modules.stmp in a
2153         more appropriate location. Also add dl-tunable-list.h and
2154         dl-tunable-list.stmp.
2156 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2160 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2163         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2165         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2166         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2167         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2168         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2169         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2170         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2171         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2172         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2174 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2177         memrchr-sse2 and memrchr-avx2.
2178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2179         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2180         __memrchr_sse2.
2181         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2182         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2183         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2185 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2188         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2189         wcschr-sse2 and wcschr-avx2.
2190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2191         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2192         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2193         __wcschr_sse2.
2194         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2195         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2196         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2197         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2198         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2199         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2200         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2201         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2202         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2203         * sysdeps/x86_64/multiarch/strchr.S: Removed.
2205 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2208         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2209         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2211         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2212         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2213         __wcslen_sse2 and __wcsnlen_avx2.
2214         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2215         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2216         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2217         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2218         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2219         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2220         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2221         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2222         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2223         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2224         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2225         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2226         vzeroupper is preferred and AVX unaligned load is fast.
2228 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2230         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
2231         USE_AS_WMEMCHR is defined.
2232         (PCMPEQ): Likewise.
2233         (memchr): Renamed to ...
2234         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
2235         Replace pcmpeqb with PCMPEQ.
2236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2237         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2238         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2239         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2240         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2241         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2242         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2243         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2244         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2245         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2246         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2247         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2248         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2250         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2251         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2252         __wmemchr_sse2.
2254 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2256         * malloc/Makefile (test-srcs): Remove tst-dynarray,
2257         tst-dynarray-fail.
2259 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2261         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2262         * support/support_test_verify_impl.c
2263         (support_test_verify_exit_impl): Split from
2264         support_test_verify_impl.
2265         * support/check.h (TEST_VERIFY): Drop status argument from
2266         support_test_verify_impl call.
2267         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2268         (support_test_verify_impl): Remove status argument.
2269         (support_test_verify_exit_impl): Declare.
2271 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2273         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2274         mention of magic numbers in comments.
2275         (_dl_procinfo): Fix undefined behavior
2277 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
2279         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2280         [XPG4].
2281         (WEXITED): Likewise.
2282         (WSTOPPED): Likewise.
2283         (WCONTINUED): Likewise.
2284         (WNOHANG): Likewise.
2285         (WNOWAIT): Likewise.
2286         (idtype_t): Likewise.
2287         (P_ALL): Likewise.
2288         (P_PID): Likewise.
2289         (P_PGID): Likewise.
2290         (id_t): Likewise.
2291         (siginfo_t): Likewise.
2292         (wait3): Likewise.
2293         (waitid): Likewise.
2294         (signal.h): Do not allow header for [XPG4].
2295         (sys/resource.h): Likewise.
2296         (si_*): Do not allow for [XPG4].
2297         (W*): Likewise.
2298         (P_*): Likewise.
2299         (BUS_): Likewise.
2300         (CLD_): Likewise.
2301         (FPE_): Likewise.
2302         (ILL_): Likewise.
2303         (POLL_): Likewise.
2304         (SEGV_): Likewise.
2305         (SI_): Likewise.
2306         (TRAP_): Likewise.
2307         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2308         variable.
2310 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2312         [BZ #21528]
2313         * elf/dl-minimal.c (__strtoul_internal): Removed.
2314         (strtoul): Likewise.
2315         * elf/dl-misc.c (_dl_strtoul): New function.
2316         * elf/dl-tunables.c (tunables_strtoul): Removed.
2317         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2318         * elf/rtld.c (process_envvars): Likewise.
2319         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2320         Likewise.
2321         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2323 2017-06-08  Zack Weinberg  <zackw@panix.com>
2325         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2326         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2327         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2328         * wctype/bits/wctype-wchar.h: New file holding declarations shared
2329         between wctype.h and wchar.h.
2331         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2332         Install them.
2334         * include/bits/types/FILE.h, include/bits/types/__FILE.h
2335         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2336         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2337         New wrappers.
2338         * include/stdio.h, include/wchar.h, include/wctype.h:
2339         No need to handle __need macros.
2341         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2342         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2343         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2344         * wcsmbs/wchar.h, wctype/wctype.h
2345         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2346         Use the new files instead of __need macros.
2348 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2350         * string/test-memrchr.c (test_main): Add tests for len == 0
2351         and tests for positions close to the beginning, which are
2352         equivalent to positions close to the end for memchr.
2354 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2357         comments.
2358         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2359         instead of wmemset.h.
2360         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2361         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2362         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2364 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2366         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2367         spec->info.is_binary128 to zero.
2368         * stdio-common/printf.h (printf_info): Add new member is_binary128
2369         to indicate that the number being converted to string is compatible
2370         with the IEC 60559 binary128 format.
2371         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2372         _Float128 numbers.
2373         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2374         ldbl-128/printf_fphex_macros.h
2375         (__printf_fphex): Add code to deal with _Float128 numbers.
2376         * stdio-common/printf_size.c (__printf_size): Likewise.
2377         * stdio-common/vfprintf.c (process_arg): Initialize member
2378         info.is_binary128 to zero.
2379         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2380         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2381         (strfromf128): New declaration.
2382         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2383         to one.
2384         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2385         * sysdeps/ieee754/float128/Versions: Likewise.
2386         * sysdeps/ieee754/float128/strfromf128.c: New file.
2388 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2390         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2391         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2392         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2393         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2394         (PRINT_FPHEX): New function-like macro that can be used for long
2395         double, as well as for _Float128
2397 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2399         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
2400         (__printf_fp_l): Use the new macro to avoid duplicating code.
2401         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
2402         (__printf_fphex): Use the new macro to avoid duplicating code.
2403         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
2404         (__printf_size): Use the new macro to avoid duplicating code.
2406 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2408         * include/gmp.h: Include bits/floatn.h
2409         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
2410         * stdlib/gmp-impl.h: Also check if alloca is not defined before
2411         including stack-alloc.h.  It could have been defined by other header
2412         which not necessarily defines HAVE_ALLOCA.
2413         * sysdeps/ieee754/float128/Makefile: New file.
2414         * sysdeps/ieee754/float128/float1282mpn.c: New file.
2415         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2416         redefining __mpn_extract_long_double to __mpn_extract_float128, then
2417         redefine __mpn_extract_long_double to __mpn_extract_float128.
2418         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2419         _Float128 to allow float128_private.h overrides.
2421 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2423         * stdlib/fpioconst.h: Include bits/floatn.h.
2424         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2425         power of ten table should be.
2426         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2427         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2428         to include larger tables when _Float128 support is enabled.
2429         (_fpioconst_pow10): Likewise.
2431 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
2433         * include/bits/types/clock_t.h: Use #include <path> instead of
2434         #include "../../path".
2435         * include/bits/types/clockid_t.h: Likewise.
2436         * include/bits/types/struct_iovec.h: Likewise.
2437         * include/bits/types/struct_itimerspec.h: Likewise.
2438         * include/bits/types/struct_osockaddr.h: Likewise.
2439         * include/bits/types/struct_sigstack.h: Likewise.
2440         * include/bits/types/struct_timespec.h: Likewise.
2441         * include/bits/types/struct_timeval.h: Likewise.
2442         * include/bits/types/struct_tm.h: Likewise.
2443         * include/bits/types/time_t.h: Likewise.
2444         * include/bits/types/timer_t.h: Likewise.
2446         [BZ #14096]
2447         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2448         America/New_York.
2450 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2452         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2453         into ...
2454         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
2455         ifunc-sse4_1.h.
2457 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2459         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2460         Remove check for NULL 'buf'.
2461         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2463 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2465         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2466         include test-skeleton.c.
2467         Include support/check.h and support/test-driver.c.
2469 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2471         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2472         (_dl_aarch64_cap_flags): New array.
2473         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2474         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2475         functions.
2477         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2478         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2479         Likewise.
2480         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2481         up hwcap and hwcap_mask.
2483         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2484         (init_cpu_features): Use glibc.tune.hwcap_mask.
2485         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2487         * elf/dl-hwcaps.h: New file.
2488         * elf/dl-hwcaps.c: Include it.
2489         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2490         glibc.tune.hwcap_mask.
2491         * elf/dl-cache.c: Include dl-hwcaps.h.
2492         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2493         glibc.tune.hwcap_mask.
2494         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2495         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2496         _dl_hwcap_mask.
2497         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2498         _dl_hwcap_mask.
2499         (process_envvars)[HAVE_TUNABLES]: Likewise.
2500         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2501         Likewise.
2502         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2503         initialize dl_hwcap_mask when tunables are enabled.
2505         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2506         guard.
2507         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2509         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2510         * scripts/gen-tunables.awk: Include dl-procinfo.h.
2511         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2513         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2514         * elf/dl-tunables.c: Likewise.
2515         (do_tunable_update_val): New function.
2516         (__tunable_set_val): New function.
2517         (__tunable_get_val): Call CB only if the tunable was externally
2518         initialized.
2519         (tunables_strtoul): Replace strval with initialized.
2520         * elf/dl-tunables.h (strval): Replace with a bool initialized.
2521         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2522         prevent collision.
2523         (__tunable_set_val): New function.
2524         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2525         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2526         (TUNABLE_SET_VAL): Remove.
2527         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2528         * README.tunables: Document the new macros.
2529         * malloc/arena.c (ptmalloc_init): Adjust.
2531 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2534         wcsnlen-sse4_1 and wcsnlen-c.
2535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2536         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2537         __wcsnlen_sse2.
2538         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2539         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2540         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2541         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2542         * sysdeps/x86_64/wcsnlen.S: Removed.
2544 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2546         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2547         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2548         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2549         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2551 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2553         * NEWS: Mention new spinlock implementation.
2554         * include/atomic.h:
2555         (__atomic_val_bysize): Cast type to omit volatile qualifier.
2556         (atomic_exchange_acq): Likewise.
2557         (atomic_load_relaxed): Likewise.
2558         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2559         * nptl/pthread_spin_init.c (pthread_spin_init):
2560         Use atomic_store_relaxed.
2561         * nptl/pthread_spin_lock.c (pthread_spin_lock):
2562         Use C11-like atomic macros.
2563         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2564         Likewise.
2565         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2566         Use atomic_store_release.
2567         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2568         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2569         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2570         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2571         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2572         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2573         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2574         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2575         * sysdeps/alpha/atomic-machine.h: Likewise.
2576         * sysdeps/arm/atomic-machine.h: Likewise.
2577         * sysdeps/i386/atomic-machine.h: Likewise.
2578         * sysdeps/ia64/atomic-machine.h: Likewise.
2579         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2580         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2581         * sysdeps/microblaze/atomic-machine.h: Likewise.
2582         * sysdeps/mips/atomic-machine.h: Likewise.
2583         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2584         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2585         * sysdeps/s390/atomic-machine.h: Likewise.
2586         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2587         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2588         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2589         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2590         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2591         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2592         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2593         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2594         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2595         * sysdeps/x86_64/atomic-machine.h: Likewise.
2597 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2599         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2600         and use it instead of dl_x86_cpu_features.
2601         (handle_intel): Replace maxidx with cpu_features.  Pass
2602         cpu_features to intel_check_word.
2603         (__cache_sysconf): Pass cpu_features to handle_intel.
2604         (init_cacheinfo): Likewise.  Use cpu_features instead of
2605         dl_x86_cpu_features.
2607 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2609         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2611         memcmp-avx2 and wmemcmp-avx2.
2612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2613         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2614         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2615         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2616         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2617         2 machines if AVX unaligned load is fast and vzeroupper is
2618         preferred.
2619         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2620         2 machines if AVX unaligned load is fast and vzeroupper is
2621         preferred.
2623 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2625         * include/wchar.h (__wmemset_chk): New.
2626         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2627         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2628         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2629         (WMEMSET_CHK_SYMBOL): Likewise.
2630         (WMEMSET_SYMBOL): Likewise.
2631         (__wmemset): Add hidden definition.
2632         (wmemset): Add weak hidden definition.
2633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2634         wmemset_chk-nonshared.
2635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2636         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2637         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2638         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2639         and __wmemset_chk_avx512_unaligned.
2640         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2641         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2642         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2643         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2644         (WMEMSET_SYMBOL): Likewise.
2645         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2646         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2647         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2648         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2649         (WMEMSET_SYMBOL): Likewise.
2650         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2651         (WMEMSET_CHK_SYMBOL): New.
2652         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2653         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2654         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2655         (libc_hidden_builtin_def): Also define __GI_wmemset and
2656         __GI___wmemset.
2657         (weak_alias): New.
2658         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2659         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2660         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2661         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2662         * sysdeps/x86_64/wmemset.c: Likewise.
2663         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2665 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2666             H.J. Lu  <hongjiu.lu@intel.com>
2668         * sysdeps/x86/init-arch.h (PASTER1): New.
2669         (EVALUATOR1): Likewise.
2670         (PASTER2): Likewise.
2671         (EVALUATOR2): Likewise.
2672         (REDIRECT_NAME): Likewise.
2673         (OPTIMIZE): Likewise.
2674         (IFUNC_SELECTOR): Likewise.
2676 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2678         * sysdeps/x86_64/strlen.S (PMINU): New.
2679         (PCMPEQ): Likewise.
2680         (SHIFT_RETURN): Likewise.
2681         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2682         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2683         pminub with PCMPEQ and PMINU.
2684         * sysdeps/x86_64/wcsnlen.S: New file.
2686 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2688         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2689         the lower 32 bits.  Remove redundant instructions.
2691 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2694         0 as the high part of offset.
2695         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2697 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2699         [BZ #21538]
2700         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2701         [__USE_UNIX98].
2702         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2703         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2706         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2707         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2708         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2709         Likewise.
2711         [BZ #21517]
2712         * bits/types/stack_t.h (stack_t): Remove struct tag.
2713         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2714         Likewise.
2715         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2716         Likewise.
2717         * debug/segfault.c (install_handler): Use stack_t instead of
2718         struct sigaltstack.
2719         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2720         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2721         * include/signal.h (__sigaltstack): Likwise.
2722         * signal/sigaltstack.c (__sigaltstack): Likewise.
2723         * signal/signal.h (sigaltstack): Likewise.
2724         * sysdeps/mach/hurd/i386/signal-defines.sym
2725         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2726         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2727         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2728         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2729         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2730         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2731         elf_prstatus): Likewise.
2732         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2739         elf_prstatus): Likewise.
2740         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2741         Likewise.
2742         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2743         Likewise.
2745 2017-06-04  Zack Weinberg  <zackw@panix.com>
2747         * sysdeps/gnu/errlist.c: Regenerate.
2749 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2751         * benchtests/bench-memchr.c (do_test): Print out both length
2752         and position.
2753         (test_main): Also test the position close to the beginning for
2754         memrchr.
2756 2017-06-04  Zack Weinberg  <zackw@panix.com>
2758         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2759         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2760         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2761         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2762         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2763         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2764         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2765         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2766         * nis/nis_print_group_entry.c, nis/nis_remove.c
2767         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2768         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2769         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2770         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2771         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2772         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2773         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2774         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2775         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2776         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2777         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2778         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2779         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2780         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2781         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2782         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2783         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2784         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2785         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2786         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2788         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2789         abi-versions.h as well as shlib-compat.h.
2790         * sunrpc/get_myaddr.c: Remove obsolete comment.
2791         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2792         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2793         * resolv/res_libc.c: Include shlib-compat.h only once.
2795 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2798         of strdup.
2800 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2802         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2803         Set to the 3/4 of the total shared cache size.
2805 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2807         * manual/errno.texi: Remove redundant error strings.
2808         * manual/macros.texi (@errno): Render the error string in every
2809         description.
2811 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2813         [BZ #21543]
2814         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2815         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2816         [__USE_XOPEN_EXTENDED].
2818 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2820         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2821         strdupa.
2822         (getcanonname): Use __strdup instead of strdup.
2824 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2826         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2827         (CFLAGS-preadv64v2.c): Likewise.
2828         (CFLAGS-pwritev2.c): Likewise.
2829         (CFLAGS-pwritev64v2.c): Likewise.
2831 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2833         Test res_init with several configuration files.
2834         * resolv/Makefile [build-shared] (tests-internal): Add
2835         tst-resolv-res_init, tst-resolv-res_init-thread.
2836         (tst-resolv-res_init): Link against libdl, libresolv.
2837         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2838         libpthread.
2839         * resolv/tst-resolv-res_init.c: New file.
2840         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2841         * resolv/tst-resolv-res_init-thread.c: Likewise.
2842         * support/Makefile (libsupport-routines): Add support-xstat,
2843         support_can_chroot, support_capture_subprocess_check,
2844         support_isolate_in_subprocess, support_shared_allocate,
2845         support_write_file_string, xchroot, xmkdir, xopen.
2846         * support/capture_subprocess.h (enum support_capture_allow): Define.
2847         (support_capture_subprocess_check): Declare.
2848         * support/namespace.h (support_can_chroot)
2849         (support_isolate_in_subprocess): Declare.
2850         * support/support-xstat.c: New file.
2851         * support/support.h (support_shared_allocate, support_shared_free)
2852         (support_write_file_string): Declare.
2853         * support/support_can_chroot.c: New file.
2854         * support/support_capture_subprocess_check.c: Likewise.
2855         * support/support_isolate_in_subprocess.c: Likewise.
2856         * support/support_shared_allocate.c: Likewise.
2857         * support/support_write_file_string.c: Likewise.
2858         * support/xchroot.c: Likwise.
2859         * support/xmkdir.c: Likwise.
2860         * support/xopen.c: Likwise.
2861         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2863 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2865         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2866         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2868 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2870         * malloc/Makefile (routines): Add dynarray_at_failure,
2871         dynarray_emplace_enlarge, dynarray_finalize.
2872         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2873         tst-dynarray-at-fail.
2874         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2875         (tests-special): Add tst-dynarray-mem.out,
2876         tst-dynarray-mem-fail.out.
2877         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2878         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2879         mtrace.
2880         * malloc/Versions (__libc_dynarray_at_failure)
2881         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2882         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2883         GLIBC_PRIVATE.
2884         * malloc/dynarray.h: New file.
2885         * malloc/dynarray-skeleton.c: Likewise.
2886         * malloc/dynarray_at_failure.c: Likewise.
2887         * malloc/dynarray_emplace_enlarge.c: Likewise.
2888         * malloc/dynarray_finalize.c: Likewise.
2889         * malloc/dynarray_resize.c: Likewise.
2890         * malloc/dynarray_resize_clear.c: Likewise.
2891         * malloc/tst-dynarray.c: Likewise.
2892         * malloc/tst-dynarray-fail.c: Likewise.
2893         * malloc/tst-dynarray-at-fail.c: Likewise.
2894         * malloc/tst-dynarray-shared.h: Likewise.
2895         * support/Makefile (libsupport-routines): Add
2896         support_capture_subprocess, xdup2, xpipe.
2897         (tests): Add tst-support_capture_subprocess.
2898         * support/capture_subprocess.h: New file.
2899         * support/support_capture_subprocess.c: Likewise.
2900         * support/tst-support_capture_subprocess.c: Likewise.
2901         * support/xdup2.c: Likewise.
2902         * support/xpipe.c: Likewise.
2903         * support/xunistd.h (xdup2, xpipe): Declare.
2905 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2907         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2908         macros MAX and MIN.
2910 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2912         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2913         [XPG4].
2914         (SA_SIGINFO): Likewise.
2915         (SA_ONSTACK): Likewise.
2916         (SA_RESETHAND): Likewise.
2917         (SA_RESTART): Likewise.
2918         (SA_NOCLDWAIT): Likewise.
2919         (SA_NODEFER): Likewise.
2920         (SS_ONSTACK): Likewise.
2921         (SS_DISABLE): Likewise.
2922         (MINSIGSTKSZ): Likewise.
2923         (SIGSTKSZ): Likewise.
2924         (ucontext_t): Likewise.
2925         (stack_t): Likewise.
2926         (struct sigstack): Likewise.
2927         (SI_USER): Do not expect for [XPG4 || XPG42].
2928         (SI_QUEUE): Likewise.
2929         (SI_TIMER): Likewise.
2930         (SI_ASYNCIO): Likewise.
2931         (SI_MESGQ): Likewise.
2932         (bsd_signal): Do not expect for [XPG4].
2933         (killpg): Likewise.
2934         (sigaltstack): Likewise.
2935         (sighold): Likewise.
2936         (sigignore): Likewise.
2937         (siginterrupt): Likewise.
2938         (sigpause): Likewise.
2939         (sigrelse): Likewise.
2940         (sigset): Likewise.
2941         (sigwait): Do not expect for [XPG4 || XPG42].
2943 2017-06-01  Zack Weinberg  <zackw@panix.com>
2945         [BZ #21514]
2946         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2947         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2949 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2951         [BZ #21457]
2952         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2953         NGREG to __NGREG if [__USE_MISC].
2954         (gregset_t): Define using __NGREG.
2955         (__ctx): New macro.
2956         (mcontext_t): Use __ctx in defining fields.
2957         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2958         define NGREG to __NGREG if [__USE_MISC].
2959         (gregset_t): Define using __NGREG.
2960         (__ctx): New macro.
2961         (__ctxt): Likewise.
2962         (fpregset_t): Use __ctx and __ctxt in defining fields.
2963         (mcontext_t): Likewise.
2964         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2965         define NGREG to __NGREG if [__USE_MISC].
2966         (gregset_t): Define using __NGREG.
2967         (__ctx): New macro.
2968         (mcontext_t): Use __ctx in defining fields.
2969         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2970         define NGREG to __NGREG if [__USE_MISC].
2971         (gregset_t): Define using __NGREG.
2972         (__ctx): New macro.
2973         (fpregset_t): Use __ctx in defining fields.
2974         (mcontext_t): Likewise.
2975         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2976         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2977         (gregset_t): Define using __NGREG.
2978         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2979         [__USE_MISC].
2980         (fpregset_t): Define using __NFPREG.
2981         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2982         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2983         (gregset_t): Define using __NGREG.
2984         (__ctx): New macro.
2985         (fpregset_t): Use __ctx in defining fields.
2986         (mcontext_t): Likewise.
2987         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2988         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2989         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2990         [__USE_MISC].
2991         (gregset_t): Define using __NGREG.
2992         (__ctx): New macro.
2993         (fpregset_t): Use __ctx in defining fields.
2994         (mcontext_t): Likewise.
2995         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2996         (mcontext_t): Use __ctx in defining fields.
2997         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2998         macro.
2999         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3000         __NGREG if [__USE_MISC].
3001         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3002         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3003         (mcontext_t): Likewise.
3004         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3005         __NGREG if [__USE_MISC].
3006         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3007         to __NFPREG if [__USE_MISC].
3008         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3009         to __NVRREG if [__USE_MISC].
3010         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3011         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3012         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3013         [__WORDSIZE != 32] (vrregset_t): Likewise.
3014         [__WORDSIZE != 32] (mcontext_t): Likewise.
3015         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3016         (__psw_t): Use __ctx in defining fields.
3017         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3018         [__USE_MISC].
3019         (gregset_t): Define using __NGREG.
3020         (fpreg_t): Use __ctx in defining fields.
3021         (fpregset_t): Likewise.
3022         (mcontext_t): Likewise.
3023         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3024         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3025         (gregset_t): Define using __NGREG.
3026         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3027         [__USE_MISC].
3028         (fpregset_t): Define using __NFPREG.
3029         (__ctx): New macro.
3030         (mcontext_t): Use __ctx in defining fields.
3031         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3032         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3033         __NGREG if [__USE_MISC].
3034         [__x86_64__] (gregset_t): Define using __NGREG.
3035         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3036         [__x86_64__] (struct _libc_fpstate): Likewise.
3037         [__x86_64__] (mcontext_t): Likewise.
3038         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3039         __NGREG if [__USE_MISC].
3040         [!__x86_64__] (gregset_t): Define using __NGREG.
3041         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3042         [!__x86_64__] (struct _libc_fpstate): Likewise.
3043         [!__x86_64__] (mcontext_t): Likewise.
3045 2017-06-01  Zack Weinberg  <zackw@panix.com>
3047         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3048         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3049         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3050         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3051         libpthread.so no longer references __errno_location.
3053 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3055         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3056         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3057         pwritev64v2.
3058         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3059         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3060         pwritev64v2.
3061         * misc/preadv2.c: New file.
3062         * misc/preadv64v2.c: Likewise.
3063         * misc/pwritev2.c: Likewise.
3064         * misc/pwritev64v2.c: Likewise.
3065         * misc/tst-preadvwritev2.c: Likewise.
3066         * misc/tst-preadvwritev64v2.c: Likewise.
3067         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3068         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3069         prototype.
3070         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3071         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3072         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3073         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3074         (PWRITEV): Likewise.
3075         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3076         ENOSYS.
3077         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3078         (tf_preadv2): Likewise.
3079         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3080         * sysdeps/posix/preadv2.c: Likewise.
3081         * sysdeps/posix/preadv64v2.c: Likewise.
3082         * sysdeps/posix/pwritev2.c: Likewise.
3083         * sysdeps/posix/pwritev64v2.c: Likewise.
3084         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3085         support in kernel.
3086         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3087         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3088         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3089         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3090         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3091         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3092         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3093         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3094         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3095         support flags on Linux.
3096         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3097         preadv2, preadv64v2, pwritev2, pwritev64v2.
3098         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3099         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3100         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3101         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3102         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3103         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3108         Likewise.
3109         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3119         (GLIBC_2.26): Likewise.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3121         (GLIBC_2.26): Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3123         Likewise.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3125         (GLIBC_2.26): Likewise.
3126         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3127         Likewise.
3128         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3129         Likewise.
3130         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3131         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3132         Likewise.
3133         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3134         Likewise.
3135         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3136         Likewise.
3137         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3138         Likewise.
3139         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3140         Likewise.
3141         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3142         Likewise.
3143         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3144         Likewise.
3146 2017-05-31  Andreas Schwab  <schwab@suse.de>
3148         * nptl/tst-fork3.c: Include <support/test-driver.c>.
3149         (main): Rename to do_test and make static.
3151 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3153         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3154         ARCH_INIT_CPU_FEATURES.
3155         (LIBC_START_MAIN): Call it.
3156         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3157         (__libc_start_main): Remove.
3158         (ARCH_INIT_CPU_FEATURES): New macro.
3159         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3160         (ARCH_INIT_CPU_FEATURES): New macro.
3162 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
3163             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3165         * include/stdlib.h (__libc_reallocarray): New declaration.
3166         * malloc/Makefile (routines): Add reallocarray.
3167         (tests): Add tst-reallocarray.c.
3168         * malloc/Versions: Add reallocarray and __libc_reallocarray.
3169         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3170         function.
3171         * malloc/malloc.h (reallocarray): New declaration.
3172         * stdlib/stdlib.h (reallocarray): Likewise.
3173         * malloc/reallocarray.c: New file.
3174         * malloc/tst-reallocarray.c: New test file.
3175         * manual/memory.texi: Document reallocarray.
3176         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3177         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3186         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3189         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3191         Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3207 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3209         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3210         the lower 32 bits.
3212 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
3214         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3215         $(build-pie-default) = yes]: Define.
3217 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3219         * string/test-memchr.c (test_main): Add tests for n == 0.
3221 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3223         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3224         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3225         (tests-internal): ... here.
3227 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
3228              H.J. Lu  <hongjiu.lu@intel.com>
3230         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3231         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3232         (__tunable_set_val): Likewise.
3234 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3236         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3237         dl-tunables.list in subdirectories.
3239 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3240             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3241             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3243         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3244         (SNANF128): New macro.
3245         * math/e_sqrtf128.c: New file.
3246         * math/s_fmaxmag_template.c: Include math_private.h in order to
3247         make inline expansion of fabs128().
3248         * math/s_fminmag_template.c: Likewise.
3250         * sysdeps/ieee754/float128/e_acosf128.c: New file.
3251         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3252         * sysdeps/ieee754/float128/e_asinf128.c: New file.
3253         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3254         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3255         * sysdeps/ieee754/float128/e_coshf128.c: New file.
3256         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3257         * sysdeps/ieee754/float128/e_expf128.c: New file.
3258         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3259         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3260         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3261         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3262         * sysdeps/ieee754/float128/e_j0f128.c: New file.
3263         * sysdeps/ieee754/float128/e_j1f128.c: New file.
3264         * sysdeps/ieee754/float128/e_jnf128.c: New file.
3265         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3266         * sysdeps/ieee754/float128/e_log10f128.c: New file.
3267         * sysdeps/ieee754/float128/e_log2f128.c: New file.
3268         * sysdeps/ieee754/float128/e_logf128.c: New file.
3269         * sysdeps/ieee754/float128/e_powf128.c: New file.
3270         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3271         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3272         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3273         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3274         * sysdeps/ieee754/float128/float128_private.h: New file.
3275         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3276         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3277         * sysdeps/ieee754/float128/k_cosf128.c: New file.
3278         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3279         * sysdeps/ieee754/float128/k_sinf128.c: New file.
3280         * sysdeps/ieee754/float128/k_tanf128.c: New file.
3281         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3282         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3283         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3284         * sysdeps/ieee754/float128/s_atanf128.c: New file.
3285         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3286         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3287         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3288         * sysdeps/ieee754/float128/s_cosf128.c: New file.
3289         * sysdeps/ieee754/float128/s_erff128.c: New file.
3290         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3291         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3292         * sysdeps/ieee754/float128/s_finitef128.c: New file.
3293         * sysdeps/ieee754/float128/s_floorf128.c: New file.
3294         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3295         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3296         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3297         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3298         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3299         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3300         * sysdeps/ieee754/float128/s_isinff128.c: New file.
3301         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3302         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3303         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3304         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3305         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3306         * sysdeps/ieee754/float128/s_logbf128.c: New file.
3307         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3308         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3309         * sysdeps/ieee754/float128/s_modff128.c: New file.
3310         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3311         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3312         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3313         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3314         * sysdeps/ieee754/float128/s_remquof128.c: New file.
3315         * sysdeps/ieee754/float128/s_rintf128.c: New file.
3316         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3317         * sysdeps/ieee754/float128/s_roundf128.c: New file.
3318         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3319         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3320         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3321         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3322         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3323         * sysdeps/ieee754/float128/s_significandf128.c: New file.
3324         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3325         * sysdeps/ieee754/float128/s_sinf128.c: New file.
3326         * sysdeps/ieee754/float128/s_tanf128.c: New file.
3327         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3328         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3329         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3330         * sysdeps/ieee754/float128/s_truncf128.c: New file.
3331         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3332         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3333         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3334         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3336         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3337         (__iscanonicalf128): Define as a macro.
3339 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3341         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3342         (memmove): Use MEMMOVE for name.
3343         (memcpy): Use MEMCPY for name.  Change internal labels
3344         to external labels.
3345         * sysdeps/aarch64/multiarch/Makefile: New file.
3346         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3347         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3348         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3349         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3350         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3351         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3353 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3356         (_dl_arm_cap_flags): Fix array subscript.
3357         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3358         Fix count.
3360 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3362         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3364 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3366         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3367         (is_amd): Likewise.
3368         (max_cpuid): Likewise.
3369         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3370         (init_cacheinfo): Likewise.
3372 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3374         [BZ #21511]
3375         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3376         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3377         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3378         !__USE_XOPEN2K) || __USE_MISC].
3379         * conform/data/signal.h-data (struct sigstack): Expect type only
3380         if [!XOPEN2K8 && !POSIX2008].
3381         (sigstack): Expect function only if [XPG42 || UNIX98].
3383         [BZ #21457]
3384         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3385         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3386         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3387         <bits/types/__sigset_t.h>.
3388         (ucontext_t): Use sigset_t instead of __sigset_t.
3389         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3390         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3391         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3392         <bits/types/__sigset_t.h>.
3393         (ucontext_t): Use sigset_t instead of __sigset_t.
3394         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3395         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3396         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3397         <bits/types/__sigset_t.h>.
3398         (ucontext_t): Use sigset_t instead of __sigset_t.
3399         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
3400         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3401         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3402         <bits/types/__sigset_t.h>.
3403         (ucontext_t): Use sigset_t instead of __sigset_t.
3404         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
3405         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3406         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3407         <bits/types/__sigset_t.h>.
3408         (ucontext_t): Use sigset_t instead of __sigset_t.
3409         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3410         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3411         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3412         <bits/types/__sigset_t.h>.
3413         (ucontext_t): Use sigset_t instead of __sigset_t.
3414         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3415         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3416         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3417         <bits/types/__sigset_t.h>.
3418         (ucontext_t): Use sigset_t instead of __sigset_t.
3419         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3420         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3421         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3422         <bits/types/__sigset_t.h>.
3423         (ucontext_t): Use sigset_t instead of __sigset_t.
3424         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3425         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3426         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3427         <bits/types/__sigset_t.h>.
3428         (ucontext_t): Use sigset_t instead of __sigset_t.
3429         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3430         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3431         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
3432         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3433         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3434         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3435         <bits/types/__sigset_t.h>.
3436         (ucontext_t): Use sigset_t instead of __sigset_t.
3437         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3438         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3439         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3440         <bits/types/__sigset_t.h>.
3441         (ucontext_t): Use sigset_t instead of __sigset_t.
3442         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3443         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3444         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3445         <bits/types/__sigset_t.h>.
3446         (ucontext_t): Use sigset_t instead of __sigset_t.
3447         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3448         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3449         <bits/ss_flags.h>.
3450         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3451         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3452         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3453         <bits/types/__sigset_t.h>.
3454         (ucontext_t): Use sigset_t instead of __sigset_t.
3455         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3456         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3457         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3458         <bits/types/__sigset_t.h>.
3459         (ucontext_t): Use sigset_t instead of __sigset_t.
3460         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3461         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3462         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3463         <bits/types/__sigset_t.h>.
3464         (ucontext_t): Use sigset_t instead of __sigset_t.
3465         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3466         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3467         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3468         <bits/types/__sigset_t.h>.
3469         (ucontext_t): Use sigset_t instead of __sigset_t.
3470         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3471         <bits/types.h>.
3472         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3473         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3474         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3475         <bits/types/__sigset_t.h>.
3476         (ucontext_t): Use sigset_t instead of __sigset_t.
3478 2017-05-22  Zack Weinberg  <zackw@panix.com>
3480         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3481         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3482         bits/siginfo-arch.h, only if not already defined.
3483         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3484         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3485         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3486         Likewise.
3488         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3489         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3490         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3491         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3492         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3493         Unconditionally define __SI_* macros.
3495 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3497         [BZ #21393]
3498         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3499         and add a check for dup3 failure.
3500         * libio/freopen64.c (freopen64): Likewise.
3501         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3502         libsupport.
3503         (do_test_bz21398): New test.
3504         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3506 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3509         Remove invalid comment.
3511 2017-05-21  Zack Weinberg  <zackw@panix.com>
3513         * signal/Makefile (headers): Add bits/types/sigval_t.h.
3515 2017-05-20  Zack Weinberg  <zackw@panix.com>
3517         * bits/sigevent-consts.h
3518         * bits/siginfo-consts.h
3519         * bits/types/__sigset_t.h
3520         * bits/types/sigevent_t.h
3521         * bits/types/siginfo_t.h
3522         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3523         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3524         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3525         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3526         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3527         New system-dependent bits headers.
3529         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3530         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3531         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3532         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3533         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3534         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3535         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3536         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3537         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3538         New Linux-only system-dependent bits headers.
3540         * signal/bits/types/sig_atomic_t.h
3541         * signal/bits/types/sigset_t.h
3542         * signal/bits/types/sigval_t.h:
3543         New non-system-dependent bits headers.
3545         * sysdeps/generic/sigsetops.h
3546         * sysdeps/unix/sysv/linux/sigsetops.h:
3547         New internal headers.
3549         * include/bits/types/sig_atomic_t.h
3550         * include/bits/types/sigset_t.h
3551         * include/bits/types/sigval_t.h:
3552         New wrappers.
3554         * signal/sigsetops.h
3555         * bits/siginfo.h
3556         * bits/sigset.h
3557         * sysdeps/unix/sysv/linux/bits/siginfo.h
3558         * sysdeps/unix/sysv/linux/bits/sigset.h
3559         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3560         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3561         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3562         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3563         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3564         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3565         Deleted.
3567         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3568         Update lists of installed headers.
3570         * posix/bits/types.h: Define __sig_atomic_t here.
3571         * signal/signal.h: Use the new bits headers; no need to handle
3572         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
3573         to define sigmask.
3574         * include/signal.h: No need to handle __need_sig_atomic_t
3575         nor __need_sigset_t.  Don't define __sigemptyset.
3577         * io/sys/poll.h, setjmp/setjmp.h
3578         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3579         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3580         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3581         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3582         * sysdeps/pthread/bits/sigthread.h
3583         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3584         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3585         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3586         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3588         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3589         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3590         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3591         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3592         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3593         Use bits/types/__sigset_t.h.
3595         * misc/sys/select.h, posix/spawn.h
3596         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3597         * sysdeps/unix/sysv/linux/sys/epoll.h
3598         * sysdeps/unix/sysv/linux/sys/signalfd.h:
3599         Use bits/types/sigset_t.h.
3601         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3602         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3603         * socket/sys/socket.h: Don't include bits/sigset.h.
3605         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3606         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3607         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3608         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3609         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3610         * sysdeps/unix/sysv/linux/nptl-signals.h:
3611         Include sigsetops.h.
3613         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3614         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3615         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3616         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3617         now return no value.
3619         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3620         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3621         "sigsetops.h".
3623         * signal/sigsetops.c: Explicitly define __sigismember,
3624         __sigaddset, and __sigdelset as compatibility symbols.
3626         * signal/Versions: Correct commentary on __sigpause,
3627         __sigaddset, __sigdelset, __sigismember.
3629         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
3630         __sigblock/__sigsetmask to use __sigprocmask and friends.
3632         * resolv/resolv.h: Remove __need_res_state logic.
3633         Move definition of res_state and related constants to ...
3634         * resolv/bits/types/res_state.h: ...this new file.
3635         * resolv/Makefile: Install bits/types/res_state.h.
3636         * include/bits/types/res_state.h: New wrapper.
3637         * include/list.h: Remove __need_list_t logic.
3638         Move definition of list_t to ...
3639         * include/list_t.h: ...this new file.
3641         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3642         instead of list.h and resolv.h.
3644         * resolv/resolv.h: Remove __need_res_state logic.
3645         Move definition of res_state and related constants to ...
3646         * resolv/bits/types/res_state.h: ...this new file.
3647         * resolv/Makefile: Install bits/types/res_state.h.
3648         * include/bits/types/res_state.h: New wrapper.
3649         * include/list.h: Remove __need_list_t logic.
3650         Move definition of list_t to ...
3651         * include/list_t.h: ...this new file.
3653         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3654         instead of list.h and resolv.h.
3656 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3658         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3660 2017-05-20  Zack Weinberg  <zackw@panix.com>
3662         * sysdeps/arm/sysdep.h
3663         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3665         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3666         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3667         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3668         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3669         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3670         * sysdeps/arm/armv6t2/strlen.S
3671         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3672         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3673         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3674         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3675         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3676         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3678 2017-05-20  Zack Weinberg  <zackw@panix.com>
3680         Remove the NaCl port.
3681         * sysdeps/arm/nacl: Remove directory and contents.
3682         * sysdeps/nacl: Remove directory and contents.
3683         * abi-tags: Remove .*-.*-nacl.* entry.
3685 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3687         * manual/errno.texi: Convert @comment-based errno documentation to
3688         @errno.
3689         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3690         their values, and messages, adding the error string to the Concept
3691         Index.  Provide a warning in the comment about external (to the
3692         manual) dependencies.
3693         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3694         * sysdeps/mach/hurd/errnos.awk: Likewise.
3696 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3698         * bits/ss_flags.h: New file.
3699         * bits/types/stack_t.h: Likewise.
3700         * include/bits/types/struct_sigstack.h: Likewise.
3701         * signal/bits/types/struct_sigstack.h: Likewise.
3702         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3703         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3704         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3705         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3706         bits/types/stack_t.h and bits/ss_flags.h.
3707         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3708         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3709         <bits/ss_flags.h>.
3710         * bits/sigstack.h (struct sigstack): Remove.
3711         (stack_t): Likewise.
3712         (SS_ONSTACK): Likewise.
3713         (SS_DISABLE): Likewise.
3714         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3715         (struct sigstack): Likewise.
3716         (stack_t): Likewise.
3717         (SS_ONSTACK): Likewise.
3718         (SS_DISABLE): Likewise.
3719         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3720         Likewise.
3721         (stack_t): Likewise.
3722         (SS_ONSTACK): Likewise.
3723         (SS_DISABLE): Likewise.
3724         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3725         Likewise.
3726         (stack_t): Likewise.
3727         (SS_ONSTACK): Likewise.
3728         (SS_DISABLE): Likewise.
3729         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3730         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3731         Likewise.
3732         (stack_t): Likewise.
3733         (SS_ONSTACK): Likewise.
3734         (SS_DISABLE): Likewise.
3735         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3736         (struct sigstack): Likewise.
3737         (stack_t): Likewise.
3738         (SS_ONSTACK): Likewise.
3739         (SS_DISABLE): Likewise.
3740         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3741         Likewise.
3742         (stack_t): Likewise.
3743         (SS_ONSTACK): Likewise.
3744         (SS_DISABLE): Likewise.
3745         * sysdeps/arm/sys/ucontext.h: Include
3746         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3747         <bits/ss_flags.h>.
3748         * sysdeps/generic/sys/ucontext.h: Likewise.
3749         * sysdeps/i386/sys/ucontext.h: Likewise.
3750         * sysdeps/m68k/sys/ucontext.h: Likewise.
3751         * sysdeps/mips/sys/ucontext.h: Likewise.
3752         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3753         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3754         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3755         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3756         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3757         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3758         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3759         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3760         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3761         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3762         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3763         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3764         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3765         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3766         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3768 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3770         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3771         "edx + ecx - 16" to avoid possible addition overflow.
3772         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3774 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3776         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3777         (CFLAGS-splice.c): Likewise.
3778         (CFLAGS-open_by_handle_at.c): Likewise.
3779         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3780         (CFLAGS-splice.c): Likewise.
3781         (CFLAGS-open_by_handle_at.c): Likewise.
3783 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3785         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3786         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3787         <ldbl-compat-choose.h>.
3788         (maybe_long_double_symbol): New macro.
3789         [!declare_mgen_alias] (declare_mgen_alias): Use
3790         maybe_long_double_symbol.
3791         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3792         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3793         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3794         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3795         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3796         * Makerules [$(build-shared) = yes && !avoid-generated]
3797         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3798         [$(build-shared) = yes && !avoid-generated]
3799         ($(common-objpfx)ldbl-compat-choose.h): New target.
3801         * scripts/versions.awk: Generate first-versions.h.
3802         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3803         <first-versions.h>.
3804         (LDOUBLE_cabsl_libm_version): Remove macro.
3805         (LDOUBLE_cargl_libm_version): Likewise.
3806         (LDOUBLE_cimagl_libm_version): Likewise.
3807         (LDOUBLE_conjl_libm_version): Likewise.
3808         (LDOUBLE_creall_libm_version): Likewise.
3809         (LDOUBLE_cacosl_libm_version): Likewise.
3810         (LDOUBLE_cacoshl_libm_version): Likewise.
3811         (LDOUBLE_ccosl_libm_version): Likewise.
3812         (LDOUBLE_ccoshl_libm_version): Likewise.
3813         (LDOUBLE_casinl_libm_version): Likewise.
3814         (LDOUBLE_csinl_libm_version): Likewise.
3815         (LDOUBLE_casinhl_libm_version): Likewise.
3816         (LDOUBLE_csinhl_libm_version): Likewise.
3817         (LDOUBLE_catanl_libm_version): Likewise.
3818         (LDOUBLE_catanhl_libm_version): Likewise.
3819         (LDOUBLE_ctanl_libm_version): Likewise.
3820         (LDOUBLE_ctanhl_libm_version): Likewise.
3821         (LDOUBLE_cexpl_libm_version): Likewise.
3822         (LDOUBLE_clogl_libm_version): Likewise.
3823         (LDOUBLE_cprojl_libm_version): Likewise.
3824         (LDOUBLE_csqrtl_libm_version): Likewise.
3825         (LDOUBLE_cpowl_libm_version): Likewise.
3826         (LDOUBLE_clog10l_libm_version): Likewise.
3827         (LDOUBLE___clog10l_libm_version): Likewise.
3828         (LDOUBLE_fdiml_libm_version): Likewise.
3829         (LDOUBLE_fmaxl_libm_version): Likewise.
3830         (LDOUBLE_fminl_libm_version): Likewise.
3831         (LDOUBLE_ilogbl_libm_version): Likewise.
3832         (LDOUBLE_nanl_libm_version): Likewise.
3833         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3834         FIRST_VERSION_libm_* macros.
3835         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3836         * Makerules [$(build-shared) = yes && !avoid-generated]
3837         (before-compile): Add $(common-objpfx)first-versions.h.
3838         [$(build-shared) = yes && !avoid-generated]
3839         ($(common-objpfx)first-versions.h): New target.
3840         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3841         building $(common-objpfx)versions.stmp.
3843 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3845         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3846         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3847         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3848         auto-generation list.
3850         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3851         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3852         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3853         from auto-generation list.
3855         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3856         open_by_handle_at.
3857         (CFLAGS-open_by_handle_at.c): New flag.
3858         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3859         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3860         file.
3861         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3863         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3864         (CFLAGS-splice.c): New flag.
3865         * sysdeps/unix/sysv/linux/splice.c: New file.
3866         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3867         auto-generation syscall list.
3868         * misc/Makefile (CFLAGS-splice.c): New rule.
3870         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3871         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3872         auto-generation syscall list.
3873         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3874         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3876         * misc/Makefile (CFLAGS-fsync.c): New flag.
3877         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3878         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3879         syscall list.
3880         * sysdeps/unix/sysv/linux/fsync.c: New file.
3881         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3882         (__errno_location): Remove.
3884         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3885         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3886         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3887         list.
3888         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3890         * misc/Makefile (CFLAGS-msync.c): New rule.
3891         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3892         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3893         * sysdeps/unix/sysv/linux/msync.c: New file.
3895         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3896         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3897         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3898         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3899         (CFLAGS-sigsuspend.c): Remove rule.
3901         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3902         (CFLAGS-tee.c): New rule.
3903         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3904         auto-generated list.
3905         * sysdeps/unix/sysv/linux/tee.c: New file.
3907         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3908         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3909         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3910         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3911         auto-generated list.
3913         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3914         auto-generated list.
3915         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3916         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3917         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3918         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3921         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3922         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3923         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3924         (__NR_pause): Undefine.
3925         * sysdeps/unix/sysv/linux/pause.c: New file.
3926         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3927         auto-generation list.
3928         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3929         Remove rule.
3930         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3932 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3934         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3935         comments.
3937 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3939         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3940         LD_HWCAP_MASK.
3942 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3944         * manual/conf.texi: Convert @tables of annotated @items to
3945         @vtables.
3946         * manual/lang.texi: Likewise.
3947         * manual/pattern.texi: Likewise.
3948         * manual/resource.texi: Likewise.
3949         * manual/socket.texi: Likewise.
3951 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3953         * manual/crypt.texi: Move a comment out of an @*x list.
3954         * manual/filesys.texi: Refactor some comments, one of which looks
3955         like a standard.  Fix incorrectly separated standards.
3956         * manual/locale.texi: Invert an annotation.
3957         * manual/resource.texi: Fix incorrectly separated standards.
3958         * manual/time.texi: Refactor a @vtable that obscures an
3959         annotation.
3960         * manual/users.texi: Refactor multiple headers to occupy a single
3961         @comment.
3963 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3965         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3966         (sysdep_routines): Add memcmp-power8.
3967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3968         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3969         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3970         (memcmp): Add __memcmp_power8 to ifunc list.
3971         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3972         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3974 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3975             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3977         * math/math.h (__MATH_TG): Extend the conditions to add
3978         _Float128 support.
3979         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3981 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3984         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3985         s_cosf-ppc64.
3986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3989         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3991 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3993         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3994         (gen-libm-calls): Add e_exp2F to use the template.
3995         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3996         * math/e_exp2_template.c: New file, renamed from
3997         math/e_exp2l.c, and made into a template.
3998         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4000 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4002         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4003         TUNABLE_TYPE_UINT_64.
4004         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4005         Simplify computation of overflow.
4006         (tunable_set_val_if_valid_range_signed,
4007         tunable_set_val_if_valid_range_unsigned): Remove and replace
4008         with this...
4009         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4010         (tunable_initialize): Adjust.  Add uint64_t support.
4011         (__tunable_set_val): Add uint64_t support.
4012         * README.tunables: Document it.
4014         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4015         dl-tunables.list.
4016         * README.tunables: Document it.
4018 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4020         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4021         * sysdeps/posix/preadv64.c: Likewise.
4022         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4023         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4024         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4025         * sysdeps/posix/pwritev64.c: Likewise.
4026         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4027         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4028         * sysdeps/posix/preadv_common.c: New file.
4029         * sysdeps/posix/pwritev_common.c: Likewise.
4031 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4033         * sysdeps/generic/math-type-macros-float128.h
4034         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4035         wrapper templates.
4037 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4038             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4040         * include/complex.h (__kernel_casinhf128): New declaration.
4041         * include/float.h: New file.
4042         * include/math.h (__finitef128): Add a hidden def.
4043         (__isinff128): Likewise.
4044         (__isnanf128): Likewise.
4045         (__fpclassify): Likewise.
4046         (__issignalling): Likewise.
4047         (__expf128): Likewise.
4048         (__expm1f128): Likewise.
4050         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4051         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4052         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4054         * sysdeps/generic/math-type-macros-float128.h: New file.
4056         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4057         math_private_calls.h for _Float128.
4058         (__isinff128): New inline implementation used when GCC < 7.0,
4059         since in this case __builtin_isinf_sign is broken.
4060         (fabsf128): New inline implementation that calls the builtin.
4061         (__EXPR_FLT128): New macro.
4062         (min_of_type): Optionally include _Float128 types too.
4064         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4065         Declare for _Float128.
4066         (__kernel_rem_pio2): Likewise.
4068         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4069         (__DECL_SIMD_sincos_disablef128): New macro.
4071 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4073         * math/math.h: Include bits/math-finite.h for float128.
4074         (__MATH_DECLARING_FLOATN): Define to control declaration of
4075         float128 functions.
4076         * math/bits/math-finite.h (pow10): Do not declare for float128.
4077         (gamma): Likewise.
4078         (scalb): Likewise.
4080 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4081             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4083         * bits/floatn.h: New file.
4084         * bits/huge_val_flt128.h: Likewise.
4086         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4087         (__DECL_SIMD_sinf128): Likewise.
4088         (__DECL_SIMD_sincosf128): Likewise.
4089         (__DECL_SIMD_logf128): Likewise.
4090         (__DECL_SIMD_expf128): Likewise.
4091         (__DECL_SIMD_powf128): Likewise.
4093         * math/Makefile (headers): Install bits/floatn.h and
4094         bits/huge_val_flt128.h.
4096         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4097         defined.
4099         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4100         (isnan, gamma, nexttoward, scalb): Only define if not
4101         __MATH_DECLARING_FLOATN.
4102         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4103         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4104         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4105         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4107         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4108         Include bits/cmathcalls.h to get the declarations of _Float128
4109         versions of complex functions.
4110         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4111         Define macro.
4113         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4114         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4115         get the declarations of _Float128 versions of math functions.
4116         (__MATH_DECLARING_FLOATN): New macro to control declaration of
4117         _FloatN types.
4118         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4119         is type-generic, so use it without __MATH_TG.
4120         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4121         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
4122         _Float128 type and GCC < 7.0, otherwise use the builtin.
4123         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4124         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4125         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4126         New _GNU_SOURCE enabled macros.
4128 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4131         (signbitf): Likewise.
4132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4133         Likewise.
4134         (signbitl): Likewise.
4135         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4136         Likewise.
4137         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4138         (signbitl): Likewise.
4139         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4141 2017-05-12  Florian Weimer  <fweimer@redhat.com>
4143         [BZ #21386]
4144         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4145         parent PID.  The assertion in the child is incorrect with PID
4146         namespaces.
4148 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4150         * sysdeps/unix/sysv/linux/kernel-features.h
4151         (__ASSUME_STATFS_F_FLAGS): Remove macro.
4152         * sysdeps/unix/sysv/linux/internal_statvfs.c
4153         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4155 2017-05-11  Zack Weinberg  <zackw@panix.com>
4157         * Makerules: New subdir configuration variables 'tests-internal'
4158         and 'test-internal-extras'.  Test files in these categories will
4159         still be compiled with MODULE_NAME=nonlib.  Test files in the
4160         existing categories (tests, xtests, test-srcs, test-extras) are
4161         now compiled with MODULE_NAME=testsuite.
4162         New subdir configuration variable 'modules-names-tests'.  Files
4163         which are in both 'modules-names' and 'modules-names-tests' will
4164         be compiled with MODULE_NAME=testsuite instead of
4165         MODULE_NAME=extramodules.
4166         (gen-as-const-headers): Move to tests-internal.
4167         (do-tests-clean, common-mostlyclean): Support tests-internal.
4168         * Makeconfig (built-modules): Add testsuite.
4169         * Makefile: Change libof-check-installed-headers-c and
4170         libof-check-installed-headers-cxx to 'testsuite'.
4171         * Rules: Likewise.  Support tests-internal.
4172         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4173         Remove extra-modules.mk.
4175         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4176         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4177         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4178         very top of the file and rationalize their order.
4179         If MODULE_NAME is not defined at all, define IS_IN to always be
4180         false, and don't define _ISOMAC.
4181         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4182         true, define _ISOMAC and suppress everything else in this file,
4183         starting with the inclusion of config.h.
4184         Do check for inappropriate definitions of __OPTIMIZE__ and
4185         __FAST_MATH__ here, but only if _ISOMAC is not defined.
4186         Correct some out-of-date commentary.
4188         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4189         and _Mlong_double_ before including math.h.
4190         * include/string.h: If _ISOMAC is defined, don't expose
4191         _STRING_ARCH_unaligned. Move a comment to a more appropriate
4192         location.
4194         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4195         * include/time.h, include/unistd.h, include/wchar.h: No need to
4196         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4198         * misc/sys/cdefs.h (__NTHNL): New macro.
4199         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4200         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4202         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4203         defined, for HAVE_TUNABLES.
4204         * inet/tst-checks-posix.c: No need to define _ISOMAC.
4205         * intl/tst-gettext2.c: Provide own definition of N_.
4206         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4207         * math/test-signgam-main.c: No need to define _ISOMAC.
4208         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4209         * stdlib/tst-strtod1i.c: ...this new file.
4210         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4211         Split tests of __strtod_internal to...
4212         * stdlib/tst-strtod5i.c: ...this new file.
4213         * string/test-string.h: Include stdint.h. Duplicate definition of
4214         inhibit_loop_to_libcall here (from libc-symbols.h).
4215         * string/test-strstr.c: Provide dummy definition of
4216         libc_hidden_builtin_def when including strstr.c.
4217         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4218         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4219         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4220         Don't include init-arch.h.
4221         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4222         Don't include init-arch.h.
4224         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4225         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4226         unload, unload2, circleload1, neededtest, neededtest2,
4227         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4228         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4229         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4230         ifunc tests to tests-internal.
4231         Don't add $(modules-names) to test-extras.
4232         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4233         Add tst-deadline to tests-static-internal.
4234         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4235         tests-internal.
4236         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4237         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4238         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4239         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4240         tst-sem12-static, and tst-stackguard1-static to tests-internal.
4241         Link tests-internal with libpthread also.
4242         Don't add $(modules-names) to test-extras.
4243         * nss/Makefile: Move tst-field to tests-internal.
4244         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4245         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4246         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4247         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4248         tests-internal.
4249         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4250         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4251         test-get_hwcap-static to tests-internal.
4252         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4253         tests-internal.
4254         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4255         modules-names-tests.
4257 2017-05-11  Zack Weinberg  <zackw@panix.com>
4259         * libio/libio.h: Condition dummy definition of _IO_lock_t on
4260         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4261         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4262         _IO_funlockfile, and _IO_ftrylockfile.  Only define
4263         _IO_cleanup_region_start and _IO_cleanup_region_end if not
4264         already defined.
4265         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4266         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4267         appropriately.
4268         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4269         Define _IO_lock_t_defined after defining _IO_lock_t.
4271 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4273         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4274         void* for argument type and use VDSO_SYMBOL macro.
4275         (is_sigtramp_address_rt): Likewise.
4276         (__backtrace): Setup expected frame pointer address for signal
4277         handling.
4278         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4279         void* for argumetn type and use VSDO_SYMBOL macro.
4280         (__backtrace): Setup expected frame pointer address for signal
4281         handling.
4283         * sysdeps/unix/sysv/linux/writev.c: New file.
4285         * sysdeps/unix/sysv/linux/readv.c: New file.
4287         * include/unistd.h (write): Add hidden proto.
4288         * io/Makefile (CFLAGS-write.c): New define.
4289         * nptl/Makefile (CFLAGS-write.c): Likewise.
4290         * sysdeps/unix/sysv/linux/write.c: New file.
4292         [BZ #21428]
4293         * include/unistd.h (read): Add hidden proto.
4294         * io/Makefile (CFLAGS-read.c): New define.
4295         * nptl/Makefile (CFLAGS-read.c): Likewise.
4296         * sysdeps/unix/sysv/linux/read.c: New file.
4298         * io/Makefile (CFLAGS-creat.c): New rule.
4299         (CFLAGS-creat64.c): Likewise.
4300         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4301         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4302         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4303         * sysdeps/unix/sysv/linux/creat.c: New file.
4304         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4305         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4306         auto-generated list.
4307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4309         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4310         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4311         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4312         * sysdeps/unix/sysv/linux/open.c: New file.
4313         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4314         iff __WORDSIZE != 64 and use __NR_openat when available.
4315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4316         from auto-generated list.
4318         * nptl/Makefile (CFLAGS-close.c): New flag.
4319         * sysdeps/unix/sysv/linux/close.c: New file.
4321 2017-05-11  DJ Delorie  <dj@redhat.com>
4323         * MAINTAINERS: New.  Points to wiki.
4325 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4327         * scripts/gen-tunables.awk: Add attribute_relro to
4328         tunable_list.
4330 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
4332         [BZ #21457]
4333         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4334         (R1): Likewise.
4335         (R2): Likewise.
4336         (R3): Likewise.
4337         (R4): Likewise.
4338         (R5): Likewise.
4339         (R6): Likewise.
4340         (R7): Likewise.
4341         (R8): Likewise.
4342         (R9): Likewise.
4343         (R10): Likewise.
4344         (R11): Likewise.
4345         (R12): Likewise.
4346         (R13): Likewise.
4347         (R14): Likewise.
4348         (R15): Likewise.
4349         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4350         (REG_FS): Likewise.
4351         (REG_ES): Likewise.
4352         (REG_DS): Likewise.
4353         (REG_EDI): Likewise.
4354         (REG_ESI): Likewise.
4355         (REG_EBP): Likewise.
4356         (REG_ESP): Likewise.
4357         (REG_EBX): Likewise.
4358         (REG_EDX): Likewise.
4359         (REG_ECX): Likewise.
4360         (REG_EAX): Likewise.
4361         (REG_TRAPNO): Likewise.
4362         (REG_ERR): Likewise.
4363         (REG_EIP): Likewise.
4364         (REG_CS): Likewise.
4365         (REG_EFL): Likewise.
4366         (REG_UESP): Likewise.
4367         (REG_SS): Likewise.
4368         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4369         (R_D1): Likewise.
4370         (R_D2): Likewise.
4371         (R_D3): Likewise.
4372         (R_D4): Likewise.
4373         (R_D5): Likewise.
4374         (R_D6): Likewise.
4375         (R_D7): Likewise.
4376         (R_A0): Likewise.
4377         (R_A1): Likewise.
4378         (R_A2): Likewise.
4379         (R_A3): Likewise.
4380         (R_A4): Likewise.
4381         (R_A5): Likewise.
4382         (R_A6): Likewise.
4383         (R_A7): Likewise.
4384         (R_SP): Likewise.
4385         (R_PC): Likewise.
4386         (R_PS): Likewise.
4387         (fpregset_t): Likewise.
4388         (MCONTEXT_VERSION): Likewise.
4389         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4390         (CTX_AT): Likewise.
4391         (CTX_V0): Likewise.
4392         (CTX_V1): Likewise.
4393         (CTX_A0): Likewise.
4394         (CTX_A1): Likewise.
4395         (CTX_A2): Likewise.
4396         (CTX_A3): Likewise.
4397         (CTX_T0): Likewise.
4398         (CTX_T1): Likewise.
4399         (CTX_T2): Likewise.
4400         (CTX_T3): Likewise.
4401         (CTX_T4): Likewise.
4402         (CTX_T5): Likewise.
4403         (CTX_T6): Likewise.
4404         (CTX_T7): Likewise.
4405         (CTX_S0): Likewise.
4406         (CTX_S1): Likewise.
4407         (CTX_S2): Likewise.
4408         (CTX_S3): Likewise.
4409         (CTX_S4): Likewise.
4410         (CTX_S5): Likewise.
4411         (CTX_S6): Likewise.
4412         (CTX_S7): Likewise.
4413         (CTX_T8): Likewise.
4414         (CTX_T9): Likewise.
4415         (CTX_K0): Likewise.
4416         (CTX_K1): Likewise.
4417         (CTX_GP): Likewise.
4418         (CTX_SP): Likewise.
4419         (CTX_S8): Likewise.
4420         (CTX_RA): Likewise.
4421         (CTX_MDLO): Likewise.
4422         (CTX_MDHI): Likewise.
4423         (CTX_CAUSE): Likewise.
4424         (CTX_EPC): Likewise.
4425         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4426         inclusion of <sys/procfs.h> on [__USE_MISC].
4427         (greg_t): Condition on [__USE_MISC].
4428         (gregset_t): Likewise.
4429         (fpregset_t): Likewise.
4430         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4431         (NGREG): Likewise.
4432         (gregset_t): Likewise.
4433         (REG_R0): Likewise.
4434         (REG_R1): Likewise.
4435         (REG_R2): Likewise.
4436         (REG_R3): Likewise.
4437         (REG_R4): Likewise.
4438         (REG_R5): Likewise.
4439         (REG_R6): Likewise.
4440         (REG_R7): Likewise.
4441         (REG_R8): Likewise.
4442         (REG_R9): Likewise.
4443         (REG_R10): Likewise.
4444         (REG_R11): Likewise.
4445         (REG_R12): Likewise.
4446         (REG_R13): Likewise.
4447         (REG_R14): Likewise.
4448         (REG_R15): Likewise.
4449         (struct _libc_fpstate): Likewise.
4450         (fpregset_t): Likewise.
4451         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4452         (NFPREG): Likewise.
4453         (gregset_t): Likewise.
4454         (fpregset_t): Likewise.
4455         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4456         (R_D1): Likewise.
4457         (R_D2): Likewise.
4458         (R_D3): Likewise.
4459         (R_D4): Likewise.
4460         (R_D5): Likewise.
4461         (R_D6): Likewise.
4462         (R_D7): Likewise.
4463         (R_A0): Likewise.
4464         (R_A1): Likewise.
4465         (R_A2): Likewise.
4466         (R_A3): Likewise.
4467         (R_A4): Likewise.
4468         (R_A5): Likewise.
4469         (R_A6): Likewise.
4470         (R_A7): Likewise.
4471         (R_SP): Likewise.
4472         (R_PC): Likewise.
4473         (R_PS): Likewise.
4474         (fpregset_t): Likewise.
4475         (MCONTEXT_VERSION): Likewise.
4476         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4479         (REG_R1): Likewise.
4480         (REG_R2): Likewise.
4481         (REG_R3): Likewise.
4482         (REG_R4): Likewise.
4483         (REG_R5): Likewise.
4484         (REG_R6): Likewise.
4485         (REG_R7): Likewise.
4486         (REG_R8): Likewise.
4487         (REG_R9): Likewise.
4488         (REG_R10): Likewise.
4489         (REG_R11): Likewise.
4490         (REG_R12): Likewise.
4491         (REG_R13): Likewise.
4492         (REG_R14): Likewise.
4493         (REG_R15): Likewise.
4494         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4495         of <arch/abi.h> on [__USE_MISC].
4496         (greg_t): Condition on [__USE_MISC].
4497         (NGREG): Likewise.
4498         (gregset_t): Likewise.
4500 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4502         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4503         (__pthread_rwlock_arch_t): Remove __data definition.
4504         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4505         (__pthread_rwlock_arch_t): Likewise.
4507 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4509         * resolv/inet_pton.c: Reformat in GNU style.  Remove
4510         internal_function on static functions.
4512 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4514         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4515         from format_ai_flags.
4516         (format_ai_flags): New function.  Incorporate flag formatting code
4517         from format_ai_one.
4518         (format_ai_canonname): New function.
4519         (format_ai_one): Remove flags parameter.
4520         (format_ai_family): Likewise.
4521         (support_format_addrinfo): Call format_ai_flags,
4522         format_ai_canonname.
4523         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4524         check_ai.
4525         (check_ai): Call check_ai_hints.
4526         (do_test): Add AI_CANONNAME tests.
4528 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4530         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4531         (gaih_inet): Likewise.
4533 2017-05-10  Andreas Schwab  <schwab@suse.de>
4535         * nptl/tst-fork1.c: Include <support/test-driver.c>.
4536         (main): Rename to do_test and make static.
4538 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
4540         * string/rawmemchr.c: Include <libc-diag.h>.
4541         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4542         with size (size_t)-1.
4544 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4546         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4547         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4548         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4550         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4551         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4552         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4553         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4554         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4555         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4556         * sysdeps/unix/sysv/linux/kernel-features.h
4557         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4558         socket syscalls.
4559         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4561         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4562         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4563         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4565         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4566         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4567         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4568         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4569         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4570         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4571         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4572         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4573         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4575 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4577         * posix/Makefile (headers): Add pthreadtypes-arch.h and
4578         thread-shared-types.h.
4579         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4580         specific thread definition.
4581         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4582         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4583         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4584         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4585         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4586         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4587         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4588         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4589         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4590         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4591         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4592         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4593         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4594         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4595         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4596         thread definition between POSIX and C11.
4597         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4598         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4599         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4600         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4601         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4602         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4603         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4604         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4605         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4606         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4607         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4608         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4609         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4610         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4611         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4612         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4613         definitions shared across all architectures.
4615 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4617         * sysdeps/unix/sysv/linux/kernel-features.h
4618         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4619         (__ASSUME_SENDMMSG): Likewise.
4620         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4621         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4622         sendmmsg syscall if that can be assumed to be present, socketcall
4623         otherwise, with no fallback for runtime failure.
4625         * sysdeps/unix/sysv/linux/kernel-features.h
4626         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4627         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4628         (__ASSUME_RECVMMSG): Likewise.
4629         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4630         recvmmsg syscall if it can be assumed to be present, socketcall
4631         otherwise, with no fallback for runtime failure.
4633 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4634             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4636         * bits/libc-header-start.h:
4637         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4638         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4639         * manual/creature.texi: Likewise.
4641 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4642             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4644         * math/Makefile:
4645         (type-float128-suffix): New variable
4646         (type-float128-routines): Likewise
4647         (type-float128-yes): Likewise
4648         (types): Append float128 if supported
4649         (types-basic): New variable to control the use of templates for
4650         float, double, and long double, but not for float128 or newer types.
4651         (type-basic-foreach): Likewise.
4653         * sysdeps/ieee754/float128/Makeconfig: New file.
4654         * sysdeps/ieee754/float128/Versions: New file.
4656 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4659         Remove macro.
4660         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4661         prlimit64 is always available and does not give an ENOSYS error.
4662         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4663         unconditional.
4664         [!__NR_prlimit64]: Remove conditional code.
4665         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4666         prlimit64 is always available and does not give an ENOSYS error.
4667         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4669 2017-05-09  Zack Weinberg  <zackw@panix.com>
4671         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4673 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4675         [BZ #21474]
4676         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4677         (__res_maybe_init): Likewise.
4679 2017-05-09  Zack Weinberg  <zackw@panix.com>
4681         * extra-modules.mk: Delete file.
4682         * cppflags-iterator.mk: Rename to ...
4683         * libof-iterator.mk: ...this.  Adjust comments.
4685         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4686         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4687         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4688         Use libof-iterator.mk instead of cppflags-iterator.mk or
4689         extra-modules.mk.
4691         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4692         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4694 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4696         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4698 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4700         * stdio-common/vfprintf.c (EXTSIZ): Define.
4701         (vfprintf): Use EXTSIZ.
4702         (printf_positional): Likewise.
4704 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4706         * sysdeps/unix/sysv/linux/kernel-features.h
4707         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4708         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4709         <kernel-features.h>.
4710         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4712         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4713         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4715 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4717         Prevent multiple deletion of temporary files.
4718         * support/temp_file.c (struct temp_name_list): Add owner member.
4719         (add_temp_file): Record owner.
4720         (support_delete_temp_files): Delete file only if owner matches.
4721         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4722         (do_prepare): Use create_temp_file instead of add_temp_file.
4723         Initialize temp_fd1, temp_fd2.
4724         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4725         framework remove the temporary files.
4726         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4727         (do_prepare): Use create_temp_file instead of add_temp_file.
4728         Initialize temp_fd1, temp_fd2, temp_fd3.
4729         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4730         the test framework remove the temporary files.
4731         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4732         deletion.
4733         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4734         temporary directory.  It is removed by the test framework.
4735         * dirent/tst-scandir.c (do_test): Likewise.
4737 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4739         Delete temporary files in LIFO order.
4740         * support/temp_file.c (struct temp_name_list): Replace q member
4741         with next.
4742         (add_temp_file): Add new file to front of linked list.
4743         (support_delete_temp_files): Use next member.
4744         (support_print_temp_files): Likewise.
4746 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4749         sys/ultrasound.h.
4750         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4752 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4754         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4755         Remove.
4756         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4757         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4758         (arch_minimum_kernel): Remove.
4759         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4760         * README: Update statement about Linux kernel requirements.
4762 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4764         * manual/llio.texi: Add preadv and pwritev documentation.
4766 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4768         [BZ #21455]
4769         * bits/stdint-intn.h: New file.
4770         * bits/stdint-uintn.h: Likewise.
4771         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4772         bits/stdint-uintn.h.
4773         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4774         <stdint.h>.
4775         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4776         (__int8_t_defined): Do not define here.
4777         (int8_t): Likewise.
4778         (int16_t): Likewise.
4779         (int32_t): Likewise.
4780         (int64_t): Likewise.
4781         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4782         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4783         <stdint.h>.
4784         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4785         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4786         <bits/stdint-uintn.h>.
4787         (int8_t): Do not define here.
4788         (int16_t): Likewise.
4789         (int32_t): Likewise.
4790         (int64_t): Likewise.
4791         (uint8_t): Likewise.
4792         (uint16_t): Likewise.
4793         (uint32_t): Likewise.
4794         (uint64_t): Likewise.
4795         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4796         variable.
4797         (test-xfail-XPG42/netdb.h/conform): Likewise.
4798         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4799         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4800         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4801         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4803 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4805         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4806         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4807         the above.
4808         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4811 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4813         [BZ #21445]
4814         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4816         [BZ #21457]
4817         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4818         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4819         __glibc_reserved1.
4820         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4821         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4822         (struct _fpxreg): Likewise.
4823         [!__x86_64__] (struct _fpstate): Rename field reserved to
4824         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4825         [__x86_64__] (struct _fpstate): Rename field padding to
4826         __glibc_reserved1.
4827         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4828         Rename field reserved2 to __glibc_reserved2.
4829         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4830         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4831         __glibc_reserved1.
4832         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4833         __glibc_reserved1.
4835 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4837         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4838         variable name.
4840 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4842         [BZ #21391]
4843         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4844         Only call init_cpu_features.
4845         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4846         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4847         * sysdeps/i386/dl-procinfo.h: Removed.
4848         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4849         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4850         <sysdeps/x86/dl-procinfo.h>.
4851         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4852         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4853         Include <sysdeps/x86/dl-procinfo.h> instead of
4854          <sysdeps/generic/dl-procinfo.h>.
4855         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4856         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4857         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4858         (bit_cpu_MOVBE): Likewise.
4859         (bit_cpu_BMI1): Likewise.
4860         (bit_cpu_BMI2): Likewise.
4861         (index_cpu_BMI1): Likewise.
4862         (index_cpu_BMI2): Likewise.
4863         (index_cpu_LZCNT): Likewise.
4864         (index_cpu_MOVBE): Likewise.
4865         (index_cpu_POPCNT): Likewise.
4866         (reg_BMI1): Likewise.
4867         (reg_BMI2): Likewise.
4868         (reg_LZCNT): Likewise.
4869         (reg_MOVBE): Likewise.
4870         (reg_POPCNT): Likewise.
4871         * sysdeps/x86/dl-hwcap.h: New file.
4872         * sysdeps/x86/dl-procinfo.h: Likewise.
4873         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4874         (_dl_x86_platforms): Likewise.
4876 2017-05-03  DJ Delorie  <dj@redhat.com>
4878         [BZ #21411]
4879         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4881 2017-05-03  Phil Blundell  <pb@pbcl.net>
4883         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4884         comments.
4886 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4888         [BZ #20116]
4889         * nptl/pthread_create.c: Expand comments to describe
4890         semaphore-like and mutex-like uses of PD->lock.
4892 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4894         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4895         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4896         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4897         auto-generation list.
4898         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4899         epoll_wait.
4900         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4901         Remove epoll_wait.
4903         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4904         osf_select.
4905         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4906         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4907         osf_select from auto-generation list.
4908         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4910         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4911         * sysdeps/unix/sysv/linux/select.c: New file.
4913         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4914         * sysdeps/unix/sysv/linux/poll.c: New file.
4915         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4916         auto-generation list.
4918 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4920         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4921         New macro.
4923 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4925         [BZ #21179]
4926         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4927         R_SPARC_REGISTER relocations.
4929 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4931         * include/unistd.h (__pread): Add libc_hidden_proto.
4932         (__pread64): Likewise.
4933         (__pwrite): Likewise.
4934         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4935         (__pread64): Remove.
4936         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4937         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4938         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4940 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4944 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4946         * nptl/tst-cancel4-common.c: Use libsupport.
4947         * nptl/tst-cancel4-common.h: Likewise.
4948         * nptl/tst-cancel4.c (tf_read): Likewise.
4949         (tf_readv): Likewise.
4950         (tf_write): Likewise.
4951         (tf_writev): Likewise.
4952         (tf_sleep): Likewise.
4953         (tf_usleep): Likewise.
4954         (tf_nanosleep): Likewise.
4955         (tf_select): Likewise.
4956         (tf_pselect): Likewise.
4957         (tf_poll): Likewise.
4958         (tf_ppoll): Likewise.
4959         (tf_wait): Likewise.
4960         (tf_waitpid): Likewise.
4961         (tf_waitid): Likewise.
4962         (tf_sigpause): Likewise.
4963         (tf_sigsuspend): Likewise.
4964         (tf_sigwait): Likewise.
4965         (tf_sigwaitinfo): Likewise.
4966         (tf_sigtimedwait): Likewise.
4967         (tf_pause): Likewise.
4968         (tf_accept): Likewise.
4969         (tf_send): Likewise.
4970         (tf_recv): Likewise.
4971         (tf_recvfrom): Likewise.
4972         (tf_recvmsg): Likewise.
4973         (tf_open): Likewise.
4974         (tf_close): Likewise.
4975         (tf_pread): Likewise.
4976         (tf_pwrite): Likewise.
4977         (tf_preadv): Likewise.
4978         (tf_pwritev): Likewise.
4979         (tf_fsync): Likewise.
4980         (tf_fdatasync): Likewise.
4981         (tf_msync): Likewise.
4982         (tf_sendto): Likewise.
4983         (tf_sendmsg): Likewise.
4984         (tf_creat): Likewise.
4985         (tf_connect): Likewise.
4986         (tf_tcdrain): Likewise.
4987         (tf_msgrcv): Likewise.
4988         (tf_msgsnd): Likewise.
4989         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4990         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4992         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4993         expected arguments.
4994         (do_test): Adapt to use libsupport.
4996 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4998         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5000         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5001         (PF_MAX): Set to 44.
5002         (AF_SMC): New macro.
5004         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5005         kernel version to 4.11.
5007 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5009         [BZ #21280]
5010         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5011         signal of subnormals and adjust the exponent of power of 2 down
5012         when low part has opposite sign.
5014 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5016         * sysdeps/powerpc/powerpc64le/Implies: New file.
5017         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5018         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5019         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5020         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5021         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5022         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5023         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5024         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5025         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5026         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5027         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5028         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5029         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5030         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5031         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5032         * sysdeps/powerpc/preconfigure: New file.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5036 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5038         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5039         inclusion.
5040         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5041         Remove.
5043 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5045         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5046         (XPG3): Rename standard to XPG4.
5047         * conform/Makefile: Likewise.
5048         * conform/list-header-symbols.pl: Likewise.
5049         * conform/data/aio.h-data: Likewise.
5050         * conform/data/arpa/inet.h-data: Likewise.
5051         * conform/data/complex.h-data: Likewise.
5052         * conform/data/ctype.h-data: Likewise.
5053         * conform/data/dlfcn.h-data: Likewise.
5054         * conform/data/fcntl.h-data: Likewise.
5055         * conform/data/fenv.h-data: Likewise.
5056         * conform/data/float.h-data: Likewise.
5057         * conform/data/fmtmsg.h-data: Likewise.
5058         * conform/data/ftw.h-data: Likewise.
5059         * conform/data/grp.h-data: Likewise.
5060         * conform/data/inttypes.h-data: Likewise.
5061         * conform/data/iso646.h-data: Likewise.
5062         * conform/data/langinfo.h-data: Likewise.
5063         * conform/data/libgen.h-data: Likewise.
5064         * conform/data/limits.h-data: Likewise.
5065         * conform/data/locale.h-data: Likewise.
5066         * conform/data/math.h-data: Likewise.
5067         * conform/data/mqueue.h-data: Likewise.
5068         * conform/data/ndbm.h-data: Likewise.
5069         * conform/data/net/if.h-data: Likewise.
5070         * conform/data/netdb.h-data: Likewise.
5071         * conform/data/netinet/in.h-data: Likewise.
5072         * conform/data/poll.h-data: Likewise.
5073         * conform/data/pthread.h-data: Likewise.
5074         * conform/data/pwd.h-data: Likewise.
5075         * conform/data/sched.h-data: Likewise.
5076         * conform/data/search.h-data: Likewise.
5077         * conform/data/semaphore.h-data: Likewise.
5078         * conform/data/signal.h-data: Likewise.
5079         * conform/data/spawn.h-data: Likewise.
5080         * conform/data/stdbool.h-data: Likewise.
5081         * conform/data/stdint.h-data: Likewise.
5082         * conform/data/stdio.h-data: Likewise.
5083         * conform/data/stdlib.h-data: Likewise.
5084         * conform/data/string.h-data: Likewise.
5085         * conform/data/strings.h-data: Likewise.
5086         * conform/data/stropts.h-data: Likewise.
5087         * conform/data/sys/mman.h-data: Likewise.
5088         * conform/data/sys/resource.h-data: Likewise.
5089         * conform/data/sys/select.h-data: Likewise.
5090         * conform/data/sys/socket.h-data: Likewise.
5091         * conform/data/sys/stat.h-data: Likewise.
5092         * conform/data/sys/statvfs.h-data: Likewise.
5093         * conform/data/sys/time.h-data: Likewise.
5094         * conform/data/sys/timeb.h-data: Likewise.
5095         * conform/data/sys/types.h-data: Likewise.
5096         * conform/data/sys/uio.h-data: Likewise.
5097         * conform/data/sys/un.h-data: Likewise.
5098         * conform/data/sys/wait.h-data: Likewise.
5099         * conform/data/syslog.h-data: Likewise.
5100         * conform/data/termios.h-data: Likewise.
5101         * conform/data/tgmath.h-data: Likewise.
5102         * conform/data/time.h-data: Likewise.
5103         * conform/data/ucontext.h-data: Likewise.
5104         * conform/data/unistd.h-data: Likewise.
5105         * conform/data/utmpx.h-data: Likewise.
5106         * conform/data/varargs.h-data: Likewise.
5107         * conform/data/wchar.h-data: Likewise.
5108         * conform/data/wctype.h-data: Likewise.
5110 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
5112         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5113         version to 7 branch.
5115 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
5117         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5118         earlyclobber to output operand of sqrt insn.
5119         (__ieee754_sqrtf): Ditto.
5121 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
5123         [BZ #21426]
5124         * misc/bits/types/struct_iovec.h: New file.
5125         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5126         * include/bits/types/struct_iovec.h: New file.
5127         * bits/uio.h (struct iovec): Replace by inclusion of
5128         <bits/types/struct_iovec.h>.
5129         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5130         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5131         of <sys/uio.h>.
5132         * nptl/tst-cancel4.c: Include <sys/uio.h>
5133         * posix/test-errno.c: Likewise.
5134         * support/resolv_test.c: Likewise.
5135         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5136         Remove.
5137         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5138         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5139         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5141         * conform/data/sys/socket.h-data (*_t): Allow.
5143 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5145         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5146         assignment.
5148 2017-04-24  Daurnimator  <quae@daurnimator.com>
5149             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5151         [BZ #21340]
5152         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5153         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5154         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5155         valid flags.
5156         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5157         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5158         POSIX_SPAWN_SETSID.
5159         * sysdeps/posix/spawni.c (__spawni): Likewise.
5160         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5161         * NEWS: Add note about POSIX_SPAWN_SETSID support.
5163 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5165         * sysdeps/generic/math_private.h: Move the declaration of many
5166         functions to sysdeps/generic/math_private_calls.h.
5167         * sysdeps/generic/math_private_calls.h: New file with the
5168         declarations of the functions removed from math_private.h
5169         macroized by floating-point type.
5171 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5173         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5174         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5175         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5176         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5177         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5178         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5180 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5182         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5183         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5184         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5185         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5186         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5187         New Define.
5189 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5191         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5192         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5193         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5194         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5195         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5196         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5198 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5200         * sysdeps/s390/multiarch/ifunc-resolve.h
5201         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5202         * sysdeps/s390/multiarch/8bit-generic.c
5203         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5204         define ifunc resolvers.
5206 2017-04-21  Florian Weimer  <fweimer@redhat.com>
5208         [BZ #20424]
5209         * manual/memory.texi (Replacing malloc): New section.
5210         (Allocating Storage For Program Data): Reference it.
5211         (The GNU Allocator): Likewise.
5213 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
5215         * stdlib/Versions (__strtod_internal): List explicitly, not as
5216         wildcard.
5217         (__strtof_internal): Likewise.
5218         (__strtold_internal): Likewise.
5219         (__strtol_internal): Likewise.
5220         (__strtoll_internal): Likewise.
5221         (__strtoul_internal): Likewise.
5222         (__strtoull_internal): Likewise.
5223         (__strtoq_internal): Likewise.
5224         (__strtouq_internal): Likewise.
5225         * wcsmbs/Versions (__wcstod_internal): Likewise.
5226         (__wcstof_internal): Likewise.
5227         (__wcstold_internal): Likewise.
5228         (__wcstol_internal): Likewise.
5229         (__wcstoll_internal): Likewise.
5230         (__wcstoul_internal): Likewise.
5231         (__wcstoull_internal): Likewise.
5233 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5235         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5236         struct timespec definition.
5238 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5240         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5242 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5244         * inet/rcmd.c (rresvport_af): Fix typo in comment.
5245         * inet/rexec.c (rexec_af): Likewise.
5247 2017-04-19  Zack Weinberg  <zackw@panix.com>
5249         * posix/tst-mmap-offset.c: Include stdint.h.
5250         * resolv/tst-ns_name_compress.c: Include string.h.
5251         * resolv/tst-resolv-edns.c: Include resolv.h.
5253 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5255         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5256         with __glibc_likely.
5257         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5258         Replace __builtin_expect with __glibc_unlikely.
5259         * resolv/res_init.c (__res_vinit): Likewise.
5260         * resolv/res_query.c (__libc_res_nquery): Likewise.
5261         * resolv/res_send.c (__libc_res_nsend): Likewise.
5263 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5265         [BZ #15722]
5266         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5267         with SOCK_CLOEXEC.
5268         * resolv/res_send.c (send_vc, reopen): Likewise.
5269         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5270         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5271         Likewise.
5272         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5273         * inet/rexec.c (rexec_af): Add comment.
5274         * inet/rcmd.c (rresvport_af): Likewise.
5276 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5278         * nscd/connections.c (have_accept4): Removed definition.
5279         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5280         accept4 works.
5281         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5282         ia64 because that was the first version with accept4 support.
5283         * support/Makefile (libsupport-routines): Add xaccept4.
5284         * support/xsocket.h (xaccept4): Declare.
5285         * support/xaccept4.c: New file.
5286         * socket/tst-accept4.c: New file.
5287         * socket/Makefile (tests): Add tst-accept4.
5288         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5289         definition.
5290         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5291         comment.
5292         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5293         implementation is available.
5294         (accept4): Use the system call if available, otherwise use the
5295         socket call.
5296         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5297         Set to 3.2.18.
5298         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5299         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5300         accept4 is unconditionally available in later 3.2 stable kernels.
5301         (__ASSUME_ACCEPT4_SYSCALL): Define.
5302         * sysdeps/unix/sysv/linux/kernel-features.h
5303         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5304         definitions.
5305         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5306         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5308 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
5310         * conform/Makefile (tests-special): Do not make addition of
5311         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5312         (generated): Do not make addition of $(conformtest-header-base)
5313         conditional on [$(cross-compiling) = no].
5315         [BZ #21267]
5316         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5317         if defined by <asm/socket.h> and not previously defined.
5318         (IOCSIZE_SHIFT): Likewise.
5319         (IOC_IN): Likewise.
5320         (IOC_INOUT): Likewise.
5321         (IOC_OUT): Likewise.
5323 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5325         [BZ #21396]
5326         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5327         Prefer_No_AVX512 if AVX512ER isn't available.
5328         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5329         (index_arch_Prefer_No_AVX512): Likewise.
5330         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5331         AVX512 version if Prefer_No_AVX512 is set.
5332         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5333         Likewise.
5334         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5335         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5336         Likewise.
5337         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5338         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5339         Likewise.
5340         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5341         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5342         Likewise.
5344 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5346         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5347         Prefer_No_VZEROUPPER if AVX512ER is available.
5348         * sysdeps/x86/cpu-features.h
5349         (bit_cpu_AVX512PF): New.
5350         (bit_cpu_AVX512ER): Likewise.
5351         (bit_cpu_AVX512CD): Likewise.
5352         (bit_cpu_AVX512BW): Likewise.
5353         (bit_cpu_AVX512VL): Likewise.
5354         (index_cpu_AVX512PF): Likewise.
5355         (index_cpu_AVX512ER): Likewise.
5356         (index_cpu_AVX512CD): Likewise.
5357         (index_cpu_AVX512BW): Likewise.
5358         (index_cpu_AVX512VL): Likewise.
5359         (reg_AVX512PF): Likewise.
5360         (reg_AVX512ER): Likewise.
5361         (reg_AVX512CD): Likewise.
5362         (reg_AVX512BW): Likewise.
5363         (reg_AVX512VL): Likewise.
5365 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5367         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5368         O_CLOEXEC is defined.
5369         * include/fcntl.h (__have_o_cloexec): Remove declaration.
5370         * io/Makefile (aux): Remove.
5371         * io/have_o_cloexec.c: Remove file.
5372         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5373         defined and works.
5374         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5375         defined.
5376         * login/utmp_file.c (O_flags): Remove definition.
5377         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
5378         O_CLOEXEC works.
5379         (pututline_file): Likewise.
5380         * malloc/mtrace.c: Assume that O_CLOEXEC works.
5381         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5382         definition.
5383         (internal_setgrent): Assume that O_CLOEXEC works.
5384         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5385         Remove definition.
5386         (internal_setgrent): Assume that O_CLOEXEC works.
5387         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5388         definition.
5389         (internal_setpwent): Assume that O_CLOEXEC works.
5390         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5391         definition.
5392         (internal_setspent): Assume that O_CLOEXEC works.
5393         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5394         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
5395         O_CLOEXEC is defined and works.
5396         * nss/Makefile (libnss_files-routines): Remove
5397         files-have_o_cloexec.
5398         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
5399         defined.
5400         * nss/nss_files/files-XXX.c (internal_setent): Assume that
5401         O_CLOEXEC is defined and works.
5402         * nss/nss_files/files-alias.c (internal_setent): Likewise.
5403         * nss/nss_files/files-have_o_cloexec.c: Remove.
5404         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
5405         defined.
5406         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
5407         and works.
5408         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
5409         definition.
5410         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5411         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5412         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5413         (__opendirat, __opendir): Adjust opendir_oflags call.
5414         (check_have_o_cloexec): Remove.
5415         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5416         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5417         defined.
5418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5419         Remove definition.
5421 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5423         * include/unistd.h (__have_dup3): Remove declaration.
5424         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5425         dup3 is available.
5426         * libio/freopen64.c (freopen64): Likewise.
5427         * socket/Makefile (aux): Remove have_sock_cloexec.
5428         * socket/have_sock_cloexec.c: Remove file.
5429         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5430         definition.
5431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5432         Likewise.
5433         * sysdeps/nacl/kernel-features.h: Update comment.
5435 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5437         * include/unistd.h (__have_pipe2): Remove declaration.
5438         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5439         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5440         available.
5441         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5443         Remove definition.
5445 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5447         * malloc/malloc.c (cfree): Turn into compat symbol.
5448         (__cfree): Remove alias.
5449         * stdlib/stdlib.h (cfree): Remove declaration.
5450         * malloc/malloc.h (cfree): Likewise.
5451         * manual/memory.texi (Freeing after Malloc): Remove cfree.
5452         * malloc/Versions (GLIBC_2.26): Add.
5454 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5456         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5457         (sysdep_routines): Add strrchr-power8.
5458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5459         (strrchr): Add __strrchr_power8 to list of strrchr functions.
5460         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5461         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5462         (strrchr): Add __strrchr_power8 to ifunc list.
5463         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5465 2017-04-17  Rabin Vincent  <rabinv@axis.com>
5467         [BZ #21357]
5468         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5469         Call free() outside of mutex.
5471 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5473         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5474         is defined.
5475         * elf/rtld.c (process_envvars): Likewise.
5476         * sysdeps/posix/shm_open.c (shm_open): Likewise.
5477         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
5478         O_NOFOLLOW directly.
5479         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5481 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5483         [BZ #21369]
5484         Remove EDNS fallback.
5485         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5486         handling.
5487         * resolv/res_send.c (send_dg): Likewise.
5488         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5489         "tcp." prefixes.
5490         (do_test): Send a "formerr."-prefixed query in an attempt to
5491         trigger EDNS fallback.
5493 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5495         [BZ #21361]
5496         Limit EDNS buffer size to 1200 bytes.
5497         * include/resolv.h (__res_nopt): Remove declaration.
5498         * resolv/Makefile (tests): tst-resolv-edns.
5499         (tst-resolv-edns): Link with -lresolv, -lpthread.
5500         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5501         interval [512, 1200].
5502         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5503         we can resize the buffer.
5504         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5505         (__res_nopt): Declare.
5506         * resolv/tst-resolv-edns.c: New file.
5507         * resolv/resolv_test.h (struct resolv_edns_info): Define.
5508         (struct resolv_response_context): Add edns member.
5509         * resolv/resolv_test.c (struct query_info): Add edns member.
5510         (parse_query): Extract EDNS information from the query.
5511         (server_thread_udp_process_one): Propagate EDNS data.
5512         (server_thread_tcp_client): Likewise.
5514 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5516         [BZ #21359]
5517         * resolv/ns_name.c (ns_name_pack): Do not require an additional
5518         byte in the destination buffer.  Avoid out-of-bounds pointer
5519         arithmetic.
5520         * resolv/Makefile (tests): Add tst-ns_name_compress.
5521         (tst-ns_name_compress): Link with -lresolv.
5522         * resolv/tst-ns_name_compress.c: New file.
5523         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5524         (response): Recognize LONG_NAME.
5525         (do_test): Add LONG_NAME tests.
5526         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5527         for ns_name_unpack.  Add tests for ns_name_pton and
5528         ns_name_compress.
5530 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5532         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5533         (res_nisourserver): Remove definition.
5534         (p_section, res_npquery, res_nisourserver): Remove declaration.
5535         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5536         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5537         ... here.
5538         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5539         <resolv.h>.
5540         * resolv/res_query.c: Likewise.
5541         * resolv/res_debug.c (p_section): Define as static.
5543 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5545         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5546         strncat-power8.
5547         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5548         __strncat_power8 to ifunc list.
5549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5550         (strncat): Add __strncat_power8 to list of strncat functions.
5551         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5553 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5555         [BZ #21270]
5556         * posix/tst-mmap-offset.c (do_prepare): New function.
5557         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5558         (do_test_bz21270): New function.
5559         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5560         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5561         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5562         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5563         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5564         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5565         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5566         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5567         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5568         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5569         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5570         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5571         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5572         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5573         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5574         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5575         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5576         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5577         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5578         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5579         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5580         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5581         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5582         from auto-generation list.
5583         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5585         * sysdeps/unix/sysv/linux/mmap.c: New file.
5586         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5587         offsets and support for mmap2 syscall.
5589         * posix/globtest.sh: Add cleanup routine on trap 0.
5591 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5594         implementation-specific function name and remove unneeded
5595         macros definition.
5596         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5597         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5598         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5599         name if not defined and pass as parameter to macros accordingly.
5600         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5601         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5604         implementation-specific function name and remove unneeded
5605         macros definition.
5606         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5608         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5611         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5612         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5613         name if not defined and pass as parameter to macros accordingly.
5614         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5615         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5616         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5617         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5618         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5619         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5621         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5622         implementation-specific function name and remove unneeded macros
5623         definition.
5624         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5625         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5627         function name if not defined and pass as parameter to macros
5628         accordingly.
5629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5632         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5633         implementation-specific function name and remove unneeded macros
5634         definition.
5635         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5636         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5637         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5638         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5639         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5640         not defined and pass as parameter to macros accordingly.
5641         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5642         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5643         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5644         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5646         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5647         strcasestr implementation name and remove unneeded macros definition.
5648         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5649         strstr implementation name and remove unneeded macros definition.
5650         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5651         name if not defined and pass as parameter to macros accordingly.
5652         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5654         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5655         implementation-specific function name and remove unneeded macros
5656         definition.
5657         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5658         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5659         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5660         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5661         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5662         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5663         function name if not defined and pass as parameter to macros
5664         accordingly.
5665         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5666         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5667         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5668         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5670         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5671         the strlen implementation name and remove unneeded macros definition.
5672         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5673         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5674         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5675         the strnlen implementation name and remove unneeded macros definition.
5676         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5677         name if not defined and pass as parameter to macros accordingly.
5678         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5679         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5680         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5683         the implementation-specific function name and remove unneeded
5684         macros definition.
5685         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5687         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5688         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5689         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5690         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5691         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5692         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5693         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5694         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5695         name if not defined and pass as parameter to macros accordingly.
5696         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5697         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5698         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5699         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5700         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5701         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5702         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5705         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5706         implementation-specific function name and remove unneeded macros
5707         definition.
5708         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5710         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5711         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5712         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5713         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5714         function name if not defined.
5715         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5716         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5718 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5720         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5721         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5722         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5723         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5725 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5726             Zack Weinberg  <zackw@panix.com>
5728         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5729         readdir64 as thread-safe.  Update warning about readdir_r.
5731 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5733         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5734         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5735         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5736         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5737         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5738         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5739         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5741 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5743         * sysdeps/i386/dl-procinfo.c: Include
5744         <sysdeps/x86/dl-procinfo.c>.
5745         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5746         * sysdeps/x86/dl-procinfo.c: New file.
5748 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5750         * sysdeps/generic/math_private.h: Remove declarations of
5751         many functions that are already declared in math.h.
5752         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5753         declaration for __frexpl.
5754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5755         the declarations for __scalbnl and fabsl.
5757 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5759         [BZ #20831]
5760         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5761         of __mprotect to change protection on the excess portion
5762         to disallow all access.
5764 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5766         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5767         HAS_CPU_FEATURE to check for SSE.
5768         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5769         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5770         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5771         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5772         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5773         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5774         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5775         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5776         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5777         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5778         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5779         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5780         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5781         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5782         (index_cpu_SSE): Likewise.
5783         (reg_SSE): Likewise.
5785 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5787         * posix/getopt1.c: Include <config.h>, not "config.h".
5789 2017-04-07  Zack Weinberg  <zackw@panix.com>
5791         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5792         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5793         Mention in top-of-file boilerplate that these files are shared
5794         with gnulib.
5795         * posix/getopt.h, posix/bits/getopt_posix.h:
5796         Mention in top-of-file boilerplate that these files are NOT shared
5797         with gnulib, unlike the rest of the getopt implementation.
5799         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5800         New files, intended to be shared with gnulib.
5801         * posix/bits/getopt_posix.h:
5802         New file, not intended to be shared with gnulib.
5803         * posix/getopt.h: Now just includes features.h,
5804         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5805         no longer be shared with gnulib.
5806         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5807         * include/bits/getopt_posix.h: New wrappers.
5808         * posix/Makefile: Install new headers.
5809         * posix/unistd.h, libio/stdio.h:
5810         Include bits/getopt_posix.h instead of getopt.h.
5812         * include/libc-symbols.h: For gnulib compatibility, define
5813         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5814         _GL_ATTRIBUTE_CONST.
5815         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5816         parameters with _GL_UNUSED.
5818         * posix/getopt.c: When used standalone, define __libc_use_alloca
5819         as always false and alloca to abort if called.
5820         (process_long_option): Rewrite handling of ambiguous long options
5821         to use a single boolean vector, not a linked list; use
5822         __libc_use_alloca to decide whether to allocate this using alloca.
5823         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5825         * posix/getopt.c (process_long_option): New function split out
5826         from _getopt_internal_r.
5827         (_getopt_internal_r): Replace both copies of the long-option
5828         processing code with calls to process_long_option.
5829         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5830         (do_test): Differentiate argv[0] in the two subtests.
5832         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5833         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5834         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5836         * posix/getopt.h: Add backup definition of __nonnull for
5837         consistency with gnulib.  Define __getopt_argv_const to const
5838         if not already defined.
5839         (getopt): Update doc comment from gnulib.  Prototype
5840         unconditionally.  Add __nonnull annotation.
5841         (__posix_getopt): Add __nonnull annotation.
5842         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5843         prototypes for consistency with gnulib.  Add __nonnull
5844         annotations.
5845         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5846         (getopt_internal): Change 'argv' argument to type 'char **'.
5847         Remove now-unnecessary casts.
5848         (getopt, __posix_getopt): Eliminate repetition with a macro.
5849         Cast 'argv' to 'char **' when calling _getopt_internal.
5850         * posix/getopt1.c (getopt_long, getopt_long_only):
5851         Use __getopt_argv_const for consistency with gnulib.
5852         Cast 'argv' to 'char **' when calling _getopt_internal.
5853         (_getopt_long_r, _getopt_long_only_r):
5854         Change 'argv' argument to type 'char **'.
5855         (main): Constify 'long_options'.
5856         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5857         (_getopt_long_r, _getopt_long_only_r):
5858         Change 'argv' argument to type 'char **'.
5860         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5861         (locked_vfxprintf): New helper function. Handle arbitrary
5862         multibyte strings, not just ASCII.
5863         * include/stdio.h: Declare __fxprintf_nocancel.
5864         * posix/getopt.c: When _LIBC is defined, define fprintf to
5865         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5866         to _IO_funlockfile.  When neither _LIBC nor
5867         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5868         funlockfile as no-ops.
5869         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5870         the standalone error-printing code can now be used for libc as
5871         well.  Add an flockfile/funlockfile pair around one case where
5872         the error message is printed in several chunks.  Don't use fputc.
5873         * posix/tst-getopt-cancel.c: New test.
5874         * posix/Makefile: Run it.
5876         * posix/getopt.c (_getopt_internal_r): Don't increment
5877         d->optind a second time when reporting ambiguous -W options.
5879         * posix/getopt_int.h: Include getopt.h.
5880         Use impl-namespace names for all arguments to _getopt_internal and
5881         _getopt_internal_r.
5882         Declare __ordering enum outside the struct.
5883         Harmonize comments with gnulib.
5884         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5885         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5886         #ifdef TEST block and make unconditional.  Do not define NULL.
5887         * posix/getopt.c: Partial merge from gnulib, covering the
5888         initial includes and global declarations, commentary, and
5889         a couple of semantically-neutral code changes.
5891         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5892         Use '...' instead of `...' for quotation marks inside
5893         comments and strings.
5895         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5896         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5897         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5898         * posix/getopt_int.h: Likewise.
5899         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5900         __libc_argc and __libc_argv externs, which were only used by
5901         #ifdef USE_NONOPTION_FLAGS blocks.
5902         * posix/getopt_init.c: Remove file.
5903         * posix/Makefile (routines): Remove getopt_init.
5904         * include/getopt.h: Don't declare __getopt_initialize_environment.
5905         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5906         a comment.
5908 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5910         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5912 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5914         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5915         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5916         to __wrap_.udiv.
5917         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5918         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5920         * sysdeps/i386/symbol-hacks.h: New file.
5921         * sysdeps/m68k/symbol-hacks.h: New file.
5922         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5923         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5924         * sysdeps/unix/sysv/linux/i386/Makefile
5925         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5926         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5927         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5928         * sysdeps/unix/sysv/linux/m68k/Makefile
5929         [$(subdir) = csu] (sysdep_routines): Likewise.
5930         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5931         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5933         [$(subdir) = csu] (sysdep_routines): Likewise.
5934         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5935         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5936         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5937         [$(subdir) = csu] (sysdep_routines): Likewise.
5938         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5939         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5940         * sysdeps/wordsize-32/Makefile: Remove file.
5941         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5942         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5944 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5946         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5947         (TEST_FUNCTION_ARGV): New.
5949 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5951         * elf/next.c: Import support/test-driver.c instead of
5952         test-skeleton.c and delete TEST_FUNCTION macro definition.
5953         * elf/nodelete.c: Likewise.
5954         * elf/order2.c: Likewise.
5955         * elf/tst-_dl_addr_inside_object.c: Likewise.
5956         * elf/tst-addr1.c: Likewise.
5957         * elf/tst-align.c: Likewise.
5958         * elf/tst-align2.c: Likewise.
5959         * elf/tst-audit11.c: Likewise.
5960         * elf/tst-audit12.c: Likewise.
5961         * elf/tst-audit2.c: Likewise.
5962         * elf/tst-audit9.c: Likewise.
5963         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5964         * elf/tst-deep1.c: Likewise.
5965         * elf/tst-dl-iter-static.c: Likewise.
5966         * elf/tst-dlmodcount.c: Likewise.
5967         * elf/tst-dlmopen1.c: Likewise.
5968         * elf/tst-dlmopen2.c: Likewise.
5969         * elf/tst-dlmopen3.c: Likewise.
5970         * elf/tst-dlopen-aout.c: Likewise.
5971         * elf/tst-dlopenrpath.c: Likewise.
5972         * elf/tst-dlsym-error.c: Likewise.
5973         * elf/tst-execstack-needed.c: Likewise.
5974         * elf/tst-execstack-prog.c: Likewise.
5975         * elf/tst-execstack.c: Likewise.
5976         * elf/tst-global1.c: Likewise.
5977         * elf/tst-gnu2-tls1.c: Likewise.
5978         * elf/tst-latepthread.c: Likewise.
5979         * elf/tst-leaks1.c: Likewise.
5980         * elf/tst-linkall-static.c: Likewise.
5981         (do_test): New function.
5982         * elf/tst-nodelete-opened.c: Likewise.
5983         * elf/tst-nodelete.cc: Likewise.
5984         * elf/tst-nodelete2.c: Likewise.
5985         * elf/tst-noload.c: Likewise.
5986         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5987         * elf/tst-order-main.c: Likewise.
5988         * elf/tst-pathopt.c: Likewise.
5989         * elf/tst-pie2.c: Likewise.
5990         * elf/tst-piemod1.c: Likewise.
5991         * elf/tst-prelink.c: Likewise.
5992         * elf/tst-protected1a.c: Likewise.
5993         * elf/tst-protected1b.c: Likewise.
5994         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5995         and define _GNU_SOURCE macro.
5996         (cmdline_process_function): New function.
5997         * elf/tst-relsort1.c: Likewise.
5998         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5999         and define _GNU_SOURCE macro.
6000         (cmdline_process_function): New function.
6001         * elf/tst-thrlock.c: Likewise.
6002         * elf/tst-tls-dlinfo.c: Likewise.
6003         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6004         * elf/tst-tls1.c: Likewise.
6005         * elf/tst-tls10.c: Likewise.
6006         * elf/tst-tls11.c: Likewise.
6007         * elf/tst-tls12.c: Likewise.
6008         * elf/tst-tls13.c: Likewise.
6009         * elf/tst-tls14.c: Likewise.
6010         * elf/tst-tls15.c: Likewise.
6011         * elf/tst-tls16.c: Likewise.
6012         * elf/tst-tls17.c: Likewise.
6013         * elf/tst-tls18.c: Likewise.
6014         * elf/tst-tls19.c: Likewise.
6015         * elf/tst-tls2.c: Likewise.
6016         * elf/tst-tls3.c: Likewise.
6017         * elf/tst-tls4.c: Likewise.
6018         * elf/tst-tls5.c: Likewise.
6019         * elf/tst-tls6.c: Likewise.
6020         * elf/tst-tls7.c: Likewise.
6021         * elf/tst-tls8.c: Likewise.
6022         * elf/tst-tls9.c: Likewise.
6023         * elf/tst-tlsalign-extern.c: Likewise.
6024         * elf/tst-tlsalign.c: Likewise.
6025         * elf/tst-unique1.c: Likewise.
6026         * elf/tst-unique2.c: Likewise.
6027         * elf/vismain.c: Likewise.
6029 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6031         * string/test-strnlen.c (do_page_tests): New function
6032         to check length of strings ending at the page boundary.
6033         (test_main): Added call to the do_page_tests function.
6035 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6036             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6038         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6039         (sysdep_routines): Add strnlen-power8.
6040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6041         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6042         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6043         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6044         (__strnlen): Add __strnlen_power8 to ifunc list.
6045         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6047 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6049         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6050         the TEST_FUNCTION macro definition.
6051         * wcsmbs/tst-mbrtowc2.c: Likewise.
6052         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6053         * wcsmbs/tst-wchar-h.c: Likewise.
6054         * wcsmbs/tst-wcpncpy.c: Likewise.
6055         * wcsmbs/tst-wcrtomb.c: Likewise.
6056         * wcsmbs/tst-wcsnlen.c: Likewise.
6057         * wcsmbs/tst-wcstof.c: Likewise.
6059 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6061         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6062         CALL_THREAD_FCT macro usage.
6063         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6064         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6065         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6067         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6069         (__ASSUME_REQUEUE_PI): Likewise.
6070         * sysdeps/unix/sysv/linux/kernel-features.h
6071         (__ASSUME_REQUEUE_PI): Likewise.
6072         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6073         (__ASSUME_REQUEUE_PI): Likewise.
6074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6075         (__ASSUME_REQUEUE_PI): Likewise.
6076         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6077         (__ASSUME_REQUEUE_PI): Likewise.
6079 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6081         * resolv/tst-resolv-canonname.c: New file.
6082         * resolv/Makefile (tests): Add tst-resolv-canonname.
6083         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6085 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6087         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6088         Declare.
6089         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6090         (NS_MAXCDNAME): Remove definition.
6091         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6092         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6093         (NS_MAXCDNAME): Remove definition.
6094         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6096 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6099         call whose result is not used.
6101 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6103         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6104         * resolv/Makefile (tests): Add tst-ns_name.
6105         (tst-ns_name): Link with -lresolv.
6106         (tst-ns_name.out): Depend on the input data file.
6108 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6110         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6111         Clobber also r14.
6113 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
6115         [BZ #21253]
6116         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6117         slack space by 32KiB.
6119 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
6121         [BZ #21338]
6122         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6123         instead of incorrect do_set_arena_test
6125 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6127         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6128         * math/bits/math-finite.h: Likewise.
6130 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
6132         [BZ #21289]
6133         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6135 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6137         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6138         non expected inotify_add_watch and quotactl return.
6140 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6142         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6143         to int32_t.
6144         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6145         as returning int32_t.
6147 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6149         * math/math.h: Include bits/math-finite.h once per
6150         floating-point type.
6151         * math/bits/math-finite.h: Macroize all declarations by
6152         floating-point type.
6154 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6156         [BZ #21182]
6157         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6158         near end of a page.
6159         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6160         overflow calculation.
6162 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6164         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6165         (IMPL) Call with 1 instead of 0 as argument.
6167 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6169         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6170         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6171         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6172         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6173         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6174         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6175         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6176         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6177         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6178         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6179         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6180         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6181         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6182         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6183         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6184         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6185         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6186         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6187         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6188         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6189         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6190         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6191         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6192         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6193         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6194         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6195         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6196         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6197         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6198         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6199         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6200         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6201         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6202         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6203         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6204         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6205         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6206         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6207         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6208         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6209         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6210         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6211         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6212         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6213         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6214         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6215         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6216         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6217         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6218         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6219         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6220         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6221         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6222         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6224         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6225         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6226         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6227         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6228         defined.
6229         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6230         __NR_setgroups32 if defined.
6231         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6232         if defined.
6233         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6234         __NR_setresgid32 is defined.
6235         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6236         __NR_setresuid32 if defined.
6237         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6238         __NR_setreuid32 if defined.
6239         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6240         defined.
6241         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6242         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6243         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6244         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6245         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6246         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6247         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6248         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6249         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6250         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6251         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6252         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6253         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6254         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6255         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6256         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6257         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6258         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6259         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6260         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6261         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6262         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6263         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6264         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6265         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6266         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6267         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6268         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6269         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6270         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6273         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6274         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6275         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6276         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6277         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6278         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6279         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6280         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6281         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6282         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6283         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6284         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6285         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6286         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6287         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6288         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6289         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6292         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6293         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6294         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6295         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6296         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6297         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6298         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6299         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6300         defined.
6301         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6302         __NR_setgroups32 if defined.
6303         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6304         if defined.
6305         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6306         __NR_setresgid32 is defined.
6307         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6308         __NR_setresuid32 if defined.
6309         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6310         __NR_setreuid32 if defined.
6311         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6312         defined.
6314 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
6316         [BZ #21277]
6317         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6318         unconditionally.
6319         (IMAXBEL): Likewise.
6320         (IUTF8): Likewise.
6322 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6324         * sysdeps/aarch64/libm-test-ulps: Update.
6326 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
6328         * README.tunables: Updated descriptions.
6329         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6330         * scripts/gen-tunables.awk: Updated the code related to the
6331         commit.
6333 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
6335         * benchtests/Makefile (string-benchset): Add memcpy-random.
6336         * benchtests/bench-memcpy-random.c: New file.
6338 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6340         * stdio-common/printf.h (register_printf_modifier): Change the
6341         order of __wur and __THROW.
6342         (register_printf_type): Likewise.
6344 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6346         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6347         test_main ().
6348         (CMDLINE_PROCESS): Use function instead of defined macro.
6349         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6350         <suppport/support.h> to use set_fortify_handler().
6351         * string/bug-envz1.c: Import support/test-driver.c instead of
6352         test-skeleton.c.
6353         * string/bug-strcoll2.c: Likewise.
6354         * string/bug-strtok1.c: Likewise.
6355         * string/stratcliff.c: Likewise.
6356         * string/test-ffs.c: Likewise.
6357         * string/test-memccpy.c: Likewise.
6358         * string/test-memchr.c: Likewise.
6359         * string/test-memcmp.c: Likewise.
6360         * string/test-memcpy.c: Likewise.
6361         * string/test-memmem.c: Likewise.
6362         * string/test-memmove.c: Likewise.
6363         * string/test-memrchr.c: Likewise.
6364         * string/test-memset.c: Likewise.
6365         * string/test-rawmemchr.c: Likewise.
6366         * string/test-strcasecmp.c: Likewise.
6367         * string/test-strcasestr.c: Likewise.
6368         * string/test-strcat.c: Likewise.
6369         * string/test-strchr.c: Likewise.
6370         * string/test-strcmp.c: Likewise.
6371         * string/test-strcpy.c: Likewise.
6372         * string/test-string.h: Likewise.
6373         * string/test-strlen.c: Likewise.
6374         * string/test-strncasecmp.c: Likewise.
6375         * string/test-strncat.c: Likewise.
6376         * string/test-strncmp.c: Likewise.
6377         * string/test-strncpy.c: Likewise.
6378         * string/test-strnlen.c: Likewise.
6379         * string/test-strpbrk.c: Likewise.
6380         * string/test-strrchr.c: Likewise.
6381         * string/test-strspn.c: Likewise.
6382         * string/test-strstr.c: Likewise.
6383         * string/tst-bswap.c: Likewise.
6384         * string/tst-cmp.c: Likewise.
6385         * string/tst-endian.c: Likewise.
6386         * string/tst-inlcall.c: Likewise.
6387         * string/tst-strcoll-overflow.c: Likewise.
6388         * string/tst-strfry.c: Likewise.
6389         * string/tst-strlen.c: Likewise.
6390         * string/tst-strtok.c: Likewise.
6391         * string/tst-strtok_r.c: Likewise.
6392         * string/tst-strxfrm.c: Likewise.
6393         * string/tst-strxfrm2.c: Likewise.
6394         * string/tst-svc.c: Likewise.
6395         * string/tst-svc2.c: Likewise.
6397 2017-03-22  Zack Weinberg  <zackw@panix.com>
6399         * stdio-common/bug25.c: Include stdlib.h.
6400         * support/tst-support_format_dns_packet.c: Include stdio.h,
6401         stdlib.h, and string.h.
6402         * support/tst-support_record_failure.c: Include string.h.
6403         * support/tst-support_record_failure-2.sh: Adjust line number
6404         expectations and correct a typo in an error message.
6406 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6408         [BZ #21258]
6409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
6410         Define only if _dl_runtime_resolve is defined to
6411         _dl_runtime_resolve_sse_vex.
6412         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6413         Fallthrough to _dl_runtime_resolve_sse_vex.
6415 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
6417         * INSTALL: Regenerated.
6419 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
6421         * config.h.in: Add LINK_OBSOLETE_NSL.
6422         * config.make.in: Add build-obsolete-nsl.
6423         * configure.ac: Add obsolete-nsl option.
6424         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6425         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6426         * include/rpcsvc/nislib.h: Likewise.
6427         * include/rpcsvc/ypclnt.h: Likewise.
6428         * manual/install.texi: Document --enable-obsolete-nsl.
6429         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6430         * nis/nis_add.c: Replace libnsl_hidden_def with
6431         libnsl_hidden_nolink_def.
6432         * nis/nis_addmember.c: Likewise.
6433         * nis/nis_call.c: Likewise.
6434         * nis/nis_clone_obj.c: Likewise.
6435         * nis/nis_defaults.c: Likeise.
6436         * nis/nis_domain_of_r.c: Likewise.
6437         * nis/nis_error.c: Likewise.
6438         * nis/nis_file.c: Likewise.
6439         * nis/nis_free.c: Likewise.
6440         * nis_local_names.c: Likewise.
6441         * nis/nis_lookup.c: Likewise.
6442         * nis/nis_modify.c: Likewise.
6443         * nis/nis_print.c: Likewise.
6444         * nis/nis_remove.c: Likewise.
6445         * nis/nis_table.c: Likewise.
6446         * nis/nis_util.c: Likewise.
6447         * nis/nis_xdr.c: Likewise.
6448         * nis/yp_xdr.c: Likewise.
6449         * nis/ypclnt.c: Likewise.
6450         * nis/ypupdate_xdr.c: Likewise.
6451         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6452         * nis/nis_clone_dir.c: Likewise.
6453         * nis/nis_clone_res.c: Likewise.
6454         * nis/nis_creategroup.c: Likewise.
6455         * nis/nis_destroygroup.c: Likewise.
6456         * nis/nis_domain_of.c: Likewise.
6457         * nis/nis_getservlist.c: Likewise.
6458         * nis/nis_ismember.c: Likewise.
6459         * nis/nis_mkdir.c: Likewise.
6460         * nis/nis_ping.c: Likewise.
6461         * nis/nis_print_group_entry.c: Likewise.
6462         * nis/nis_removemember.c: Likewise.
6463         * nis/nis_rmdir.c: Likewise.
6464         * nis/nis_server.c: Likewise.
6465         * nis/nis_subr.c: Likewise.
6466         * nis/nis_verifygroup.c: Likewise.
6468 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6470         * malloc/tst-interpose-aux.c (check_for_allocations):
6471         Move compiler barrier before free.
6473 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #21279]
6476         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6477         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6478         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6479         x86_64-x32-linux.
6480         (mq_attr.mq_maxmsg): Likewise.
6481         (mq_attr.mq_msgsize): Likewise.
6482         (mq_attr.mq_curmsgs): Likewise.
6484         [BZ #21278]
6485         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6486         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6487         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6488         mips-o32-linux.
6490         [BZ #21268]
6491         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6492         if [__USE_MISC]
6493         (NL3): Likewise.
6495 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
6497         [BZ #21275]
6498         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6499         __stack to __stackbase.
6500         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6501         checks so we can include defined(__ia64__) first.
6503 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
6505         * sysdeps/unix/sysv/linux/ttyname.h: New file.
6506         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6507         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6508         Call is_pty when the link does not exist or does not match, fail
6509         with ENODEV when it returns true.
6510         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6511         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6512         Call is_pty when the link does not exist or does not match, fail
6513         with ENODEV when it returns true.
6515 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
6517         [BZ #16437]
6518         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6519         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6520         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6521         x86_64-x32-linux.
6522         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6523         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6524         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6526         [BZ #21261]
6527         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6528         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6529         names for all fields.
6530         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6531         for jmp_buf field renaming.
6532         (_JMPBUF_UNWINDS_ADJ): Likewise.
6534         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6535         with allow-header.
6537 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
6539         * malloc/malloc.c (unlink): Add consistency check between size and
6540         next->prev->size, to further harden against 1-byte overflows.
6542 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
6544         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6545         CPU_FEATURES_CPU_P.
6547 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
6549         [BZ #21259]
6550         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6551         unconditionally, not just for [__USE_MISC].
6553         [BZ #17786]
6554         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6555         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6556         mips-o32-linux.
6558         [BZ #21260]
6559         * sysdeps/unix/sysv/linux/alpha/Makefile
6560         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6561         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6563         * conform/conformtest.pl ($cross): New variable.
6564         (--cross): New command-line option.
6565         (runtest): Skip test execution when cross-compiling.
6566         * conform/Makefile (conformtest-cross): New variable.
6567         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6568         conformtest.pl.
6570         * conform/conformtest.pl ($xfail_str): New variable.
6571         (--xfail=): New command-line option.
6572         (top level): Handle expectations starting xfail[cond]-.
6573         * conform/Makefile (conformtest-xfail): New variable.
6574         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6575         conformtest.pl.
6577 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6579         * conform/conformtest.pl: Use compilation instead of execution
6580         tests for testing values of constants and usability in #if.
6582 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6584         * math/auto-libm-test-in: Mark some catan and catanh as
6585         xfail-rounding:ibm128-libgcc.
6586         * math/auto-libm-test-out-catan: Regenerate.
6587         * math/auto-libm-test-out-catanh: Likewise.
6589 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6591         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6592         (__END_NAMESPACE_STD): Likewise.
6593         (__USING_NAMESPACE_STD): Likewise.
6594         (__BEGIN_NAMESPACE_C99): Likewise.
6595         (__END_NAMESPACE_C99): Likewise.
6596         (__USING_NAMESPACE_C99): Likewise.
6597         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6598         undefine macro.
6599         (_Mdouble_END_NAMESPACE): Likewise.
6600         * ctype/ctype.h: Do not handle C++ namespaces.
6601         * libio/bits/stdio-ldbl.h: Likewise.
6602         * libio/stdio.h: Likewise.
6603         * locale/locale.h: Likewise.
6604         * math/bits/mathcalls.h: Likewise.
6605         * setjmp/setjmp.h: Likewise.
6606         * signal/signal.h: Likewise.
6607         * stdlib/bits/stdlib-float.h: Likewise.
6608         * stdlib/bits/stdlib-ldbl.h: Likewise.
6609         * stdlib/stdlib.h: Likewise.
6610         * string/string.h: Likewise.
6611         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6612         * time/bits/types/clock_t.h: Likewise.
6613         * time/bits/types/struct_tm.h: Likewise.
6614         * time/bits/types/time_t.h: Likewise.
6615         * time/time.h: Likewise.
6616         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6617         * wcsmbs/uchar.h: Likewise.
6618         * wcsmbs/wchar.h: Likewise.
6619         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6620         * wctype/wctype.h: Do not handle C++ namespaces.
6621         * scripts/begin-end-check.pl: Remove.
6622         * Makefile (installed-headers): Likewise.
6623         (tests-special): Do not add $(objpfx)begin-end-check.out.
6624         ($(objpfx)begin-end-check.out): Remove.
6626 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
6627             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6629         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6630         (DL_PLATFORM_INIT): New define.
6631         (dl_platform_init): New function.
6632         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6633         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6634         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6635         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6636         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6638 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6640         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6641         instead of PIC.
6643 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6645         [BZ #21094]
6646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6647         24+24+24-bit pi for wider range of values around pi/2.
6648         * math/auto-libm-test-in: Add more tests of cos and tan.
6649         * math/auto-libm-test-out-cos: Regenerated.
6650         * math/auto-libm-test-out-tan: Likewise.
6652 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6654         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6655         (RTLD_START): Don't record stack end address in _dl_start_user.
6657 2017-03-15  Alexey Neyman  <stilor@att.net>
6659         [BZ #21088]
6660         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6661         around definitions match those around use.
6663 2017-03-15  Alexey Neyman  <stilor@att.net>
6665         * configure.ac: Avoid empty subexpression in grep.
6666         * configure: Regenerate.
6668 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6670         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6671         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6672         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6673         (test_wrp_rv): Fix format.
6674         (test_wrp_rv2): New macro.
6675         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6676         binaries.
6678 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6680         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6681         Use a union when storing pointers.
6682         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6683         cast result when passing to INIT_VEC_PTRS_LOOP.
6684         (VECTOR_WRAPPER_fFF_3): Likewise.
6685         (VECTOR_WRAPPER_fFF_4): Likewise.
6687 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6689         * include/bits/mathcalls-helper-functions.h: New file.
6690         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6691         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6692         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6693         math/bits/mathcalls-helper-functions.h.
6694         * math/bits/mathcalls-helper-functions.h: New file.
6695         * math/math.h: Include bits/mathcalls-helper-functions.h for
6696         float, double, and long double.
6698 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6700         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6701         instead of feraiseexcept.
6703 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6705         [BZ #21243]
6706         * support/temp_file.c (support_delete_temp_files): Add comment
6707         about ignored errors.
6709 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6711         [BZ #21244]
6712         * support/xclose.c: New file.
6713         * support/Makefile (libsupport-routines): Add xclose.
6714         * support/xunistd.h (xclose): Declare.
6715         * support/resolv_test.c (server_thread_tcp_client)
6716         (server_thread_tcp, make_server_sockets, resolv_test_start)
6717         (resolv_test_end): Call xclose instead of close.
6718         * support/support_enter_network_namespace.c
6719         (support_enter_network_namespace): Likewise.
6720         * support/support_run_diff.c (write_to_temp_file): Likewise.
6722 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6724         * support/support_format_dns_packet.c (support_format_dns_packet):
6725         Handle CNAME records in the response.  Extract RDATA names from
6726         rdata, not the whole packet.  Check AAAA record length.
6727         * support/tst-support_format_dns_packet.c: New file.
6728         * support/Makefile (tests): Add tst-support_format_dns_packet.
6729         (tst-support_format_dns_packet): Link against libresolv.
6731 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6733         [BZ #21232]
6734         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6735         posix_fadvise64 weak_alias for static build.
6737 2017-03-14  Andreas Schwab  <schwab@suse.de>
6739         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6740         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6741         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6742         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6743         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6744         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6745         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6746         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6748 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6750         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6751         posix error code.
6752         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6754 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6756         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6757         no_isolate usage for SH.
6759 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6761         [BZ #15105]
6762         [BZ #19463]
6763         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6764         * inet/rcmd.c (rcmd_af): Likewise.
6765         * inet/rexec.c   (rexec_af): Likewise.
6766         * intl/dcigettext.c (_LIBC): Likewise.
6767         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6768         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6769         * locale/setlocale.c (setlocale): Likewise.
6770         * posix/spawn_faction_addopen.c
6771         (posix_spawn_file_actions_addopen): Likewise.
6772         * stdlib/putenv.c (putenv): Use __strndup.
6773         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6775         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6776         (__Need_M_And_C) Remove define/undef.
6777         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6778         (__malloc_and_calloc_defined): Remove define.
6779         * string/bits/string2.h (__strdup): Remove define.
6780         (strdup): Likewise.
6781         (__strndup): Likewise.
6782         (strndup): Likewise.
6784 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6786         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6787         macro.
6788         (IPV6_ADDR_PREFERENCES): Likewise.
6789         (IPV6_MINHOPCOUNT): Likewise.
6790         (IPV6_ORIGDSTADDR): Likewise.
6791         (IPV6_RECVORIGDSTADDR): Likewise.
6792         (IPV6_TRANSPARENT): Likewise.
6793         (IPV6_UNICAST_IF): Likewise.
6794         (IPV6_RECVFRAGSIZE): Likewise.
6796 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6798         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6800 2017-03-12  Alexey Neyman <stilor@att.net>
6802         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6803         in R_SH_DIR32 case is always false when inlined from
6804         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6806 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6808         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6809         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6810         __ASSUME_SEND_SYSCALL.
6812 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6814         * sunrpc/Makefile: don't build and install rpcsvc header
6815         files, rpcgen and librpcsvc.a by default.
6817 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6819         * math/auto-libm-test-out-catan: Regenerated.
6820         * math/auto-libm-test-out-catanh: Likewise.
6821         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6823 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6825         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6826         for long double with corrected test expectations.
6828 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6830         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6831         Define.
6832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6833         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6834         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6835         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6836         * sysdeps/unix/sysv/linux/tile/sysdep.h
6837         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6838         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6839         (__ASSUME_RECV_SYSCALL): Define.
6840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6841         (__ASSUME_RECV_SYSCALL): Likewise.
6842         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6843         (__ASSUME_RECV_SYSCALL): Likewise.
6844         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6845         (__ASSUME_RECV_SYSCALL): Likewise.
6846         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6847         (__ASSUME_RECV_SYSCALL): Likewise.
6848         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6849         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6850         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6851         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6852         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6853         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6854         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6855         auto-generation list.
6856         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6857         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6858         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6859         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6860         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6861         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6862         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6863         __ASSUME_SENDTO_SYSCALL.
6864         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6865         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6866         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6868         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6869         auto-generation list.
6870         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6871         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6872         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6873         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6874         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6875         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6876         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6877         * sysdeps/unix/sysv/linux/kernel-features.h
6878         (__ASSUME_SENDTO_SYSCALL): Define by default.
6879         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6880         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6881         __NR_sendto.
6882         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6883         (__ASSUME_SENDTO_SYSCALL): Likewise.
6884         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6885         (__ASSUME_SENDTO_SYSCALL): Likewise.
6886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6887         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6888         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6889         (__ASSUME_SENDTO_SYSCALL): Likewise.
6890         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6891         (__ASSUME_SENDTO_SYSCALL): Likewise.
6892         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6894         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6895         auto-generation list.
6896         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6897         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6898         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6899         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6902         (__ASSUME_RECV_SYSCALL): New define.
6903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6904         (__ASSUME_RECV_SYSCALL): Likewise.
6905         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6906         (__ASSUME_RECV_SYSCALL): Likewise.
6907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6908         (__ASSUME_RECV_SYSCALL): Likewise.
6909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6910         (__ASSUME_RECV_SYSCALL): Likewise.
6911         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6912         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6913         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6914         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6915         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6916         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6917         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6918         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6919         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6920         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6921         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6922         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6924         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6925         auto-generation list.
6926         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6927         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6928         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6929         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6930         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6931         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6932         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6933         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6934         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6935         * sysdeps/unix/sysv/linux/kernel-features.h
6936         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6937         __NR_recvfrom.
6938         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6939         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6940         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6941         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6943         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6944         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6945         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6946         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6947         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6948         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6949         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6950         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6952         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6953         auto-generation list.
6954         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6955         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6956         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6958         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6959         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6960         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6961         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6962         * sysdeps/unix/sysv/linux/kernel-features.h
6963         (__ASSUME_CONNECT_SYSCALL): Define.
6964         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6965         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6966         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6967         (__ASSUME_CONNECT_SYSCALL): Likewise.
6968         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6969         (__ASSUME_CONNECT_SYSCALL): Likewise.
6970         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6971         (__ASSUME_CONNECT_SYSCALL): Likewise.
6973         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6974         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6975         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6976         auto-generation list.
6977         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6978         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6979         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6980         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6981         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6982         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6983         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6984         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6985         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6986         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6987         * sysdeps/unix/sysv/linux/kernel-features.h
6988         (__ASSUME_ACCEPT_SYSCALL): New define.
6989         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6990         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6991         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6993         (__ASSUME_ACCEPT_SYSCALL): Define.
6994         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6995         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6996         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6997         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6998         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6999         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7000         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7001         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7002         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7004 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7005             Zack Weinberg  <zackw@panix.com>
7007         * posix/test-errno.c: New file.
7008         * posix/Makefile (tests): Add test-errno.
7009         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7010         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7012 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7014         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7016 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7018         * time/tzset.c (compute_offset): Open-code min macro.
7019         (min, max, sign): Remove.
7021 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7023         [BZ #15576]
7024         Remove TZNAME_MAX limit from sysconf.
7025         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7026         declaration.
7027         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7028         compute_tzname_max.
7029         (compute_tzname_max): Remove.
7030         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7031         (update_vars): Do not update __tzname_cur_max.
7032         (tzset_internal): Remove argument.
7033         (__tzset): Adjust call to tzset_internal.
7034         (__tz_convert): Likewise.
7036         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7037         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7038         * manual/conf.texi (Sysconf Definition): Update comment.
7040 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7042         [BZ #21209]
7043         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7044         AT_SECURE processes.
7045         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7046         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7047         (test_child): Likewise.
7048         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7050 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7052         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7054 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7056         * sysdeps/s390/atomic-machine.h
7057         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7058         (__arch_compare_and_exchange_val_8_acq,
7059         __arch_compare_and_exchange_val_16_acq,
7060         __arch_compare_and_exchange_val_32_acq,
7061         __arch_compare_and_exchange_val_64_acq):
7062         Delete macro.
7063         (atomic_compare_and_exchange_val_acq,
7064         atomic_compare_and_exchange_val_rel,
7065         atomic_compare_and_exchange_bool_acq,
7066         catomic_compare_and_exchange_bool_acq,
7067         atomic_exchange_acq, atomic_exchange_rel,
7068         atomic_exchange_and_add_acq,
7069         atomic_exchange_and_add_rel,
7070         catomic_exchange_and_add, atomic_or_val,
7071         atomic_or, catomic_or, atomic_bit_test_set,
7072         atomic_and_val, atomic_and, catomic_and):
7073         Define macros with help of C11 atomic builtins.
7075 2017-03-03  Justus Winter <justus@gnupg.org>
7077         * sysdeps/mach/hurd/ftruncate64.c: New file.
7078         * sysdeps/mach/hurd/truncate64.c: Likewise.
7080 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7082         * time/tzfile.c (NOID): Do not define.
7083         * time/tzset.c (NOID): Likewise.
7085 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7087         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7089 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7091         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7093 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7095         [BZ #21015]
7096         * manual/install.texi (Configuring and compiling): Document
7097         --enable-bind-now.
7098         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7099         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7100         (format.lds): Likewise.
7101         [bind-now] (LDFLAGS-c.so): Remove.
7102         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7103         be R_X86_64_GLOB_DAT.
7104         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7105         relocation can be R_386_GLOB_DAT.
7106         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7107         relocaiton can be R_ALPHA_GLOB_DAT.
7108         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7110 2017-03-01  Zack Weinberg  <zackw@panix.com>
7112         * include/libc-pointer-arith.h: New file.  Define
7113         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7114         PTR_ALIGN_DOWN here.
7115         * include/libc-internal.h: Definitions of above macros
7116         moved from here.  Don't include libc-diag.h anymore either.
7117         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7118         Don't include libc-internal.h.
7120         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7121         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7122         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7123         * string/strcoll_l.c, sysdeps/nacl/brk.c
7124         * sysdeps/unix/clock_settime.c
7125         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7126         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7127         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7129         Don't include libc-internal.h.
7131         * elf/get-dynamic-info.h, iconv/loop.c
7132         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7133         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7134         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7135         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7136         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7137         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7138         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7139         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7140         * sysdeps/ieee754/ldbl-128/k_tanl.c
7141         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7143         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7144         Include libc-diag.h instead of libc-internal.h.
7146         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7147         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7148         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7149         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7150         * sysdeps/unix/sysv/linux/spawni.c
7151         * sysdeps/x86_64/nptl/tls.h:
7152         Include libc-pointer-arith.h instead of libc-internal.h.
7154         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7155         * sysdeps/x86_64/atomic-machine.h:
7156         Add multiple include guard.
7158         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7159         * string/strcasestr.c: No need to include config.h.
7160         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7161         sys/auxv.h. Don't include sysdep.h.
7162         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7164         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
7165         DL_LOOKUP_ADDRESS.
7166         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7167         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7168         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7169         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7170         of ARTIFICIAL_LIMIT.
7171         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7172         declaration of __clone2.
7174 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7176         * scripts/backport-support.sh (latest_commit): New file.
7178 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7180         [BZ #20257]
7181         * inet/Makefile (routines): Add deadline.
7182         (tests-static): Add tst-deadline.
7183         * inet/net-internal.h (struct deadline_current_time)
7184         (__deadline_current_time, struct deadline, __deadline_is_infinite)
7185         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7186         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7187         * inet/deadline.c: New file.
7188         * inet/tst-deadline.c: Likewise.
7189         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7190         tst-udp-timeout, tst-udp-garbage.
7191         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7192         explicitly.
7193         (tst-udp-garbage): Likewise.  Also link against thread library.
7194         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7195         struct layout is part of the ABI.
7196         (clntudp_call): Rework timeout handling.
7197         * sunrpc/tst-udp-garbage.c: New file.
7198         * sunrpc/tst-udp-nonblocking.c: Likewise.
7199         * sunrpc/tst-udp-timeout.c: Likewise.
7201 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7203         [BZ #5010]
7204         * sunrpc/svc.c (svc_is_mapped): Remove.
7205         (svc_unregister): Obtain mapped status while the service is still
7206         registered.
7207         * sunrpc/Makefile [have-thread-library] (tests): Add
7208         tst-svc_register.
7209         (tst-svc_register): Link against libc.so explicitly and the thread
7210         library.
7211         * sunrpc/tst-svc_register.c: New file.
7213 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7215         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7216         * sysdeps/pthread/bits/sigthread.h: Likewise.
7218 2017-02-27  Florian Weimer  <fweimer@redhat.com>
7220         [BZ #21115]
7221         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7222         * sunrpc/Makefile (tests): Add tst-udp-error.
7223         (tst-udp-error): Link against libc.so explicitly.
7224         * sunrpc/tst-udp-error: New file.
7226 2017-02-25  Zack Weinberg  <zackw@panix.com>
7228         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7229         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7231         * sysdeps/generic/math_ldbl.h
7232         * sysdeps/ia64/fpu/math_ldbl.h
7233         * sysdeps/ieee754/ldbl-128/math_ldbl.h
7234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7235         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7236         * sysdeps/powerpc/fpu/math_ldbl.h
7237         * sysdeps/x86_64/fpu/math_ldbl.h:
7238         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
7239         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7240         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
7241         Add copyright notices.
7243         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7244         Don't use EXTRACT_WORDS64.
7246         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7247         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7248         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7249         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7250         Include math_ldbl.h, not math_private.h.
7252 2017-02-25  Zack Weinberg  <zackw@panix.com>
7254         * include/libc-diag.h: New file.  Define ignore_value,
7255         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7256         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7258         * include/libc-internal.h: Definitions of above macros moved from
7259         here.  Include libc-diag.h.  Add copyright notice.
7261         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7262         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7263         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7264         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7265         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7266         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7267         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7268         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7269         Include libc-diag.h instead of libc-internal.h.
7271         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
7272         call to unsetenv (NULL).
7273         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
7274         call to pthread_mutexattr_destroy (NULL).
7276 2017-02-25  Zack Weinberg  <zackw@panix.com>
7278         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7279         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7280         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
7281         gets was removed from C++ in C++14.
7282         * include/stdio.h: Remove redundant declaration of gets.
7283         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7284         be declared, since we are testing it.
7285         * stdio-common/Makefile (tst-gets.c): Compile with
7286         -Wno-deprecated-declarations.
7287         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7288         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7289         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7290         Compile with -Wno-deprecated-declarations.
7292 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7294         * math/libm-test-support.c (check_ulp): Use LIT() around literal
7295         numbers.
7297 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7299         * resolv/tst-resolv-qtypes.c (domain):
7300         Change type to const pointer to const char.
7302 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
7304         * math/Makefile (libm-tests-generated): Remove variable.
7305         (libm-tests-base-normal): New variable.
7306         (libm-tests-base-finite): Likewise.
7307         (libm-tests-base-inline): Likewise.
7308         (libm-tests-base): Likewise.
7309         (libm-tests-normal): Likewise.
7310         (libm-tests-finite): Likewise.
7311         (libm-tests-inline): Likewise.
7312         (libm-tests-vector): Likewise.
7313         (libm-tests): Define in terms of these new variables.
7314         (libm-tests-for-type): New variable.
7315         (libm-tests.o): Move definition.
7316         (tests): Move addition of $(libm-tests).
7317         (generated): Update for new and removed libm test files.
7318         ($(objpfx)libm-test.c): Remove target.
7319         ($(objpfx)libm-have-vector-test.h): Likewise.
7320         (CFLAGS-test-double-vlen2.c): Remove variable.
7321         (CFLAGS-test-double-vlen4.c): Likewise.
7322         (CFLAGS-test-double-vlen8.c): Likewise.
7323         (CFLAGS-test-float-vlen4.c): Likewise.
7324         (CFLAGS-test-float-vlen8.c): Likewise.
7325         (CFLAGS-test-float-vlen16.c): Likewise.
7326         (CFLAGS-test-float.c): Likewise.
7327         (CFLAGS-test-float-finite.c): Likewise.
7328         (CFLAGS-libm-test-support-float.c): Likewise.
7329         (CFLAGS-test-double.c): Likewise.
7330         (CFLAGS-test-double-finite.c): Likewise.
7331         (CFLAGS-libm-test-support-double.c): Likewise.
7332         (CFLAGS-test-ldouble.c): Likewise.
7333         (CFLAGS-test-ldouble-finite.c): Likewise.
7334         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7335         (libm-test-inline-cflags): New variable.
7336         (CFLAGS-test-ifloat.c): Remove variable.
7337         (CFLAGS-test-idouble.c): Likewise.
7338         (CFLAGS-test-ildouble.c): Likewise.
7339         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7340         dependencies.
7341         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7342         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7343         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7344         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7345         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7346         Likewise.
7347         (dependencies on libm-test-support-*.o): Remove.
7348         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7349         rules using iterators.
7350         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7351         Likewise.
7352         ($(objpfx)libm-test-support-$(o).o): Likewise.
7353         ($(addprefix $(objpfx),$(filter-out $(tests-static)
7354         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7355         instead.
7356         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7357         define rule instead.
7358         * math/README.libm-test: Update.
7359         * math/libm-test-acos.inc: Include libm-test-driver.c.
7360         (do_test): New function.
7361         * math/libm-test-acosh.inc: Include libm-test-driver.c.
7362         (do_test): New function.
7363         * math/libm-test-asin.inc: Include libm-test-driver.c.
7364         (do_test): New function.
7365         * math/libm-test-asinh.inc: Include libm-test-driver.c.
7366         (do_test): New function.
7367         * math/libm-test-atan.inc: Include libm-test-driver.c.
7368         (do_test): New function.
7369         * math/libm-test-atan2.inc: Include libm-test-driver.c.
7370         (do_test): New function.
7371         * math/libm-test-atanh.inc: Include libm-test-driver.c.
7372         (do_test): New function.
7373         * math/libm-test-cabs.inc: Include libm-test-driver.c.
7374         (do_test): New function.
7375         * math/libm-test-cacos.inc: Include libm-test-driver.c.
7376         (do_test): New function.
7377         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7378         (do_test): New function.
7379         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7380         (do_test): New function.
7381         * math/libm-test-carg.inc: Include libm-test-driver.c.
7382         (do_test): New function.
7383         * math/libm-test-casin.inc: Include libm-test-driver.c.
7384         (do_test): New function.
7385         * math/libm-test-casinh.inc: Include libm-test-driver.c.
7386         (do_test): New function.
7387         * math/libm-test-catan.inc: Include libm-test-driver.c.
7388         (do_test): New function.
7389         * math/libm-test-catanh.inc: Include libm-test-driver.c.
7390         (do_test): New function.
7391         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7392         (do_test): New function.
7393         * math/libm-test-ccos.inc: Include libm-test-driver.c.
7394         (do_test): New function.
7395         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7396         (do_test): New function.
7397         * math/libm-test-ceil.inc: Include libm-test-driver.c.
7398         (do_test): New function.
7399         * math/libm-test-cexp.inc: Include libm-test-driver.c.
7400         (do_test): New function.
7401         * math/libm-test-cimag.inc: Include libm-test-driver.c.
7402         (do_test): New function.
7403         * math/libm-test-clog.inc: Include libm-test-driver.c.
7404         (do_test): New function.
7405         * math/libm-test-clog10.inc: Include libm-test-driver.c.
7406         (do_test): New function.
7407         * math/libm-test-conj.inc: Include libm-test-driver.c.
7408         (do_test): New function.
7409         * math/libm-test-copysign.inc: Include libm-test-driver.c.
7410         (do_test): New function.
7411         * math/libm-test-cos.inc: Include libm-test-driver.c.
7412         (do_test): New function.
7413         * math/libm-test-cosh.inc: Include libm-test-driver.c.
7414         (do_test): New function.
7415         * math/libm-test-cpow.inc: Include libm-test-driver.c.
7416         (do_test): New function.
7417         * math/libm-test-cproj.inc: Include libm-test-driver.c.
7418         (do_test): New function.
7419         * math/libm-test-creal.inc: Include libm-test-driver.c.
7420         (do_test): New function.
7421         * math/libm-test-csin.inc: Include libm-test-driver.c.
7422         (do_test): New function.
7423         * math/libm-test-csinh.inc: Include libm-test-driver.c.
7424         (do_test): New function.
7425         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7426         (do_test): New function.
7427         * math/libm-test-ctan.inc: Include libm-test-driver.c.
7428         (do_test): New function.
7429         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7430         (do_test): New function.
7431         * math/libm-test-erf.inc: Include libm-test-driver.c.
7432         (do_test): New function.
7433         * math/libm-test-erfc.inc: Include libm-test-driver.c.
7434         (do_test): New function.
7435         * math/libm-test-exp.inc: Include libm-test-driver.c.
7436         (do_test): New function.
7437         * math/libm-test-exp10.inc: Include libm-test-driver.c.
7438         (do_test): New function.
7439         * math/libm-test-exp2.inc: Include libm-test-driver.c.
7440         (do_test): New function.
7441         * math/libm-test-expm1.inc: Include libm-test-driver.c.
7442         (do_test): New function.
7443         * math/libm-test-fabs.inc: Include libm-test-driver.c.
7444         (do_test): New function.
7445         * math/libm-test-fdim.inc: Include libm-test-driver.c.
7446         (do_test): New function.
7447         * math/libm-test-floor.inc: Include libm-test-driver.c.
7448         (do_test): New function.
7449         * math/libm-test-fma.inc: Include libm-test-driver.c.
7450         (do_test): New function.
7451         * math/libm-test-fmax.inc: Include libm-test-driver.c.
7452         (do_test): New function.
7453         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7454         (do_test): New function.
7455         * math/libm-test-fmin.inc: Include libm-test-driver.c.
7456         (do_test): New function.
7457         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7458         (do_test): New function.
7459         * math/libm-test-fmod.inc: Include libm-test-driver.c.
7460         (do_test): New function.
7461         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7462         (do_test): New function.
7463         * math/libm-test-frexp.inc: Include libm-test-driver.c.
7464         (do_test): New function.
7465         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7466         (do_test): New function.
7467         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7468         (do_test): New function.
7469         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7470         (do_test): New function.
7471         * math/libm-test-hypot.inc: Include libm-test-driver.c.
7472         (do_test): New function.
7473         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7474         (do_test): New function.
7475         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7476         (do_test): New function.
7477         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7478         (do_test): New function.
7479         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7480         (do_test): New function.
7481         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7482         (do_test): New function.
7483         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7484         (do_test): New function.
7485         * math/libm-test-isinf.inc: Include libm-test-driver.c.
7486         (do_test): New function.
7487         * math/libm-test-isless.inc: Include libm-test-driver.c.
7488         (do_test): New function.
7489         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7490         (do_test): New function.
7491         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7492         (do_test): New function.
7493         * math/libm-test-isnan.inc: Include libm-test-driver.c.
7494         (do_test): New function.
7495         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7496         (do_test): New function.
7497         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7498         (do_test): New function.
7499         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7500         (do_test): New function.
7501         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7502         (do_test): New function.
7503         * math/libm-test-iszero.inc: Include libm-test-driver.c.
7504         (do_test): New function.
7505         * math/libm-test-j0.inc: Include libm-test-driver.c.
7506         (do_test): New function.
7507         * math/libm-test-j1.inc: Include libm-test-driver.c.
7508         (do_test): New function.
7509         * math/libm-test-jn.inc: Include libm-test-driver.c.
7510         (do_test): New function.
7511         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7512         (do_test): New function.
7513         * math/libm-test-llogb.inc: Include libm-test-driver.c.
7514         (do_test): New function.
7515         * math/libm-test-llrint.inc: Include libm-test-driver.c.
7516         (do_test): New function.
7517         * math/libm-test-llround.inc: Include libm-test-driver.c.
7518         (do_test): New function.
7519         * math/libm-test-log.inc: Include libm-test-driver.c.
7520         (do_test): New function.
7521         * math/libm-test-log10.inc: Include libm-test-driver.c.
7522         (do_test): New function.
7523         * math/libm-test-log1p.inc: Include libm-test-driver.c.
7524         (do_test): New function.
7525         * math/libm-test-log2.inc: Include libm-test-driver.c.
7526         (do_test): New function.
7527         * math/libm-test-logb.inc: Include libm-test-driver.c.
7528         (do_test): New function.
7529         * math/libm-test-lrint.inc: Include libm-test-driver.c.
7530         (do_test): New function.
7531         * math/libm-test-lround.inc: Include libm-test-driver.c.
7532         (do_test): New function.
7533         * math/libm-test-modf.inc: Include libm-test-driver.c.
7534         (do_test): New function.
7535         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7536         (do_test): New function.
7537         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7538         (do_test): New function.
7539         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7540         (do_test): New function.
7541         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7542         (do_test): New function.
7543         * math/libm-test-nextup.inc: Include libm-test-driver.c.
7544         (do_test): New function.
7545         * math/libm-test-pow.inc: Include libm-test-driver.c.
7546         (do_test): New function.
7547         * math/libm-test-remainder.inc: Include libm-test-driver.c.
7548         (do_test): New function.
7549         * math/libm-test-remquo.inc: Include libm-test-driver.c.
7550         (do_test): New function.
7551         * math/libm-test-rint.inc: Include libm-test-driver.c.
7552         (do_test): New function.
7553         * math/libm-test-round.inc: Include libm-test-driver.c.
7554         (do_test): New function.
7555         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7556         (do_test): New function.
7557         * math/libm-test-scalb.inc: Include libm-test-driver.c.
7558         (do_test): New function.
7559         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7560         (do_test): New function.
7561         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7562         (do_test): New function.
7563         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7564         (do_test): New function.
7565         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7566         (do_test): New function.
7567         * math/libm-test-signbit.inc: Include libm-test-driver.c.
7568         (do_test): New function.
7569         * math/libm-test-significand.inc: Include libm-test-driver.c.
7570         (do_test): New function.
7571         * math/libm-test-sin.inc: Include libm-test-driver.c.
7572         (do_test): New function.
7573         * math/libm-test-sincos.inc: Include libm-test-driver.c.
7574         (do_test): New function.
7575         * math/libm-test-sinh.inc: Include libm-test-driver.c.
7576         (do_test): New function.
7577         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7578         (do_test): New function.
7579         * math/libm-test-tan.inc: Include libm-test-driver.c.
7580         (do_test): New function.
7581         * math/libm-test-tanh.inc: Include libm-test-driver.c.
7582         (do_test): New function.
7583         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7584         (do_test): New function.
7585         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7586         (do_test): New function.
7587         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7588         (do_test): New function.
7589         * math/libm-test-trunc.inc: Include libm-test-driver.c.
7590         (do_test): New function.
7591         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7592         (do_test): New function.
7593         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7594         (do_test): New function.
7595         * math/libm-test-y0.inc: Include libm-test-driver.c.
7596         (do_test): New function.
7597         * math/libm-test-y1.inc: Include libm-test-driver.c.
7598         (do_test): New function.
7599         * math/libm-test-yn.inc: Include libm-test-driver.c.
7600         (do_test): New function.
7601         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7602         (HAVE_VECTOR): Remove macro.
7603         (START): Do not call HAVE_VECTOR.
7604         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7605         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7606         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7607         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7608         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7609         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7610         * math/test-math-vector.h (FUNC_TEST): New macro.
7611         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7612         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7613         (double-vlen4-funcs): Likewise.
7614         (double-vlen4-avx2-funcs): Likewise.
7615         (double-vlen8-funcs): Likewise.
7616         (float-vlen4-funcs): Likewise.
7617         (float-vlen8-funcs): Likewise.
7618         (float-vlen8-avx2-funcs): Likewise.
7619         (float-vlen16-funcs): Likewise.
7620         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7621         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7622         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7623         macro.
7624         (TEST_VECTOR_sin): Likewise.
7625         (TEST_VECTOR_sincos): Likewise.
7626         (TEST_VECTOR_log): Likewise.
7627         (TEST_VECTOR_exp): Likewise.
7628         (TEST_VECTOR_pow): Likewise.
7629         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7630         Likewise.
7631         (TEST_VECTOR_sin): Likewise.
7632         (TEST_VECTOR_sincos): Likewise.
7633         (TEST_VECTOR_log): Likewise.
7634         (TEST_VECTOR_exp): Likewise.
7635         (TEST_VECTOR_pow): Likewise.
7636         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7637         Likewise.
7638         (TEST_VECTOR_sinf): Likewise.
7639         (TEST_VECTOR_sincosf): Likewise.
7640         (TEST_VECTOR_logf): Likewise.
7641         (TEST_VECTOR_expf): Likewise.
7642         (TEST_VECTOR_powf): Likewise.
7643         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7644         Likewise.
7645         (TEST_VECTOR_sinf): Likewise.
7646         (TEST_VECTOR_sincosf): Likewise.
7647         (TEST_VECTOR_logf): Likewise.
7648         (TEST_VECTOR_expf): Likewise.
7649         (TEST_VECTOR_powf): Likewise.
7650         * math/gen-libm-have-vector-test.sh: Remove file.
7651         * math/libm-test.inc: Likewise.
7652         * math/libm-test-support-double.c: Likewise.
7653         * math/libm-test-support-float.c: Likewise.
7654         * math/libm-test-support-ldouble.c: Likewise.
7655         * math/test-double-finite.c: Likewise.: Likewise.
7656         * math/test-double.c: Likewise.
7657         * math/test-float-finite.c: Likewise.
7658         * math/test-float.c: Likewise.
7659         * math/test-idouble.c: Likewise.
7660         * math/test-ifloat.c: Likewise.
7661         * math/test-ildouble.c: Likewise.
7662         * math/test-ldouble-finite.c: Likewise.
7663         * math/test-ldouble.c: Likewise.
7664         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7665         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7667         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7668         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7669         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7670         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7671         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7672         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7673         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7675 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7676            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7678         * math/Makefile: Add wrappers to gen-libm-calls.
7679         * math/w_acos_template.c: New file.
7680         * math/w_acosh_template.c: Likewise.
7681         * math/w_asin_template.c: Likewise.
7682         * math/w_atan2_template.c: Likewise.
7683         * math/w_atanh_template.c: Likewise.
7684         * math/w_cosh_template.c: Likewise.
7685         * math/w_exp10_template.c: Likewise.
7686         * math/w_exp2_template.c: Likewise.
7687         * math/w_exp_template.c: Likewise.
7688         * math/w_fmod_template.c: Likewise.
7689         * math/w_hypot_template.c: Likewise.
7690         * math/w_j0_template.c: Likewise.
7691         * math/w_j1_template.c: Likewise.
7692         * math/w_jn_template.c: Likewise.
7693         * math/w_lgamma_r_template.c: Likewise.
7694         * math/w_lgamma_template.c: Likewise.
7695         * math/w_log10_template.c: Likewise.
7696         * math/w_log2_template.c: Likewise.
7697         * math/w_log_template.c: Likewise.
7698         * math/w_pow_template.c: Likewise.
7699         * math/w_remainder_template.c: Likewise.
7700         * math/w_sinh_template.c: Likewise.
7701         * math/w_sqrt_template.c: Likewise.
7702         * math/w_tgamma_template.c: Likewise.: Likewise.
7703         * sysdeps/generic/math-type-macros-double.h
7704         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7705         the new wrappers.
7706         * sysdeps/generic/math-type-macros-float.h: Likewise.
7707         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7709 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7711         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7712         New enum constant and macro.
7714         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7715         kernel version to 4.10.
7717 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7719         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7721 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7725 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7727         * sysdeps/powerpc/tst-set_ppr.c: New file.
7728         Implement test cases for __ppc_set_ppr_* functions.
7729         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7730         in the list of tests.
7732 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7734         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7735         instead of test-skeleton.c.
7736         (do_test): Replaced pthread_create and pthread_join with
7737         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7738         Removed unneeded status variable.
7739         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7740         instead of test-skeleton.c.
7741         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7743 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7745         [BZ #20313]
7746         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7747         201605L, for Unicode 9.
7749 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7751         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7752         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7753         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7754         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7755         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7756         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7758 2017-02-19  Zack Weinberg  <zackw@panix.com>
7760         * rt/tst-mqueue4.c: Include stdint.h.
7762 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7764         * sysdeps/arm/libm-test-ulps: Update.
7765         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7766         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7767         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7769 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7771         [BZ #21029]
7772         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7773         * sysdeps/unix/sysv/linux/i386/Makefile
7774         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7775         (uses-6-syscall-arguments): Remove.
7776         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7777         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7778         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7779         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7780         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7781         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7782         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7783         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7784         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7785         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7786         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7787         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7788         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7789         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7790         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7791         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7792         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7793         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7794         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7795         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7796         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7797         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7798         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7799         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7800         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7801         Likewise.
7802         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7803         Likewise.
7804         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7805         Likewise.
7806         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7807         Likewise.
7808         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7809         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7810         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7811         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7812         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7813         ebp on inline assembly.
7814         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7815         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7816         Set if CAN_USE_REGISTER_ASM_EBP is set.
7818 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7820         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7821         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7823 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7825         * math/auto-libm-test-in: Add tests of catan and catanh.
7826         * math/auto-libm-test-out-catan: New generated file.
7827         * math/auto-libm-test-out-catanh: Likewise.
7828         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7829         Move tests with finite inputs, except divide-by-zero cases, to
7830         auto-libm-test-in.
7831         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7832         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7833         (libm-test-funcs-noauto): Remove catan and catanh.
7834         * sysdeps/i386/fpu/libm-test-ulps: Update.
7835         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7838         * math/auto-libm-test-in: Add tests of casin and casinh.
7839         * math/auto-libm-test-out-casin: New generated file.
7840         * math/auto-libm-test-out-casinh: Likewise.
7841         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7842         Move tests with finite inputs to auto-libm-test-in.
7843         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7844         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7845         (libm-test-funcs-noauto): Remove casin and casinh.
7846         * sysdeps/i386/fpu/libm-test-ulps: Update.
7847         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7850         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7851         * math/auto-libm-test-out-cacos: New generated file.
7852         * math/auto-libm-test-out-cacosh: Likewise.
7853         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7854         Move tests with finite inputs to auto-libm-test-in.
7855         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7856         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7857         (libm-test-funcs-noauto): Remove cacos and cacosh.
7858         * sysdeps/i386/fpu/libm-test-ulps: Update.
7859         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7862         Revert:
7863         2017-02-16  Zack Weinberg  <zackw@panix.com>
7865         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7866         Don't include init-arch.h.
7867         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7868         Don't include init-arch.h.
7870 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7872         [BZ #21171]
7873         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7874         +Inf and raise divide-by-zero when x is negative.
7875         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7876         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7877         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7878         -Inf and raise divide-by-zero when x = +-0.
7879         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7880         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7881         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7882         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7883         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7887 2017-02-16  Zack Weinberg  <zackw@panix.com>
7889         * scripts/build-many-glibcs.py (bot_build_mail): If the
7890         bot_config does not contain all of the necessary email-
7891         related settings, just print a warning and continue.
7893 2017-02-16  Zack Weinberg  <zackw@panix.com>
7895         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7896         * dirent/opendir-tst1.c: Include sys/stat.h.
7897         * dirent/tst-fdopendir.c: Include sys/stat.h.
7898         * dirent/tst-fdopendir2.c: Include stdlib.h.
7899         * dirent/tst-scandir.c: Include stdbool.h.
7900         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7901         * elf/tst-tls15.c: Include stdlib.h.
7902         * elf/tst-tls16.c: Include stdlib.h.
7903         * elf/tst-tls17.c: Include stdlib.h.
7904         * elf/tst-tls18.c: Include stdlib.h.
7905         * iconv/tst-iconv6.c: Include endian.h.
7906         * iconvdata/bug-iconv11.c: Include limits.h.
7907         * io/test-utime.c: Include stdint.h.
7908         * io/tst-faccessat.c: Include sys/stat.h.
7909         * io/tst-fchmodat.c: Include sys/stat.h.
7910         * io/tst-fchownat.c: Include sys/stat.h.
7911         * io/tst-fstatat.c: Include sys/stat.h.
7912         * io/tst-futimesat.c: Include sys/stat.h.
7913         * io/tst-linkat.c: Include sys/stat.h.
7914         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7915         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7916         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7917         * io/tst-openat.c: Include stdbool.h.
7918         * io/tst-readlinkat.c: Include sys/stat.h.
7919         * io/tst-renameat.c: Include sys/stat.h.
7920         * io/tst-symlinkat.c: Include sys/stat.h.
7921         * io/tst-unlinkat.c: Include stdbool.h.
7922         * libio/bug-memstream1.c: Include stdlib.h.
7923         * libio/bug-wmemstream1.c: Include stdlib.h.
7924         * libio/tst-fwrite-error.c: Include stdlib.h.
7925         * libio/tst-memstream1.c: Include stdlib.h.
7926         * libio/tst-memstream2.c: Include stdlib.h.
7927         * libio/tst-memstream3.c: Include stdlib.h.
7928         * malloc/tst-interpose-aux.c: Include stdint.h.
7929         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7930         * nptl/tst-basic7.c: Include limits.h.
7931         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7932         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7933         * nptl/tst-cancel4_1.c: Include stddef.h.
7934         * nptl/tst-cancel4_2.c: Include stddef.h.
7935         * nptl/tst-cond16.c: Include limits.h.
7936         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7937         * nptl/tst-cond18.c: Include limits.h.
7938         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7939         * nptl/tst-cond4.c: Include stdint.h.
7940         * nptl/tst-cond6.c: Include stdint.h.
7941         * nptl/tst-stack2.c: Include limits.h.
7942         * nptl/tst-stackguard1.c: Include stddef.h.
7943         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7944         * nptl/tst-tls4moda.c: Include stddef.h.
7945         Don't include stdio.h, unistd.h, or tls.h.
7946         * nptl/tst-tls4modb.c: Include stddef.h.
7947         Don't include stdio.h, unistd.h, or tls.h.
7948         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7949         * posix/tst-getaddrinfo2.c: Include stdio.h.
7950         * posix/tst-getaddrinfo5.c: Include stdio.h.
7951         * posix/tst-pathconf.c: Include sys/stat.h.
7952         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7953         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7954         * posix/tst-regex.c: Include stdint.h.
7955         Don't include spawn.h or spawn_int.h.
7956         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7957         * posix/tst-vfork3.c: Include sys/stat.h.
7958         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7959         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7960         * resolv/tst-resolv-search.c: Include stdlib.h.
7961         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7962         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7963         * stdlib/test-canon.c: Include sys/stat.h.
7964         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7965         * string/test-memchr.c: Include stdint.h.
7966         * string/tst-cmp.c: Include stdint.h.
7967         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7968         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7969         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7970         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7971         Don't include init-arch.h.
7972         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7973         Don't include init-arch.h.
7974         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7975         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7976         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7977         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7978         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7979         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7980         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7981         * time/clocktest.c: Include stdint.h.
7982         * time/tst-posixtz.c: Include stdint.h.
7983         * timezone/tst-timezone.c: Include stdint.h.
7985 2017-02-16  Zack Weinberg  <zackw@panix.com>
7987         * string/string.h [__USE_MISC]: Include strings.h.
7988         (__bzero, bcmp, bcopy, bzero, index, rindex)
7989         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7990         (ffs, ffsl, ffsll): Don't declare.
7991         * string/strings.h: Do not suppress the file if string.h has
7992         already been included.
7993         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7994         annotations.
7995         (index, rindex): Define inline forwarders even if
7996         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7997         (ffs): Use __attribute_const__.
7998         (ffsl, ffsll): Declare here.
7999         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8000         have now been standardized.
8001         * include/string.h (__bzero): Declare here.
8003         * bits/types.h: Move to posix/bits.
8004         * include/bits/types.h: New wrapper.
8006 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8008         * string/bits/string2.h (strcmp): Remove define.
8009         (__strcmp_cg): Likewise.
8010         (strncmp): Likewise.
8012 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8014         * include/string.h: Add __cplusplus check.
8016 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8018         [BZ #21134]
8019         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8020         "divide by zero" exception when the input is zero.
8021         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8022         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8023         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8024         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8027 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8029         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8030         and include ...
8031         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8032         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8033         to, and include ...
8034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8035         file.
8036         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8037         and include ...
8038         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8039         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8040         and include ...
8041         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8042         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8043         and include ...
8044         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8045         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8046         and include ...
8047         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8049         to, and include ...
8050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8051         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8052         and include ...
8053         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8055 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8057         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8058         here.
8059         * math/libm-test-support.c (libm_test_init): Do not call
8060         INIT_ARCH_EXT here.
8061         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8062         (main): Call INIT_ARCH_EXT.
8064 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8066         [BZ #21130]
8067         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8068         with the "invalid" exception raised when x is -Inf.
8069         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8071 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8073         * string/bits/string2.h (strchr): Remove define.
8075 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8077         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8078         tst-avx512.
8079         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8080         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8081         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8082         ($(objpfx)tst-sse): New rule.
8083         ($(objpfx)tst-avx): Likewise.
8084         ($(objpfx)tst-avx512): Likewise.
8085         (CFLAGS-tst-avx-aux.c): New.
8086         (CFLAGS-tst-avxmod.c): Likewise.
8087         (CFLAGS-tst-avx512-aux.c): Likewise.
8088         (CFLAGS-tst-avx512mod.c): Likewise.
8089         * sysdeps/x86_64/tst-avx-aux.c: New file.
8090         * sysdeps/x86_64/tst-avx.c: Likewise.
8091         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8092         * sysdeps/x86_64/tst-avx512.c: Likewise.
8093         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8094         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8095         * sysdeps/x86_64/tst-sse.c: Likewise.
8096         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8098 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8100         * math/auto-libm-test-in: Add more tests of csin and csinh.
8101         * math/auto-libm-test-out-csin: Regenerated.
8102         * math/auto-libm-test-out-csinh: Likewise.
8103         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8104         auto-libm-test-in.
8105         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8107 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8109         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8110         libm-compat-calls-auto.
8111         (libm-compat-calls): Likewise.
8112         (libm-compat-calls-auto): Rename to libm-compat-calls and add
8113         w_lgamma_compatF and k_standardF (merged from the items above).
8114         (libm-routines): Use libm-compat-calls, instead of
8115         libm-compat-calls-auto, with type-foreach.
8117 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8119         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8120         macro.
8121         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8122         (CFLAGS-test-ifloat.c): ... this.  Remove
8123         -U__LIBC_INTERNAL_MATH_INLINES.
8124         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8125         (CFLAGS-test-idouble.c): ... this.  Remove
8126         -U__LIBC_INTERNAL_MATH_INLINES.
8127         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8128         (CFLAGS-test-ildouble.c): ... this.  Remove
8129         -U__LIBC_INTERNAL_MATH_INLINES.
8131 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
8133         * math/libm-test-support.c: New file.  Content from
8134         math/libm-test-driver.c.
8135         * math/libm-test-support.h: Likewise.
8136         * math/libm-test-support-double.c: New file.
8137         * math/libm-test-support-float.c: Likewise.
8138         * math/libm-test-support-ldouble.c: Likewise.
8139         * math/libm-test-driver.c: Remove main comment and header
8140         includes.  Include libm-test-support.h.
8141         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8142         (flag_test_errno): Remove static.
8143         (flag_test_exceptions): Likewise.
8144         (flag_test_finite): Likewise.
8145         (flag_test_inline): Likewise.
8146         (flag_test_mathvec): Likewise.
8147         (test_msg): Likewise.
8148         (NO_EXCEPTION): Remove.
8149         (INVALID_EXCEPTION): Likewise.
8150         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8151         (OVERFLOW_EXCEPTION): Likewise.
8152         (UNDERFLOW_EXCEPTION): Likewise.
8153         (INEXACT_EXCEPTION): Likewise.
8154         (INVALID_EXCEPTION_OK): Likewise.
8155         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8156         (OVERFLOW_EXCEPTION_OK): Likewise.
8157         (UNDERFLOW_EXCEPTION_OK): Likewise.
8158         (NO_INEXACT_EXCEPTION): Likewise.
8159         (EXCEPTIONS_OK): Likewise.
8160         (IGNORE_ZERO_INF_SIGN): Likewise.
8161         (TEST_NAN_SIGN): Likewise.
8162         (TEST_NAN_PAYLOAD): Likewise.
8163         (NO_TEST_INLINE): Likewise.
8164         (XFAIL_TEST): Likewise.
8165         (ERRNO_UNCHANGED): Likewise.
8166         (ERRNO_EDOM): Likewise.
8167         (ERRNO_ERANGE): Likewise.
8168         (IGNORE_RESULT): Likewise.
8169         (NON_FINITE): Likewise.
8170         (TEST_SNAN): Likewise.
8171         (NO_TEST_MATHVEC): Likewise.
8172         (__CONCATX): Likewise.
8173         (TYPE_MIN): Likewise.
8174         (TYPE_TRUE_MIN): Likewise.
8175         (TYPE_MAX): Likewise.
8176         (MIN_EXP): Likewise.
8177         (MAX_EXP): Likewise.
8178         (MANT_DIG): Likewise.
8179         (FSTR_MAX): Likewise.
8180         (ulp_idx): Likewise.
8181         (qtype_str): Remove static.
8182         (TEST_COND_binary32): Remove.
8183         (TEST_COND_binary64): Likewise.
8184         (TEST_COND_binary128): Likewise.
8185         (TEST_COND_ibm128): Likewise.
8186         (TEST_COND_intel96): Likewise.
8187         (TEST_COND_m68k96): Likewise.
8188         (TEST_COND_ibm128_libgcc): Likewise.
8189         (XFAIL_IBM128_LIBGCC): Likewise.
8190         (PAYLOAD_DIG): Likewise.
8191         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8192         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8193         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8194         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8195         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8196         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8197         (TEST_COND_long32): Likewise.
8198         (TEST_COND_long64): Likewise.
8199         (TEST_COND_before_rounding): Likewise.
8200         (TEST_COND_after_rounding): Likewise.
8201         (ulps_file_name): Likewise.
8202         (ulps_file): Likewise.
8203         (output_ulps): Likewise.
8204         (output_dir): Likewise.
8205         (noErrors): Likewise.
8206         (noTests): Likewise.
8207         (noExcTests): Likewise.
8208         (noErrnoTests): Likewise.
8209         (verbose): Likewise.
8210         (output_max_error): Likewise.
8211         (output_points): Likewise.
8212         (ignore_max_ulp): Likewise.
8213         (max_error): Likewise.
8214         (real_max_error): Likewise.
8215         (imag_max_error): Likewise.
8216         (prev_max_error): Likewise.
8217         (prev_real_max_error): Likewise.
8218         (prev_imag_max_error): Likewise.
8219         (max_valid_error): Likewise.
8220         (TYPE_DECIMAL_DIG): Likewise.
8221         (TYPE_HEX_DIG): Likewise.
8222         (fmt_ftostr): Likewise.
8223         (compare_ulp_data): Likewise.
8224         (find_ulps): Likewise.
8225         (init_max_error): Likewise.
8226         (set_max_error): Likewise.
8227         (print_float): Likewise.
8228         (print_screen): Likewise.
8229         (print_screen_max_error): Likewise.
8230         (update_stats): Likewise.
8231         (print_function_ulps): Likewise.
8232         (print_complex_function_ulps): Likewise.
8233         (fpstack_test): Likewise.
8234         (print_max_error): Likewise.
8235         (print_complex_max_error): Likewise.
8236         (test_single_exception): Likewise.
8237         (test_exceptions): Likewise.
8238         (test_single_errno): Likewise.
8239         (test_errno): Likewise.
8240         (ULPDIFF): Likewise.
8241         (ulp): Likewise.
8242         (check_float_internal): Likewise.
8243         (check_float): Likewise.
8244         (check_complex): Likewise.
8245         (check_int): Likewise.
8246         (check_long): Likewise.
8247         (check_bool): Likewise.
8248         (check_longlong): Likewise.
8249         (check_intmax_t): Likewise.
8250         (check_uintmax_t): Likewise.
8251         (enable_test): Likewise.
8252         (matherr): Likewise.
8253         (initialize): Likewise.
8254         (options): Likewise.
8255         (doc): Remove static.
8256         (argp): Likewise.
8257         (parse_opt): Remove.
8258         (check_ulp): Likewise.
8259         (libm_test_init): Likewise.
8260         (libm_test_finish): Likewise.
8261         * math/Makefile (libm-test-support): New variable.
8262         (test-extras): Add libm-test-support files.
8263         (extra-test-objs): Likewise.
8264         (CFLAGS-libm-test-support-float.c): New variable.
8265         (CFLAGS-libm-test-support-double.c): Likewise.
8266         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8267         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8268         libm-test-support objects.
8270 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8272         * math/Makefile (libm-calls): Move w_exp...
8273         (libm-compat-calls-auto): Here.
8275         * math/w_expl.c: Add suffix "_compat" to filename.
8276         * sysdeps/ia64/fpu/w_expl.c: Likewise.
8277         * sysdeps/ia64/fpu/w_expf.c: Likewise.
8278         * sysdeps/ia64/fpu/w_exp.c: Likewise.
8279         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8280         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8281         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8282         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8283         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8285         * math/w_expl_compat.c: New file, copied from above.
8286         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8287         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8288         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8289         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8290         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8291         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8293         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8295         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8296         to filename.
8297         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8299         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8300         copied from above and adjusted for the new filenames.
8301         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8303 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8305         * math/Makefile (libm-calls): Move w_lgammaF...
8306         (libm-compat-calls-auto): Here.
8308         * math/w_lgamma.c: Add suffix "_compat2" to filename.
8309         * math/w_lgammaf.c: Likewise.
8310         * math/w_lgammal.c: Likewise.
8312         * math/w_lgamma_compat2.c: New file, copied from above.
8313         * math/w_lgammaf_compat2.c: Likewise.
8314         * math/w_lgammal_compat2.c: Likewise.
8316 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8318         * math/Makefile (libm-calls): Move w_lgammaF_r...
8319         (libm-compat-calls-auto): Here.
8321         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8322         * math/w_lgammaf_r.c: Likewise.
8323         * math/w_lgammal_r.c: Likewise.
8324         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8325         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8326         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8328         * math/w_lgamma_r_compat.c: New file, copied from above.
8329         * math/w_lgammaf_r_compat.c: Likewise.
8330         * math/w_lgammal_r_compat.c: Likewise.
8331         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8332         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8333         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8335         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8336         to filename.
8337         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8339         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8340         copied from above and adjusted for the new filenames.
8341         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8343 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
8345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8346         calculation in SYSCALL_ERROR_HANDLER().
8348 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
8350         * manual/contrib.texi: Fix typo.
8352 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8354         [BZ #21109]
8355         * elf/dl-tunable-types.h (tunable_callback_t): Accept
8356         tunable_val_t as argument.
8357         * elf/dl-tunables.c (__tunable_set_val): Add comment.
8358         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8359         argument.
8360         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8362 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
8364         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8365         Add PTRACE_EVENT_STOP.
8366         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8367         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8369         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8370         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8371         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8373 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
8375         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8376         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8377         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8378         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8379         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8380         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8381         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8382         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8383         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8384         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8386         [BZ #21112]
8387         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8388         12 bits zero.
8389         (cp_l): Update for new value of cp_h.
8390         * math/auto-libm-test-in: Add another test of pow.
8391         * math/auto-libm-test-out-pow: Regenerated.
8393 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8395         * manual/contrib.texi: Fix typo.
8397 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8399         [BZ #15998]
8400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8401         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
8402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8404 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8406         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
8407         STRCHR as __strchr_power8.
8408         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
8409         strlen as __strlen_power8.
8411 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8413         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8414         unaligned load for shorter strings.
8415         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8417 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8419         * math/libm-test-driver.c (flag_test_errno): New variable.
8420         (flag_test_exceptions): Likewise.
8421         (flag_test_finite): Likewise.
8422         (flag_test_inline): Likewise.
8423         (flag_test_mathvec): Likewise.
8424         (test_msg): Likewise.
8425         (ulp_idx): Likewise.
8426         (qtype_str): Likewise.
8427         (ULP_IDX): Remove macro.
8428         (QTYPE_STR): Likewise.
8429         (find_ulps): Use ulp_idx not ULP_IDX.
8430         (print_function_ulps): Use qtype_str, printed with %s, not
8431         QTYPE_STR, printed with concatentation to format string.
8432         (print_complex_function_ulps): Likewise.
8433         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8434         (test_errno): Use flag_test_errno not TEST_ERRNO.
8435         (enable_test): Use flag_test_inline, flag_test_finite and
8436         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8437         TEST_MATHVEC.
8438         (libm_test_init): New function.  Factored out of main.
8439         (libm_test_finish): Likewise.
8440         (main): Call libm_test_init and libm_test_finish and move most
8441         code to those functions.
8443         * math/libm-test-driver.c (STRX): New macro.
8444         (STR): Likewise.
8445         (STR_FLOAT): Likewise.
8446         (STR_VEC_LEN): Likewise.
8447         (TEST_MSG): Likewise.  Define here instead of expecting to be
8448         defined by including file.
8449         * math/test-double-finite.c (TEST_MSG): Remove macro.
8450         * math/test-double-vlen2.h (TEST_MSG): Likewise.
8451         * math/test-double-vlen4.h (TEST_MSG): Likewise.
8452         * math/test-double-vlen8.h (TEST_MSG): Likewise.
8453         * math/test-double.c (TEST_MSG): Likewise.
8454         * math/test-float-finite.c (TEST_MSG): Likewise.
8455         * math/test-float-vlen16.h (TEST_MSG): Likewise.
8456         * math/test-float-vlen4.h (TEST_MSG): Likewise.
8457         * math/test-float-vlen8.h (TEST_MSG): Likewise.
8458         * math/test-float.c (TEST_MSG): Likewise.
8459         * math/test-idouble.c (TEST_MSG): Likewise.
8460         * math/test-ifloat.c (TEST_MSG): Likewise.
8461         * math/test-ildouble.c (TEST_MSG): Likewise.
8462         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8463         * math/test-ldouble.c (TEST_MSG): Likewise.
8465         * math/libm-test.inc: Move all tests of individual functions to
8466         libm-test-*.inc and #include libm-test-*.c files.
8467         (acos_test_data): Remove.
8468         (acos_test): Likewise.
8469         (acosh_test_data): Likewise.
8470         (acosh_test): Likewise.
8471         (asin_test_data): Likewise.
8472         (asin_test): Likewise.
8473         (asinh_test_data): Likewise.
8474         (asinh_test): Likewise.
8475         (atan_test_data): Likewise.
8476         (atan_test): Likewise.
8477         (atanh_test_data): Likewise.
8478         (atanh_test): Likewise.
8479         (atan2_test_data): Likewise.
8480         (atan2_test): Likewise.
8481         (cabs_test_data): Likewise.
8482         (cabs_test): Likewise.
8483         (cacos_test_data): Likewise.
8484         (cacos_test): Likewise.
8485         (cacosh_test_data): Likewise.
8486         (cacosh_test): Likewise.
8487         (canonicalize_test_data): Likewise.
8488         (canonicalize_test): Likewise.
8489         (carg_test_data): Likewise.
8490         (carg_test): Likewise.
8491         (casin_test_data): Likewise.
8492         (casin_test): Likewise.
8493         (casinh_test_data): Likewise.
8494         (casinh_test): Likewise.
8495         (catan_test_data): Likewise.
8496         (catan_test): Likewise.
8497         (catanh_test_data): Likewise.
8498         (catanh_test): Likewise.
8499         (cbrt_test_data): Likewise.
8500         (cbrt_test): Likewise.
8501         (ccos_test_data): Likewise.
8502         (ccos_test): Likewise.
8503         (ccosh_test_data): Likewise.
8504         (ccosh_test): Likewise.
8505         (ceil_test_data): Likewise.
8506         (ceil_test): Likewise.
8507         (cexp_test_data): Likewise.
8508         (cexp_test): Likewise.
8509         (cimag_test_data): Likewise.
8510         (cimag_test): Likewise.
8511         (clog_test_data): Likewise.
8512         (clog_test): Likewise.
8513         (clog10_test_data): Likewise.
8514         (clog10_test): Likewise.
8515         (conj_test_data): Likewise.
8516         (conj_test): Likewise.
8517         (copysign_test_data): Likewise.
8518         (copysign_test): Likewise.
8519         (cos_test_data): Likewise.
8520         (cos_test): Likewise.
8521         (cosh_test_data): Likewise.
8522         (cosh_test): Likewise.
8523         (cpow_test_data): Likewise.
8524         (cpow_test): Likewise.
8525         (cproj_test_data): Likewise.
8526         (cproj_test): Likewise.
8527         (creal_test_data): Likewise.
8528         (creal_test): Likewise.
8529         (csin_test_data): Likewise.
8530         (csin_test): Likewise.
8531         (csinh_test_data): Likewise.
8532         (csinh_test): Likewise.
8533         (csqrt_test_data): Likewise.
8534         (csqrt_test): Likewise.
8535         (ctan_test_data): Likewise.
8536         (ctan_test): Likewise.
8537         (ctanh_test_data): Likewise.
8538         (ctanh_test): Likewise.
8539         (erf_test_data): Likewise.
8540         (erf_test): Likewise.
8541         (erfc_test_data): Likewise.
8542         (erfc_test): Likewise.
8543         (exp_test_data): Likewise.
8544         (exp_test): Likewise.
8545         (exp10_test_data): Likewise.
8546         (exp10_test): Likewise.
8547         (pow10_test): Likewise.
8548         (exp2_test_data): Likewise.
8549         (exp2_test): Likewise.
8550         (expm1_test_data): Likewise.
8551         (expm1_test): Likewise.
8552         (fabs_test_data): Likewise.
8553         (fabs_test): Likewise.
8554         (fdim_test_data): Likewise.
8555         (fdim_test): Likewise.
8556         (floor_test_data): Likewise.
8557         (floor_test): Likewise.
8558         (fma_test_data): Likewise.
8559         (fma_test): Likewise.
8560         (fmax_test_data): Likewise.
8561         (fmax_test): Likewise.
8562         (fmaxmag_test_data): Likewise.
8563         (fmaxmag_test): Likewise.
8564         (fmin_test_data): Likewise.
8565         (fmin_test): Likewise.
8566         (fminmag_test_data): Likewise.
8567         (fminmag_test): Likewise.
8568         (fmod_test_data): Likewise.
8569         (fmod_test): Likewise.
8570         (fpclassify_test_data): Likewise.
8571         (fpclassify_test): Likewise.
8572         (frexp_test_data): Likewise.
8573         (frexp_test): Likewise.
8574         (fromfp_test_data): Likewise.
8575         (fromfp_test): Likewise.
8576         (fromfpx_test_data): Likewise.
8577         (fromfpx_test): Likewise.
8578         (getpayload_test_data): Likewise.
8579         (getpayload_test): Likewise.
8580         (hypot_test_data): Likewise.
8581         (hypot_test): Likewise.
8582         (ilogb_test_data): Likewise.
8583         (ilogb_test): Likewise.
8584         (iscanonical_test_data): Likewise.
8585         (iscanonical_test): Likewise.
8586         (iseqsig_test_data): Likewise.
8587         (iseqsig_test): Likewise.
8588         (isfinite_test_data): Likewise.
8589         (isfinite_test): Likewise.
8590         (finite_test): Likewise.
8591         (isgreater_test_data): Likewise.
8592         (isgreater_test): Likewise.
8593         (isgreaterequal_test_data): Likewise.
8594         (isgreaterequal_test): Likewise.
8595         (isinf_test_data): Likewise.
8596         (isinf_test): Likewise.
8597         (isless_test_data): Likewise.
8598         (isless_test): Likewise.
8599         (islessequal_test_data): Likewise.
8600         (islessequal_test): Likewise.
8601         (islessgreater_test_data): Likewise.
8602         (islessgreater_test): Likewise.
8603         (isnan_test_data): Likewise.
8604         (isnan_test): Likewise.
8605         (isnormal_test_data): Likewise.
8606         (isnormal_test): Likewise.
8607         (issignaling_test_data): Likewise.
8608         (issignaling_test): Likewise.
8609         (issubnormal_test_data): Likewise.
8610         (issubnormal_test): Likewise.
8611         (isunordered_test_data): Likewise.
8612         (isunordered_test): Likewise.
8613         (iszero_test_data): Likewise.
8614         (iszero_test): Likewise.
8615         (j0_test_data): Likewise.
8616         (j0_test): Likewise.
8617         (j1_test_data): Likewise.
8618         (j1_test): Likewise.
8619         (jn_test_data): Likewise.
8620         (jn_test): Likewise.
8621         (lgamma_test_data): Likewise.
8622         (lgamma_test): Likewise.
8623         (gamma_test): Likewise.
8624         (llogb_test_data): Likewise.
8625         (llogb_test): Likewise.
8626         (lrint_test_data): Likewise.
8627         (lrint_test): Likewise.
8628         (llrint_test_data): Likewise.
8629         (llrint_test): Likewise.
8630         (log_test_data): Likewise.
8631         (log_test): Likewise.
8632         (log10_test_data): Likewise.
8633         (log10_test): Likewise.
8634         (log1p_test_data): Likewise.
8635         (log1p_test): Likewise.
8636         (log2_test_data): Likewise.
8637         (log2_test): Likewise.
8638         (logb_test_data): Likewise.
8639         (logb_test): Likewise.
8640         (lround_test_data): Likewise.
8641         (lround_test): Likewise.
8642         (llround_test_data): Likewise.
8643         (llround_test): Likewise.
8644         (modf_test_data): Likewise.
8645         (modf_test): Likewise.
8646         (nearbyint_test_data): Likewise.
8647         (nearbyint_test): Likewise.
8648         (nextafter_test_data): Likewise.
8649         (nextafter_test): Likewise.
8650         (nextup_test_data): Likewise.
8651         (nextup_test): Likewise.
8652         (nextdown_test_data): Likewise.
8653         (nextdown_test): Likewise.
8654         (nexttoward_test_data): Likewise.
8655         (nexttoward_test): Likewise.
8656         (pow_test_data): Likewise.
8657         (pow_test): Likewise.
8658         (remainder_test_data): Likewise.
8659         (remainder_test): Likewise.
8660         (drem_test): Likewise.
8661         (remquo_test_data): Likewise.
8662         (remquo_test): Likewise.
8663         (rint_test_data): Likewise.
8664         (rint_test): Likewise.
8665         (round_test_data): Likewise.
8666         (round_test): Likewise.
8667         (roundeven_test_data): Likewise.
8668         (roundeven_test): Likewise.
8669         (scalb_test_data): Likewise.
8670         (scalb_test): Likewise.
8671         (scalbn_test_data): Likewise.
8672         (scalbn_test): Likewise.
8673         (ldexp_test): Likewise.
8674         (scalbln_test_data): Likewise.
8675         (scalbln_test): Likewise.
8676         (setpayload_test_data): Likewise.
8677         (setpayload_test): Likewise.
8678         (setpayloadsig_test_data): Likewise.
8679         (setpayloadsig_test): Likewise.
8680         (signbit_test_data): Likewise.
8681         (signbit_test): Likewise.
8682         (sin_test_data): Likewise.
8683         (sin_test): Likewise.
8684         (sincos_test_data): Likewise.
8685         (sincos_test): Likewise.
8686         (sinh_test_data): Likewise.
8687         (sinh_test): Likewise.
8688         (sqrt_test_data): Likewise.
8689         (sqrt_test): Likewise.
8690         (tan_test_data): Likewise.
8691         (tan_test): Likewise.
8692         (tanh_test_data): Likewise.
8693         (tanh_test): Likewise.
8694         (tgamma_test_data): Likewise.
8695         (tgamma_test): Likewise.
8696         (totalorder_test_data): Likewise.
8697         (totalorder_test): Likewise.
8698         (totalordermag_test_data): Likewise.
8699         (totalordermag_test): Likewise.
8700         (trunc_test_data): Likewise.
8701         (trunc_test): Likewise.
8702         (ufromfp_test_data): Likewise.
8703         (ufromfp_test): Likewise.
8704         (ufromfpx_test_data): Likewise.
8705         (ufromfpx_test): Likewise.
8706         (y0_test_data): Likewise.
8707         (y0_test): Likewise.
8708         (y1_test_data): Likewise.
8709         (y1_test): Likewise.
8710         (yn_test_data): Likewise.
8711         (yn_test): Likewise.
8712         (significand_test_data): Likewise.
8713         (significand_test): Likewise.
8714         * math/Makefile (auto-libm-test-out-files): Remove variable.
8715         (libm-test-funcs-noauto): New variable.
8716         (libm-test-funcs-all): Likewise.
8717         (libm-test-c-auto): Likewise.
8718         (libm-test-c-noauto): Likewise.
8719         (libm-tests-generated): Add $(libm-test-c-auto) and
8720         $(libm-test-c-noauto).
8721         (generated): Do not add auto-libm-test-out.
8722         (libm-test-c-auto-obj): New variable.
8723         (libm-test-c-noauto-obj): Likewise.
8724         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8725         ($(libm-test-c-noauto-obj)): New static pattern rule.
8726         ($(libm-test-c-auto-obj)): Likewise.
8727         (libm-test-incs): New variable.
8728         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8729         and pass it to gen-libm-have-vector-test.sh.
8730         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8731         be passed on command line.
8732         * math/libm-test-acos.inc: New file.  Content from
8733         math/libm-test.inc.
8734         * math/libm-test-acosh.inc: Likewise.
8735         * math/libm-test-asin.inc: Likewise.
8736         * math/libm-test-asinh.inc: Likewise.
8737         * math/libm-test-atan.inc: Likewise.
8738         * math/libm-test-atan2.inc: Likewise.
8739         * math/libm-test-atanh.inc: Likewise.
8740         * math/libm-test-cabs.inc: Likewise.
8741         * math/libm-test-cacos.inc: Likewise.
8742         * math/libm-test-cacosh.inc: Likewise.
8743         * math/libm-test-canonicalize.inc: Likewise.
8744         * math/libm-test-carg.inc: Likewise.
8745         * math/libm-test-casin.inc: Likewise.
8746         * math/libm-test-casinh.inc: Likewise.
8747         * math/libm-test-catan.inc: Likewise.
8748         * math/libm-test-catanh.inc: Likewise.
8749         * math/libm-test-cbrt.inc: Likewise.
8750         * math/libm-test-ccos.inc: Likewise.
8751         * math/libm-test-ccosh.inc: Likewise.
8752         * math/libm-test-ceil.inc: Likewise.
8753         * math/libm-test-cexp.inc: Likewise.
8754         * math/libm-test-cimag.inc: Likewise.
8755         * math/libm-test-clog.inc: Likewise.
8756         * math/libm-test-clog10.inc: Likewise.
8757         * math/libm-test-conj.inc: Likewise.
8758         * math/libm-test-copysign.inc: Likewise.
8759         * math/libm-test-cos.inc: Likewise.
8760         * math/libm-test-cosh.inc: Likewise.
8761         * math/libm-test-cpow.inc: Likewise.
8762         * math/libm-test-cproj.inc: Likewise.
8763         * math/libm-test-creal.inc: Likewise.
8764         * math/libm-test-csin.inc: Likewise.
8765         * math/libm-test-csinh.inc: Likewise.
8766         * math/libm-test-csqrt.inc: Likewise.
8767         * math/libm-test-ctan.inc: Likewise.
8768         * math/libm-test-ctanh.inc: Likewise.
8769         * math/libm-test-erf.inc: Likewise.
8770         * math/libm-test-erfc.inc: Likewise.
8771         * math/libm-test-exp.inc: Likewise.
8772         * math/libm-test-exp10.inc: Likewise.
8773         * math/libm-test-exp2.inc: Likewise.
8774         * math/libm-test-expm1.inc: Likewise.
8775         * math/libm-test-fabs.inc: Likewise.
8776         * math/libm-test-fdim.inc: Likewise.
8777         * math/libm-test-floor.inc: Likewise.
8778         * math/libm-test-fma.inc: Likewise.
8779         * math/libm-test-fmax.inc: Likewise.
8780         * math/libm-test-fmaxmag.inc: Likewise.
8781         * math/libm-test-fmin.inc: Likewise.
8782         * math/libm-test-fminmag.inc: Likewise.
8783         * math/libm-test-fmod.inc: Likewise.
8784         * math/libm-test-fpclassify.inc: Likewise.
8785         * math/libm-test-frexp.inc: Likewise.
8786         * math/libm-test-fromfp.inc: Likewise.
8787         * math/libm-test-fromfpx.inc: Likewise.
8788         * math/libm-test-getpayload.inc: Likewise.
8789         * math/libm-test-hypot.inc: Likewise.
8790         * math/libm-test-ilogb.inc: Likewise.
8791         * math/libm-test-iscanonical.inc: Likewise.
8792         * math/libm-test-iseqsig.inc: Likewise.
8793         * math/libm-test-isfinite.inc: Likewise.
8794         * math/libm-test-isgreater.inc: Likewise.
8795         * math/libm-test-isgreaterequal.inc: Likewise.
8796         * math/libm-test-isinf.inc: Likewise.
8797         * math/libm-test-isless.inc: Likewise.
8798         * math/libm-test-islessequal.inc: Likewise.
8799         * math/libm-test-islessgreater.inc: Likewise.
8800         * math/libm-test-isnan.inc: Likewise.
8801         * math/libm-test-isnormal.inc: Likewise.
8802         * math/libm-test-issignaling.inc: Likewise.
8803         * math/libm-test-issubnormal.inc: Likewise.
8804         * math/libm-test-isunordered.inc: Likewise.
8805         * math/libm-test-iszero.inc: Likewise.
8806         * math/libm-test-j0.inc: Likewise.
8807         * math/libm-test-j1.inc: Likewise.
8808         * math/libm-test-jn.inc: Likewise.
8809         * math/libm-test-lgamma.inc: Likewise.
8810         * math/libm-test-llogb.inc: Likewise.
8811         * math/libm-test-llrint.inc: Likewise.
8812         * math/libm-test-llround.inc: Likewise.
8813         * math/libm-test-log.inc: Likewise.
8814         * math/libm-test-log10.inc: Likewise.
8815         * math/libm-test-log1p.inc: Likewise.
8816         * math/libm-test-log2.inc: Likewise.
8817         * math/libm-test-logb.inc: Likewise.
8818         * math/libm-test-lrint.inc: Likewise.
8819         * math/libm-test-lround.inc: Likewise.
8820         * math/libm-test-modf.inc: Likewise.
8821         * math/libm-test-nearbyint.inc: Likewise.
8822         * math/libm-test-nextafter.inc: Likewise.
8823         * math/libm-test-nextdown.inc: Likewise.
8824         * math/libm-test-nexttoward.inc: Likewise.
8825         * math/libm-test-nextup.inc: Likewise.
8826         * math/libm-test-pow.inc: Likewise.
8827         * math/libm-test-remainder.inc: Likewise.
8828         * math/libm-test-remquo.inc: Likewise.
8829         * math/libm-test-rint.inc: Likewise.
8830         * math/libm-test-round.inc: Likewise.
8831         * math/libm-test-roundeven.inc: Likewise.
8832         * math/libm-test-scalb.inc: Likewise.
8833         * math/libm-test-scalbln.inc: Likewise.
8834         * math/libm-test-scalbn.inc: Likewise.
8835         * math/libm-test-setpayload.inc: Likewise.
8836         * math/libm-test-setpayloadsig.inc: Likewise.
8837         * math/libm-test-signbit.inc: Likewise.
8838         * math/libm-test-significand.inc: Likewise.
8839         * math/libm-test-sin.inc: Likewise.
8840         * math/libm-test-sincos.inc: Likewise.
8841         * math/libm-test-sinh.inc: Likewise.
8842         * math/libm-test-sqrt.inc: Likewise.
8843         * math/libm-test-tan.inc: Likewise.
8844         * math/libm-test-tanh.inc: Likewise.
8845         * math/libm-test-tgamma.inc: Likewise.
8846         * math/libm-test-totalorder.inc: Likewise.
8847         * math/libm-test-totalordermag.inc: Likewise.
8848         * math/libm-test-trunc.inc: Likewise.
8849         * math/libm-test-ufromfp.inc: Likewise.
8850         * math/libm-test-ufromfpx.inc: Likewise.
8851         * math/libm-test-y0.inc: Likewise.
8852         * math/libm-test-y1.inc: Likewise.
8853         * math/libm-test-yn.inc: Likewise.
8854         * math/README.libm-test: Update.
8856         * math/gen-auto-libm-tests.c: Update comment about use of program.
8857         (generate_output): Add argument FUNCTION.
8858         (main): Require extra argument.  Pass function name to
8859         generate_output.
8860         * math/Makefile (generated): Add auto-libm-test-out.
8861         (libm-test-funcs-auto): New variable.
8862         (auto-libm-test-out-files): New variable.
8863         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8864         Concatenate those files to form $(objpfx)auto-libm-test-out and
8865         use it as input to gen-libm-test.pl.
8866         * math/README.libm-test: Update.
8867         * math/auto-libm-test-out: Remove.
8868         * math/auto-libm-test-out-acos: New generated file.
8869         * math/auto-libm-test-out-acosh: Likewise.
8870         * math/auto-libm-test-out-asin: Likewise.
8871         * math/auto-libm-test-out-asinh: Likewise.
8872         * math/auto-libm-test-out-atan: Likewise.
8873         * math/auto-libm-test-out-atan2: Likewise.
8874         * math/auto-libm-test-out-atanh: Likewise.
8875         * math/auto-libm-test-out-cabs: Likewise.
8876         * math/auto-libm-test-out-carg: Likewise.
8877         * math/auto-libm-test-out-cbrt: Likewise.
8878         * math/auto-libm-test-out-ccos: Likewise.
8879         * math/auto-libm-test-out-ccosh: Likewise.
8880         * math/auto-libm-test-out-cexp: Likewise.
8881         * math/auto-libm-test-out-clog: Likewise.
8882         * math/auto-libm-test-out-clog10: Likewise.
8883         * math/auto-libm-test-out-cos: Likewise.
8884         * math/auto-libm-test-out-cosh: Likewise.
8885         * math/auto-libm-test-out-cpow: Likewise.
8886         * math/auto-libm-test-out-csin: Likewise.
8887         * math/auto-libm-test-out-csinh: Likewise.
8888         * math/auto-libm-test-out-csqrt: Likewise.
8889         * math/auto-libm-test-out-ctan: Likewise.
8890         * math/auto-libm-test-out-ctanh: Likewise.
8891         * math/auto-libm-test-out-erf: Likewise.
8892         * math/auto-libm-test-out-erfc: Likewise.
8893         * math/auto-libm-test-out-exp: Likewise.
8894         * math/auto-libm-test-out-exp10: Likewise.
8895         * math/auto-libm-test-out-exp2: Likewise.
8896         * math/auto-libm-test-out-expm1: Likewise.
8897         * math/auto-libm-test-out-fma: Likewise.
8898         * math/auto-libm-test-out-hypot: Likewise.
8899         * math/auto-libm-test-out-j0: Likewise.
8900         * math/auto-libm-test-out-j1: Likewise.
8901         * math/auto-libm-test-out-jn: Likewise.
8902         * math/auto-libm-test-out-lgamma: Likewise.
8903         * math/auto-libm-test-out-log: Likewise.
8904         * math/auto-libm-test-out-log10: Likewise.
8905         * math/auto-libm-test-out-log1p: Likewise.
8906         * math/auto-libm-test-out-log2: Likewise.
8907         * math/auto-libm-test-out-pow: Likewise.
8908         * math/auto-libm-test-out-sin: Likewise.
8909         * math/auto-libm-test-out-sincos: Likewise.
8910         * math/auto-libm-test-out-sinh: Likewise.
8911         * math/auto-libm-test-out-sqrt: Likewise.
8912         * math/auto-libm-test-out-tan: Likewise.
8913         * math/auto-libm-test-out-tanh: Likewise.
8914         * math/auto-libm-test-out-tgamma: Likewise.
8915         * math/auto-libm-test-out-y0: Likewise.
8916         * math/auto-libm-test-out-y1: Likewise.
8917         * math/auto-libm-test-out-yn: Likewise.
8919         * math/Makefile (generated): Do not include libm-test.stmp.
8920         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8921         on $(objpfx)libm-test.stmp.
8922         ($(objpfx)libm-test.stmp): Remove rule.
8923         ($(objpfx)libm-test-ulps.h): New rule.
8924         ($(objpfx)libm-test.c): Likewise.
8925         ($(objpfx)libm-have-vector-test.h): Likewise.
8926         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8927         individual generated files, not libm-test.stmp.
8929         * math/gen-libm-test.pl ($output_dir): Remove variable.
8930         ($srcdir): Likewise.
8931         ($opt_a): New variable.
8932         ($opt_c): Likewise.
8933         ($opt_C): Likewise.
8934         ($opt_H): Likewise.
8935         (-n): Make option take argument and use it as NewUlps output.
8936         (-a): New option.  Use its argument for auto-libm-test-out input.
8937         (-c): New option.  Use its argument for libm-test.inc input.
8938         (-C): New option.  Use its argument for libm-test.c output.
8939         (-H): New option.  Use its argument for libm-test-ulps.h output.
8940         (top level): Only process inputs needed to generate outputs
8941         specified by command-line options.  Only generate outputs
8942         specified by command-line options.
8943         * math/README.libm-test: Update example gen-libm-test.pl command.
8944         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8945         commands.
8946         (regen-ulps): Likewise.
8948 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8950         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8951         * include/string.h (index): Remove define.
8952         (rindex): Likewise.
8953         * misc/getttyent.c (__getttyent): Rename index to strchr.
8954         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8955         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8957 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8959         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8960         * math/libm-test.inc: Move all contents, other than tests of
8961         individual functions, to libm-test-driver.c.
8962         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8963         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8964         [!FE_UPWARD] (FE_UPWARD): Likewise.
8965         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8966         (NO_EXCEPTION): Likewise.
8967         (INVALID_EXCEPTION): Likewise.
8968         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8969         (OVERFLOW_EXCEPTION): Likewise.
8970         (UNDERFLOW_EXCEPTION): Likewise.
8971         (INEXACT_EXCEPTION): Likewise.
8972         (INVALID_EXCEPTION_OK): Likewise.
8973         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8974         (OVERFLOW_EXCEPTION_OK): Likewise.
8975         (UNDERFLOW_EXCEPTION_OK): Likewise.
8976         (NO_INEXACT_EXCEPTION): Likewise.
8977         (EXCEPTIONS_OK): Likewise.
8978         (IGNORE_ZERO_INF_SIGN): Likewise.
8979         (TEST_NAN_SIGN): Likewise.
8980         (TEST_NAN_PAYLOAD): Likewise.
8981         (NO_TEST_INLINE): Likewise.
8982         (XFAIL_TEST): Likewise.
8983         (ERRNO_UNCHANGED): Likewise.
8984         (ERRNO_EDOM): Likewise.
8985         (ERRNO_ERANGE): Likewise.
8986         (IGNORE_RESULT): Likewise.
8987         (NON_FINITE): Likewise.
8988         (TEST_SNAN): Likewise.
8989         (NO_TEST_MATHVEC): Likewise.
8990         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8991         (__CONCATX): Likewise.
8992         (TYPE_MIN): Likewise.
8993         (TYPE_TRUE_MIN): Likewise.
8994         (TYPE_MAX): Likewise.
8995         (MIN_EXP): Likewise.
8996         (MAX_EXP): Likewise.
8997         (MANT_DIG): Likewise.
8998         (FSTR_MAX): Likewise.
8999         (ULP_IDX): Likewise.
9000         (QTYPE_STR): Likewise.
9001         (TEST_COND_binary32): Likewise.
9002         (TEST_COND_binary64): Likewise.
9003         (TEST_COND_binary128): Likewise.
9004         (TEST_COND_ibm128): Likewise.
9005         (TEST_COND_intel96): Likewise.
9006         (TEST_COND_m68k96): Likewise.
9007         (TEST_COND_ibm128_libgcc): Likewise.
9008         (XFAIL_IBM128_LIBGCC): Likewise.
9009         (PAYLOAD_DIG): Likewise.
9010         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9011         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9012         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9013         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9014         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9015         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9016         (TEST_COND_long32): Likewise.
9017         (TEST_COND_long64): Likewise.
9018         (TEST_COND_before_rounding): Likewise.
9019         (TEST_COND_after_rounding): Likewise.
9020         (lit_pi_3_m_4_d): Likewise.
9021         (lit_pi_3_m_4_ln10_m_d): Likewise.
9022         (lit_pi_2_ln10_m_d): Likewise.
9023         (lit_pi_4_ln10_m_d): Likewise.
9024         (lit_pi_ln10_d): Likewise.
9025         (lit_pi_2_d): Likewise.
9026         (lit_pi_4_d): Likewise.
9027         (lit_pi): Likewise.
9028         (lit_e): Likewise.
9029         (ulps_file_name): Likewise.
9030         (ulps_file): Likewise.
9031         (output_ulps): Likewise.
9032         (output_dir): Likewise.
9033         (noErrors): Likewise.
9034         (noTests): Likewise.
9035         (noExcTests): Likewise.
9036         (noErrnoTests): Likewise.
9037         (verbose): Likewise.
9038         (output_max_error): Likewise.
9039         (output_points): Likewise.
9040         (ignore_max_ulp): Likewise.
9041         (plus_zero): Likewise.
9042         (minus_zero): Likewise.
9043         (plus_infty): Likewise.
9044         (minus_infty): Likewise.
9045         (qnan_value_pl): Likewise.
9046         (qnan_value): Likewise.
9047         (snan_value_pl): Likewise.
9048         (snan_value): Likewise.
9049         (max_value): Likewise.
9050         (min_value): Likewise.
9051         (min_subnorm_value): Likewise.
9052         (snan_value_ld): Likewise.
9053         (max_error): Likewise.
9054         (real_max_error): Likewise.
9055         (imag_max_error): Likewise.
9056         (prev_max_error): Likewise.
9057         (prev_real_max_error): Likewise.
9058         (prev_imag_max_error): Likewise.
9059         (max_valid_error): Likewise.
9060         (TYPE_DECIMAL_DIG): Likewise.
9061         (TYPE_HEX_DIG): Likewise.
9062         (fmt_ftostr): Likewise.
9063         (compare_ulp_data): Likewise.
9064         (find_ulps): Likewise.
9065         (init_max_error): Likewise.
9066         (set_max_error): Likewise.
9067         (print_float): Likewise.
9068         (print_screen): Likewise.
9069         (print_screen_max_error): Likewise.
9070         (update_stats): Likewise.
9071         (print_function_ulps): Likewise.
9072         (print_complex_function_ulps): Likewise.
9073         (fpstack_test): Likewise.
9074         (print_max_error): Likewise.
9075         (print_complex_max_error): Likewise.
9076         (test_single_exception): Likewise.
9077         (test_exceptions): Likewise.
9078         (test_single_errno): Likewise.
9079         (test_errno): Likewise.
9080         (ULPDIFF): Likewise.
9081         (ulp): Likewise.
9082         (check_float_internal): Likewise.
9083         (check_float): Likewise.
9084         (check_complex): Likewise.
9085         (check_int): Likewise.
9086         (check_long): Likewise.
9087         (check_bool): Likewise.
9088         (check_longlong): Likewise.
9089         (check_intmax_t): Likewise.
9090         (check_uintmax_t): Likewise.
9091         (enable_test): Likewise.
9092         (struct test_f_f_data): Likewise.
9093         (struct test_ff_f_data): Likewise.
9094         (struct test_fj_f_data): Likewise.
9095         (struct test_fi_f_data): Likewise.
9096         (struct test_fl_f_data): Likewise.
9097         (struct test_if_f_data): Likewise.
9098         (struct test_fff_f_data): Likewise.
9099         (struct test_fiu_M_data): Likewise.
9100         (struct test_fiu_U_data): Likewise.
9101         (struct test_c_f_data): Likewise.
9102         (struct test_f_f1_data): Likewise.
9103         (struct test_fF_f1_data): Likewise.
9104         (struct test_ffI_f1_data): Likewise.
9105         (struct test_c_c_data): Likewise.
9106         (struct test_cc_c_data): Likewise.
9107         (struct test_f_i_data): Likewise.
9108         (struct test_ff_i_data): Likewise.
9109         (struct test_f_l_data): Likewise.
9110         (struct test_f_L_data): Likewise.
9111         (struct test_fFF_11_data): Likewise.
9112         (struct test_Ff_b1_data): Likewise.
9113         (IF_ROUND_INIT_): Likewise.
9114         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9115         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9116         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9117         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9118         (ROUND_RESTORE_): Likewise.
9119         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9120         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9121         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9122         (ROUND_RESTORE_FE_UPWARD): Likewise.
9123         (RM_): Likewise.
9124         (RM_FE_DOWNWARD): Likewise.
9125         (RM_FE_TONEAREST): Likewise.
9126         (RM_FE_TOWARDZERO): Likewise.
9127         (RM_FE_UPWARD): Likewise.
9128         (COMMON_TEST_SETUP): Likewise.
9129         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9130         (COMMON_TEST_CLEANUP): Likewise.
9131         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9132         (RUN_TEST_f_f): Likewise.
9133         (RUN_TEST_LOOP_f_f): Likewise.
9134         (RUN_TEST_fp_f): Likewise.
9135         (RUN_TEST_LOOP_fp_f): Likewise.
9136         (RUN_TEST_2_f): Likewise.
9137         (RUN_TEST_LOOP_2_f): Likewise.
9138         (RUN_TEST_ff_f): Likewise.
9139         (RUN_TEST_LOOP_ff_f): Likewise.
9140         (RUN_TEST_LOOP_fj_f): Likewise.
9141         (RUN_TEST_fi_f): Likewise.
9142         (RUN_TEST_LOOP_fi_f): Likewise.
9143         (RUN_TEST_fl_f): Likewise.
9144         (RUN_TEST_LOOP_fl_f): Likewise.
9145         (RUN_TEST_if_f): Likewise.
9146         (RUN_TEST_LOOP_if_f): Likewise.
9147         (RUN_TEST_fff_f): Likewise.
9148         (RUN_TEST_LOOP_fff_f): Likewise.
9149         (RUN_TEST_fiu_M): Likewise.
9150         (RUN_TEST_LOOP_fiu_M): Likewise.
9151         (RUN_TEST_fiu_U): Likewise.
9152         (RUN_TEST_LOOP_fiu_U): Likewise.
9153         (RUN_TEST_c_f): Likewise.
9154         (RUN_TEST_LOOP_c_f): Likewise.
9155         (RUN_TEST_f_f1): Likewise.
9156         (RUN_TEST_LOOP_f_f1): Likewise.
9157         (RUN_TEST_fF_f1): Likewise.
9158         (RUN_TEST_LOOP_fF_f1): Likewise.
9159         (RUN_TEST_fI_f1): Likewise.
9160         (RUN_TEST_LOOP_fI_f1): Likewise.
9161         (RUN_TEST_ffI_f1_mod8): Likewise.
9162         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9163         (RUN_TEST_Ff_b1): Likewise.
9164         (RUN_TEST_LOOP_Ff_b1): Likewise.
9165         (RUN_TEST_Ffp_b1): Likewise.
9166         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9167         (RUN_TEST_c_c): Likewise.
9168         (RUN_TEST_LOOP_c_c): Likewise.
9169         (RUN_TEST_cc_c): Likewise.
9170         (RUN_TEST_LOOP_cc_c): Likewise.
9171         (RUN_TEST_f_i): Likewise.
9172         (RUN_TEST_LOOP_f_i): Likewise.
9173         (RUN_TEST_f_i_tg): Likewise.
9174         (RUN_TEST_LOOP_f_i_tg): Likewise.
9175         (RUN_TEST_ff_b): Likewise.
9176         (RUN_TEST_LOOP_ff_b): Likewise.
9177         (RUN_TEST_ff_i_tg): Likewise.
9178         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9179         (RUN_TEST_f_b): Likewise.
9180         (RUN_TEST_LOOP_f_b): Likewise.
9181         (RUN_TEST_f_b_tg): Likewise.
9182         (RUN_TEST_LOOP_f_b_tg): Likewise.
9183         (RUN_TEST_f_l): Likewise.
9184         (RUN_TEST_LOOP_f_l): Likewise.
9185         (RUN_TEST_f_L): Likewise.
9186         (RUN_TEST_LOOP_f_L): Likewise.
9187         (RUN_TEST_fFF_11): Likewise.
9188         (RUN_TEST_LOOP_fFF_11): Likewise.
9189         (VEC_SUFF): Likewise.
9190         (STR_CONCAT): Likewise.
9191         (STR_CON3): Likewise.
9192         (HAVE_VECTOR): Likewise.
9193         (START): Likewise.
9194         (END): Likewise.
9195         (END_COMPLEX): Likewise.
9196         (ALL_RM_TEST): Likewise.
9197         (matherr): Likewise.
9198         (initialize): Likewise.
9199         (options): Likewise.
9200         (doc): Likewise.
9201         (parse_opt): Likewise.
9202         (argp): Likewise.
9203         (check_ulp): Likewise.
9204         (main): Likewise.
9205         (do_test): New function.  Call tests of individual functions
9206         previously called from main.
9208         * math/libm-test.inc: Remove comment listing functions tested and
9209         not tested.
9211 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9213         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9214         (allocate_stack): Remove COLORING_INCREMENT usage.
9215         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9216         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9218 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9220         * manual/libm-err-tab.pl (@all_functions): Change to
9221         %all_functions.  Initialize as empty.
9222         (parse_ulps): Add to %all_functions based on functions found in
9223         ulps files.  Ignore results for non-default rounding modes and
9224         vector functions.
9225         (print_platforms): Use %all_platforms.
9226         * manual/math.texi (Errors in Math Functions): Document omissions
9227         from the table.
9229         * math/Makefile (before-compile): Remove.
9231 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
9233         [BZ #21075]
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9235         unused assignment.
9236         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9238 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9240         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9241         Add __glibc_unlikely hint.
9243 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9245         [BZ #16640]
9246         * sysdeps/i386/i686/strtok.S: Remove file.
9247         * sysdeps/i386/i686/strtok_r.S: Likewise.
9248         * sysdeps/i386/strtok.S: Likewise.
9249         * sysdeps/i386/strtok_r.S: Likewise.
9250         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9251         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9252         * sysdeps/x86_64/strtok.S: Likewise.
9253         * sysdeps/x86_64/strtok_r.S: Likewise.
9255         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9256         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9257         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9258         (__ASSUME_FADVISE64_AS_64_64): Define.
9259         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9260         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9261         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9262         __ALIGNMENT_ARG usage.
9263         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9264         __NR_fadvise64_64 if it is not defined.
9266 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9268         * version.h (RELEASE): Set to "development"
9269         (VERSION): Set to 2.25.90.
9270         * NEWS: Add 2.26 section.
9272         * version.h (RELEASE): Set to "stable"
9273         (VERSION): Set to 2.25.
9274         * include/features.h (__GLIBC_MINOR__): Set to 25.
9276         * manual/contrib.texi: Add more contributors from this release
9277         and past releases.
9279         * NEWS (2.25): Add list of bugs fixed.
9281         * NEWS: Add missing news items.
9283 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9285         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9286         parent if child exited in that manner.  Print WEXITSTATUS
9287         instead of the raw status.
9288         (do_test_prep): Rename to do_test.
9289         (do_test): Return the result of run_executable_sgid.
9290         (TEST_FUNCTION_ARGV): Adjust.
9292 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
9293             Florian Weimer  <fweimer@redhat.com>
9294             Carlos O'Donell  <carlos@redhat.com>
9296         [BZ #20915]
9297         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9298         Do not initialize DTV.
9299         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9301 2017-02-03  David S. Miller  <davem@davemloft.net>
9303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9311         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9312         (libm-sysdep_routines): Update.
9313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9318         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9319         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9320         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9321         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9323         Likewise.
9324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9326         Likewise.
9327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9329         Likewise.
9330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9332         Likewise.
9333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9335         (libm-sysdep_routines): Update.
9337 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9339         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9340         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9341         against unrelocated shared library.
9342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9344 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9346         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9347         * elf/tst-env-setuid-tunables.c
9348         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9349         GLIBC_TUNABLES is removed in a setgid process.
9351         [BZ #21073]
9352         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9353         * elf/dl-tunables.c (tunables_strdup): Remove.
9354         (get_next_env): Also return the previous envp.
9355         (parse_tunables): Erase tunables of category
9356         TUNABLES_SECLEVEL_SXID_ERASE.
9357         (maybe_enable_malloc_check): Make MALLOC_CHECK_
9358         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9359         (__tunables_init)[TUNABLES_FRONTEND ==
9360         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9361         after parsing.
9362         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9363         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9364         * elf/dl-tunables.h (struct _tunable): Change member is_secure
9365         to security_level.
9366         * elf/dl-tunables.list: Add security_level annotations for all
9367         tunables.
9368         * scripts/gen-tunables.awk: Recognize and generate enum values
9369         for security_level.
9370         * elf/tst-env-setuid.c: New test case.
9371         * elf/tst-env-setuid-tunables: new test case.
9372         * elf/Makefile (tests-static): Add them.
9374 2017-02-01  Richard Henderson  <rth@twiddle.net>
9376         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9377         adjusting the byte count.
9379 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
9381         * conform/Makefile (linknamespace-libs): Define.
9383         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9384         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9385         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9386         operands.
9388 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
9390         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9392 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9394         [BZ #21081]
9395         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9396         (L(stosb)): Add VZEROUPPER before ret.
9398 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
9399             Alexey Makhalov <amakhalov@vmware.com>
9400             Florian Weimer <fweimer@redhat.com>
9402         [BZ #20116]
9403         * nptl/pthread_create.c: Document concurrency notes.
9404         Enhance thread creation notes.
9405         (create_thread): Use bool *stopped_start.
9406         (START_THREAD_DEFN): Comment ownership of PD.
9407         (__pthread_create_2_1): Add local bool stopped_start and use
9408         that instead of pd->stopped_start where appropriate.
9409         * nptl/createthread.c (create_thread): Use bool *stopped_start.
9410         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9411         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9412         * nptl/tst-create-detached.c: New file.
9413         * nptl/Makefile (tests): Add tst-create-detached.
9414         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9415         Reference the enhanced thread creation notes.
9416         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9417         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9418         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9419         (__pthread_current_priority): Likewise.
9420         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9421         xpthread_attr_init, xpthread_attr_setdetachstate, and
9422         xpthread_attr_setstacksize.
9423         * support/xpthread_attr_destroy.c: New file.
9424         * support/xpthread_attr_init.c: New file.
9425         * support/xpthread_attr_setdetachstate.c: New file.
9426         * support/xpthread_attr_setstacksize.c: New file.
9427         * support/xthread.h: Define prototypes for xpthread_attr_destroy
9428         xpthread_attr_init, xpthread_attr_setdetachstate, and
9429         xpthread_attr_setstacksize.
9431 2017-01-27  Florian Weimer  <fweimer@redhat.com>
9433         * nptl/Makefile (tests): Add tst-robust-fork.
9434         * nptl/tst-robust-fork.c: New file.
9435         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9436         xpthread_mutex_consistent, xpthread_mutex_destroy,
9437         xpthread_mutex_init, xpthread_mutexattr_destroy,
9438         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9439         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9440         xpthread_mutexattr_settype.
9441         * support/xmmap.c: New file.
9442         * support/xmunmap.c: Likewise.
9443         * support/xpthread_mutex_consistent.c: Likewise.
9444         * support/xpthread_mutex_destroy.c: Likewise.
9445         * support/xpthread_mutex_init.c: Likewise.
9446         * support/xpthread_mutexattr_destroy.c: Likewise.
9447         * support/xpthread_mutexattr_init.c: Likewise.
9448         * support/xpthread_mutexattr_setprotocol.c: Likewise.
9449         * support/xpthread_mutexattr_setpshared.c: Likewise.
9450         * support/xpthread_mutexattr_setrobust.c: Likewise.
9451         * support/xpthread_mutexattr_settype.c: Likewise.
9452         * support/xthread.h (xpthread_mutexattr_destroy)
9453         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9454         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9455         (xpthread_mutexattr_settype, xpthread_mutex_init)
9456         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9457         * support/xunistd.h (xmmap, xmunmap): Likewise.
9459 2017-01-25  Florian Weimer  <fweimer@redhat.com>
9461         * string/Makefile (xtests): Add comment.
9462         (LOCALES): Add en_GB.UTF-8.
9463         (tst-strcoll-overflow.out): Depend on generated locales.
9464         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9465         (SIZE, TIMEOUT): Update comments.
9466         (do_test): Define as static.  Fail test if setlocale fails.
9467         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
9468         messages.
9469         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9470         TIMEOUT at 300 seconds should be enough to run this test
9471         successfully.
9473 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
9475         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9476         /* FALLTHRU */ comments.
9478 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
9480         [BZ #21053]
9481         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9482         constants instead of the old R* ones.
9483         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9484         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9485         (NGREG): ... to this, to fit in with other architectures.
9486         (gpregset_t): Use new NGREG macro.
9487         [__USE_GNU]: Remove condition; all architectures other than tile
9488         are unconditional.
9489         (R*): Rename to REG_R*.
9491 2017-01-20  DJ Delorie  <dj@redhat.com>
9493         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9494         (tunable_set_val_if_valid_range_signed) ... this, and ...
9495         (tunable_set_val_if_valid_range_unsigned) ... this.
9496         (tunable_initialize): Call the correct one of the above based on type.
9498 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
9500         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9501         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9502         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9503         * sysdeps/microblaze/libm-test-ulps: Likewise.
9504         * sysdeps/sh/libm-test-ulps: Likewise.
9506         * math/README.libm-test: Update list of characters for input and
9507         output types.
9509 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9511         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9512         (__lll_unlock_elision): Fix adapt_count decrement.
9514 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
9516         * README.pretty-printers (Known issues): Warn about printers not
9517         always covering everything.
9518         * nptl/nptl-printers.py (MutexPrinter): Change output.
9519         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9521 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9523         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9524         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9525         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9526         (__lll_lock_elision): Do not test futex before starting a
9527         transaction.  Use __glibc_likely instead of __builtin_expect.
9528         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9529         (__lll_trylock_elision): Do not test futex before starting a
9530         transaction.  Use __glibc_likely instead of __builtin_expect.
9532 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9534         * po/Makefile (update-translations): New target.
9536 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9538         [BZ #21061]
9539         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9541 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9543         * elf/dl-tunables (get_next_env): Always advance envp.
9544         * stdlib/tst-empty-env.c: New test case.
9545         * stdlib/Makefile (tests): Use it.
9547 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9549         [BZ #21047]
9550         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9551         name for instruction.
9552         [!__SOFTFP__] (_FPU_SETCW): Likewise.
9554 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9556         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9557         for make install.
9559 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9561         * po/bg.po: Merge from Translation Project.
9562         * po/fr.po: Likewise.
9563         * po/ko.po: Likewise.
9564         * po/nl.po: Likewise.
9565         * po/sv.po: Likewise.
9567 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9569         * manual/install.texi (Tools for Compilation): Update GCC version
9570         known to work to build glibc.
9571         * INSTALL: Regenerated.
9573 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9575         [BZ #21006]
9576         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9578 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
9580         [BZ #21045]
9581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9582         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9583         to __sigprocmask.
9585 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
9587         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9588         wrap-around.
9589         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9591         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9593 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9595         * NEWS: Fix typo.
9597 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9599         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9600         barriers and comments.
9601         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9602         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9603         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9605 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9607         [BZ #19402]
9608         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9609         mutexes.
9611 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9613         [BZ #20985]
9614         * nptl/Makefile: Adapt.
9615         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9616         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9617         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9618         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9619         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9620         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9621         lll_robust* functions and adapt.
9622         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9623         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9624         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9625         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9626         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9627         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9628         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9629         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9630         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9631         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9632         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9633         * nptl/lowlevelrobustlock.c: Remove file.
9634         * nptl/lowlevelrobustlock.sym: Likewise.
9635         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9636         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9638 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9640         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9642 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9644         * po/cs.po: Merge translations from the Translation Project.
9645         * po/de.po: Likewise.
9646         * po/pl.po: Likewise.
9647         * po/ru.po: Likewise.
9648         * po/tr.po: Likewise.
9649         * po/uk.po: Likewise.
9650         * po/vi.po: Likewise.
9651         * po/zh_CN.po: Likewise.
9653 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9655         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9657         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9658         object.
9660 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #16458]
9663         * bits/uintn-identity.h: New file.
9664         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9665         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9666         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9667         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9668         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9669         * string/endian.h: Include <bits/uintn-identity.h>.
9670         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9671         __uint16_identity.
9672         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9673         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9674         __uint32_identity.
9675         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9676         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9677         __uint64_identity.
9678         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9679         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9680         __uint16_identity.
9681         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9682         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9683         __uint32_identity.
9684         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9685         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9686         __uint64_identity.
9687         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9688         * string/Makefile (headers): Add bits/uintn-identity.h.
9689         (tests): Add test-endian-types.
9690         * string/test-endian-types.c: New file.
9691         * inet/Makefile (tests): Add test-hnto-types.
9692         * inet/test-hnto-types.c: New file.
9694 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9696         * po/be.po: Update from Translation Project.
9697         * po/bg.po: Likewise.
9698         * po/ca.po: Likewise.
9699         * po/cs.po: Likewise.
9700         * po/da.po: Likewise.
9701         * po/de.po: Likewise.
9702         * po/el.po: Likewise.
9703         * po/eo.po: Likewise.
9704         * po/es.po: Likewise.
9705         * po/fi.po: Likewise.
9706         * po/fr.po: Likewise.
9707         * po/gl.po: Likewise.
9708         * po/hr.po: Likewise.
9709         * po/hu.po: Likewise.
9710         * po/ia.po: Likewise.
9711         * po/id.po: Likewise.
9712         * po/it.po: Likewise.
9713         * po/ja.po: Likewise.
9714         * po/ko.po: Likewise.
9715         * po/lt.po: Likewise.
9716         * po/nb.po: Likewise.
9717         * po/nl.po: Likewise.
9718         * po/pl.po: Likewise.
9719         * po/pt_BR.po: Likewise.
9720         * po/ru.po: Likewise.
9721         * po/rw.po: Likewise.
9722         * po/sk.po: Likewise.
9723         * po/sl.po: Likewise.
9724         * po/sv.po: Likewise.
9725         * po/tr.po: Likewise.
9726         * po/uk.po: Likewise.
9727         * po/vi.po: Likewise.
9728         * po/zh_CN.po: Likewise.
9729         * po/zh_TW.po: Likewise.
9731 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9733         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9734         -Wformat-truncation instead of -Wformat-length.
9735         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9736         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9737         GCC 7.
9738         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9739         (do_test): Ignore -Wformat-truncation for GCC 7.
9741         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9742         buffer used to print long int value.
9744         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9745         one byte.  Print it with %ld, cast to long int.
9747 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9749         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9750         (re.fullmatch, subprocess.run): Likewise.
9752 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9754         * po/libc.pot: Regenerate.
9756 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9758         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9759         (min_strlen): Likewise.
9760         (disable_tunable): Likewise.
9761         (maybe_disable_malloc_check): Rename to
9762         maybe_enable_malloc_check.
9763         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9764         if /etc/suid-debug file exists.
9765         (__tunables_init): Update caller.
9766         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9767         secure.
9769 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9771         * nptl/DESIGN-rwlock.txt: Remove.
9772         * nptl/lowlevelrwlock.sym: Remove.
9773         * nptl/Makefile: Add new tests.
9774         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9775         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9776         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9777         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9778         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9779         PTHREAD_RWLOCK_FUTEX_USED): New.
9780         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9781         implementation.
9782         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9783         (__pthread_rwlock_rdlock): Adapt.
9784         * nptl/pthread_rwlock_timedrdlock.c
9785         (pthread_rwlock_timedrdlock): Adapt.
9786         * nptl/pthread_rwlock_timedwrlock.c
9787         (pthread_rwlock_timedwrlock): Adapt.
9788         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9789         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9790         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9791         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9792         (__pthread_rwlock_wrlock): Adapt.
9793         * nptl/tst-rwlock10.c: Adapt.
9794         * nptl/tst-rwlock11.c: Adapt.
9795         * nptl/tst-rwlock17.c: New file.
9796         * nptl/tst-rwlock18.c: New file.
9797         * nptl/tst-rwlock19.c: New file.
9798         * nptl/tst-rwlock2b.c: New file.
9799         * nptl/tst-rwlock8.c: Adapt.
9800         * nptl/tst-rwlock9.c: Adapt.
9801         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9802         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9803         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9804         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9805         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9806         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9807         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9808         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9809         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9810         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9811         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9812         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9813         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9814         (pthread_rwlock_t): Adapt.
9815         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9816         (pthread_rwlock_t): Adapt.
9817         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9818         * nptl/nptl-printers.py (): Adapt.
9819         * nptl/nptl_lock_constants.pysym: Adapt.
9820         * nptl/test-rwlock-printers.py: Adapt.
9821         * nptl/test-rwlockattr-printers.c: Adapt.
9822         * nptl/test-rwlockattr-printers.py: Adapt.
9824 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9826         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9827         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9828         (fma_test_data): Likewise.
9829         (hypot_test_data): Likewise.
9830         (log1p_test_data): Likewise.
9831         (modf_test_data): Likewise.
9832         (pow_test_data): Likewise.
9833         (remainder_test_data): Likewise.
9834         (remquo_test_data): Likewise.
9835         (scalb_test_data): Likewise.
9836         (scalbn_test_data): Likewise.
9837         (scalbln_test_data): Likewise.
9838         * math/gen-libm-test.pl (parse_args): Transform
9839         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9840         on the rounding mode.
9842 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9844         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9845         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9846         and those that can underflow to zero.
9847         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9848         add others.
9849         * math/auto-libm-test-out: Regenerated.
9851         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9852         supported.
9853         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9854         modes support if not supported.
9856         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9857         Add libc.so PLT entry.
9858         (__tls_get_addr): Make ld.so PLT entry optional.
9860 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9862         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9863         * string/bits/string3.h: ... here.
9865 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9867         [BZ #21028]
9868         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9869         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9870         if EXCEPTION_TESTS returns false.
9872 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9874         [BZ #20558]
9875         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9876         strings_fortified.h.
9877         [__USE_MISC] (bzero): Likewise.
9878         [__USE_MISC] (explicit_bzero): Likewise.
9879         * string/strings.h: Include strings_fortified.h.
9880         * string/Makefile (headers): Add strings_fortified.h.
9881         * string/bits/strings_fortified.h: New file.
9882         * include/bits/strings_fortified.h: Likewise.
9884 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9886         * elf/tst-tls13.c (TIMEOUT): Remove.
9887         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9888         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9889         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9890         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9891         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9893         [BZ #21026]
9894         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9895         (readahead): New syscall entry.
9897 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9899         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9900         around tests of strncat with large sizes.
9902         * malloc/tst-malloc.c: Include <libc-internal.h>.
9903         (do_test): Disable -Walloc-size-larger-than= around tests of
9904         malloc with negative sizes.
9905         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9906         (do_test): Disable -Walloc-size-larger-than= around tests of
9907         malloc and realloc with negative sizes.
9908         * malloc/tst-realloc.c: Include <libc-internal.h>.
9909         (do_test): Disable -Walloc-size-larger-than= around tests of
9910         realloc with negative sizes.
9912         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9913         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9914         allowed to 16 ulps.
9915         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9916         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9917         * math/auto-libm-test-out: Regenerated.
9919 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9921         * math/Makefile (libm-calls): Move wrappers...
9922         (libm-compat-call-auto): Here.
9923         (libm-routines): Add items in libm-compat-calls-auto.
9924         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9925         the filenames of the wrappers that have been renamed.
9926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9929         * math/w_acos.c: Add _compat suffix to filename.
9930         * math/w_acosf.c: Likewise.
9931         * math/w_acosh.c: Likewise.
9932         * math/w_acoshf.c: Likewise.
9933         * math/w_acoshl.c: Likewise.
9934         * math/w_acosl.c: Likewise.
9935         * math/w_asin.c: Likewise.
9936         * math/w_asinf.c: Likewise.
9937         * math/w_asinl.c: Likewise.
9938         * math/w_atan2.c: Likewise.
9939         * math/w_atan2f.c: Likewise.
9940         * math/w_atan2l.c: Likewise.
9941         * math/w_atanh.c: Likewise.
9942         * math/w_atanhf.c: Likewise.
9943         * math/w_atanhl.c: Likewise.
9944         * math/w_cosh.c: Likewise.
9945         * math/w_coshf.c: Likewise.
9946         * math/w_coshl.c: Likewise.
9947         * math/w_exp10.c: Likewise.
9948         * math/w_exp10f.c: Likewise.
9949         * math/w_exp10l.c: Likewise.
9950         * math/w_exp2.c: Likewise.
9951         * math/w_exp2f.c: Likewise.
9952         * math/w_exp2l.c: Likewise.
9953         * math/w_fmod.c: Likewise.
9954         * math/w_fmodf.c: Likewise.
9955         * math/w_fmodl.c: Likewise.
9956         * math/w_hypot.c: Likewise.
9957         * math/w_hypotf.c: Likewise.
9958         * math/w_hypotl.c: Likewise.
9959         * math/w_j0.c: Likewise.
9960         * math/w_j0f.c: Likewise.
9961         * math/w_j0l.c: Likewise.
9962         * math/w_j1.c: Likewise.
9963         * math/w_j1f.c: Likewise.
9964         * math/w_j1l.c: Likewise.
9965         * math/w_jn.c: Likewise.
9966         * math/w_jnf.c: Likewise.
9967         * math/w_jnl.c: Likewise.
9968         * math/w_log10.c: Likewise.
9969         * math/w_log10f.c: Likewise.
9970         * math/w_log10l.c: Likewise.
9971         * math/w_log2.c: Likewise.
9972         * math/w_log2f.c: Likewise.
9973         * math/w_log2l.c: Likewise.
9974         * math/w_log.c: Likewise.
9975         * math/w_logf.c: Likewise.
9976         * math/w_logl.c: Likewise.
9977         * math/w_pow.c: Likewise.
9978         * math/w_powf.c: Likewise.
9979         * math/w_powl.c: Likewise.
9980         * math/w_remainder.c: Likewise.
9981         * math/w_remainderf.c: Likewise.
9982         * math/w_remainderl.c: Likewise.
9983         * math/w_scalb.c: Likewise.
9984         * math/w_scalbf.c: Likewise.
9985         * math/w_scalbl.c: Likewise.
9986         * math/w_sinh.c: Likewise.
9987         * math/w_sinhf.c: Likewise.
9988         * math/w_sinhl.c: Likewise.
9989         * math/w_sqrt.c: Likewise.
9990         * math/w_sqrtf.c: Likewise.
9991         * math/w_sqrtl.c: Likewise.
9992         * math/w_tgamma.c: Likewise.
9993         * math/w_tgammaf.c: Likewise.
9994         * math/w_tgammal.c: Likewise.
9996         * math/w_acos_compat.c: New file copied from above and
9997         adjusted for new #includes path
9998         * math/w_acosf_compat.c: Likewise.
9999         * math/w_acosh_compat.c: Likewise.
10000         * math/w_acoshf_compat.c: Likewise.
10001         * math/w_acoshl_compat.c: Likewise.
10002         * math/w_acosl_compat.c: Likewise.
10003         * math/w_asin_compat.c: Likewise.
10004         * math/w_asinf_compat.c: Likewise.
10005         * math/w_asinl_compat.c: Likewise.
10006         * math/w_atan2_compat.c: Likewise.
10007         * math/w_atan2f_compat.c: Likewise.
10008         * math/w_atan2l_compat.c: Likewise.
10009         * math/w_atanh_compat.c: Likewise.
10010         * math/w_atanhf_compat.c: Likewise.
10011         * math/w_atanhl_compat.c: Likewise.
10012         * math/w_cosh_compat.c: Likewise.
10013         * math/w_coshf_compat.c: Likewise.
10014         * math/w_coshl_compat.c: Likewise.
10015         * math/w_exp10_compat.c: Likewise.
10016         * math/w_exp10f_compat.c: Likewise.
10017         * math/w_exp10l_compat.c: Likewise.
10018         * math/w_exp2_compat.c: Likewise.
10019         * math/w_exp2f_compat.c: Likewise.
10020         * math/w_exp2l_compat.c: Likewise.
10021         * math/w_fmod_compat.c: Likewise.
10022         * math/w_fmodf_compat.c: Likewise.
10023         * math/w_fmodl_compat.c: Likewise.
10024         * math/w_hypot_compat.c: Likewise.
10025         * math/w_hypotf_compat.c: Likewise.
10026         * math/w_hypotl_compat.c: Likewise.
10027         * math/w_j0_compat.c: Likewise.
10028         * math/w_j0f_compat.c: Likewise.
10029         * math/w_j0l_compat.c: Likewise.
10030         * math/w_j1_compat.c: Likewise.
10031         * math/w_j1f_compat.c: Likewise.
10032         * math/w_j1l_compat.c: Likewise.
10033         * math/w_jn_compat.c: Likewise.
10034         * math/w_jnf_compat.c: Likewise.
10035         * math/w_jnl_compat.c: Likewise.
10036         * math/w_log10_compat.c: Likewise.
10037         * math/w_log10f_compat.c: Likewise.
10038         * math/w_log10l_compat.c: Likewise.
10039         * math/w_log2_compat.c: Likewise.
10040         * math/w_log2f_compat.c: Likewise.
10041         * math/w_log2l_compat.c: Likewise.
10042         * math/w_log_compat.c: Likewise.
10043         * math/w_logf_compat.c: Likewise.
10044         * math/w_logl_compat.c: Likewise.
10045         * math/w_pow_compat.c: Likewise.
10046         * math/w_powf_compat.c: Likewise.
10047         * math/w_powl_compat.c: Likewise.
10048         * math/w_remainder_compat.c: Likewise.
10049         * math/w_remainderf_compat.c: Likewise.
10050         * math/w_remainderl_compat.c: Likewise.
10051         * math/w_scalb_compat.c: Likewise.
10052         * math/w_scalbf_compat.c: Likewise.
10053         * math/w_scalbl_compat.c: Likewise.
10054         * math/w_sinh_compat.c: Likewise.
10055         * math/w_sinhf_compat.c: Likewise.
10056         * math/w_sinhl_compat.c: Likewise.
10057         * math/w_sqrt_compat.c: Likewise.
10058         * math/w_sqrtf_compat.c: Likewise.
10059         * math/w_sqrtl_compat.c: Likewise.
10060         * math/w_tgamma_compat.c: Likewise.
10061         * math/w_tgammaf_compat.c: Likewise.
10062         * math/w_tgammal_compat.c: Likewise.
10064         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10065         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10066         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10067         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10068         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10069         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10070         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10071         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10072         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10073         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10074         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10075         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10076         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10077         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10078         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10079         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10080         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10081         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10082         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10083         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10084         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10085         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10086         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10087         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10088         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10089         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10090         * sysdeps/ia64/fpu/w_log.c: Likewise.
10091         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10092         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10093         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10094         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10095         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10096         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10097         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10098         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10099         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10100         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10101         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10102         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10103         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10104         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10105         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10106         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10107         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10108         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10109         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10110         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10111         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10112         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10113         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10114         * sysdeps/ia64/fpu/w_asin.c: Likewise.
10115         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10116         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10117         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10118         * sysdeps/ia64/fpu/w_acos.c: Likewise.
10119         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10120         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10121         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10122         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10123         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10124         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10125         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10127         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10128         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10129         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10130         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10131         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10132         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10133         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10134         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10135         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10136         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10137         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10138         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10139         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10141         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10142         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10143         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10144         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10145         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10146         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10147         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10149         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10150         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10151         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10153         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10155         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10157         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10159         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10161         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10163         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10165         Likewise.
10166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10167         Likewise.
10168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10170         Likewise.
10171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10172         Likewise.
10173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10174         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10175         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10176         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10177         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10178         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10179         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10184         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10185         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10186         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10187         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10189         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10190         and adjusted for new #includes path
10191         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10192         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10193         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10194         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10195         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10196         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10197         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10198         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10199         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10200         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10201         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10202         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10203         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10204         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10205         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10206         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10207         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10208         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10209         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10210         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10211         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10212         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10213         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10214         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10215         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10216         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10217         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10218         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10219         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10220         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10221         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10222         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10223         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10224         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10225         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10226         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10227         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10228         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10229         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10230         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10231         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10232         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10233         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10234         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10235         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10236         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10237         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10238         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10239         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10240         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10241         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10242         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10243         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10244         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10245         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10246         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10247         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10248         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10249         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10250         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10251         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10252         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10253         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10254         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10255         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10256         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10257         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10258         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10259         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10260         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10261         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10262         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10263         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10264         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10265         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10266         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10267         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10268         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10269         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10270         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10271         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10272         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10273         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10274         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10275         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10276         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10277         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10278         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10279         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10280         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10281         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10282         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10283         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10284         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10285         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10286         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10287         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10288         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10289         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10291         Likewise.
10292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10293         Likewise.
10294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10295         Likewise.
10296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10297         Likewise.
10298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10299         Likewise.
10300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10301         Likewise.
10302         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10303         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10304         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10305         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10306         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10307         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10309         Likewise.
10310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10311         Likewise.
10312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10313         Likewise.
10314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10315         Likewise.
10316         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10317         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10318         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10319         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10321 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10323         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10324         __jmp_buf_internal_tag.
10326         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10327         preserve NaN payload if [__mips_nan2008].
10328         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10330         [BZ #21022]
10331         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10333 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10337 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10339         * sysdeps/ia64/strcat.c: Remove file.
10340         * sysdeps/powerpc/strcat.c: Likewise.
10341         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10342         C implementation.
10343         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10344         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10346 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10347             Steven Munroe  <sjmunroe@us.ibm.com>
10348             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10350         [BZ #20822]
10351         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10352         (__lll_lock_elision): Access adapt_count via C11 atomics.
10353         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10354         (__lll_trylock_elision): Likewise.
10355         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10356         (__lll_unlock_elision):  Update adapt_count variable inside the
10357         critical section using C11 atomics.
10359 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10361         * math/test-fenvinline.c (do_test): Disable tests of raised
10362         exceptions if !EXCEPTION_TESTS (FLOAT).
10364 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10366         [BZ #19390]
10367         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10368         maximum string size.
10369         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10370         in pointer addition.
10371         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10372         Likewise.
10374 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10376         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10377         passed to tst-ldconfig-X.sh.
10379 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
10381         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10383 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #21019]
10386         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10387         New syscall entry.
10388         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10389         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10390         lseek.
10392         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10393         power4 glibc for powerpc-linux-gnu.
10395 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10397         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10398         semctl.
10400 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10402         * math/test-nearbyint-except.c: Include <stdbool.h>.
10403         (any_supported): New variable.
10404         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
10405         set any_supported.
10406         (do_test): Return 77 if no floating-point type supported
10407         exceptions.
10409         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
10410         condition on [__mips_hard_float].
10412 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10414         [BZ #21014]
10415         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10416         in pointer addition.
10417         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10419 2017-01-02  Torvald Riegel  <triegel@redhat.com>
10421         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10422         new condvar.
10424 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10426         * scripts/build-many-glibcs.py (Context.checkout): Default
10427         binutils version to 2.28 branch.
10429 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10431         * support/support_format_netent.c (support_format_netent): Work
10432         around alpha struct netent definition difference.
10434 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10436         * support/xwrite.c (xwrite): Use %td for pointer difference.
10438 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10440         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10441         have-tunables only.
10442         (tests-static): Add tst-malloc-usable-static-tunables for
10443         have-tunables only.
10445 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
10447         * scripts/config.guess: Update to version 2017-01-01.
10448         * scripts/config.sub: Update to version 2017-01-01.
10450         * NEWS: Update copyright dates.
10451         * catgets/gencat.c (print_version): Likewise.
10452         * csu/version.c (banner): Likewise.
10453         * debug/catchsegv.sh: Likewise.
10454         * debug/pcprofiledump.c (print_version): Likewise.
10455         * debug/xtrace.sh (do_version): Likewise.
10456         * elf/ldconfig.c (print_version): Likewise.
10457         * elf/ldd.bash.in: Likewise.
10458         * elf/pldd.c (print_version): Likewise.
10459         * elf/sotruss.sh: Likewise.
10460         * elf/sprof.c (print_version): Likewise.
10461         * iconv/iconv_prog.c (print_version): Likewise.
10462         * iconv/iconvconfig.c (print_version): Likewise.
10463         * locale/programs/locale.c (print_version): Likewise.
10464         * locale/programs/localedef.c (print_version): Likewise.
10465         * login/programs/pt_chown.c (print_version): Likewise.
10466         * malloc/memusage.sh (do_version): Likewise.
10467         * malloc/memusagestat.c (print_version): Likewise.
10468         * malloc/mtrace.pl: Likewise.
10469         * manual/libc.texinfo: Likewise.
10470         * nptl/version.c (banner): Likewise.
10471         * nscd/nscd.c (print_version): Likewise.
10472         * nss/getent.c (print_version): Likewise.
10473         * nss/makedb.c (print_version): Likewise.
10474         * posix/getconf.c (main): Likewise.
10475         * scripts/test-installation.pl: Likewise.
10476         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10478         * All files with FSF copyright notices: Update copyright dates
10479         using scripts/update-copyrights.
10480         * intl/plural.c: Regenerated.
10481         * locale/programs/charmap-kw.h: Likewise.
10482         * locale/programs/locfile-kw.h: Likewise.
10484 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10486         [BZ #20593]
10487         Update DNS RR type definitions.
10488         * scripts/gen-rrtypes.py: New file.
10489         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10490         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
10491         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10492         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10493         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10494         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10495         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10496         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10497         ns_t_ta, ns_t_dlv.
10498         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10499         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10500         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10501         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10502         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10503         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10504         Define.
10505         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
10506         entry for ns_t_zxfr.
10508 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10510         [BZ #18784]
10511         CVE-2015-5180
10512         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10513         T_UNSPEC.  Adjust value.
10514         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10515         * resolv/res_query.c (__libc_res_nquery): Likewise.
10516         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10517         QTYPEs.
10518         * resolv/tst-resolv-qtypes.c: New file.
10519         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10520         (tst-resolv-qtypes): Link against libresolv and libpthread.
10522 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10524         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10526 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10528         * manual/tunables.texi: New chapter.
10529         * manual/Makefile (chapters): Add it.
10530         * manual/probes.texi (@node): Point to the Tunables chapter.
10532         * Makeconfig (have-tunables): Check for non-negative instead
10533         of positive.
10534         * configure.ac: Add 'valstring' as a valid value for
10535         --enable-tunables.
10536         * configure: Regenerate.
10537         * elf/Makefile (have-tunables): Check for non-negative instead
10538         of positive.
10539         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10540         dl-tunables.c.
10541         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10542         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10543         (tunables_strdup): Likewise.
10544         (disable_tunables): Likewise.
10545         (parse_tunables): Likewise.
10546         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10547         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10548         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10549         (TUNABLES_FRONTEND_yes): New macro, define as
10550         TUNABLES_FRONTEND_valstring by default.
10551         * manual/install.texi: Document new acceptable values for
10552         --enable-tunables.
10553         * INSTALL: Regenerate.
10555         * config.make.in (have-loop-to-function): Define.
10556         * elf/Makefile (CFLAGS-dl-tunables.c): Add
10557         -fno-tree-loop-distribute-patterns.
10558         * elf/dl-tunables.c: Include libc-internals.h.
10559         (GLIBC_TUNABLES): New macro.
10560         (tunables_strdup): New function.
10561         (parse_tunables): New function.
10562         (min_strlen): New function.
10563         (__tunables_init): Use the new functions and macro.
10564         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10565         * malloc/tst-malloc-usable-tunables.c: New test case.
10566         * malloc/tst-malloc-usable-static-tunables.c: New test case.
10567         * malloc/Makefile (tests, tests-static): Add tests.
10569         * manual/install.texi: Add --enable-tunables option.
10570         * INSTALL: Regenerate.
10571         * README.tunables: New file.
10572         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10573         (before-compile): Generate dl-tunable-list.h early.
10574         * config.h.in: Add HAVE_TUNABLES.
10575         * config.make.in: Add have-tunables.
10576         * configure.ac: Add --enable-tunables option.
10577         * configure: Regenerate.
10578         * csu/init-first.c (__libc_init_first): Move
10579         __libc_init_secure earlier...
10580         * csu/init-first.c (LIBC_START_MAIN):... to here.
10581         Include dl-tunables.h, libc-internal.h.
10582         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10583         binaries.
10584         * elf/Makefile (dl-routines): Add dl-tunables.
10585         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10586         namespace.
10587         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10588         only when !HAVE_TUNABLES.
10589         * elf/rtld.c (process_envvars): Likewise.
10590         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10591         (_dl_sysdep_start): Call __tunables_init.
10592         * elf/dl-tunable-types.h: New file.
10593         * elf/dl-tunables.c: New file.
10594         * elf/dl-tunables.h: New file.
10595         * elf/dl-tunables.list: New file.
10596         * malloc/tst-malloc-usable-static.c: New test case.
10597         * malloc/Makefile (tests-static): Add it.
10598         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10599         Define TUNABLE_NAMESPACE.
10600         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10601         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
10602         callback functions.
10603         (ptmalloc_init): Set tunable values.
10604         * scripts/gen-tunables.awk: New file.
10605         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10606         (_dl_sysdep_start): Call __tunables_init.
10608 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10610         * resolv/resolv.h (RES_BLAST): Deprecate.
10611         * resolv/res_debug.c (p_option): Remove RES_BLAST.
10612         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10613         to RES_BLAST.
10615 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10617         [BZ #19582]
10618         Deprecate RES_USE_INET6.
10619         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10620         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10621         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10622         RES_USE_INET6.
10623         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10624         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10625         (_nss_nisplus_gethostbyaddr_r): Likewise.
10626         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10627         of res_use_inet6.
10628         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10629         instead of RES_USE_INET6.
10630         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10631         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10632         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10633         Likewise.
10634         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10635         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10636         Likewise.
10637         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10638         (_nss_dns_gethostbyname_r): Likewise.
10639         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10640         alternate RES_USE_INET6 handling.
10641         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10642         instead of RES_USE_INET6.
10643         * resolv/res_init.c (res_setoptions): Likewise.
10644         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10645         * resolv/resolv-internal.h: New file.
10646         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10647         make the deprecation warning non-fatal.
10648         * resolv/README (Using the resolver in multi-threaded code): Drop
10649         reference to RES_USE_INET6.
10650         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10651         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10653 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10655         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10656         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10657         tst-resolv-search.
10658         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10659         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10660         with libresolv and libpthread.
10661         * resolv/tst-bug18665.c: New file.
10662         * resolv/tst-bug18665-tcp: Likewise.
10663         * resolv/tst-res_use_inet6: Likewise.
10664         * resolv/tst-resolv-basic: Likewise.
10665         * resolv/tst-resolv-network: Likewise.
10666         * resolv/tst-resolv-search: Likewise.
10667         * support/Makefile (libsupport-routines): Add check_addrinfo,
10668         check_dns_packet, check_hostent, check_netent, resolv_test,
10669         support_format_address_family, support_format_addrinfo,
10670         support_format_dns_packet, support_format_herrno,
10671         support_format_hostent, support_format_netent, support_run_diff,
10672         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10673         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10674         xstrdup, xwrite.
10675         * support/check_addrinfo.c: New file.
10676         * support/check_dns_packet.c: Likewise.
10677         * support/check_hostent.c: Likewise.
10678         * support/check_netent.c: Likewise.
10679         * support/check_nss.h: Likewise.
10680         * support/format_nss.h: Likewise.
10681         * support/resolv_test.c: Likewise.
10682         * support/resolv_test.h: Likewise.
10683         * support/run_diff.h: Likewise.
10684         * support/support_format_address_family.c: Likewise.
10685         * support/support_format_addrinfo.c: Likewise.
10686         * support/support_format_dns_packet.c: Likewise.
10687         * support/support_format_herrno.c: Likewise.
10688         * support/support_format_hostent.c: Likewise.
10689         * support/support_format_netent.c: Likewise.
10690         * support/support_run_diff.c: Likewise.
10691         * support/xaccept.c: Likewise.
10692         * support/xbind.c: Likewise.
10693         * support/xconnect.c: Likewise.
10694         * support/xfclose.c: Likewise.
10695         * support/xfopen.c: Likewise.
10696         * support/xgetsockname.c: Likewise.
10697         * support/xlisten.c: Likewise.
10698         * support/xmemstream.c: Likewise.
10699         * support/xmemstream.h: Likewise.
10700         * support/xpoll.c: Likewise.
10701         * support/xpthread_once.c: Likewise.
10702         * support/xrecvfrom.c: Likewise.
10703         * support/xsendto.c: Likewise.
10704         * support/xsetsockopt.c: Likewise.
10705         * support/xstdio.h: Likewise.
10706         * support/xstrdup.c: Likewise.
10707         * support/support.h (xstrdup): Declare.
10708         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10709         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10710         * support/xthread.h (xpthread_once): Likwise.
10711         * support/xunistd.h (xwrite): Declare.
10713 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10715         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10716         (test_verbose): Declare.
10717         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10718         * support/support_test_main.c (default_options): Likewise.
10719         (usage, support_test_main): Handle 'v'.
10720         (test_verbose): Define.
10721         * support/tst-support_record_failure.c (do_test): Use
10722         test_verbose.
10723         * support/tst-support_record_failure-2.sh (different_status): Add
10724         --verbose test.
10726 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10728         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10729         test failures are recorded.
10730         * support/check.c (support_print_failure_impl): Call
10731         support_record_failure.
10732         (support_exit_failure_impl): Call support_record_failure if status
10733         indicates failure.
10734         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10735         * support/xasprintf.c (xasprintf): Likewise.
10736         * support/xfork.c (xfork): Likewise.
10737         * support/xpthread_check_return.c (xpthread_check_return):
10738         Likewise.
10739         * support/xsocket.c (xsocket): Likeweise.
10740         * support/xwaitpid.c (xwaitpid): Likewise.
10741         * support/support_record_failure.c (struct test_failures): Adjust
10742         to coding style.
10743         * support/support_test_verify_impl.c (support_test_verify_impl):
10744         Adjust error messages.
10745         * support/tst-support_record_failure-2.sh (different_status):
10746         Adjust error messages.
10748 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10750         * support/namespace.h: New file.
10751         * support/support_become_root.c: Likewise.
10752         * support/support_enter_network_namespace.c: Likewise.
10753         * support/tst-support-namespace.c: Likewise.
10754         * support/xsocket.c: Likewise.
10755         * support/xsocket.h: Likewise.
10756         * support/Makefile (libsupport-routines): Add support_become_root,
10757         support_enter_network_namespace, xsocket.
10758         (tests): Add tst-support-namespace.
10760 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10762         [BZ #17252]
10763         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10764         __USE_GNU.
10766 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10768         [BZ #13165]
10769         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10770         use new algorithm.
10771         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10772         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10773         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10774         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10775         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10776         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10777         __condvar_cleanup_waiting, __condvar_dec_grefs,
10778         __pthread_cond_wait_common): New.
10779         (__condvar_cleanup): Remove.
10780         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10781         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10782         Likewise.
10783         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10784         Likewise.
10785         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10786         * nptl/tst-cond1.c: Add comment.
10787         * nptl/tst-cond20.c (do_test): Adapt.
10788         * nptl/tst-cond22.c (do_test): Likewise.
10789         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10790         structure.
10791         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10792         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10793         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10794         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10795         Likewise.
10796         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10797         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10798         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10799         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10800         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10801         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10804         Likewise.
10805         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10806         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10807         (COND_CLOCK_BITS): Adapt.
10808         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10809         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10810         __PTHREAD_COND_SHARED_MASK): New.
10811         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10812         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10813         * nptl/nptl_lock_constants.pysym: Adapt.
10814         * nptl/test-cond-printers.py: Adapt.
10815         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10816         cond_compat_check_and_clear): Adapt.
10817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10818         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10819         (__pthread_cond_timedwait): ... and move here.
10820         * nptl/DESIGN-condvar.txt: Remove file.
10821         * nptl/lowlevelcond.sym: Likewise.
10822         * nptl/pthread_cond_timedwait.c: Likewise.
10823         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10824         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10825         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10826         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10827         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10828         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10829         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10830         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10832         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10833         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10834         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10836         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10838         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10840 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10842         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10843         (fromfp): New declaration.
10844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10847         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10852         * math/math.h: Include <bits/types.h>.
10853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10854         constant and macro.
10855         (FP_INT_DOWNWARD): Likewise.
10856         (FP_INT_TOWARDZERO): Likewise.
10857         (FP_INT_TONEARESTFROMZERO): Likewise.
10858         (FP_INT_TONEAREST): Likewise.
10859         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10860         (fromfpf): Likewise.
10861         (fromfpl): Likewise.
10862         (ufromfp): Likewise.
10863         (ufromfpf): Likewise.
10864         (ufromfpl): Likewise.
10865         (fromfpx): Likewise.
10866         (fromfpxf): Likewise.
10867         (fromfpxl): Likewise.
10868         (ufromfpx): Likewise.
10869         (ufromfpxf): Likewise.
10870         (ufromfpxl): Likewise.
10871         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10872         s_fromfpxF and s_ufromfpxF.
10873         * math/gen-fromfp-tests.py: New file.
10874         * math/gen-fromfp-tests-inputs: Likewise.
10875         * math/libm-test.inc: Include <stdint.h>
10876         (check_intmax_t): New function.
10877         (check_uintmax_t): Likewise.
10878         (struct test_fiu_M_data): New type.
10879         (struct test_fiu_U_data): Likewise.
10880         (RUN_TEST_fiu_M): New macro.
10881         (RUN_TEST_LOOP_fiu_M): Likewise.
10882         (RUN_TEST_fiu_U): Likewise.
10883         (RUN_TEST_LOOP_fiu_U): Likewise.
10884         (fromfp_test_data): New array.
10885         (fromfp_test): New function.
10886         (fromfpx_test_data): New array.
10887         (fromfpx_test): New function.
10888         (ufromfp_test_data): New array.
10889         (ufromfp_test): New function.
10890         (ufromfpx_test_data): New array.
10891         (ufromfpx_test): New function.
10892         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10893         ufromfpx_test.
10894         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10895         characters.
10896         * math/test-tgmath-ret.c: Include <stdint.h>.
10897         (rm): New variable.
10898         (width): Likewise.
10899         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10900         called function.
10901         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10902         CHECK_RET_CONST_TYPE.
10903         (CHECK_RET_CONST_DOUBLE): Likewise.
10904         (CHECK_RET_CONST_LDOUBLE): Likewise.
10905         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10906         macros.
10907         (fromfp): New CHECK_RET_CONST call.
10908         (ufromfp): Likewise.
10909         (fromfpx): Likewise.
10910         (ufromfpx): Likewise.
10911         (do_test): Call check_return_fromfp, check_return_ufromfp,
10912         check_return_fromfpx and check_return_ufromfpx.
10913         * math/test-tgmath.c: Include <stdint.h>
10914         (NCALLS): Increase to 138.
10915         (F(compile_test)): Initialize i.  Call fromfp functions.
10916         (F(fromfp)): New function.
10917         (F(fromfpx)): Likewise.
10918         (F(ufromfp)): Likewise.
10919         (F(ufromfpx)): Likewise.
10920         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10921         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10922         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10923         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10924         ufromfpxl.
10925         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10926         ufromfp and ufromfpx.
10927         * math/fromfp.h: New file.
10928         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10929         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10930         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10931         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10932         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10933         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10934         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10935         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10936         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10937         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10938         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10939         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10940         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10941         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10942         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10943         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10944         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10945         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10947         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10948         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10949         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10950         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10951         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10952         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10953         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10954         ufromfp, fromfpx and ufromfpx.
10955         (CFLAGS-nldbl-fromfp.c): New variable.
10956         (CFLAGS-nldbl-fromfpx.c): Likewise.
10957         (CFLAGS-nldbl-ufromfp.c): Likewise.
10958         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10959         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10960         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10961         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10962         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10963         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10964         * sysdeps/nacl/libm.abilist: Update.
10965         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10968         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10969         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10970         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10971         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10972         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10973         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10974         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10975         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10976         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10978         Likewise.
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10980         Likewise.
10981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10982         Likewise.
10983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10984         Likewise.
10985         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10986         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10987         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10988         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10991         Likewise.
10992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10993         Likewise.
10994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10995         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10996         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10998 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11000         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11001         compat-gethnamaddr.
11002         (CPPFLAGS): Remove.
11003         * resolv/gethnamaddr.c: Rename ...
11004         * resolv/compat-gethnamaddr.c: ... to this file.
11005         (_endhtent): Make static.
11006         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11007         symbol.
11008         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11009         compat symbol.
11010         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11011         symbol.
11012         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11013         Turn into compat symbol.
11014         * include/resolv.h (_endhtent): Remove declaration.
11016 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11018         * bits/types.h (__intmax_t): New typedef.
11019         (__uintmax_t): Likewise.
11020         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11021         (intmax_t): Define using __intmax_t.
11022         (uintmax_t): Define using __uintmax_t.
11024         * support/Makefile (tests-special): Make definition conditional on
11025         [$(run-built-tests) = yes].
11026         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11027         on [$(run-built-tests) = yes].
11029 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11031         * Rules (tests): Add tests-printers-programs to tests to be
11032         built.
11034 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11036         * sysvipc/Makefile (tests): Add test-sysvshm.
11037         * sysvipc/test-sysvshm.c: New file.
11039         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11040         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11041         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11042         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11043         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11044         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11045         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11046         Likewise.
11047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11048         Likewise.
11049         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11050         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11051         is defined.
11053         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11054         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11055         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11056         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11057         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11058         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11059         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11060         Likewise.
11061         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11062         Likewise.
11063         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11064         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11065         defined.
11067         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11068         oldshmctl.
11069         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11070         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11071         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11072         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11073         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11074         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11075         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11080         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11081         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11082         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11083         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11084         implementation.
11085         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11086         if it is defined.
11088         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11089         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11090         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11091         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11092         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11093         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11094         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11095         Likewise.
11096         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11097         Likewise.
11098         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11099         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11100         Define to __NR_osf_shmat.
11101         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11102         defined.
11104         * sysvipc/Makefile (tests): Add test-sysvsem.
11105         * sysvipc/test-sysvsem.c: New file.
11107         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11108         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11109         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11110         Likewise.
11111         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11112         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11113         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11114         Likewise.
11115         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11116         Likewise.
11117         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11118         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11119         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11120         add a comment about s390 syscall difference from default one.
11121         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11122         syscall if it is defined.
11124         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11125         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11126         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11127         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11128         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11129         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11130         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11131         Likewise.
11132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11133         Likewise.
11134         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11135         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11136         defined.
11138         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11139         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11140         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11141         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11142         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11143         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11144         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11145         Likewise.
11146         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11147         Likewise.
11148         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11149         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11150         if it is defined.
11152         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11153         oldsemctl.
11154         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11155         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11156         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11157         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11158         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11159         implementation.
11160         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11161         syscall if it is defined.
11162         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11163         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11164         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11165         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11166         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11167         Likewise.
11168         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11170         * sysvipc/Makefile (tests): Add test-sysvmsg.
11171         * sysvipc/test-sysvmsg.c: New file.
11172         * support/check.h (FAIL_UNSUPPORTED): New define.
11174         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11175         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11176         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11177         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11178         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11179         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11180         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11183         Likewise.
11184         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11185         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11186         define.
11188         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11189         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11190         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11191         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11192         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11193         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11194         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11195         Likewise.
11196         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11197         Likewise.
11198         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11199         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11200         if defined.
11202         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11203         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11204         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11205         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11206         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11207         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11208         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11211         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11214         if defined.
11215         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11217         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11218         oldmsgctl.
11219         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11220         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11221         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11222         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11223         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11224         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11225         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11226         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11227         Likewise.
11228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11229         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11230         implementation.
11231         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11232         if defined.
11234         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11235         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11236         definition and define its own.
11237         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11238         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11239         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11240         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11241         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11242         definitions to common header.
11243         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11244         operation from ipc_ops.h.
11246         * sysdeps/unix/sysv/linux/kernel-features.h
11247         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11248         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11249         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11250         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11251         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11252         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11253         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11254         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11255         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11256         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11257         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11258         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11259         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11260         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11261         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11263 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11265         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11266         overflow in pointer addition.
11268 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11270         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11271         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11273         (strchr): Add __strchr_power8 to list of strchr functions.
11274         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11275         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11276         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11277         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11278         (strchr): Add __strchr_power8 to ifunc list.
11279         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11280         (__strchrnul): Add __strchrnul_power8 to ifunc list.
11281         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11282         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11284 2016-12-28  Florian Weimer  <fweimer@redhat.com>
11286         * support/Makefile (libsupport-routines): Add
11287         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11288         (tests): Add tst-support_record_failure.
11289         (tests-special): tst-support_record_failure-2.
11290         (tst-support_record_failure-2.out): Depend on
11291         tst-support_record_failure-2.sh and tst-support_record_failure.
11292         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11293         (support_test_verify_impl, support_record_failure)
11294         (support_report_failure, support_report_failure_reset): Declare.
11295         * support/support_test_main.c (adjust_exit_status): New function.
11296         (support_test_main): Call it to incorporate record test failures.
11297         * support/support_test_verify_impl.c: New file.
11298         * support/support_record_failure.c: Likewise.
11299         * support/tst-support_record_failure.c: Likewise.
11300         * support/tst-support_record_failure-2.sh: Likewise.
11301         * support/xunistd.h: Likewise.
11302         * support/xfork.c: Likewise.
11303         * support/xwaitpid.c: Likewise.
11305 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
11307         * scripts/check-c++-types.sh: Add comments.
11309 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
11311         [BZ #19514]
11312         * resolv/res_send.c: Fix typo in comment.
11313         * sysdeps/i386/i386-mcount.S: Likewise.
11314         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11315         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11316         * sysdeps/sparc/sparc-mcount.S: Likewise.
11318 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11320         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11321         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11322         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11323         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11324         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11325         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11326         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11327         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11329 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11331         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11333 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11335         [BZ #17252]
11336         * posix/unistd.h (getentropy): Declare.
11338 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11340         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11341         Remove.
11342         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11343         (cmd): Remove spoof, nospoof, spoofalert.
11344         (parse_line): Ignore spoof-related lines.
11345         (do_init): Do not process RESOLV_SPOOF_CHECK.
11347 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11349         [BZ #20964]
11350         sunrpc: Always obtain AF_INET addresses from NSS.
11351         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11352         * sunrpc/rpc_gethostbyname.c: New file.
11353         * sunrpc/Makefile (routines): Add it.
11354         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11355         * sunrpc/clnt_simp.c (callrpc): Likewise.
11356         * sunrpc/getrpcport.c (getrpcport): Likewise.
11358 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11360         * sunrpc/rpcinfo.c: Remove.
11361         * sunrpc/Makefile: Remove comments referring to rpcinfo.
11363 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11365         [BZ #19387]
11366         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11367         addition.
11368         * string/test-memchr.c (do_test): Remove alignment limitation.
11369         (test_main): Add test that trigger BZ #19387.
11371 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11373         [BZ #7065]
11374         Enable stack protectore if requested by ./configure.
11375         * Makeconfig (+stack-protector): New variable.
11376         (+cflags): Use it.
11378 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11380         [BZ #7065]
11381         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11383         (__rt_sigreturn_stub): Use inhibit_stack_protector.
11384         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11385         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11387 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11389         [BZ #7065]
11390         * login/Makefile (pt_chown-cflags): Remove.
11391         * nscd/Makefile (CFLAGS-nscd): Likewise.
11392         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11394 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11396         [BZ #7065]
11397         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11398         non-libc-linking testcase.
11400 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11401             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11402             Florian Weimer  <fweimer@redhat.com>
11404         [BZ #7065]
11405         PLT avoidance for __stack_chk_fail*.
11406         * debug/Makefile (CFLAGS-stack_chk_fail.c)
11407         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
11408         * debug/stack_chk_fail.c (__stack_chk_fail): Add
11409         __stack_chk_fail_local alias.
11410         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11411         (__stack_chk_fail): Turn into hidden reference to
11412         __stack_chk_fail_local.
11414 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11416         [BZ #7065]
11417         * configure.ac: Add check for unsupported stack-protection level.
11418         (libc_cv_predef_stack_protector): Remove.
11419         (no_ssp): New variable.
11420         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11421         (stack_protector): Set to -fno-stack-protector similarly.
11422         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11423         (libc_cv_asm_set_directive): Likewise.
11424         (libc_cv_protected_data): Likewise.
11425         (libc_cv_z_combreloc): Likewise.
11426         (libc_cv_hashstyle): Likewise.
11427         (libc_cv_has_glob_dat): Likewise.
11428         (libc_cv_output_format): Likewise.
11429         (libc_cv_output_format): Likewise.
11430         (libc_cv_ehdr_start): Likewise.
11431         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11432         (LIBC_LINKER_FEATURE): Likewise.
11433         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11435 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11437         [BZ #7065]
11438         * elf/Makefile (dummy-stack-chk-fail): New.
11439         (librtld.map): Use it.
11441 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11443         [BZ #7065]
11444         Compile the dynamic linker without stack protection.
11445         * elf/Makefile (elide-stack-protector): New.
11446         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11447         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11448         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11449         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11451 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11453         [BZ #7065]
11454         * config.make.in (have-ssp, no-stack-protector): New.
11455         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11456         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11457         (CFLAGS-sbrk.op): Likewise.
11458         (CFLAGS-brk.o): Likewise.
11459         (CFLAGS-brk.op): Likewise.
11460         * string/Makefile (CFLAGS-memcpy.c): Likewise.
11461         (CFLAGS-wordcopy.c): Likewise.
11463 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11465         [BZ #7065]
11466         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11467         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11468         * include/libc-symbols.h (inhibit_stack_protector): New macro.
11469         (__ifunc_resolver): Use it.
11470         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11471         inhibit_stack_protector.
11472         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11473         * elf/ifuncmain7.c (foo_ifunc): Likewise.
11474         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11475         (foo_protected_ifunc): Likewise.
11476         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11477         (foo_protected_ifunc): Likewise.
11478         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11479         * sysdeps/nacl/nacl_interface_query.c
11480         (nacl_interface_query_ifunc): Likewise.
11481         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11482         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11483         Likewise.
11484         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11485         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11486         the generated vDSO syscall resolver.
11488 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11489             Florian Weimer  <fweimer@redhat.com>
11491         [BZ #7065]
11492         Initialize the stack guard earlier when linking statically.
11493         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11494         (__pthread_initialize_minimal): Declare.
11495         * csu/libc-start.c (__pthread_initialize_minimal): Remove
11496         declaration.
11497         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
11498         stack canary and apply_irel initialization up.  Call
11499         __pthread_initialize_minimal only if linked in.
11500         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11501         constant values.
11502         (__pthread_initialize_minimal): Remove.
11503         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11504         (__pthread_initialize_minimal_internal): Do not call
11505         __libc_setup_tls.
11507 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11509         [BZ #7065]
11510         * configure.ac (libc_cv_ssp): Move up.
11511         (libc_cv_ssp_strong): Likewise.
11512         (libc_cv_ssp_all): New.
11513         (stack_protector): Augment, adding -fstack-protector-all.
11514         (no_stack_protector): New.
11515         (STACK_PROTECTOR_LEVEL): New.
11516         (AC_ARG_ENABLE(stack-protector)): New configure flag.
11517         * manual/install.texi (--enable-stack-protector): Document it.
11518         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11520 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
11522         * README.pretty-printers: Must specify CPPFLAGS-* also.
11523         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11524         (CPPFLAGS-test-mutex-printers.c): Define.
11525         (CPPFLAGS-test-condattr-printers.c): Define.
11526         (CPPFLAGS-test-cond-printers.c): Define.
11527         (CPPFLAGS-test-rwlockattr-printers.c): Define.
11528         (CPPFLAGS-test-rwlock-printers.c): Define.
11530         * nss/Makefile [ifeq (yes,$(have-thread-library))]
11531         (tests): Add tst-cancel-getpwuid_r.
11532         * nss/tst-cancel-getpwuid_r.c: New file.
11534         [BZ #11941]
11535         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11536         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11537         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11538         tst-nodelete-dlclose.
11539         (modules-names): Add tst-nodelete-dlclose-dso and
11540         tst-nodelete-dlclose-plugin.
11541         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11542         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11543         ($(objpfx)tst-nodelete-dlclose): Define.
11544         ($(objpfx)tst-nodelete-dlclose.out): Define.
11546 2016-12-23  Florian Weimer  <fweimer@redhat.com>
11548         * scripts/test_printers_common.py: Log GDB output in case of
11549         Python detection failure.
11551 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11553         * configure.ac: Check for python3 or python.
11554         * configure: Regenerated.
11555         * config.make.in (PYTHON): New variable.
11556         * benchtests/Makefile: Don't define PYTHON.
11557         (bench): Define target only if PYTHON was defined.
11558         * Rules: Don't define PYTHON.
11559         Define pretty printer targets only if PYTHON was defined.
11560         (tests-printers): Add to tests-unsupported if PYTHON is not
11561         found.
11562         (python-flags, python-invoke): Remove.
11563         (tests-printers-out): Use PYTHON instead of python-invoke.
11565 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #20978]
11568         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11569         Compare name == NULL, not name != NULL.
11571         * manual/texinfo.tex: Update to version 2016-09-18.18 with
11572         trailing whitespace removed.
11573         * scripts/config.guess: Update to version 2016-10-02.
11574         * scripts/config.sub: Update to version 2016-11-19.
11575         * scripts/install-sh: Update to version 2016-01-11.22.
11576         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11577         * scripts/move-if-change: Update to version 2016-01-11 22:04.
11579 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
11581         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11582         (do_one_test) Restore original string so iteration works.
11583         * string/string-inlines.c (do_test): Create better input strings.
11584         (test_main) Reduce number of testruns.
11585         * string/string-inlines.c (__old_strsep_1c): New function.
11586         (__old_strsep_2c): Likewise.
11587         (__old_strsep_3c): Likewise.
11588         * string/strsep.c (__strsep): Remove case of small delim string.
11589         Call strcspn directly rather than strpbrk.
11590         * string/bits/string2.h (__strsep): Remove define.
11591         (__strsep_1c): Remove.
11592         (__strsep_2c): Remove.
11593         (__strsep_3c): Remove.
11594         (strsep): Remove.
11595         * sysdeps/unix/sysv/linux/internal_statvfs.c
11596         (__statvfs_getflags): Rename to __strsep.
11598 2016-12-21  Florian Weimer  <fweimer@redhat.com>
11600         * csu/libc-tls.c (_dl_tls_setup): Remove.
11601         * elf/dl-tls.c (_dl_tls_setup): Likewise.
11602         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11603         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11605 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11607         [BZ #7065]
11608         * sysdeps/x86_64/Makefile [$(subdir) = elf]
11609         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11611 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11612             Florian Weimer  <fweimer@redhat.com>
11614         [BZ #7065]
11615         * csu/Makefile (tests): Empty assignment and document it.
11616         (tests-static): Remove.
11617         * csu/tst-empty.c: Move to...
11618         * misc/tst-empty.c: ... here.  Switch to new test driver.
11619         * csu/tst-atomic.c: Move to...
11620         * misc/tst-atomic.c: ... here.  Switch to new test driver.
11621         * csu/tst-atomic-long.c: Move to...
11622         * misc/tst-atomic-long.c: ... here.
11623         * misc/Makefile (tests): Add tst-empty, tst-atomic,
11624         tst-atomic-long.
11625         (tests-static): Add tst-empty.
11627 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
11629         * manual/nss.texi: Change incorrect @vtable to @table.
11630         * manual/arith.texi: Convert @tables of variables to @vtables
11631         and remove unnecessary indexing.
11632         * manual/filesys.texi: Likewise.
11633         * manual/llio.texi: Likewise.
11634         * manual/memory.texi: Likewise.
11635         * manual/process.texi: Likewise.
11636         * manual/resource.texi: Likewise.
11637         * manual/search.texi: Likewise.
11638         * manual/signal.texi: Likewise.
11639         * manual/socket.texi: Likewise.
11640         * manual/stdio.texi: Likewise.
11641         * manual/sysinfo.texi: Likewise.
11642         * manual/syslog.texi: Likewise.
11643         * manual/terminal.texi: Likewise.
11644         * manual/time.texi: Likewise.
11645         * manual/users.texi: Likewise.
11647 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11649         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11650         (roundeven): New declaration.
11651         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11652         macro.
11653         * math/Versions (roundeven): New libm symbol at version
11654         GLIBC_2.25.
11655         (roundevenf): Likewise.
11656         (roundevenl): Likewise.
11657         * math/Makefile (libm-calls): Add s_roundevenF.
11658         * math/libm-test.inc (roundeven_test_data): New array.
11659         (roundeven_test): New function.
11660         (main): Call roundeven_test.
11661         * math/test-tgmath.c (NCALLS): Increase to 134.
11662         (F(compile_test)): Call roundeven.
11663         (F(roundeven)): New function.
11664         * manual/arith.texi (Rounding Functions): Document roundeven,
11665         roundevenf and roundevenl.
11666         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11667         * include/math.h (roundeven): Use libm_hidden_proto.
11668         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11669         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11670         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11671         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11675         roundeven.
11676         (CFLAGS-nldbl-roundeven.c): New variable.
11677         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11678         * sysdeps/nacl/libm.abilist: Update.
11679         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11680         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11681         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11683         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11684         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11685         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11689         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11690         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11692         Likewise.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11694         Likewise.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11696         Likewise.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11705         Likewise.
11706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11707         Likewise.
11708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11712 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11714         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11715         preprocessor indentation inside #if.
11717 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11719         * math/libm-test.inc (fmt_ftostr): New function.
11720         (print_float, check_float_internal): Replace some uses of
11721         FTOSTR with uses of fmt_ftostr.
11722         (print_max_error, print_complex_max_error, print_function_ulps)
11723         (print_complex_function_ulps): Remove uses of the macros
11724         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11725         * math/test-double.h (FTOSTR): Define to strfromd.
11726         (PRINTF_EXPR): Delete.
11727         (PRINTF_XEXPR): Likewise.
11728         (PRINTF_NEXPR): Likewise.
11729         * math/test-float.h (FTOSTR): Define to strfromf.
11730         (PRINTF_EXPR): Delete.
11731         (PRINTF_XEXPR): Likewise.
11732         (PRINTF_NEXPR): Likewise.
11733         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11734         (PRINTF_EXPR): Delete.
11735         (PRINTF_XEXPR): Likewise.
11736         (PRINTF_NEXPR): Likewise.
11738 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11740         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11741         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11742         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11743         (__lll_lock_elision): Decrement adapt_count while unlocking
11744         instead of before locking.
11745         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11746         (__lll_trylock_elision): Likewise.
11747         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11748         (__lll_unlock_elision): Likewise.
11750 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11752         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11753         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11754         Use __libc_tbegin_retry macro.
11756 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11758         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11759         Add -msoft-float.
11760         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11761         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11762         Use __libc_t* transaction macros instead of __builtin_t*.
11763         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11764         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11766 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11768         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11769         (__lll_lock_elision): Use atomics to load / store adapt_count.
11770         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11771         (__lll_trylock_elision): Likewise.
11773 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11775         Do not require memset elimination in explicit_bzero test.
11776         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11777         (enum test_expectation): Add NO_EXPECTATIONS.
11778         (subtests): NO_EXPECTATIONS for ordinary clear.
11779         (check_test_buffer): Handle NO_EXPECTATIONS.
11780         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11782 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11784         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11785         (fmaxmag): New declaration.
11786         (fminmag): Likewise.
11787         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11788         macro.
11789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11790         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11791         (fmaxmagf): Likewise.
11792         (fmaxmagl): Likewise.
11793         (fminmag): Likewise.
11794         (fminmagf): Likewise.
11795         (fminmagl): Likewise.
11796         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11797         * math/s_fmaxmag_template.c: New file.
11798         * math/s_fminmag_template.c: Likewise.
11799         * math/libm-test.inc (fmaxmag_test_data): New array.
11800         (fmaxmag_test): New function.
11801         (fminmag_test_data): New array.
11802         (fminmag_test): New function.
11803         (main): Call fmaxmag_test and fminmag_test.
11804         * math/test-tgmath.c (NCALLS): Increase to 132.
11805         (F(compile_test)): Call fmaxmag and fminmag.
11806         (F(fminmag)): New function.
11807         (F(fmaxmag)): Likewise.
11808         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11809         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11810         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11811         fminmag.
11812         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11813         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11814         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11815         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11816         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11817         and fminmag.
11818         (CFLAGS-nldbl-fmaxmag.c): New variable.
11819         (CFLAGS-nldbl-fminmag.c): Likewise.
11820         * sysdeps/nacl/libm.abilist: Update.
11821         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11822         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11823         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11824         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11826         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11829         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11831         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11834         Likewise.
11835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11836         Likewise.
11837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11838         Likewise.
11839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11840         Likewise.
11841         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11842         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11843         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11844         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11845         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11847         Likewise.
11848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11849         Likewise.
11850         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11851         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11854 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11856         [BZ #20973]
11857         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11858         wake-up in robust mutexes.
11859         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11861 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11863         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11864         (CFLAGS-bench-fmaxf.c): New rule.
11865         (CFLAGS-bench-fminf.c): Likewise.
11866         * benchtests/fmaxf-inputs: New file.
11867         * benchtests/fminf-inputs: Likewise.
11869         * benchtests/Makefile (bench-math): Add fmin and fmax.
11870         (CFLAGS-bench-fmax.c): New rule.
11871         (CFLAGS-bench-fmin.c): Likewise.
11872         * benchtests/fmax-inputs: New file.
11873         * benchtests/fmin-inputs: Likewise.
11875         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11876         parenthesis.
11877         (CMDLINE_PROCESS): Define using function instead of macro.
11878         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11879         of test-skeleton.
11880         * benchtests/bench-memchr.c: Likewise.
11881         * benchtests/bench-memcmp.c: Likewise.
11882         * benchtests/bench-memcpy-large.c: Likewise.
11883         * benchtests/bench-memcpy.c: Likewise.
11884         * benchtests/bench-memmem.c: Likewise.
11885         * benchtests/bench-memmove-large.c: Likewise.
11886         * benchtests/bench-memmove.c: Likewise.
11887         * benchtests/bench-memset-large.c: Likewise.
11888         * benchtests/bench-memset.c: Likewise.
11889         * benchtests/bench-rawmemchr.c: Likewise.
11890         * benchtests/bench-strcasecmp.c: Likewise.
11891         * benchtests/bench-strcasestr.c: Likewise.
11892         * benchtests/bench-strcat.c: Likewise.
11893         * benchtests/bench-strchr.c: Likewise.
11894         * benchtests/bench-strcmp.c: Likewise.
11895         * benchtests/bench-strcpy.c: Likewise.
11896         * benchtests/bench-strcpy_chk.c: Likewise.
11897         * benchtests/bench-strlen.c: Likewise.
11898         * benchtests/bench-strncasecmp.c: Likewise.
11899         * benchtests/bench-strncmp.c: Likewise.
11900         * benchtests/bench-strncpy.c: Likewise.
11901         * benchtests/bench-strnlen.c: Likewise.
11902         * benchtests/bench-strpbrk.c: Likewise.
11903         * benchtests/bench-strrchr.c: Likewise.
11904         * benchtests/bench-strsep.c: Likewise.
11905         * benchtests/bench-strspn.c: Likewise.
11906         * benchtests/bench-strstr.c: Likewise.
11907         * benchtests/bench-strtok.c: Likewise.
11909 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11911         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11912         stepping identification.
11913         (init_cpu_features): Add handle of Haswell.
11915 2016-11-25  Jim Meyering  <meyering@fb.com>
11917         [BZ #20386]
11918         Let gcc detect assert(a = 1) errors.
11919         * assert/assert.h (assert): Rewrite, retaining the old definintion
11920         when required, but otherwise putting the expression as-is in an "if"
11921         expression (hence, with no added parentheses) within a statement
11922         expression.
11924 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11926         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11927         DSO.
11929 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11931         * Rules (python-flags, python-invoke): New.
11932         ($(test-printers-out)): Use $(python-flags).
11934 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11936         * manual/arith.texi (Math Error Reporting): Document that sNaN
11937         arguments are not considered domain errors.
11939 2016-12-16  Zack Weinberg <zackw@panix.com>
11940             Florian Weimer <fweimer@redhat.com>
11941             Nick Mathewson <nickm@torproject.org>
11943         * string/explicit_bzero.c: New routine.
11944         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11945         * string/Makefile (routines, strop-tests, tests): Add them.
11946         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11947         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11949         * debug/explicit_bzero_chk.c: New routine.
11950         * debug/Makefile (routines): Add it.
11951         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11952         * string/bits/string3.h: Fortify explicit_bzero.
11954         * manual/string.texi: Document explicit_bzero.
11955         * NEWS: Mention addition of explicit_bzero.
11957         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11958         data before returning, using explicit_bzero.
11959         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11960         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11961         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11963         * include/string.h: Redirect internal uses of explicit_bzero
11964         to __explicit_bzero_chk[_internal].
11965         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11966         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11967         * sysdeps/arm/nacl/libc.abilist
11968         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11969         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11970         * sysdeps/unix/sysv/linux/arm/libc.abilist
11971         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11972         * sysdeps/unix/sysv/linux/i386/libc.abilist
11973         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11974         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11975         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11976         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11977         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11979         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11981         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11986         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11987         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11988         * sysdeps/unix/sysv/linux/sh/libc.abilist
11989         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11990         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11993         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11994         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11995         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11996         Add entries for explicit_bzero and __explicit_bzero_chk.
11998 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12000         * math/fenv.h
12001         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12002         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12003         * math/test-fe-snans-always-signal.c: New file.
12004         * math/Makefile (tests): Add test-fe-snans-always-signal.
12005         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12006         * manual/arith.texi (Infinity and NaN): Document
12007         FE_SNANS_ALWAYS_SIGNAL.
12009 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12011         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12012         bracket.
12014 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12016         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12017         before calling execv.
12019 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12021         [BZ #20971]
12022         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12023         overflow in pointer addition.
12024         * string/test-memchr.c (do_test): Add an argument to pass as
12025         the size on memchr.
12026         (test_main): Add check for SIZE_MAX.
12028 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12030         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12031         (libm-calls): Add w_scalblnF.
12032         * math/w_scalbln.c: Remove.
12033         * math/w_scalblnf.c: Likewise.
12034         * math/w_scalblnl.c: Likewise.
12035         * math/w_scalbln_template.c: New file with type-generic
12036         implementation based on math/w_scalbln.c.
12037         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12038         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12040 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12042         [BZ #20947]
12043         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12044         either is a signaling NaN.
12045         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12046         follow fmaxl more closely.
12047         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12048         when either is a signaling NaN.
12049         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12050         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12051         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12052         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12053         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12054         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12055         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12056         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12057         (fmin_test_data): Likewise.
12059 2016-12-15  Andreas Schwab  <schwab@suse.de>
12061         * support/support_test_main.c (support_test_main): Don't shadow
12062         file-local variable test_pid.
12064 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12066         [BZ #20947]
12067         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12068         either is a signaling NaN.
12069         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12071 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12073         [BZ #20947]
12074         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12075         when either is a signaling NaN.
12076         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12078         * bits/long-double.h: New file.
12079         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12080         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12081         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12082         * sysdeps/mips/bits/long-double.h: Likewise.
12083         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12084         * math/Makefile (headers): Add bits/long-double.h.
12085         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12086         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12087         <bits/wordsize.h>.
12088         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12089         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12090         * math/math.h: Do not include <bits/mathdef.h>.
12091         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12092         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12093         inclusion.
12094         * sysdeps/ia64/bits/mathdef.h: Remove file.
12095         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12096         * sysdeps/mips/bits/mathdef.h: Likewise.
12097         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12098         * sysdeps/s390/bits/mathdef.h: Likewise.
12099         * sysdeps/sparc/bits/mathdef.h: Likewise.
12100         * sysdeps/x86/bits/mathdef.h: Likewise.
12101         * sysdeps/s390/s390-32/bits/wordsize.h
12102         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12103         conditional code.
12104         * sysdeps/s390/s390-64/bits/wordsize.h
12105         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12108         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12109         Likewise.
12110         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12111         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12112         Likewise.
12113         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12114         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12115         Likewise.
12117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12118         <linux/falloc.h>.
12119         (FALLOC_FL_KEEP_SIZE): Remove.
12120         (FALLOC_FL_PUNCH_HOLE): Likewise.
12121         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12122         (FALLOC_FL_ZERO_RANGE): Likewise.
12124 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12126         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12128 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12130         * sysdeps/unix/sysv/linux/renameat.c: New file.
12131         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12133         * sysdeps/unix/sysv/linux/rename.c: New file.
12134         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12136 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12138         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12139         * string/strtok.c (strtok): Change to tailcall __strtok_r.
12140         * string/strtok_r.c (__strtok_r): Optimize for performance.
12141         * string/string-inlines.c (__old_strtok_r_1c): New function.
12142         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12144 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12146         * math/Makefile (gen-libm-calls): Add w_log1pF.
12147         (libm-calls): Remove w_log1pF.
12148         * math/w_log1p.c: Remove.
12149         * math/w_log1pf.c: Likewise.
12150         * math/w_log1pl.c: Likewise.
12151         * math/w_log1p_template.c: New file with type-generic
12152         implementation based on math/w_log1p.c.
12153         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12154         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12156 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12158         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12160 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12162         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12163         kernel version to 4.9.
12165 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12167         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12168         ($(inst_libdir)/libm.a): Fix rule to create the target only.
12170 2016-12-13  Andreas Schwab  <schwab@suse.de>
12172         * sysdeps/powerpc/dl-procinfo.c: Don't define
12173         _dl_powerpc_platforms.
12174         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12175         constants instead of referencing _dl_powerpc_platforms.
12176         (_dl_platform_string): Remove.
12178 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12180         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12182 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12184         * Rules (binaries-shared-tests, binaries-pie-tests)
12185         (binaries-static-tests): Link with $(link-extra-libs-tests).
12186         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12187         Remove $(link-extra-libs-tests).
12189 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12191         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12192         (sysdep_routines): Add strncmp_power9.
12193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12194         (strncmp): Add __strncmp_power9 to list of strncmp functions.
12195         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12196         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12197         (strncmp): Add __strncmp_power9 to ifunc list.
12198         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12200 2016-12-12  Florian Weimer  <fweimer@redhat.com>
12202         [BZ #17252]
12203         Add getentropy, getrandom.
12204         * stdlib/sys/random.h: New file.
12205         (headers): Add it.
12206         * stdlib/Makefile (routines): Add getentropy, getrandom.
12207         (tests): Add tst-getrandom.
12208         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12209         * stdlib/getentropy.c: New file.
12210         * stdlib/getrandom.c: Likewise.
12211         * stdlib/tst-getrandom.c: Likewise.
12212         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12213         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12214         * manual/crypt.texi (Unpredictable Bytes): New section.
12215         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12216         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12218         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12219         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12220         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12221         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12222         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12223         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12225         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12226         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12227         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12228         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12229         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12230         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12232         Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12234         Likewise.
12235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12237         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12238         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12239         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12240         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12241         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12245         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12246         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12248 2016-12-10  Florian Weimer  <fweimer@redhat.com>
12250         [BZ #20956]
12251         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12252         as additional compiler barriers.
12253         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12254         (fn2, do_test): Declare with external linkage.
12255         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12256         (do_test): Declare with external linkage.
12257         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12258         (do_test): Declare with external linkage.
12259         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12260         (do_test): Declare with external linkage.
12262 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
12264         * support/support_test_main.c (support_test_main): Use correct
12265         timeout.
12267 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
12268             Florian Weimer  <fweimer@redhat.com>
12270         [BZ #16421]
12271         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12272         and __u6_addr32 members.
12273         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12274         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12275         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12276         Use __u6_addr32.
12277         * inet/tst-checks.c: Use <support/test-driver.c>
12278         * inet/tst-checks-posix.c: New file.
12279         * inet/Makefile (tests): Add it.
12280         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12282 2016-12-09  Florian Weimer  <fweimer@redhat.com>
12284         New subdirectory support for build and test infrastructure.
12285         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
12286         setting install-lib.
12287         * Makeconfig (link-extra-libs-tests): Define.
12288         (+link-pie-tests, +link-static-tests, +link-tests): Use
12289         link-extra-libs-tests.
12290         (rpath-dirs, all-subdirs): Add support.
12291         (built-modules): Add libsupport.
12292         (libsupport): Define.
12293         * support: New directory.
12294         * support/Makefile: New file.
12295         * support/check.c: Likewise.
12296         * support/check.h: Likewise.
12297         * support/delayed_exit.c: Likewise.
12298         * support/ignore_stderr.c: Likewise.
12299         * support/oom_error.c: Likewise.
12300         * support/set_fortify_handler.c: Likewise.
12301         * support/support.h: Likewise.
12302         * support/temp_file-internal.h: Likewise.
12303         * support/temp_file.c: Likewise.
12304         * support/test-driver.c: Likewise.
12305         * support/test-driver.h: Likewise.
12306         * support/test_main.c: Likewise.
12307         * support/write_message.c: Likewise.
12308         * support/xasprintf.c: Likewise.
12309         * support/xcalloc.c: Likewise.
12310         * support/xmalloc.c: Likewise.
12311         * support/xpthread_barrier_destroy.c: Likewise.
12312         * support/xpthread_barrier_init.c: Likewise.
12313         * support/xpthread_barrier_wait.c: Likewise.
12314         * support/xpthread_cancel.c: Likewise.
12315         * support/xpthread_check_return.c: Likewise.
12316         * support/xpthread_cond_wait.c: Likewise.
12317         * support/xpthread_create.c: Likewise.
12318         * support/xpthread_detach.c: Likewise.
12319         * support/xpthread_join.c: Likewise.
12320         * support/xpthread_mutex_lock.c: Likewise.
12321         * support/xpthread_mutex_unlock.c: Likewise.
12322         * support/xpthread_sigmask.c: Likewise.
12323         * support/xpthread_spin_lock.c: Likewise.
12324         * support/xpthread_spin_unlock.c: Likewise.
12325         * support/xrealloc.c: Likewise.
12326         * support/xsignal.h: Likewise.
12327         * support/xthread.h: Likewise.
12328         * support_tempfile.h: Likewise.
12329         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12330         (TEST_DATA_LIMIT): Remove unused macro.
12331         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
12332         <support/check.h>.
12333         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12334         (ignore_stderr, set_fortify_handler): Remove.  Now in
12335         <support/support.h>.
12336         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
12337         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12338         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12339         (xpthread_join): Remove.  Now in <support/xthread.h>.
12340         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12341         Introduce legacy wrappers.
12342         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12343         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12344         (write_message): Remove.
12345         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12346         test-skeleton.c.
12347         * io/test-open-tmpfile: Likewise.
12348         * io/tst-posix_fallocate-common.c: Likewise.
12349         * libio/tst-fseek.c: Likewise.
12350         * malloc/tst-malloc-backtrace.c: Likewise.
12351         * malloc/tst-malloc-fork-deadlock.c: Likewise.
12352         * malloc/tst-malloc-thread-exit.c: Likewise.
12353         * nptl/tst-cancel7.c: Likewise.
12354         * nptl/tst-cleanup0.c: Likewise.
12355         * posix/tst-posix_fadvise-common.c: Likewise.
12356         * rt/tst-shm.c: Likewise.
12357         * time/bug-getdate1.c: Likewise.
12358         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12359         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12360         * elf/Makefile (tst-piemod1.so): Link against libsupport.
12362 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
12364         * Rules [$(run-built-tests) != no] (tests-expected): Add
12365         $(tests-printers).
12366         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12368 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12370         [BZ #20539]
12371         * math/Makefile (install-lib-ldscripts): Add libm.a.
12372         (install_subdir): Remove.
12373         (install-others): Add.
12374         ($(inst_libdir)/libm.a): Add rule for installation as
12375         linker script.
12376         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12378 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
12380         * INSTALL: Regenerated.
12381         * Makeconfig: Add comments and whitespace to make the control flow
12382         clearer.
12383         (+link-printers-tests, +link-pie-printers-tests,
12384         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12385         built-rtld-LDFLAGS, link-libc-rpath,
12386         link-libc-tests-after-rpath-link,
12387         link-libc-printers-tests): New.
12388         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12389         link-libc-tests): Use the new variables as required.
12390         * Makerules ($(py-const)): New rule.
12391         generated: Add $(py-const).
12392         * README.pretty-printers: New file.
12393         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12394         (others): Depend on $(py-const).
12395         (tests): Depend on $(tests-printers-programs) or
12396         $(tests-printers-out),
12397         as required.  Pass $(tests-printers) to merge-test-results.sh.
12398         * manual/install.texi: Add requirements for testing the pretty
12399         printers.
12400         * nptl/Makefile (gen-py-const-headers, pretty-printers,
12401         tests-printers, CFLAGS-test-mutexattr-printers.c
12402         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
12403         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
12404         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
12405         * nptl/nptl-printers.py: New file.
12406         * nptl/nptl_lock_constants.pysym: Likewise.
12407         * nptl/test-cond-printers.c: Likewise.
12408         * nptl/test-cond-printers.py: Likewise.
12409         * nptl/test-condattr-printers.c: Likewise.
12410         * nptl/test-condattr-printers.py: Likewise.
12411         * nptl/test-mutex-printers.c: Likewise.
12412         * nptl/test-mutex-printers.py: Likewise.
12413         * nptl/test-mutexattr-printers.c: Likewise.
12414         * nptl/test-mutexattr-printers.py: Likewise.
12415         * nptl/test-rwlock-printers.c: Likewise.
12416         * nptl/test-rwlock-printers.py: Likewise.
12417         * nptl/test-rwlockattr-printers.c: Likewise.
12418         * nptl/test-rwlockattr-printers.py: Likewise.
12419         * scripts/gen-py-const.awk: Likewise.
12420         * scripts/test_printers_common.py: Likewise.
12421         * scripts/test_printers_exceptions.py: Likewise.
12423 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12425         * scripts/build-many-glibcs.py (Context.__init__): Take strip
12426         argument.
12427         (Glibc.build_glibc): Strip installed shared libraries if
12428         requested.
12429         (get_parser): Add --strip option.
12430         (main): Update Context call.
12432 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12433             Dominik Vogt  <vogt@linux.vnet.ibm.com>
12435         [BZ #20847]
12436         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12437         array bounds for else branch.
12438         (__execvpe): Style fixes.
12439         * posix/tst-vfork3.c (run_script): New function.
12440         (create_script): Likewise.
12441         (do_test): Use run_script internal function.
12442         (do_prepare): Use create_script internal function.
12444 2016-12-07  Andreas Schwab  <schwab@suse.de>
12446         * sysdeps/unix/sysv/linux/x86/elision-conf.h
12447         (__elision_available): Don't declare.
12448         * sysdeps/unix/sysv/linux/x86/elision-conf.c
12449         (__elision_available): Don't define.
12450         (elision_init): Don't set __elision_available.
12452 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12454         [BZ #20940]
12455         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12456         return Inf for arguments Inf and sNaN.
12457         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12458         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12459         Likewise.
12460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12461         Likewise.
12462         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12463         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12464         for arguments Inf and sNaN.  When returning a NaN, compute it by
12465         arithmetic on the arguments.
12466         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12467         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12468         arguments.
12470 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #20916]
12473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12474         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
12475         to compute result.
12476         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12477         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12479 2016-12-05  Torvald Riegel  <triegel@redhat.com>
12481         * include/atomic.h (__atomic_check_size_ls): New.
12482         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12483         atomic_store_release): Use it.
12484         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12485         (elision_adapt, ELIDE_LOCK): Use atomics.
12486         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12487         atomics and improve code comments.
12488         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12489         (__lll_trylock_elision): Likewise.
12491 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12493         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12494         programs.
12496 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12498         [BZ #20916]
12499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12500         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
12501         arguments to compute result.
12502         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12503         1 for arguments (sNaN, 0) or (1, sNaN).
12504         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12507         [BZ #20919]
12508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12509         NaN first argument when raised to power 0.
12510         * math/w_pow.c (__pow): Do not check for NaN or zero results from
12511         raising to power zero.
12512         * math/w_powf.c (__powf): Likewise.
12513         * math/w_powl.c (__powl): Likewise.
12514         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12515         pow (0, 0) or pow (NaN, 0).
12517 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
12519         [BZ #20918]
12520         * configure.ac: Test for static NSS cryptographic libraries and set
12521         libc_cv_static_nss_crypt.
12522         * configure: Regenerate.
12523         * config.make.in (static-nss-crypt): Define.
12524         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12525         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12526         (CFLAGS-tst-linkall-static.c): Define.
12527         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12528         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12529         ($(objpfx)tst-linkall-static): Define.
12530         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12531         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12533 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12535         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12536         (one-hundred, tst-tls-many-dynamic-modules): Define.
12537         (modules-names): Add $(tst-tls-many-dynamic-modules).
12538         (tst-tls-manydynamic%mod.os): Build with special preprocessor
12539         macros.
12540         (tst-tls-manydynamic): Link against libdl, libpthread.
12541         (tst-tls-manydynamic.out): The test needs the test modules at run
12542         time.
12543         * elf/tst-tls-manydynamic.c: New file.
12544         * elf/tst-tls-manydynamic.h: Likewise.
12545         * elf/tst-tls-manydynamicmod.c: Likewise.
12547 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12549         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12550         (TLS_DTV_UNALLOCATED): Add.
12551         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12552         offsets.
12554 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12556         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12558 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12560         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12561         Add -fno-optimize-sibling-calls.
12563 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12565         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12566         New declaration.
12567         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12568         macro.
12569         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12570         New macro.
12571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12573         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12574         (llogbf): Likewise.
12575         (llogbl): Likewise.
12576         * math/Makefile (gen-libm-calls): Add w_llogbF.
12577         (tests): Add test-fp-llogb-constants.
12578         * math/w_llogb_template.c: New file.  Based on
12579         math/w_ilogb_template.c.
12580         * math/libm-test.inc (llogb_test_data): New array.
12581         (llogb_test): New function.
12582         (main): Call llogb_test.
12583         * math/test-fp-llogb-constants.c: New file.  Based on
12584         math/test-fp-ilogb-constants.c.
12585         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12586         (do_test): Call check_return_llogb.
12587         * math/test-tgmath.c (NCALLS): Increase to 126.
12588         (F(compile_test)): Call llogb.
12589         (F(llogb)): New function.
12590         * manual/math.texi (Exponents and Logarithms): Document llogb,
12591         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12592         * manual/libm-err-tab.pl (@all_functions): Add llogb.
12593         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12594         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12595         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12596         (CFLAGS-nldbl-llogb.c): New variable.
12597         * sysdeps/nacl/libm.abilist: Update.
12598         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12599         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12600         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12601         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12602         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12604         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12605         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12611         Likewise.
12612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12613         Likewise.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12615         Likewise.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12619         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12620         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12621         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12622         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12624         Likewise.
12625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12626         Likewise.
12627         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12628         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12631 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12633         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12634         _Float128 instead of long double.
12635         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12637         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12638         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12639         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12640         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12641         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12642         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12643         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12644         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12645         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12646         Likewise.
12648 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12650         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12651         Remove redirection to __strrchr_ppc.
12653 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12655         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12656         (sysdep_routines): Add strcmp_power9.
12657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12658         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12660         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12661         (strcmp): Add __strcmp_power9 to ifunc list.
12662         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12664 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12666         * bits/fp-logb.h: New file.
12667         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12668         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12669         * sysdeps/x86/bits/fp-logb.h: Likewise.
12670         * math/Makefile (headers): Add bits/fp-logb.h.
12671         * math/math.h: Include <bits/fp-logb.h>.
12672         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12673         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12674         * bits/mathdef.h (FP_ILOGB0): Remove.
12675         (FP_ILOGBNAN): Likewise.
12676         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12677         (FP_ILOGBNAN): Likewise.
12678         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12679         (FP_ILOGBNAN): Likewise.
12680         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12681         (FP_ILOGBNAN): Likewise.
12682         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12683         (FP_ILOGBNAN): Likewise.
12684         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12685         (FP_ILOGBNAN): Likewise.
12686         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12687         (FP_ILOGBNAN): Likewise.
12688         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12689         (FP_ILOGBNAN): Likewise.
12690         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12691         (FP_ILOGBNAN): Likewise.
12692         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12693         (FP_ILOGBNAN): Likewise.
12695         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12696         time module.
12697         (Context.__init__): Initialize self.logsdir_old.
12698         (Context.run_builds): Handle bot action.
12699         (Context.bot_cycle): Copy logs directory before running builds.
12700         (Context.bot_run_self): Take argument for whether to check
12701         subprocess result.  Flush stdout before running subprocess.
12702         (Context.bot): New function.
12703         (get_parser): Allow bot action.
12705 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12707         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12708         Import email.mime.text, email.utils and smtplib modules.
12709         (Context.__init__): Initialize self.bot_config_json.
12710         (Context.run_builds): Handle bot-cycle action.
12711         (Context.load_bot_config_json): New function.
12712         (Context.part_build_old): Likewise.
12713         (Context.bot_cycle): Likewise.
12714         (Context.bot_build_mail): Likewise.
12715         (Context.bot_run_self): Likewise.
12716         (get_parser): Allow bot-cycle action.
12718 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12721         Remove redirection to __stpcpy_ppc.
12723 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12725         Remove __libc_memalign from ld.so because it is unused.
12726         * elf/dl-minimal.c: Update comment on the malloc implementation.
12727         (malloc): Renamed from __libc_memalign, replacing the original
12728         malloc implementation.  Replace the align parameter with
12729         MALLOC_ALIGNMENT.
12730         * elf/Versions (ld): Update comment and remove __libc_memalign.
12731         * sysdeps/nacl/ld.abilist: Likewise.
12732         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12733         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12734         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12735         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12736         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12737         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12738         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12739         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12740         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12741         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12742         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12743         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12744         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12748         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12749         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12750         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12751         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12752         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12755         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12756         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12758         * sysdeps/generic/localplt.data (ld.so): Likewise.
12759         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12760         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12761         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12762         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12763         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12764         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12765         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12766         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12767         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12769         (ld.so): Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12771         (ld.so): Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12775         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12776         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12777         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12778         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12780 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12782         [BZ #16628]
12783         Implement _dl_catch_error, _dl_signal_error in libc.so.
12784         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12785         (catch_hook): Define as thread-local or regular variable,
12786         depending on DL_ERROR_BOOTSTRAP.
12787         (CATCH_HOOK): Remove.
12788         (dl_signal_error, _dl_catch_error): Use
12789         catch_hook.  Add hidden definition for libc.
12790         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12791         for DL_ERROR_BOOTSTRAP only.
12792         * elf/dl-error.c: New file.
12793         * elf/dl-error-minimal.c: Likewise.
12794         * elf/tst-latepthread.c: Likewise.
12795         * elf/tst-latepthreadmod.c: Likewise.
12796         * elf/Makefile (routines): Add dl-error.
12797         (dl-routines): Remove dl-error.
12798         (rtld-routines): Add dl-error-minimal.
12799         [build-shared] (tests): Add tst-latepthread.
12800         (module-names): Add tst-latepthreadmod.
12801         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12802         symbol.
12803         (tst-latepthreadmod.so): Link against libpthread.
12804         (tst-latepthread): Link against libdbl.
12805         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12806         _dl_catch_error.
12807         [ld] (GLIBC_PRIVATE): Likewise.
12808         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12809         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12810         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12811         directly.
12812         * elf/dl-tsd.c: Remove file.
12813         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12814         _dl_catch_error, _dl_signal_error.
12815         (_dl_initial_error_catch_tsd): Remove definition.
12816         (do_preload): Remove initialization of dl_error_catch_tsd.
12817         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12818         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12819         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12820         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12821         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12822         set dl_error_catch_tsd.
12823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12824         _dl_error_catch_tsd member.
12825         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12826         members.
12827         (_dl_initial_error_catch_tsd): Remove declaration.
12828         (_dl_dprintf): Provide definition for use outside of ld.so.
12829         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12830         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12831         prototype for libc.
12832         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12833         _dl_catch_error.
12834         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12835         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12836         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12837         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12838         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12839         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12840         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12841         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12842         Likewise.
12843         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12845         (ld.so): Likewise.
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12847         (ld.so): Likewise.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12849         Likewise.
12850         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12851         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12852         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12853         Likewise.
12854         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12855         Likewise.
12856         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12858 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12860         [BZ #4099]
12861         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12862         _IO_BUFSIZ (8192).
12864 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12866         * PROJECTS: Remove file.
12868 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12870         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12872 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12873             Steve Ellcey  <sellcey@caviumnetworks.com>
12875         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12876         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12877         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12878         fxstatat.
12879         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12880         lxstat.
12881         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12882         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12883         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12884         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12885         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12886         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12887         __xstat.
12889 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12891         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12892         Define.
12893         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12894         definition.
12896 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12898         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12899         version and turn into strong alias.  Remove compat symbol.
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12902         (__longjmp): Remove.
12904 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12906         * bits/fp-fast.h: New file.
12907         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12908         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12909         * math/Makefile (headers): Add bits/fp-fast.h.
12910         * math/math.h: Include <bits/fp-fast.h>.
12911         * bits/mathdef.h (FP_FAST_FMA): Remove.
12912         (FP_FAST_FMAF): Likewise.
12913         (FP_FAST_FMAL): Likewise.
12914         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12915         (FP_FAST_FMAF): Likewise.
12916         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12917         (FP_FAST_FMAF): Likewise.
12918         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12919         (FP_FAST_FMAF): Likewise.
12920         (FP_FAST_FMAL): Likewise.
12921         * sysdeps/arm/bits/mathdef.h: Remove file.
12922         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12923         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12924         * sysdeps/tile/bits/mathdef.h: Likewise.
12926 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12928         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12929         * math/w_ilogb.c: Remove.
12930         * math/w_ilogbf.c: Likewise.
12931         * math/w_ilogbl.c: Likewise.
12932         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12933         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12934         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12935         (libm-calls): Remove w_ilogbF.
12936         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12937         (LDOUBLE_ilogbl_libm_version): New macro.
12939         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12941         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12942         [!__STRICT_ANSI__ && !__cplusplus].
12944 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12946         [BZ #20750]
12947         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12948         of PIC.
12950 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12951             Yury Norov  <ynorov@caviumnetworks.com>
12952             Steve Ellcey  <sellcey@caviumnetworks.com>
12954         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12955         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12956         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12957         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12958         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12959         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12960         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12961         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12962         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12963         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12964         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12965         to get correct reg name for ILP32.
12966         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12967         (RELA_SIZE): New Macro.
12968         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12969         to support ILP32.
12970         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12971         cast for ILP32 mode.
12972         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12973         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12974         * sysdeps/aarch64/memset.S (__memset): Ditto.
12975         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12976         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12977         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12978         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12979         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12980         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12981         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12982         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12983         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12984         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12985         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12986         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12987         change PTR_MANGLE call to use register numbers instead of names.
12988         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12989         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12990         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12991         * sysdeps/aarch64/start.S (_start): Ditto.
12992         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12993         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12994         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12995         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12996         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12997         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12998         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12999         Make defined values dependent on __ILP32__.
13000         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13001         (sem_t): Change __align type.
13002         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13003         PTR_SIZE): New Macros.
13004         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13005         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13006         Set when in ILP32 mode.
13007         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13008         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13009         Set elf flags for ILP32.
13010         (add_system_dir): Set ILP32 library directories.
13011         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13012         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13013         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13014         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13015         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13016         New Macros.
13017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13019 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13021         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13022         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13023         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13025 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13027         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13028         <asm/cachectl.h>.
13030 2016-11-27  Zack Weinberg  <zackw@panix.com>
13032         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13033         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13035 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13037         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13038         error_t to fix usage in C++ programs.
13040 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13042         * scripts/build-many-glibcs.py: Import datetime module.
13043         (Context.__init__): Load JSON build state.  Initialize list of
13044         status logs.
13045         (Context.run_builds): Update saved build state.
13046         (Context.add_makefile_cmdlist): Update list of status logs.
13047         (Context.load_build_state_json): New function.
13048         (Context.store_build_state_json): Likewise.
13049         (Context.clear_last_build_state): Likewise.
13050         (Context.update_build_state): Likewise.
13051         (CommandList.status_logs): Likewise.
13053 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13055         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13056         script being executed.
13057         (Context.get_script_text): New function.
13058         (Context.exec_self): Likewise.
13059         (Context.checkout): Re-exec script if changed by checkout process.
13061 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13063         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13064         (setpayloadsig): New declaration.
13065         * math/Versions (setpayloadsig): New libm symbol at version
13066         GLIBC_2.25.
13067         (setpayloadsigf): Likewise.
13068         (setpayloadsigl): Likewise.
13069         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13070         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13071         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13072         (setpayloadsig_test_data): New array.
13073         (setpayloadsig_test): New function.
13074         (main): Call setpayloadsig_test.
13075         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13076         setpayloadsigf and setpayloadsigl.
13077         * manual/libm-err-tab.pl: Update comment on interfaces without
13078         ulps tabulated.
13079         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13080         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13081         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13082         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13083         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13084         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13085         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13086         setpayloadsig.
13087         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13088         * sysdeps/nacl/libm.abilist: Update.
13089         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13090         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13091         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13092         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13093         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13094         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13095         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13096         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13097         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13098         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13099         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13100         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13102         Likewise.
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13104         Likewise.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13106         Likewise.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13108         Likewise.
13109         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13110         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13111         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13112         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13113         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13117         Likewise.
13118         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13119         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13120         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13122         * scripts/build-many-glibcs.py: Import json module.
13123         (Context.__init__): Take replace_sources argument.  Load
13124         versions.json.
13125         (Context.load_versions_json): New function.
13126         (Context.store_json): Likewise.
13127         (Context.store_versions_json): Likewise.
13128         (Context.set_component_version): Likewise.
13129         (Context.checkout): Update versions.json.  Check for and handle
13130         changes of version.  Prefer previously explicitly specified
13131         version to default version.
13132         (Context.checkout_vcs): Return a revision identifier.
13133         (Context.git_checkout): Likewise.
13134         (Context.gcc_checkout): Likewise.
13135         (get_parser): Add --replace-sources option.
13136         (main): Pass replace_sources argument to Context call.
13138 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13140         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13141         * nptl/allocatestack.c (allocate_stack): Likewise.
13142         (__reclaim_stacks): Likewise.
13143         (setxid_signal_thread): Obtain pid through syscall.
13144         * nptl/nptl-init.c (sigcancel_handler): Likewise.
13145         (sighandle_setxid): Likewise.
13146         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13147         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13148         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13149         Likewise.
13150         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13151         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13152         comment.
13153         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13154         * nptl/descr.h (struct pthread): Change comment about pid value.
13155         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13156         pid assert.
13157         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13158         Do not set pid value.
13159         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13160         pid cache check.
13161         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13162         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13163         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13164         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13165         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13166         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13167         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13168         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13169         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13170         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13171         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13172         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13173         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13174         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13175         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13176         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13177         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13178         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13179         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13180         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13181         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13182         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13183         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13184         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13185         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13188         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13189         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13190         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13191         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13193         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13194         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13195         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13196         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13197         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13198         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13199         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13200         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13201         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13202         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13203         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13206         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13207         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13208         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13209         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13210         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13211         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13212         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13213         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13214         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13215         struct access.
13216         (clone_test): Remove function.
13217         (do_test): Rewrite to take in consideration pid is not cached anymore.
13219 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13221         * bits/flt-eval-method.h: New file.
13222         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13223         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13224         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13225         * math/Makefile (headers): Add bits/flt-eval-method.h.
13226         * math/math.h: Include <bits/flt-eval-method.h>.
13227         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13228         [__USE_ISOC99] (double_t): Likewise.
13229         * bits/mathdef.h (float_t): Remove.
13230         (double_t): Likewise.
13231         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13232         (double_t): Likewise.
13233         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13234         (double_t): Likewise.
13235         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13236         (double_t): Likewise.
13237         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13238         (double_t): Likewise.
13239         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13240         (double_t): Likewise.
13241         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13242         (double_t): Likewise.
13243         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13244         (double_t): Likewise.
13245         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13246         (double_t): Likewise.
13247         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13248         (double_t): Likewise.
13249         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13250         (double_t): Likewise.
13251         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13252         (double_t): Likewise.
13253         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13254         (double_t): Likewise.
13255         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13256         (double_t): Likewise.
13258 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
13260         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13261         instead of PIC.
13263 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #20859]
13266         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13267         (-0x7fffffff) instead of 0x80000001.
13268         * math/test-fp-ilogb-constants.c: New file.
13269         * math/Makefile (tests): Add test-fp-ilogb-constants.
13271 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
13273         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13274         (_init): Use it in place of hardcoded R_MIPS_JALR.
13275         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13276         (_init): Use it in place of hardcoded R_MIPS_JALR.
13277         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13278         (_init): Use it in place of hardcoded R_MIPS_JALR.
13280 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13282         [BZ #20787]
13283         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13284         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13285         (double_t): Do not define to double if [__x86_64__] when
13286         __FLT_EVAL_METHOD__ is nonzero.
13287         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13288         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13289         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13290         test-flt-eval-method-387 and test-flt-eval-method-sse.
13291         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13292         variable.
13293         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13295 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
13297         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13298         use of -fno-isolate-erroneous-paths options for tilepro.
13300 2016-11-23  Florian Weimer  <fweimer@redhat.com>
13302         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13303         structure initialization is no longer needed.
13305 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13307         [BZ #20855]
13308         * bits/mathdef.h (float_t): Define to float.
13309         * math/test-flt-eval-method.c: New file.
13310         * math/Makefile (tests): Add test-flt-eval-method.
13311         (CFLAGS-test-flt-eval-method.c): New variable.
13313 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
13315         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13316         and __fstatfs.  Make them aliases of __fstatfs64 if
13317         STATFS_IS_STATFS64 is set to non-zero.
13318         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13319         and __statfs64.
13320         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13321         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13322         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13323         for __statfs and statfs.
13324         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13325         to 0.
13326         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13327         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13328         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13329         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13330         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13331         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13334         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13335         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13336         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13337         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13339 2016-11-22  Andreas Schwab  <schwab@suse.de>
13341         * misc/mkstemp.c: Include <fcntl.h>.
13342         * misc/mkstemps.c: Likewise.
13343         * misc/mkostemp.c: Likewise.
13344         * misc/mkostemps.c: Likewise.
13346 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
13348         [BZ #20847]
13349         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13350         array bounds.
13351         (__execvpe): Likewise.
13353 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
13355         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13356         -fno-isolate-erroneous-paths options for tilepro.
13358 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
13360         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13361         to 0 when in 32 bit mode.
13362         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13363         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13364         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13365         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13367         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13368         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13369         XSTAT_IS_XSTAT64 test.
13370         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13371         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13372         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13373         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13374         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13375         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13376         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13377         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13378         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13379         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13380         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13382 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
13384         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13385         (setpayload): New declaration.
13386         * math/Versions (setpayload): New libm symbol at version
13387         GLIBC_2.25.
13388         (setpayloadf): Likewise.
13389         (setpayloadl): Likewise.
13390         * math/Makefile (libm-calls): Add s_setpayloadF.
13391         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13392         test_Ff_b1_data.
13393         (RUN_TEST_Ff_b1): New macro.
13394         (RUN_TEST_LOOP_Ff_b1): Likewise.
13395         (canonicalize_test_data): Update type.
13396         (setpayload_test_data): New array.
13397         (setpayload_test): New function.
13398         (main): Call setpayload_test.
13399         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
13400         setpayloadf and setpayloadl.
13401         * manual/libm-err-tab.pl: Update comment on interfaces without
13402         ulps tabulated.
13403         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
13404         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
13405         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
13406         Likewise.
13407         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
13408         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
13409         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
13410         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13411         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13412         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13413         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13414         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13415         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13416         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13417         setpayload.
13418         (CFLAGS-nldbl-setpayload.c): New variable.
13419         * sysdeps/nacl/libm.abilist: Update.
13420         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13421         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13422         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13423         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13424         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13425         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13426         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13427         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13428         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13429         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13430         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13431         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13433         Likewise.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13435         Likewise.
13436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13437         Likewise.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13439         Likewise.
13440         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13441         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13442         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13446         Likewise.
13447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13448         Likewise.
13449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13450         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13451         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13453 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13455         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13456         * include/unistd.h: Extend comment about __access_noerrno return
13457         semantics.
13458         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13459         (access_common): Correct typo for EACCES.
13461 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
13463         * sysdeps/tile/math-tests.h: New file.
13465         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13466         (__old_set_dataplane): Rename from set_dataplane and make a
13467         compatibility symbol.
13468         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13469         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13470         sys/dataplane.h.
13472 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
13474         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13475         script quote words in command output to log suitably for input to
13476         the shell.
13478 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
13479             Maciej W. Rozycki  <macro@imgtec.com>
13481         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13482         `.Lno_weak_fn' label.
13483         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13484         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13486 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13487             Yury Norov  <ynorov@caviumnetworks.com>
13489         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13490         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13491         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13492         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13493         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13495         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13496         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13497         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13498         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13499         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13500         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13501         (sysdep_routines): Remove oldgetrlimit64.
13502         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13503         (sysdep_routines): Likewise.
13504         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13505         (sysdep_routines): Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13507         [$(subdir) = resource] (sysdep_routines): Likewise.
13508         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13509         [$(subdir) = resource] (sysdep_routines): Likewise.
13510         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13511         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13512         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13513         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13514         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13515         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13516         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13517         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13518         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13519         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13520         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13521         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13522         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13523         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13524         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13525         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13526         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13527         setrlimit and getrlimit.
13528         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13529         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13530         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13533         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13535         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13537         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13538         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13539         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13540         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13541         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13542         (__old_getrlimit64): Add compatibility symbol.
13543         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13545 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
13547         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13548         newly built gmp, mpfr and mpc.
13550         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13552 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13554         * conform/Makefile (linknamespace-libs): Rename to
13555         linknamespace-libs-thr.
13556         (linknamespace-libs-posix): New variable.
13557         (linknamespace-libs-xsi): Likewise.
13558         (linknamespace-libs-XPG3): Include libcrypt.a.
13559         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13560         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13561         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13562         (linknamespace-libs-XOPEN2K): Likewise.
13563         (linknamespace-libs-XOPEN2K8): Likewise.
13564         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13566         [BZ #20829]
13567         * stdio-common/Versions (__snprintf): Add to version
13568         GLIBC_PRIVATE.
13569         * include/stdio.h (__snprintf): Use libc_hidden_proto.
13570         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13571         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13572         of snprintf.
13573         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13575 2016-11-16  Zack Weinberg  <zackw@panix.com>
13577         * string/string.h: Remove obsolete comment stating that
13578         strcoll_l and strxfrm_l have not yet been standardized.
13580 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13582         * hurd/hurd.h (__hurd_fail_noerrno): New function.
13583         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13584         __access_noerrno.
13585         * io/access.c (__access_noerrno): New function.
13586         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13587         (hurd_fail_seterrno): Likewise.
13588         (access_common): Likewise.
13589         (__access_noerrno): Likewise.
13590         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13591         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13592         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13593         macro.
13595 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13597         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13598         Only declare fpregs if [__SH_FPU_ANY__].
13600 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
13602         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13603         Make code unconditional.
13604         [!(__SH4__ || __SH4A__)]: Remove conditional code.
13606 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
13608         * manual/sysinfo.texi (S_APPEND): Delete.
13609         (S_IMMUTABLE): Likewise.
13611 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
13612             Magnus Granberg  <zorry@gentoo.org>
13613             Mike Frysinger  <vapier@gentoo.org>
13615         [BZ #20662]
13616         * configure.ac (libc_cv_predef_stack_protector): Also check for
13617         __stack_chk_fail_local symbols.
13618         * configure: Regenerated.
13620 2016-11-15  Florian Weimer  <fweimer@redhat.com>
13622         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13623         (libc_hidden_def): Remove redefinition.
13624         (__sigsetjmp): Add hidden definition.
13625         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13626         (libc_hidden_def): Remove redefinition.
13627         (__sigsetjmp): Add hidden definition.
13629 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
13631         * scripts/build-many-glibcs.py (os.path): Do not import.
13632         (Context): Inherit explicitly from object.  Remove blank line
13633         between class and docstring.
13634         (Config): Likewise.
13635         (Glibc): Likewise.
13636         (Command): Likewise.
13637         (CommandList): Likewise.
13638         (Context.write_files): Store chmod mode in a variable.
13640         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13641         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13642         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13644 2016-11-14  Zack Weinberg  <zackw@panix.com>
13646         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13647         creating or re-creating it.
13649         * string/bits/string2.h: Fix typo in comment.
13651 2016-11-14  Zack Weinberg  <zackw@panix.com>
13653         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13654         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13655         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13656         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13657         of redirected function names.
13659         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13660         as well.  Document that MESSAGE must be a single string literal.
13662 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13664         * scripts/build-many-glibcs.py: New file.
13666         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13667         (do_test): Disable -Wmaybe-uninitialized around uses of
13668         except_mask.
13670         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13672 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13674         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13675         (atomic_store_release): Provide tilepro-specific implementations.
13677 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13679         * math/math.h (__MATH_TG): New macro.
13680         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13681         [__USE_ISOC99] (signbit): Likewise.
13682         [__USE_ISOC99] (isfinite): Likewise.
13683         [__USE_ISOC99] (isnan): Likewise.
13684         [__USE_ISOC99] (isinf): Likewise.
13685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13688         __MATH_TG and __MATH_EVAL_FMT2.
13689         * sysdeps/generic/math_private.h (fabs_tg): Define using
13690         __MATH_TG.
13691         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13692         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13693         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13694         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13695         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13696         macro.
13697         (__iscanonical): Likewise.
13698         (iscanonical): Define using __MATH_TG.
13700 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13702         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13703         guards.
13705         * sysdeps/unix/sysv/linux/access.c: New file.
13706         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13708 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13710         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13711         and __WORDSIZE32_PTRDIFF_LONG.
13713 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13715         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13717 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13719         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13720         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13721         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13722         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13723         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13725         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13726         * sysdeps/unix/sysv/linux/truncate.c: New file.
13727         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13728         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13729         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13730         Remove.
13731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13732         Likewise.
13734         * posix/tst-truncate-common.c: New file.
13735         * posix/tst-truncate.c: Use tst-truncate-common.c.
13736         * posix/tst-truncate64.c: Likewise and add LFS tests.
13737         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13738         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13739         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13740         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13741         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13743         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13744         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13745         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13746         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13747         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13748         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13749         Remove.
13750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13751         Likewise.
13753 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #20790]
13756         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13757         to MAXLINESIZE.
13758         * sunrpc/bug20790.x: New file.
13759         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13760         variable.
13761         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13762         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13764         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13766         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13768         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13769         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13770         calloc, realloc, free, memalign and __libc_memalign rather than
13771         making them optional.
13773         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13774         for libc.so.
13776 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13778         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13779         ptw-lseek64.
13780         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13781         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13782         Likewise.
13783         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13784         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13785         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13786         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13787         * sysdeps/unix/sysv/linux/lseek.c: New file.
13788         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13789         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13790         __libc_lseek64 from auto-generation.
13791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13792         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13794 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13796         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13797         * nptl/tst-cleanup1.c (do_test): Likewise.
13798         * nptl/tst-cleanup3.c (do_test): Likewise.
13799         * nptl/tst-key1.c (do_test): Likewise.
13800         * nptl/tst-key2.c (tf, do_test): Likewise.
13801         * nptl/tst-key3.c (tf, do_test): Likewise.
13802         * nptl/tst-stdio1.c (do_test): Likewise.
13803         * nptl/tst-stdio2.c (do_test): Likewise.
13805         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13806         * nptl/tst-kill6.c (handler): Likewise.
13807         * nptl/tst-tls2.c (CB): Likewise.
13808         * nptl/tst-tls3.c (CB): Likewise.
13810 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13812         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13814 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13815             Steve Ellcey  <sellcey@caviumnetworks.com>
13817         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13818           __ASSUME_ST_INO_64_BIT as 0
13819         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13820         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13821           over the code where __ASSUME_ST_INO_64_BIT is used.
13822         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13823         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13824         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13826 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13828         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13829         Document ABI exposure of the __kind offset.
13830         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13831         Mention reason for the __kind offset exposure in the ABI.
13832         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13833         Likewise.
13834         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13835         Likewise.
13836         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13837         Likewise.
13838         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13839         (struct __pthread_mutex_s): Likewise.
13840         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13841         Likewise.
13842         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13843         Likewise.
13844         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13845         Likewise.
13846         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13847         Likewise.
13848         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13849         Likewise.
13850         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13851         Likewise.
13852         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13853         (struct __pthread_mutex_s): Likewise.
13854         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13855         (struct __pthread_mutex_s): Likewise.
13856         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13857         Likewise.
13859 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13861         * test-skeleton.c: Document do_test usage.
13863 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13865         * iconv/gconv.h (__gconv_info): Define __data element using a
13866         zero-length array.
13868 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13870         * math/test-tgmath2.c: Split up test function.
13872 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13874         * Rules (tests-expected): New variable, depending on
13875         $(run-built-tests).
13876         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13877         $(tests).
13879         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13880         $(tests-unsupported).
13882 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13884         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13885         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13887 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #20768]
13890         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13891         __fegetenv instead of fegetenv.
13893         [BZ #14139]
13894         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13895         (find_files): Obtain platform name from libm-test-ulps-name and
13896         store in %pplatforms.
13897         (canonicalize_platform): Remove.
13898         (print_platforms): Use $pplatforms directly.
13899         (by_platforms): Do not allow for platforms missing from
13900         %pplatforms.
13901         * sysdeps/aarch64/libm-test-ulps-name: New file.
13902         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13903         * sysdeps/arm/libm-test-ulps-name: Likewise.
13904         * sysdeps/generic/libm-test-ulps-name: Likewise.
13905         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13906         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13907         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13908         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13909         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13910         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13911         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13912         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13913         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13914         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13915         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13916         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13917         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13918         * sysdeps/sh/libm-test-ulps-name: Likewise.
13919         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13920         * sysdeps/tile/libm-test-ulps-name: Likewise.
13921         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13923         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13925         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13926         (test-xfail-check-execstack): New variable.
13928         * sysdeps/mips/localplt.data: New file.
13930 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13931             Steve Ellcey  <sellcey@caviumnetworks.com>
13933         * bits/wordsize.h: Add documentation.
13934         * sysdeps/aarch64/bits/wordsize.h : New file
13935         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13936         definitions.
13937         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13938         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13939         with #if instead of #ifdef.
13940         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13941         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13942         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13943         Add or change defines.
13944         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13945         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13946         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13947         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13948         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13949         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13950         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13951         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13952         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13953         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13954         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13955         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13956         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13957         * sysdeps/x86/bits/wordsize.h: Likewise.
13959 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13960             Kevin Petit  <kevin.petit@arm.com>
13962         * sysdeps/aarch64/memchr.S (__memchr): New file.
13964 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13966         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13968 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13970         [BZ #19398]
13971         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13972         $(linknamespace-symlists-tests).
13974 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13976         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13978 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13979             Carlos O'Donell  <carlos@redhat.com>
13981         [Bug #20729]
13982         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13983         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13984         for -Os related change.
13986 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13988         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13990 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13992         [BZ #19673]
13993         * manual/math.texi (Exponents and Logarithms): Correct description
13994         of clog10.
13996 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13998         [Bz #20729]
13999         * locale/weight.h: Include libc-internal.h.
14000         * locale/weightwc.h: Likewise.
14001         * nptl/nptl_dbP.h: Likewise.
14003 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14005         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14006         when it is MACH_PORT_NULL.
14008 2016-10-31  Andreas Schwab  <schwab@suse.de>
14010         [BZ #20707]
14011         * posix/glob.c (glob): Initialize pglob before checking for
14012         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14013         valid brace expression despite GLOB_BRACE.
14014         * posix/globtest.sh: Test it.
14016 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14018         [BZ #20729]
14019         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14020         Define.
14021         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14022         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14023         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14024         for seq2.back_us and seq1.back_us only for -Os compiles.
14025         * locale/weightwc.h (findix): Likewise.
14026         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14027         DB_GET_FIELD_ADDRESS only for -Os compiles.
14028         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14029         for slen only for -Os compiles.
14030         * string/strcoll_l.c (get_next_seq): Ignore
14031         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14032         for -Os compiles.
14034         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14035         * include/crypt.h: New file.
14037 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14039         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14040         from test-skeleton.c.
14041         (statclass): Replace calls to write with calls to write_message.
14043 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14045         * math/math.h
14046         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14047         New macro.
14048         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14049         Likewise.
14050         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14051         Likewise.
14052         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14053         SNANL.
14054         * math/test-double.h (snan_value_MACRO): New macro.
14055         * math/test-float.h (snan_value_MACRO): Likewise.
14056         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14057         * math/libm-test.inc (issignaling_test_data): Add tests of
14058         snan_value_MACRO.
14060 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14062         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14063         behavior when eliding a lock not held by the current thread.
14064         * sysdeps/powerpc/nptl/elide.h: Likewise.
14066 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14068         [BZ #20728]
14069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14070         branch to _exit() by a function call.
14072 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14074         * malloc/malloc.c: Update chunk layout comments.
14075         (chunk_main_arena): Update comment.
14077 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14079         * crypt/sha256.c, crypt/sha256-block.c,
14080         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14081         sha256_process_block to __sha256_process_block.
14082         * crypt/sha512.c, crypt/sha512-block.c,
14083         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14084         sha512_process_block to __sha512_process_block.
14086 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14088         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14090         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14092 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14094         [BZ #20019]
14095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14096         definition in unrelocated shared library.
14097         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14099 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14101         [BZ #20729]
14102         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14103         * sysdeps/unix/sysv/linux/i386/Makefile
14104         (uses-6-syscall-arguments): Define.
14105         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14106         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14107         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14108         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14109         Likewise.
14110         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14111         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14112         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14113         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14114         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14115         (CFLAGS-fallocate64.os): Likewise.
14116         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14117         (CFLAGS-pthread_rwlock_timedrdlock.os)
14118         (CFLAGS-pthread_rwlock_timedwrlock.o)
14119         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14120         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14121         (CFLAGS-sem_timedwait.os): Likewise.
14123 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14125         * elf/tst-linkall-static.c: New file.
14126         * elf/Makefile (tests-static): Add tst-linkall-static.
14127         (tst-linkall-static): Link against static libraries.
14129 2016-10-27  Florian Weimer  <fweimer@redhat.com>
14131         * malloc/malloc.c (sysmalloc): Initialize previous size field of
14132         mmaped chunks.
14134 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14136         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14137         members to mchunk_prev_size, mchunk_size.
14138         (chunk_main_arena): Reverse sense and rename from
14139         chunk_non_main_arena.
14140         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14141         mchunk_size instead of size.
14142         (set_non_main_arena): Define.
14143         (chunksize): Use chunksize_nomask instead of direct member access.
14144         (chunksize_nomask): Define.
14145         (next_chunk): Use chunksize instead of direct member access.
14146         (prev_size, set_prev_size): Define.
14147         (prev_chunk): Use prev_size instead of direct member access.
14148         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14149         (inuse_bit_at_offset, set_inuse_bit_at_offset)
14150         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14151         (mchunk_prev_size, mchunk_size): Poison tokens.
14152         (unlink): Use chunksize_nomask, prev_size accessors.
14153         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14154         (do_check_free_chunk): Use prev_size accessor.
14155         (sysmalloc): Use set_prev_size, set_head accessors.
14156         (munmap_chunk, mremap_chunk): Use prev_size accessor.
14157         (__libc_free): Use chunksize_nomask accessor.
14158         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14159         chunk_main_arena accessors.
14160         (_int_free): Use chunksize_nomask, prev_size accessors.
14161         (malloc_consolidate): Use chunksize, prev_size accessors.
14162         (_int_realloc): Use chunksize_nomask accessor.
14163         (_int_memalign): Use set_prev_size accessor.
14164         (__malloc_info): Use chunksize_nomask accessor.
14165         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14166         accessors.
14167         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14168         (heap_trim): Use chunksize_nomask, prev_size accessors.
14170 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14172         [BZ #19380]
14173         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14174         for inexact results.
14175         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14176         of inexact result where mpfr_subnormalize is the only inexact
14177         step.
14178         * stdlib/tst-strtod-round-data.h: Regenerated.
14179         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14180         Define to 0.
14181         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14183 2016-10-27  David S. Miller  <davem@davemloft.net>
14185         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14187 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14189         * malloc/malloc.c (do_set_mallopt_check): New function.
14190         (do_set_mmap_threshold): Likewise.
14191         (do_set_mmaps_max): Likewise.
14192         (do_set_top_pad): Likewise.
14193         (do_set_perturb_byte): Likewise.
14194         (do_set_trim_threshold): Likewise.
14195         (do_set_arena_max): Likewise.
14196         (do_set_arena_test): Likewise.
14197         (__libc_mallopt): Use them.
14199 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
14201         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14202         (canonicalize): New declaration.
14203         * math/Versions (canonicalize): New libm symbol at version
14204         GLIBC_2.25.
14205         (canonicalizef): Likewise.
14206         (canonicalizel): Likewise.
14207         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14208         * math/s_canonicalize_template.c: New file.
14209         * math/libm-test.inc: Update comment on functions tested and
14210         testing of NaN payloads.
14211         (TEST_NAN_PAYLOAD): New macro.
14212         (NO_TEST_INLINE): Update value.
14213         (XFAIL_TEST): Likewise.
14214         (ERRNO_UNCHANGED): Likewise.
14215         (ERRNO_EDOM): Likewise.
14216         (ERRNO_ERANGE): Likewise.
14217         (IGNORE_RESULT): Likewise.
14218         (NON_FINITE): Likewise.
14219         (TEST_SNAN): Likewise.
14220         (NO_TEST_MATHVEC): Likewise.
14221         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14222         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14223         (struct test_Ffp_b1_data): New type.
14224         (RUN_TEST_Ffp_b1): New macro.
14225         (RUN_TEST_LOOP_Ffp_b1): Likewise.
14226         (canonicalize_test_data): New array.
14227         (canonicalize_test): New function.
14228         (main): Call canonicalize_test.
14229         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14230         canonicalizef and canonicalizel.
14231         * manual/libm-err-tab.pl: Update comment on interfaces without
14232         ulps tabulated.
14233         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14234         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14235         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14236         canonicalize.
14237         (CFLAGS-nldbl-canonicalize.c): New variable.
14238         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14239         to ...
14240         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14241         ... here.
14242         (do_test): Also test canonicalizel.
14243         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14244         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14245         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14246         file.
14247         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14248         Use libm_hidden_def.
14249         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14250         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14251         (do_test): Also test canonicalizel.
14252         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14253         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14254         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14255         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14256         libm_hidden_def.
14257         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14258         macro.
14259         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14260         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14261         * sysdeps/nacl/libm.abilist: Update.
14262         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14263         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14265         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14266         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14270         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14271         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14272         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14273         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14275         Likewise.
14276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14277         Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14279         Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14281         Likewise.
14282         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14283         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14284         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14285         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14286         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14288         Likewise.
14289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14290         Likewise.
14291         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14292         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14293         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14295         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14296         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14297         getpayload.
14298         (CFLAGS-nldbl-getpayload.c): New variable.
14300 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14302         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14303         integer from the format string.
14305 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14307         [BZ #19473]
14308         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14309         declarations.
14310         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14311         weak aliases.
14312         * malloc/hooks.c (__malloc_get_state): Remove definition.
14313         (malloc_get_state): New stub implementation as
14314         compatibility symbol.
14315         (malloc_set_state): Rename from __malloc_set_state.  Turn into
14316         compat symbol.
14317         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14318         malloc_set_state.
14319         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14321 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14323         * iconvdata/iso646.c (enum variant): Drop illegal_var.
14324         (names): Turn into concatenation of strings.
14325         (gconv_init): Adapt iteration over names.
14327 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14329         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14330         make const.
14331         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14332         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14333         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14334         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14335         character in sbconv.
14336         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14337         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14338         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14340 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14342         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14344         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14345         (M_TRIM_THRESHOLD): Likewise.
14347         * manual/memory.texi (M_ARENA_TEST): Add documentation.
14348         (M_ARENA_MAX): Likewise.
14349         * malloc/malloc.c: Remove obsolete comment.
14351         * manual/memory.texi: Add environment variable alternatives to
14352         setting mallopt parameters.
14354 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
14356         * include/atomic.h
14357         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14358         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14360 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14362         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14363         * stdlib/tst-strfrom.h: New file.
14364         * stdlib/tst-strfrom.c: New file.
14365         * stdlib/tst-strfrom-locale.c: New file.
14367         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14368         * stdlib/bug-strtod2.c: Likewise.
14369         * stdlib/tst-strtod-round-skeleton.c: Likewise.
14370         * stdlib/tst-strtod6.c: Likewise.
14371         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14373 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14375         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14376         * manual/arith.texi: Document strfromd, strfromf, strfroml.
14377         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14378         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14379         * stdlib/stdlib.h (strfromd): New declaration.
14380         (strfromf): Likewise.
14381         (strfroml): Likewise.
14382         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
14383         strfrom.
14384         * stdlib/strfromd.c: New file.
14385         * stdlib/strfromf.c: Likewise.
14386         * stdlib/strfroml.c: Likewise.
14387         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14388         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14389         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14390         * sysdeps/arm/nacl/libc.abilist: Update.
14391         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14392         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14393         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14394         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14395         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14396         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14397         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14398         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14400         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14402         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14404         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14409         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14410         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14411         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14412         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14413         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14416         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14417         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14418         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14420 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
14422         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14423         instead of cmpli.
14424         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14425         instead of cmpli.
14427 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
14429         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14430         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14431         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14432         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14433         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14434         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14436 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14438         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14439         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14440         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14441         SYSCALL_LL64_PRW.
14442         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14443         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14444         __ASSUME_PRW_DUMMY_ARG.
14445         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14446         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14447         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14448         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14449         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14450         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14452 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
14454         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14456 2016-10-22  Florian Weimer  <fweimer@redhat.com>
14458         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14459         "C++", to override a potential extern "C" directive around the
14460         header file inclusion.
14462 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
14464         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14466 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14468         * sysdeps/powerpc/fpu/fenv_private.h:
14469         (_FPU_MASK_ALL): Rename to...
14470         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14471         XE FPSCR bits.
14473         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14475         (_FPU_MASK_ROUNDING): Rename to...
14476         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14477         NI bits.
14479         (_FPU_MASK_EXCEPT_ROUND): Rename to...
14480         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14481         bits and rounding bits.
14483         (__libc_feholdbits_ppc): New inline function to mask, set,
14484         and pontentially clear FSPCR bits, and change MSR[FE] bits.
14485         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14486         (libc_feholdexcept_setround_ppc): Likewise.
14488         (__libc_femergeenv_ppc): New function to dynamically mask both
14489         old and new FP environments and merge.
14490         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14491         (libc_feresetround_ppc): Likewise.
14492         (libc_feupdateenv_test_ppc): Likewise.
14493         (libc_feupdateenv_ppc): Likewise.
14495         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14496         of ISA RN bits, and update macro names.
14497         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14498         effectively the same as the previously mentioned function.
14500         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14501         usage with fe_resetround_ppc.
14503         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14504         to be used.
14505         (libc_feholdexcept_setround_ctxf): Likewise.
14506         (libc_feholdexcept_setround_ctxl): Likewise.
14508 2016-10-21  Florian Weimer  <fweimer@redhat.com>
14510         [BZ #20715]
14511         * math/math.h [__cplusplus] (iszero): Define as function template.
14512         * math/Makefile [CXX] (tests): Add test-math-iszero.
14513         (CFLAGS-test-math-iszero.cc): Set.
14514         * math/test-math-iszero.cc: New file.
14516 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
14518         [BZ #20660]
14519         * sysdeps/arm/e_sqrt.c: New file.
14520         * sysdeps/arm/e_sqrtf.c: Likewise.
14522 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
14524         [BZ #20718]
14525         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14526         not use floating-point comparisons to test sign.
14527         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14528         Likewise.
14530         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14531         (getpayload): New declaration.
14532         * math/Versions (getpayload): New libm symbol at version
14533         GLIBC_2.25.
14534         (getpayloadf): Likewise.
14535         (getpayloadl): Likewise.
14536         * math/Makefile (libm-calls): Add s_getpayloadF.
14537         * math/libm-test.inc: Include <nan-high-order-bit.h>.
14538         (struct test_f_f_data): Add comment.
14539         (RUN_TEST_fp_f): New macro.
14540         (RUN_TEST_LOOP_fp_f): Likewise.
14541         (getpayload_test_data): New array.
14542         (getpayload_test): New function.
14543         (main): Call getpayload_test.
14544         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14545         descriptor.
14546         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14547         getpayloadf and getpayloadl.
14548         * manual/libm-err-tab.pl: Update comment on interfaces without
14549         ulps tabulated.
14550         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14551         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14552         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14556         * sysdeps/nacl/libm.abilist: Update.
14557         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14562         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14567         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14568         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14570         Likewise.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14572         Likewise.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14574         Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14576         Likewise.
14577         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14583         Likewise.
14584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14585         Likewise.
14586         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14588         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14590 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14592         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14593         tst-fallocate{64}.
14594         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14595         on syscall return.
14597 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
14599         [BZ #20689]
14600         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14601         usable.
14603 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
14605         * sysdeps/generic/nan-high-order-bit.h: New file.
14606         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14607         * sysdeps/mips/nan-high-order-bit.h: Likewise.
14608         * sysdeps/hppa/math_private.h: Remove file.
14609         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14610         not define here.
14611         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14612         <nan-high-order-bit.h>.
14613         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14614         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14615         <nan-high-order-bit.h>.
14616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14617         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14618         <nan-high-order-bit.h>.
14619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14620         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14621         <nan-high-order-bit.h>.
14622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14623         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14624         <nan-high-order-bit.h>.
14625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14626         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14627         <nan-high-order-bit.h>.
14628         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14629         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14630         <nan-high-order-bit.h>.
14631         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14632         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14633         <nan-high-order-bit.h>.
14634         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14635         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14636         <nan-high-order-bit.h>.
14637         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14638         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14639         <nan-high-order-bit.h>.
14640         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14641         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14642         <nan-high-order-bit.h>.
14643         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14644         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14645         <nan-high-order-bit.h>.
14646         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14647         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14648         <nan-high-order-bit.h>.
14649         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14650         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14651         <nan-high-order-bit.h>.
14652         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14653         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14654         <nan-high-order-bit.h>.
14655         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14656         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14657         <nan-high-order-bit.h>.
14658         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14659         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14660         <nan-high-order-bit.h>.
14661         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14662         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14663         <nan-high-order-bit.h>.
14664         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14666 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14668         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14670 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14672         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14673         abort-instr.h.
14674         (EFAULT): Remove conditional define.
14675         (ENOSYS): Likewise.
14676         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14677         instead of conditional branch instructions.
14679 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14681         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14682         (totalordermag): New declaration.
14683         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14684         New macro.
14685         * math/Versions (totalordermag): New libm symbol at version
14686         GLIBC_2.25.
14687         (totalordermagf): Likewise.
14688         (totalordermagl): Likewise.
14689         * math/Makefile (libm-calls): Add s_totalordermagF.
14690         * math/libm-test.inc (totalordermag_test_data): New array.
14691         (totalordermag_test): New function.
14692         (main): Call totalordermag_test.
14693         * math/test-tgmath.c (NCALLS): Increase to 125.
14694         (F(compile_test)): Call totalordermag.
14695         (F(totalordermag)): New function.
14696         * manual/arith.texi (FP Comparison Functions): Document
14697         totalordermag, totalordermagf and totalordermagl.
14698         * manual/libm-err-tab.pl: Update comment on interfaces without
14699         ulps tabulated.
14700         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14701         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14702         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14703         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14704         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14705         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14706         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14707         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14708         totalordermag.
14709         (CFLAGS-nldbl-totalordermag.c): New variable.
14710         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14711         (do_test): Also test totalordermagl.
14712         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14713         Likewise.
14714         * sysdeps/nacl/libm.abilist: Update.
14715         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14716         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14717         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14718         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14719         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14720         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14722         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14723         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14724         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14725         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14726         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14728         Likewise.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14730         Likewise.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14732         Likewise.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14734         Likewise.
14735         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14736         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14737         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14739         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14745         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14748 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14750         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14751         boolean.
14753 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14755         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14756         raising FE_INVALID with feraisexcept in case where part of
14757         argument is infinite, subtract that part of argument from itself.
14758         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14759         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14760         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14762 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14764         * math/libm-test.inc (totalorder_test_data): Add more tests.
14766 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14768         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14769         Undefine weak_alias and add a comment why mips64 require
14770         versioning.
14772 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14774         [BZ #20647]
14775         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14776         maximum CPUID level is less than 2.
14778 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14780         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14781         (totalorder): New declaration.
14782         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14783         New macro.
14784         * math/Versions (totalorder): New libm symbol at version
14785         GLIBC_2.25.
14786         (totalorderf): Likewise.
14787         (totalorderl): Likewise.
14788         * math/Makefile (libm-calls): Add s_totalorderF.
14789         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14790         string.
14791         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14792         (qnan_value_pl): Likewise.
14793         (snan_value_pl): Likewise.
14794         (qnan_value): Define using qnan_value_pl.
14795         (snan_value): Define using snan_value_pl.
14796         (struct test_ff_i_data): Add comment about which tests use this
14797         structure.
14798         (RUN_TEST_ff_b): New macro.
14799         (RUN_TEST_LOOP_ff_b): Likewise.
14800         (totalorder_test_data): New array.
14801         (totalorder_test): New function.
14802         (main): Call totalorder_test.
14803         * math/test-tgmath.c (NCALLS): Increase to 122.
14804         (F(compile_test)): Call totalorder.
14805         (F(totalorder)): New function.
14806         * manual/arith.texi (FP Comparison Functions): Document
14807         totalorder, totalorderf and totalorderl.
14808         * manual/libm-err-tab.pl: Update comment on interfaces without
14809         ulps tabulated.
14810         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14811         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14812         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14813         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14814         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14815         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14816         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14817         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14818         totalorder.
14819         (CFLAGS-nldbl-totalorder.c): New variable.
14820         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14821         file.
14822         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14823         Add test-totalorderl-ldbl-128ibm.
14824         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14825         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14826         test-totalorderl-ldbl-96.
14827         * sysdeps/nacl/libm.abilist: Update.
14828         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14829         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14830         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14831         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14832         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14833         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14835         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14836         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14837         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14838         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14841         Likewise.
14842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14843         Likewise.
14844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14845         Likewise.
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14847         Likewise.
14848         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14849         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14850         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14851         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14852         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14854         Likewise.
14855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14858         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14859         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14861 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14863         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14864         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14865         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14866         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14867         remove ENOSYS implementation.
14868         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14869         Consolidate all Linux implementations.
14871 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14873         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14874         * resolv/herror.c (herror): Cast away const-ness.
14875         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14876         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14878 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14880         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14881         instead of M_NAN + M_NAN.
14882         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14884 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14886         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14887         unused variable 'p'.
14889 2016-10-09  Alan Modra  <amodra@gmail.com>
14890             Andreas Schwab  <schwab@linux-m68k.org>
14892         [BZ #20554]
14893         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14894         [PIC && !SHARED]: Set up PIC register for PLT call.
14896 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14898         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14899         conditional on value of [__FLT_EVAL_METHOD__].
14900         * math/test-iseqsig-excess-precision.c: New file.
14901         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14903 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14905         * math/s_iseqsig_template.c: Include math-private.h.
14907         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14908         * posix/tst-posix_fadvise.c: New file.
14909         * posix/tst-posix_fadvise64.c: Likewise.
14910         * posix/tst-posix_fadvise-common.c: Likewise.
14911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14912         (__ASSUME_FADVISE64_64_6ARG): Define.
14913         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14914         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14915         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14916         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14917         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14918         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14919         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14920         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14921         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14922         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14923         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14924         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14927         Likewise.
14928         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14929         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14930         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14931         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14932         Alias to __posix_fadvise64_l32.
14933         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14934         Add compat definition to posix_fadvise64.
14935         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14936         Add versioned definition to posix_fadvise64.
14937         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14938         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14939         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14940         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14941         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14943         * io/Makefile (tests): Add tst-posix_fallocate and
14944         tst-posix_fallocate64.
14945         * io/tst-posix_fallocate-common.c: New file.
14946         * io/tst-posix_fallocate.c: Likewise.
14947         * io/tst-posix_fallocate64.c: Likewise.
14948         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14949         file.
14950         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14953         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14954         Likewise.
14955         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14956         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14957         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14958         SYSCALL_LL to pass both offset and len arguments.
14959         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14960         Likewise.
14961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14962         __libc_pwrite64 alias used by posix_fallocate64.
14964         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14965         tst-fallocate64.
14966         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14967         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14968         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14969         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14970         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14971         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14972         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14973         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14974         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14975         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14976         macro on offset argument.
14977         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14978         SYSCALL_LL64 on offset argument.
14980         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14981         tst-fallocate64.
14982         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14983         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14984         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14985         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14986         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14987         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14988         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14989         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14990         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14991         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14992         macro on offset argument.
14993         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14994         SYSCALL_LL64 on offset argument.
14995         * test-skeleton.c (FAIL_RET): Add macro.
14996         (FAIL_EXIT): Likewise.
14997         (FAIL_EXIT1): Likewise.
14998         (_FAIL): Likewise.
15000 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15002         [BZ #20629]
15003         resolv: Remove RES_USEBSTRING and its implementation.
15004         * resolv/resolv.h (RES_USEBSTRING): Remove.
15005         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15006         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15007         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15008         (labellen): Remove extended label types support.
15009         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15010         * resolv/res_init.c (res_setoptions): Likewise.
15011         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15013 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15015         resolv: Remove RES_NOIP6DOTINT and its implementation.
15016         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15017         (RES_NOIP6DOTINT): Remove.
15018         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15019         handling.
15020         * resolv/res_debug.c (p_option): Likewise.
15021         * resolv/res_init.c (res_setoptions): Likewise.
15022         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15024 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15026         resolv: Deprecate unimplemented flags.
15027         * misc/sys/cdefs.h (__glibc_macro_warning1)
15028         (__glibc_macro_warning): Define.
15029         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15030         (RES_KEEPTSIG): Mark as deprecated.
15031         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15032         RES_NOCHECKNAME, RES_KEEPTSIG.
15033         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15035 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15037         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15038         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15039         Use strong_alias to create symbols for glibc verison 2.19.
15041 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15043         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15045 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15047         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15049 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15051         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15053 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15055         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15056         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15057         in header for using it as type for ifunc function because __GI_* symbols
15058         for ppc32 do not target the ifunc symbols.
15059         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15061 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15063         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15064         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15065         libc_ifunc_hidden_def.
15066         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15067         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15068         Redirect ifunced function in header for using it as type of ifunc'ed
15069         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15070         function for __GI_* symbol.
15071         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15072         * include/libc-symbols.h
15073         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15075 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15077         [BZ #20478]
15078         * sysdeps/s390/multiarch/ifunc-resolve.h
15079         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15080         to create ifunc symbols.
15081         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15082         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15083         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15084         for using it as type for ifunc function.
15085         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15086         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15087         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15088         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15089         * sysdeps/s390/multiarch/strcat.c: Likewise.
15090         * sysdeps/s390/multiarch/strchr.c: Likewise.
15091         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15092         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15093         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15094         * sysdeps/s390/multiarch/strlen.c: Likewise.
15095         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15096         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15097         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15098         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15099         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15100         * sysdeps/s390/multiarch/strspn.c: Likewise.
15101         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15102         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15103         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15104         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15105         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15106         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15107         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15108         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15109         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15110         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15111         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15112         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15114 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15116         * include/libc-symbols.h (__ifunc_resolver):
15117         New macro is used by __ifunc* macros.
15118         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15119         depending on HAVE_GCC_IFUNC.
15120         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15121         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15123         Redirect ifunced function in header for using as type for ifunc function.
15124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15130         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15131         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15133         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15135         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15137         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15143         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15145         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15146         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15147         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15148         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15149         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15150         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15151         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15152         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15153         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15154         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15155         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15156         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15158         Add libc_hidden_def() and use libc_ifunc_hidden() macro
15159         instead of libc_ifunc() macro.
15160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15161         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15163 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15165         * config.h.in (HAVE_GCC_IFUNC): New undef.
15166         * configure.ac: Add check if gcc supports attribute ifunc feature.
15167         * configure: Regenerated.
15168         * manual/install.texi: Add recommendation for gcc with
15169         indirect-function support.
15170         * INSTALL: Regenerated.
15172 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
15174         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15175         macro.
15176         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15177         (__iseqsig): New declaration.
15178         * math/s_iseqsig_template.c: New file.
15179         * math/Versions (__iseqsigf): New libm symbol at version
15180         GLIBC_2.25.
15181         (__iseqsig): Likewise.
15182         (__iseqsigl): Likewise.
15183         * math/libm-test.inc (iseqsig_test_data): New array.
15184         (iseqsig_test): New function.
15185         (main): Call iseqsig_test.
15186         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15187         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15188         * manual/libm-err-tab.pl: Update comment on interfaces without
15189         ulps tabulated.
15190         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15191         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15192         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15193         * sysdeps/nacl/libm.abilist: Update.
15194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15207         Likewise.
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15209         Likewise.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15211         Likewise.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15213         Likewise.
15214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15215         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15216         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15217         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15220         Likewise.
15221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15222         Likewise.
15223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15224         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15225         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15227 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15229         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15230         do_sincos_2, sloww, sloww1): Update comments.
15232         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15233         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15235         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15236         K boolean and rename it.
15237         (__sin): Adjust.
15238         (__cos): Adjust.
15240 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15241             Siddhesh Poyarekar  <siddhesh@sourceware.org>
15243         * manual/nss.texi: Fix typos in the manual.
15245 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15247         * manual/contrib.texi: Fix typos in the manual.
15249         * manual/maint.texi: Fix typos in the manual.
15251         * manual/install.texi: Fix typos in the manual.
15252         * INSTALL: Regenerated.
15254         * manual/lang.texi: Fix typos in the manual.
15256         * manual/probes.texi: Fix typos in the manual.
15258         * manual/threads.texi: Fix typos in the manual.
15260         * manual/debug.texi: Fix typos in the manual.
15262         * manual/crypt.texi: Fix typos in the manual.
15264         * manual/conf.texi: Fix typos in the manual.
15266         * manual/sysinfo.texi: Fix typos in the manual.
15268         * manual/users.texi: Fix typos in the manual.
15270         * manual/job.texi: Fix typos in the manual.
15272         * manual/process.texi: Fix typos in the manual.
15274         * manual/argp.texi: Fix typos in the manual.
15275         * manual/getopt.texi: Likewise.
15276         * manual/startup.texi: Likewise.
15278         * manual/signal.texi: Fix typos in the manual.
15280         * manual/setjmp.texi: Fix typos in the manual.
15282         * manual/resource.texi: Fix typos in the manual.
15284         * manual/time.texi: Fix typos in the manual.
15286         * manual/arith.texi: Fix typos in the manual.
15288         * manual/math.texi: Fix typos in the manual.
15290         * manual/syslog.texi: Fix typos in the manual.
15292         * manual/terminal.texi: Fix typos in the manual.
15294         * manual/socket.texi: Fix typos in the manual.
15296         * manual/filesys.texi: Fix typos in the manual.
15298         * manual/llio.texi: Fix typos in the manual.
15300         * manual/stdio.text: Fix typos in the manual.
15302 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15304         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15305         instead of K1.
15307         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15308         SHIFT_QUADRANT and make it bool.
15309         (do_sincos_2): Likewise.
15310         (sloww): Likewise.
15311         (sloww1): Likewise.
15312         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15313         (__cos): Likewise.
15315 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15317         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15319 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
15321         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15322         Define to __WORDSIZE, not conditional on [LONG_MAX ==
15323         0x7fffffffL].
15324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15326 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15328         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15329         inline by __inline__.
15330         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15331         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15332         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15333         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15334         sigset_t from signal.h.
15335         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15336         which is already required.
15338 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
15340         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15342 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
15344         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15345         (struct tcp_repair_window): New type.
15347 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15349         * libio/tst-memstream3.c: Include string.h.
15351 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15353         [BZ #18241]
15354         [BZ #20181]
15355         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15356         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15357         write position is at the end the buffer.
15358         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15359         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15360         (_IO_str_seekoff): Set correct offset from negative displacement and
15361         set EINVAL for invalid ones.
15362         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15363         buffer length.
15364         (_IO_wstr_switch_to_get_mode): New function.
15365         (_IO_wstr_seekoff): Set correct offset from negative displacement and
15366         set EINVAL for invalid ones.
15367         * libio/tst-memstream3.c: New file.
15368         * libio/tst-wmemstream3.c: Likewise.
15369         * manual/examples/memstrm.c: Remove warning when priting size_t.
15371 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15373         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15374         macro to use __builtin_fma.
15375         * sysdeps/x86_64/fpu/dla.h: Remove file.
15377         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15378         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15379         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15381 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
15383         [BZ #20292]
15384         * elf/Makefile (routines): Add dl-addr-obj.
15385         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15386         tst-_dl_addr_inside_object.
15387         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15388         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15389         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15390         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15391         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15392         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15393         * elf/dl-open.c: Likewise.
15394         * elf/dl-addr-obj.c: New file.
15395         * elf/tst-_dl_addr_inside_object.c: New file.
15397 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15399         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
15400         <bits/iscanonical.h>.
15401         * bits/iscanonical.h: New file.
15402         * math/s_iscanonicall.c: Likewise.
15403         * math/Versions (__iscanonicall): New libm symbol at version
15404         GLIBC_2.25.
15405         * math/libm-test.inc (iscanonical_test_data): New array.
15406         (iscanonical_test): New function.
15407         (main): Call iscanonical_test.
15408         * math/Makefile (headers): Add bits/iscanonical.h.
15409         (type-ldouble-routines): Add s_iscanonicall.
15410         * manual/arith.texi (Floating Point Classes): Document
15411         iscanonical.
15412         * manual/libm-err-tab.pl: Update comment on interfaces without
15413         ulps tabulated.
15414         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15415         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15416         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15417         Likewise.
15418         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15419         test-iscanonical-ldbl-128ibm.
15420         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15421         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15422         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15423         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15424         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15425         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15428         Likewise.
15429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15430         Likewise.
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15432         Likewise.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15436         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15438 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15440         * string/bits/string3.h: Remove C++ style comments.
15442 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15444         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15445         instead of ternary condition.
15446         (do_sincos_2): Likewise.
15447         (__sin): Likewise.
15448         (__cos): Likewise.
15449         (slow): Likewise.
15450         (sloww): Likewise.
15451         (sloww1): Likewise.
15452         (bsloww): Likewise.
15453         (bsloww1): Likewise.
15455         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15456         instead of ternary condition.
15457         (do_sin_slow): Likewise.
15458         (do_sincos_1): Likewise.
15459         (do_sincos_2): Likewise.
15460         (__cos): Likewise.
15461         (sloww): Likewise.
15462         (sloww1): Likewise.
15463         (sloww2): Likewise.
15464         (bsloww): Likewise.
15465         (bsloww1): Likewise.
15466         (bsloww2): Likewise.
15468         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15469         check from here...
15470         (slow2): ... and here...
15471         (__sin): ... to here.
15473 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
15475         * math/math.h
15476         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15477         Cast argument to its own type.
15478         * math/test-iszero-excess-precision.c: New file.
15479         * math/Makefile (tests): Add test-iszero-excess-precision.
15480         (CFLAGS-test-iszero-excess-precision.c): New variable.
15482 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
15484         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15485         field, add err field.
15486         (__spawni_child): Report error through err member instead of pipe.
15487         (__spawnix): Likewise.
15489 2016-09-28  Zack Weinberg  <zackw@panix.com>
15491         * scripts/check-installed-headers.sh: Generalize treatment of
15492         sys/elf.h to all target architectures.
15494         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15495         deleted typedef ucontext_t.
15497 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15499         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15500         (__INTERNAL_SYSCALL1): Likewise.
15501         (__INTERNAL_SYSCALL2): Likewise.
15502         (__INTERNAL_SYSCALL3): Likewise.
15503         (__INTERNAL_SYSCALL4): Likewise.
15504         (__INTERNAL_SYSCALL5): Likewise.
15505         (__INTERNAL_SYSCALL6): Likewise.
15506         (__INTERNAL_SYSCALL7): Likewise.
15507         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15508         (__INTERNAL_SYSCALL_NARGS): Likewise.
15509         (__INTERNAL_SYSCALL_DISP): Likewise.
15510         (INTERNAL_SYSCALL_CALL): Likewise.
15511         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15512         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15513         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15514         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15515         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15516         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15517         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15518         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15519         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15520         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15521         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15522         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15523         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15525 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
15527         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15528         macro.
15529         * math/libm-test.inc (iszero_test_data): New array.
15530         (iszero_test): New function.
15531         (main): Call iszero_test.
15532         * manual/arith.texi (Floating Point Classes): Document iszero.
15533         * manual/libm-err-tab.pl: Update comment on interfaces without
15534         ulps tabulated.
15536 2016-09-23  Zack Weinberg  <zackw@panix.com>
15538         * scripts/check-installed-headers.sh: New script.
15539         * Rules: In each directory that defines header files to be installed,
15540         run check-installed-headers.sh on them as a special test.
15541         * Makefile: Likewise for the headers installed at top level.
15543         * include/aliases.h, include/alloca.h, include/argz.h
15544         * include/arpa/nameser.h, include/arpa/nameser_compat.h
15545         * include/elf.h, include/envz.h, include/err.h
15546         * include/execinfo.h, include/fpu_control.h, include/getopt.h
15547         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15548         * include/link.h, include/malloc.h, include/mcheck.h
15549         * include/mntent.h, include/netinet/ether.h
15550         * include/nss.h, include/obstack.h, include/printf.h
15551         * include/pty.h, include/resolv.h, include/rpc/auth.h
15552         * include/rpc/auth_des.h, include/rpc/auth_unix.h
15553         * include/rpc/clnt.h, include/rpc/des_crypt.h
15554         * include/rpc/key_prot.h, include/rpc/netdb.h
15555         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15556         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15557         * include/rpc/rpc_msg.h, include/rpc/svc.h
15558         * include/rpc/svc_auth.h, include/rpc/xdr.h
15559         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15560         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15561         * include/rpcsvc/ypupd.h, include/shadow.h
15562         * include/stdio_ext.h, include/sys/epoll.h
15563         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15564         * include/sys/prctl.h, include/sys/profil.h
15565         * include/sys/statfs.h, include/sys/sysctl.h
15566         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15567         * sysdeps/arm/nacl/include/bits/setjmp.h
15568         * sysdeps/mips/include/sys/asm.h
15569         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15570         * sysdeps/unix/sysv/linux/include/sys/timex.h
15571         * sysdeps/x86/fpu/include/bits/fenv.h:
15572         Add #ifndef _ISOMAC guard around internal declarations.
15573         Add multiple-inclusion guard if not already present.
15575 2016-09-23  Zack Weinberg  <zackw@panix.com>
15577         * sysdeps/generic/sys/ucontext.h
15578         * sysdeps/arm/sys/ucontext.h
15579         * sysdeps/i386/sys/ucontext.h
15580         * sysdeps/m68k/sys/ucontext.h
15581         * sysdeps/mips/sys/ucontext.h
15582         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15583         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15584         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15585         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15586         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15587         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15588         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15589         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15590         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15591         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15592         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15593         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15594         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15595         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15596         Include both bits/sigcontext.h and bits/sigstack.h.
15597         Fix grammar error in comment, if present.
15599         * bits/sigstack.h
15600         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15601         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15602         * sysdeps/unix/sysv/linux/bits/sigstack.h
15603         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15604         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15605         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15606         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15607         * bits/sigcontext.h
15608         * sysdeps/mach/hurd/i386/bits/sigcontext.h
15609         * sysdeps/unix/sysv/linux/bits/sigcontext.h
15610         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15611         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15612         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
15613         as well as signal.h, if this was not already allowed.  Request
15614         definition of size_t if necessary.  Minimize semantically-null
15615         differences across files.
15617 2016-09-23  Zack Weinberg  <zackw@panix.com>
15619         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15620         Remove all logic conditional on __need macros.  Move all the
15621         conditionally defined types to their own headers...
15622         * time/bits/types/clock_t.h: Define clock_t here.
15623         * time/bits/types/clockid_t.h: Define clockid_t here.
15624         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15625         * time/bits/types/struct_timespec.h: Define struct timespec here.
15626         * time/bits/types/struct_timeval.h: Define struct timeval here.
15627         * time/bits/types/struct_tm.h: Define struct tm here.
15628         * time/bits/types/time_t.h: Define time_t here.
15629         * time/bits/types/timer_t.h: Define timer_t here.
15630         * time/Makefile: Install the new headers.
15632         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15633         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15634         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15635         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15636         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15637         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15638         * sysdeps/unix/sysv/linux/bits/resource.h
15639         * sysdeps/unix/sysv/linux/bits/timex.h
15640         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15641         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15642         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15643         * sysdeps/unix/sysv/linux/sys/acct.h
15644         * sysdeps/unix/sysv/linux/sys/timerfd.h
15645         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15646         * time/sys/time.h, time/sys/timeb.h
15647         Use the new bits/types headers.
15649         * include/time.h: Remove __need logic.
15650         * include/bits/time.h
15651         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15652         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15653         * include/bits/types/struct_itimerspec.h
15654         * include/bits/types/struct_timespec.h
15655         * include/bits/types/struct_timeval.h
15656         * include/bits/types/struct_tm.h:
15657         New wrapper headers.
15659 2016-09-23  Zack Weinberg  <zackw@panix.com>
15661         * sysdeps/mach/hurd/net/if_ppp.h
15662         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15663         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15664         if __USE_MISC is defined, to ensure struct ifreq is declared.
15666         * inet/netinet/ether.h: Condition all function prototypes
15667         on __USE_MISC, to ensure struct ether_addr is declared.
15669         * socket/bits/types/struct_osockaddr.h: New header.
15670         * include/bits/types/struct_osockaddr.h: New wrapper.
15671         * socket/Makefile: Install the new header.
15672         * socket/sys/socket.h, inet/protocols/talkd.h:
15673         Refer to bits/types/struct_osockaddr.h for the definition of
15674         struct osockaddr.
15676 2016-09-23  Zack Weinberg  <zackw@panix.com>
15678         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15679         * inet/protocols/routed.h, inet/protocols/talkd.h
15680         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15681         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15682         * sysdeps/generic/netinet/if_ether.h
15683         * sysdeps/generic/netinet/in_systm.h
15684         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15685         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15686         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15687         * sysdeps/mach/hurd/net/if_arp.h
15688         * sysdeps/mach/hurd/net/if_ppp.h
15689         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15690         * sysdeps/unix/sysv/linux/bits/in.h
15691         * sysdeps/unix/sysv/linux/net/ethernet.h
15692         * sysdeps/unix/sysv/linux/net/if_arp.h
15693         * sysdeps/unix/sysv/linux/net/if_ppp.h
15694         * sysdeps/unix/sysv/linux/net/if_shaper.h
15695         * sysdeps/unix/sysv/linux/net/route.h
15696         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15697         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15698         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15699         * sysdeps/unix/sysv/linux/netipx/ipx.h
15700         * sysdeps/unix/sysv/linux/sys/acct.h
15701         * include/arpa/nameser.h, include/resolv.h:
15702         Change all uses of u_char to unsigned char,
15703         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15704         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15705         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15706         and u_int64_t and u_quad_t to uint64_t.
15708         * mach/sys/reboot.h: Remove two casts of integer literals
15709         to the types they already have.
15711         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15712         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15713         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15714         from referring to 'unsigned char' to 'uint8_t' for consistency with
15715         the macro definition below.
15717         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15718         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15719         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15720         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15721         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15722         * sysdeps/unix/sysv/linux/sys/acct.h
15723         * include/arpa/nameser.h, include/resolv.h:
15724         Fix indentation disrupted by mechanical edits.
15726         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15727         * sysdeps/generic/netinet/in_systm.h
15728         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15729         * sysdeps/gnu/netinet/udp.h
15730         * sysdeps/unix/sysv/linux/net/ethernet.h
15731         * sysdeps/unix/sysv/linux/net/if_arp.h
15732         * sysdeps/unix/sysv/linux/net/if_ppp.h
15733         * sysdeps/unix/sysv/linux/net/if_shaper.h
15734         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15735         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15736         * sysdeps/unix/sysv/linux/netipx/ipx.h
15737         * sysdeps/unix/sysv/linux/sys/acct.h
15738         Include stdint.h for uintNN_t definitions.
15739         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15741 2016-09-23  Zack Weinberg  <zackw@panix.com>
15743         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15744         * sysdeps/unix/sysv/linux/netrose/rose.h:
15745         Include sys/socket.h and netax25/ax25.h.
15747         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15748         * resolv/arpa/nameser_compat.h:
15749         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15751         * sysdeps/unix/sysv/linux/sys/quota.h:
15752         Use __caddr_t instead of caddr_t.
15753         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15754         Use __clockid_t instead of clockid_t.
15756         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15758         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15759         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15760         expanding it.
15762         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15763         Define __glibc_c99_flexarr_available to 1 when the compiler
15764         supports C99-compatible flexible array members, 0 otherwise.
15765         * sysdeps/unix/sysv/linux/bits/socket.h
15766         * sysdeps/mach/hurd/bits/socket.h
15767         * bits/socket.h: Use __glibc_c99_flexarr_available in
15768         definitions of struct cmsghdr and CMSG_DATA.
15770 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15772         * manual/nss.texi (NSS Modules Interface): Adjust function return
15773         type to enum nss_status.  Document errnop argument.  Clarify
15774         h_errnop semantics.  Fix cross-reference formatting.
15775         (NSS Module Function Internals): Mention that *errnop needs to be
15776         set on failure, but not to zero.
15778 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15780         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15781         (get_random_name): New functions.
15782         (check_wrapper_flags_mode): Use linkat to give the new file a name
15783         determined by get_random_name.
15784         (do_test): Add calls to test open64 and openat64.
15786 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15788         * test-skeleton.c: Remove #include <stdarg.h>.
15790 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15792         [BZ #19826]
15793         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15794         initialization of static TLS entries.
15795         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15796         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15798 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15800         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15801         _hurd_malloc_fork_prepare.
15802         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15803         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15804         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15805         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15806         (_hurd_fork_child_hook): Drop malloc_fork_child.
15807         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15808         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15809         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15810         after locking locks (notably hurd_dtable_lock). Call
15811         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15812         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15813         __malloc_fork_unlock_child.
15814         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15816 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15818         * soft-fp/extendhftf2.c: New.
15819         * soft-fp/fixhfti.c: Likewise.
15820         * soft-fp/fixunshfti.c: Likewise.
15821         * soft-fp/floattihf.c: Likewise.
15822         * soft-fp/floatuntihf.c: Likewise.
15823         * soft-fp/half.h: Likewise.
15824         * soft-fp/trunctfhf2.c: Likewise.
15826 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15828         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15829         macro.
15830         * math/libm-test.inc (issubnormal_test_data): New array.
15831         (issubnormal_test): New function.
15832         * manual/arith.texi (Floating Point Classes): Document
15833         issubnormal.
15834         * manual/libm-err-tab.pl: Update comment on interfaces without
15835         ulps tabulated.
15837         * sysdeps/generic/stdint.h: Define
15838         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15839         <bits/libc-header-start.h> instead of including <features.h>.
15840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15866         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15867         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15869         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15872         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15873         * manual/arith.texi (Integers): Document these macros for types
15874         specified by width properties.
15875         * manual/lang.texi (Width of Type): Document these macros for
15876         other standard typedefs.
15877         * stdlib/tst-width-stdint.c: New file.
15878         * stdlib/Makefile (tests): Add tst-width-stdint.
15880 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15882         [BZ #20016]
15883         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15884         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15885         Move ...
15886         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15887         ... here, as compatibility symbols in a new file.
15888         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15889         * resolv/res_init.c (__res_vinit): Adjust member names.
15890         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15891         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15892         (res_send_rhook): Remove.
15893         (struct __res_state): Rename qhook, rhook members.
15895 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15897         malloc: Use __libc_lock wrappers.
15898         * malloc/arena.c (list_lock, free_list_lock): Define using
15899         __libc_lock_define_initialized.
15900         (arena_lock): Adjust formatting.
15901         * malloc/malloc.c (struct malloc_state): Define mutex using
15902         __libc_lock_define.
15903         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15904         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15905         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15906         (mutex_unlock, mutex_trylock): Remove.
15907         (__pthread_initialize): Remove unused macro.
15908         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15909         (mutex_unlock, mutex_trylock): Remove.
15911 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15913         [BZ #20592]
15914         Remove RR type classification macros.
15915         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15916         (ns_t_udp_p, ns_t_xfr_p): Remove.
15918 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15920         Remove misleading version information.
15921         * resolv/arpa/nameser.h (__NAMESER): Remove.
15922         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15924 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15926         Remove the always-defined BIND_4_COMPAT macro.
15927         * resolv/arpa/nameser.h: Unconditionally include
15928         <arpa/nameser_compat.h>.
15929         (BIND_4_COMPAT): Remove.
15930         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15932 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15934         [BZ #20591]
15935         Remove obsolete DNSSEC support.
15936         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15937         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15938         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15939         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15940         (ns_cert_types): Add comment.
15941         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15942         separately.
15943         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15944         (dst_s_dns_key_id): Remove.
15945         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15946         variables.
15948 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15950         [BZ #20524]
15951         * manual/string.texi (String/Array Comparison): Clarify the
15952         strverscmp behavior.
15954 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15956         * test-skeleton.c (xasprintf): Add function.
15957         * io/tst-open-tmpfile.c: New test.
15958         * io/Makefile (tests): Add it.
15960 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15962         Avoid running $(CXX) during build to obtain header file paths.
15963         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15964         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15965         * Makerules (cstdlib, cmath): Remove variables.  Use
15966         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15967         * configure: Regenerate.
15969 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15971         * Makeconfig (all-object-suffixes): Include .op only if
15972         $(build-profile).
15974 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15976         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15977         conditionals.  Do not define PATH_MAX.
15979 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15981         * posix/Makefile (tests): Add tst-spawn3.
15982         * posix/tst-spawn3.c: New file.
15983         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15984         if it is already opened for open action.
15986         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15987         all signals when executing the clone vfork child.
15988         (SIGALL_SET): Remove macro.
15990         * nptl/Makefile (tests): Add tst-exec5.
15991         * nptl/tst-exec5.c: New file.
15992         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15993         asynchronous cancellation.
15995 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15997         * hurd/exc2signal.c: #include <hurd/signal.h>
15998         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15999         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16000         accordingly.
16001         * mach/mach_error.c (mach_error): Fix old-style function definition.
16002         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16004 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16006         * math/Makefile (libm-calls): Remove s_nanF.
16007         (gen-libm-calls): Add s_nanF.
16009         * math/s_nan.c: Refactor into ...
16010         * math/s_nan_template.c: New file.
16012         * math/s_nanf.c: Removed.
16013         * math/s_nanl.c: Removed.
16014         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16015         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16017         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16018         (LDOUBLE_nanl_libm_version): New macro.
16020         * sysdeps/generic/math-type-macros-double.h:
16021         (M_STRTO_NAN): New macro.
16022         * sysdeps/generic/math-type-macros-float.h: Likewise.
16023         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16025         * sysdeps/generic/math-type-macros.h: Document
16026         M_STRTO_NAN.
16028 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16030         * math/s_nanf.c: Remove __nanf undef.
16031         * math/s_nan.c: Remove __nan undef.
16032         * math/s_nanl.c: Remove __nanl undef.
16034         * sysdeps/generic/math_private.h (__nan): Remove macro
16035         override.
16036         (__nanf): Likewise.
16037         (__nanl): Likewise.
16039 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16041         * math/Makefile (gen-all-calls): New variable.
16042         (generated): Replace gen-libm-calls with gen-all-calls.
16043         (gen-libm-templates.stmp): Likewise.  Also, ensure
16044         the output directory exists or is created and add
16045         dependency on the Makefile.
16046         (calls): Move s_ldexpF into gen-calls.
16047         (gen-calls): New variable.
16049         * math/s_ldexpf.c: Removed.
16050         * math/s_ldexpl.c: Removed.
16051         * math/s_ldexp.c: Refactored into ...
16052         * math/s_ldexp_template.c: New file.
16054         * sysdeps/generic/math-type-macros-double.h: Remove
16055         redundant fall-through definition of declare_mgen_alias.
16056         (declare_mgen_alias_2): New macro.
16058         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16059         New macro for function aliased to two exported symbols.
16061         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16062         new template file.
16063         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16065 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16067         * Makeconfig (all-object-suffixes): Remove .og.
16068         * Makerules (elide-routines.og): Remove.
16069         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16070         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16071         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16073 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16075         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16076         .os objects.
16078 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16080         [BZ #20615]
16081         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16082         fpu directory by non-fpu.
16083         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16084         on non-fpu directory from a fpu directory.
16086 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16088         * include/limits.h: Define
16089         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16090         <bits/libc-header-start.h> instead of including <features.h>.
16091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16102         * manual/lang.texi (Width of Type): Document these macros.
16103         * stdlib/tst-width.c: New file.
16104         * stdlib/Makefile (tests): Add tst-width.
16106 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16108         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16109         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16111 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16113         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16114         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16115         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16117 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16119         [BZ #18243]
16120         * rt/Makefile (test): Add tst-shm-cancel.
16121         * rt/tst-shm-cancel.c: New file.
16122         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16124         [BZ #18243]
16125         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16126         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16127         definition.
16128         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16129         uncontended case.
16130         * nptl/sem_wait.c (__new_sem_wait): Likewise.
16131         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16132         (tf): Fix check for uncontended case.
16133         (do_test): Likewise.
16134         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16135         (tf): Fix check for uncontended case.
16136         (do_test): Likewise.
16137         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16138         (tf): Fix check for uncontended case.
16139         (do_test): Likewise.
16140         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16141         (tf): Fix check for uncontended case.
16142         (do_test): Likewise.
16144         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16145         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16147         [BZ #15765]
16148         * nptl/Makefile (tests): Add tst-sem16.
16149         * nptl/tst-sem16.c: New file.
16150         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16152         * nptl/sem_open.c (sem_open): Init pad value to 0.
16153         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16154         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16156 2016-09-15  Florian Weimer  <fweimer@redhat.com>
16158         [BZ #20611]
16159         * inet/Makefile (routines): Add inet6_scopeid_pton.
16160         (tests): Add tst-inet6_scopeid_pton.
16161         * inet/inet6_scopeid_pton.c: New file.
16162         * inet/net-internal.h: Likewise.
16163         * inet/tst-inet6_scopeid_pton.c: New test.
16164         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16165         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16168 2016-09-14  Florian Weimer  <fweimer@redhat.com>
16170         Remove support for compiling wrappers with PTW.
16171         * sysdeps/nptl/Makeconfig: Drop ptw- support.
16172         * nptl/Makefile (pthread-compat-wrappers): Define.
16173         (libpthread-routines): Use pthread-compat-wrappers.
16174         * sysdeps/unix/sysv/linux/alpha/Makefile
16175         (libpthread-routines, libpthread-shared-only-routines): Remove
16176         ptw- prefix.
16177         * sysdeps/s390/nptl/Makefile
16178         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16179         * sysdeps/ia64/nptl/Makefile
16180         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16181         * sysdeps/nacl/Makefile (libpthread-routines): Use
16182         pthread-compat-wrappers to filter the routines list instead of the
16183         ptw- prefix.
16185 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16187         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16188         with L() and remove explicit suffix, convert real literals
16189         which can be equivalentally substituted with integers, and
16190         transform -L(x) to L(-x).
16192         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16193         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16194         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16195         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16196         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16197         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16198         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16199         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16200         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16201         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16202         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16203         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16204         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16205         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16206         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16207         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16208         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16209         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16210         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16211         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16212         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16213         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16214         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16215         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16216         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16217         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16218         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16219         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16220         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16221         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16222         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16223         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16224         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16225         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16226         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16227         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16228         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16231         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16233         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16234         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16235         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16236         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16237         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16238         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16239         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16240         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16241         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16243 2016-09-13  Florian Weimer  <fweimer@redhat.com>
16245         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16247 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16249         * malloc/Makefile (tests): Remove individual static test names
16250         and just add all of tests-static.
16252         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16254 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
16256         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16257         file.
16259         * sysdeps/sparc/fpu/fegetmode.c: New file.
16260         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16262         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16263         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16265         * sysdeps/s390/fpu/fegetmode.c: New file.
16266         * sysdeps/s390/fpu/fesetmode.c: Likewise.
16268         * sysdeps/powerpc/fpu/fegetmode.c: New file.
16269         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16270         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16271         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16273         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16275         * sysdeps/mips/fpu/fegetmode.c: New file.
16276         * sysdeps/mips/fpu/fesetmode.c: Likewise.
16278         * sysdeps/m68k/fpu/fegetmode.c: New file.
16279         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16281         * sysdeps/ia64/fpu/fegetmode.c: New file.
16282         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16284         * sysdeps/hppa/fpu/fegetmode.c: New file.
16285         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16287         * sysdeps/arm/fegetmode.c: New file.
16288         * sysdeps/arm/fesetmode.c: Likewise.
16290         * sysdeps/alpha/fpu/fegetmode.c: New file.
16291         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16293         * sysdeps/aarch64/fpu/fegetmode.c: New file.
16294         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16296         * math/fegetmode.c: New file.
16297         * math/fesetmode.c: Likewise.
16298         * sysdeps/i386/fpu/fegetmode.c: Likewise.
16299         * sysdeps/i386/fpu/fesetmode.c: Likewise.
16300         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16301         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16302         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16304         declaration.
16305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16306         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16307         typedef.
16308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16309         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16310         (femode_t): New typedef.
16311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16312         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16313         (femode_t): New typedef.
16314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16315         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16316         (femode_t): New typedef.
16317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16318         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16319         (femode_t): New typedef.
16320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16321         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16322         (femode_t): New typedef.
16323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16324         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16325         (femode_t): New typedef.
16326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16327         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16328         (femode_t): New typedef.
16329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16330         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16331         (femode_t): New typedef.
16332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16333         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16334         (femode_t): New typedef.
16335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16336         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16337         (femode_t): New typedef.
16338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16339         declaration.
16340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16341         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16342         (femode_t): New typedef.
16343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16344         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16345         (femode_t): New typedef.
16346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16347         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16348         (femode_t): New typedef.
16349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16350         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16351         (femode_t): New typedef.
16352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16353         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16354         (femode_t): New typedef.
16355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16356         * manual/arith.texi (FE_DFL_MODE): Document macro.
16357         (fegetmode): Document function.
16358         (fesetmode): Likewise.
16359         * math/Versions (fegetmode): New libm symbol at version
16360         GLIBC_2.25.
16361         (fesetmode): Likewise.
16362         * math/Makefile (libm-support): Add fegetmode and fesetmode.
16363         (tests): Add test-femode and test-femode-traps.
16364         * math/test-femode-traps.c: New file.
16365         * math/test-femode.c: Likewise.
16366         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16367         alias for __fe_dfl_env.
16368         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16369         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16370         (__fe_dfl_mode): Likewise.
16371         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16372         version GLIBC_2.25.
16373         * sysdeps/nacl/libm.abilist: Update.
16374         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16375         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16376         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16377         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16378         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16379         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16380         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16381         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16382         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16383         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16384         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16385         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16387         Likewise.
16388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16389         Likewise.
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16393         Likewise.
16394         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16395         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16396         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16397         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16398         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16400         Likewise.
16401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16402         Likewise.
16403         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16404         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16405         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16407 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16409         [BZ #20495]
16410         [BZ #20508]
16411         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16412         processors, set Use_dl_runtime_resolve_slow and set
16413         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16414         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16415         New.
16416         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16417         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16418         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16419         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16420         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16421         if Use_dl_runtime_resolve_opt is set.  Use
16422         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16423         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16424         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
16425         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16426         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16427         New.
16428         (_dl_runtime_resolve_opt): Likewise.
16429         (_dl_runtime_profile): Define only if _dl_runtime_profile is
16430         defined.
16432 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16434         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16435         __libc_memalign with "+ RELA R_390_GLOB_DAT".
16437 2016-09-06  Florian Weimer  <fweimer@redhat.com>
16439         Convert malloc to __libc_lock.  Automated part, using this Perl
16440         s/// command:
16441           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16442             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16443         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16444         conversion.
16446 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
16448         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16449         (linknamespace-symlists-tests): Likewise.
16450         (linknamespace-header-tests): Likewise.
16452 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
16454         [BZ #19810]
16455         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16456         * elf/tst-noload.c: New test case.
16457         * elf/Makefile (tests): Add tst-noload.
16459 2016-09-02  Roland McGrath  <roland@hack.frob.com>
16461         * sysdeps/nacl/dup.c: Add libc_hidden_def.
16463         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16464         not any more.
16466         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16468 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16470         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16471         (do_cos_slow): Likewise.
16472         (do_sin): Likewise.
16473         (do_sin_slow): Likewise.
16474         (slow): Likewise.
16475         (slow1): Likewise.
16476         (slow2): Likewise.
16477         (sloww): Likewise.
16478         (sloww1): Likewise.
16479         (sloww2): Likewise.
16480         (bsloww): Likewise.
16481         (bsloww1): Likewise.
16482         (bsloww2): Likewise.
16483         (cslow2): Likewise.
16485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16487         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16488         arguments.  Consolidate input partitioning from callers here.
16489         (do_cos_slow): Likewise.
16490         (do_sin): Likewise.
16491         (do_sin_slow): Likewise.
16492         (do_sincos_1): Remove the no longer necessary input partitioning.
16493         (do_sincos_2): Likewise.
16494         (__sin): Likewise.
16495         (__cos): Likewise.
16496         (slow1): Likewise.
16497         (slow2): Likewise.
16498         (sloww1): Likewise.
16499         (sloww2): Likewise.
16500         (bsloww1): Likewise.
16501         (bsloww2): Likewise.
16502         (cslow2): Likewise.
16504 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16506         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16507         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
16508         outside of allocated array.
16510 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16512         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16513         instead of MB_CUR_MAX to avoid variable-length array.
16515 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16517         * math/Makefile (libm-calls): Remove k_rem_pio2F.
16518         (type-double-routines): Add k_rem_pio2.
16519         (type-float-routines): Add k_rem_pio2f.
16521         * sysdeps/generic/math_private.h:
16522         (__kernel_rem_pio2l): Removed.
16524         * math/k_rem_pio2l.c: Removed.
16525         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16526         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16527         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16528         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16530 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16532         * math/Makefile (gen-libm-calls): Add s_fmin
16533         (libm-calls): Remove above.
16535         * math/s_fmin.c: Refactor into ...
16536         * math/s_fmin_template.c: New file.
16538         * math/s_fminf.c: Removed.
16539         * math/s_fminl.c: Removed.
16540         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16541         (LDOUBLE_fmin_libm_version): New macro.
16543         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16544         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16546 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16548         * math/Makefile: (gen-libm-calls): Add s_fmax.
16549         (libm-calls): Remove above.
16551         * math/s_fmax.c: Refactor into ...
16552         * math/s_fmax_template.c: New file.
16553         * math/s_fmaxf.c: Removed.
16554         * math/s_fmaxl.c: Removed.
16556         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16557         (LDOUBLE_fmaxl_libm_version): New macro.
16559         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16560         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16562         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16563         s_fmin.c to pick the aarch64 version of the file.
16564         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16565         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16567 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16569         * math/Makefile: (gen-libm-calls): Add s_nextdown.
16570         (libm-calls): Remove above.
16572         * math/s_nextdown.c: Refactor into ...
16573         * math/s_nextdown_template.c: New file.
16574         * math/s_nextdownf.c: Removed.
16575         * math/s_nextdownl.c: Removed.
16577         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16579 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16581         * math/Makefile (gen-libm-calls): Add s_fdim.
16582         (libm-calls): Move to above.
16584         * math/s_fdim.c: Renamed and refactored into to ...
16585         * math/s_fdim_template.c: New file.
16586         * math/s_fdiml.c: Removed.
16587         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16588         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16590         * sysdeps/generic/math-type-macros-double.h:
16591         (declare_mgen_alias): Don't declare if already declared.
16592         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16593         Likewise.
16595         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16596         (declare_mgen_alias): Don't declare if already declared.
16597         (M_LIBM_NEED_COMPAT): Likewise.
16598         (declare_mgen_libm_compat): Likewise.
16599         (LDOUBLE_fdiml_libm_version): New macro.
16601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16602         Include math/s_fdim.c now that ldbl-opt version is not needed.
16603         (declare_mgen_alias): New macro to disable aliasing.
16605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16606         (declare_mgen_alias): Likewise.
16607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16608         (declare_mgen_alias): Likewise.
16609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16610         (declare_mgen_alias): Likewise.
16611         (M_LIBM_NEED_COMPAT): Likewise.
16613 2016-09-01  Florian Weimer  <fweimer@redhat.com>
16615         [BZ #20525]
16616         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16617         Include <linux/quota.h>.
16618         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16619         and btodb.
16620         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16621         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16622         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16623         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16624         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16625         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16626         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16627         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16628         types.
16629         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16630         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16632 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16634         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16635         (gammal_positive): Fix spacing.
16636         (__ieee754_gammal_r): Likewise.
16638 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16640         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16641         (_Float128): Define as long double, always.
16642         (L): Apply long double type suffix, always.
16644         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16645         _Float128, excepting comments.
16647         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16648         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16649         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16650         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16651         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16652         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16653         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16654         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16655         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16656         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16657         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16658         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16659         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16660         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16661         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16662         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16663         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16664         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16665         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16666         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16667         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16668         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16669         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16670         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16672         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16673         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16674         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16675         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16676         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16677         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16678         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16679         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16680         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16681         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16682         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16683         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16684         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16685         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16686         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16687         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16688         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16690         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16691         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16693         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16694         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16695         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16696         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16697         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16698         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16699         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16700         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16703         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16704         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16705         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16707         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16708         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16709         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16710         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16711         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16712         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16713         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16714         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16716         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16717         _Float128, and include math_private.h.
16718         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16720         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16721         long double semantics.
16722         (_Float128): Likewise.
16723         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16724         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16725         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16726         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16728 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16730         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16731         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16732         * sysdeps/s390/configure: Regenerated.
16733         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16734         instruction for raising over-/underflow if z196 zarch is supported
16735         by default.
16736         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16738 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16740         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16741         it point to a dumb buffer for RPC to fill it.
16743 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16745         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16746         instead of if/else.
16747         (do_sin_slow): Likewise.
16748         (do_sincos_1): Use fabs instead of if/else.
16749         (do_sincos_2): Likewise.
16750         (__sin): Likewise.
16751         (__cos): Likewise.
16752         (slow2): Likewise.
16753         (sloww): Likewise.
16754         (sloww1): Likewise.  Drop argument M.
16755         (sloww2): Use fabs instead of if/else.
16756         (bsloww): Likewise.
16757         (bsloww1): Likewise.
16758         (bsloww2): Likewise.
16760         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16761         fall through comment.
16762         (do_sincos_1): Likewise.
16764         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16765         Consolidate switch cases 0 and 2.
16767 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16769         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16770         (libm-calls): Remove the above.
16772         * math/s_cexp_template.c: Update using type-generic macros.
16773         * math/s_clog10_template.c: Likewise.
16774         * math/s_cpow_template.c: Likewise.
16775         * math/s_clog_template.c: Likewise.
16776         * math/s_cproj_template.c: Likewise.
16777         * math/s_csqrt_template.c: Likewise.
16779         * math/s_cexp.c: Removed.
16780         * math/s_cexpf.c: Removed.
16781         * math/s_cexpl.c: Removed.
16782         * math/s_clog10.c: Removed.
16783         * math/s_clog10f.c: Removed.
16784         * math/s_clog10l.c: Removed.
16785         * math/s_cpow.c: Removed.
16786         * math/s_cpowf.c: Removed.
16787         * math/s_cpowl.c: Removed.
16788         * math/s_clog.c: Removed.
16789         * math/s_clogf.c: Removed.
16790         * math/s_clogl.c: Removed.
16791         * math/s_cproj.c: Removed.
16792         * math/s_cprojf.c: Removed.
16793         * math/s_cprojl.c: Removed.
16794         * math/s_csqrt.c: Removed.
16795         * math/s_csqrtf.c: Removed.
16796         * math/s_csqrtl.c: Removed.
16798         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16799         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16800         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16801         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16802         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16803         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16805         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16806         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16807         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16808         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16809         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16810         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16811         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16812         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16813         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16814         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16815         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16817         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16818         version.
16820         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16821         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16822         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16823         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16825 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16827         * s_cexp_template.c: Copy of s_cexp.c.
16828         * s_clog_template.c: Copy of s_clog.c.
16829         * s_clog10_template.c: Copy of s_clog10.c.
16830         * s_cpow_template.c: Copy of s_cpow.c.
16831         * s_cproj_template.c: Copy of s_cproj.c.
16832         * s_csqrt_template.c: Copy of s_csqrt.c.
16834 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16836         [BZ #20517]
16837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16838         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16839         exported.
16841 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16843         * math/fetestexceptflag.c: New file.
16844         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16845         Stefan Liebler.
16846         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16847         (fetestexceptflag): New function declaration.
16848         * manual/arith.texi (fetestexceptflag): Document function.
16849         * math/Versions (fetestexceptflag): New libm symbol at version
16850         GLIBC_2.25.
16851         * math/Makefile (libm-support): Add fetestexceptflag.
16852         (tests): Add test-fetestexceptflag.
16853         * math/test-fetestexceptflag.c: New file.
16854         * sysdeps/nacl/libm.abilist: Update.
16855         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16856         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16857         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16858         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16859         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16860         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16861         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16862         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16863         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16864         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16866         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16872         Likewise.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16874         Likewise.
16875         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16876         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16877         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16878         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16879         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16881         Likewise.
16882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16883         Likewise.
16884         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16888 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16890         [BZ #20432]
16891         Avoid strong references to malloc-internal symbols when linking
16892         statically, to support statically interposed mallocs.
16893         * include/libc-symbols.h (call_function_static_weak): New macro.
16894         * malloc/Makefile (tests): Add tst-interpose-nothread,
16895         tst-interpose-thread, tst-interpose-static-nothread,
16896         tst-interpose-static-thread.
16897         (tests-static): Add tst-interpose-static-nothread,
16898         tst-interpose-static-thread.
16899         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16900         tst-interpose-aux-thread.o.
16901         (test-extras): Add tst-interpose-aux-nothread,
16902         tst-interpose-aux-thread.
16903         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16904         tst-interpose-aux-nothread.o.
16905         (tst-interpose-thread, tst-interpose-static-thread): Link with
16906         tst-interpose-aux-thread.o and libthread.
16907         * malloc/tst-interpose-aux-nothread.c: New file.
16908         * malloc/tst-interpose-aux-thread.c: Likewise.
16909         * malloc/tst-interpose-aux.c: Likewise.
16910         * malloc/tst-interpose-aux.h: Likewise.
16911         * malloc/tst-interpose-nothread.c: Likewise.
16912         * malloc/tst-interpose-skeleton.c: Likewise.
16913         * malloc/tst-interpose-static-nothread.c: Likewise.
16914         * malloc/tst-interpose-static-thread.c: Likewise.
16915         * malloc/tst-interpose-thread.c: Likewise.
16916         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16917         * sysdeps/mach/hurd/fork.c (__fork): Only call
16918         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16919         __malloc_fork_unlock_child if defined.
16920         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16922 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16924         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16925         timespec C99 designated initialization.
16927 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16929         [BZ #19946]
16930         Avoid expected SIGALRM signals.
16931         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16932         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16933         (xpthread_create, xpthread_detach, xpthread_join)
16934         (delayed_exit_thread, delayed_exit): New functions.
16935         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16936         (tf): Use xpthread_cond_wait.
16937         (do_test): Likewise.  Replace alarm with delayed_exit.
16938         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16939         (do_test): Call delayed_exit.  Report failure.
16940         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16941         (do_test): Call delayed_exit.
16942         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16943         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16944         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16945         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16946         error.
16947         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16948         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16949         error.
16950         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16951         (do_test): Call delayed_exit.
16952         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16953         (do_test): Call delayed_exit.
16954         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16955         (do_test): Call delayed_exit instead of alarm.  Use
16956         xpthread_mutex_lock.
16957         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16958         (do_test): Call delayed_exit instead of alarm.  Use
16959         xpthread_mutex_lock.
16960         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16961         (do_test): Call delayed_exit instead of alarm.
16962         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16963         (do_test): Call delayed_exit instead of alarm.  Use
16964         xpthread_spin_lock.
16965         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16966         (do_test): Call delayed_exit instead of alarm.  Use
16967         xpthread_join.
16969 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16971         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16972         adjust CFA when allocating register save area on re-aligned
16973         stack.
16975 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16977         * string/tst-cmp.c: New test.
16978         * string/Makefile (tests): Add it.
16980 2016-08-25  Mark Wielaard  <mark@klomp.org>
16982         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16983         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16984         (check_tree_recurse): Use newly defined accessors.
16985         (check_tree): Likewise.
16986         (maybe_split_for_insert): Likewise.
16987         (__tfind): Likewise.
16988         (__tdelete): Likewise.
16989         (trecurse): Likewise.
16990         (tdestroy_recurse): Likewise.
16991         (__tsearch): Likewise. And add asserts for malloc alignment.
16992         (__twalk): Cast root to node in case CHECK_TREE is defined.
16994 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16996         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16998 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17000         * math/Makefile (libm-gen-calls): Add
17001         catan, catanh, ctan, ctanh.
17002         (libm-calls): Remove the above.
17004         * math/s_catan_template.c: Update using type-generic macros.
17005         * math/s_catanh_template.c: Likewise.
17006         * math/s_ctan_template.c: Likewise.
17007         * math/s_ctanh_template.c: Likewise.
17009         * math/s_catanf.c: Removed.
17010         * math/s_catan.c: Removed.
17011         * math/s_catanl.c: Removed.
17012         * math/s_catanhf.c: Removed.
17013         * math/s_catanh.c: Removed.
17014         * math/s_catanhl.c: Removed.
17015         * math/s_ctanf.c: Removed.
17016         * math/s_ctan.c: Removed.
17017         * math/s_ctanl.c: Removed.
17018         * math/s_ctanhf.c: Removed.
17019         * math/s_ctanh.c: Removed.
17020         * math/s_ctanhl.c: Removed.
17022         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17023         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17024         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17025         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17026         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17027         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17029         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17030         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17031         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17032         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17034 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17036         * s_catan_template.c: Copy of s_catan.c.
17037         * s_catanh_template.c: Copy of s_catanh.c.
17038         * s_ctan_template.c: Copy of s_ctan.c.
17039         * s_ctanh_template.c: Copy of s_ctanh.c.
17041 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17043         * math/Makefile (gen-libm-calls): Move
17044         casin, casinh, csin, csinh here.
17045         (libm-calls): Remove the above.
17047         * math/s_casin_template.c: Update using type-generic macros.
17048         * math/s_casinh_template.c: Likewise.
17049         * math/s_csin_template.c: Likewise.
17050         * math/s_csinh_template.c: Likewise.
17051         * math/k_casinh_template.c: Likewise.
17053         * math/s_casinf.c: Removed.
17054         * math/s_casin.c: Removed.
17055         * math/s_casinl.c: Removed.
17056         * math/s_casinh.c: Removed.
17057         * math/s_casinhf.c: Removed.
17058         * math/s_casinhl.c: Removed.
17059         * math/s_csin.c: Removed.
17060         * math/s_csinf.c: Removed.
17061         * math/s_csinl.c: Removed.
17062         * math/s_csinh.c: Removed.
17063         * math/s_csinhf.c: Removed.
17064         * math/s_csinhl.c: Removed.
17065         * math/k_casinh.c: Removed.
17066         * math/k_casinhf.c: Removed.
17067         * math/k_casinhl.c: Removed.
17069         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17070         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17071         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17072         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17074         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17075         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17076         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17077         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17078         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17079         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17080         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17081         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17083         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17084         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17085         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17086         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17088         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17089         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17090         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17091         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17093 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17095         * s_casin_template.c: Copy of s_casin.c.
17096         * s_casinh_template.c: Copy of s_casinh.c.
17097         * s_csin_template.c: Copy of s_csin.c.
17098         * s_csinh_template.c: Copy of s_csinh.c.
17099         * k_casinh_template.c: Copy of k_casinh.c.
17101 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17103         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17105 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17107         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17108         (mul_split) Remove, rename as mul_splitl, remove
17109         redundant float.h include, and include via mul_splitl.h
17111         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17112         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17113         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17114         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17115         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17117         * math/mul_splitl.h: New file.
17119         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17120         Move into mul_split.h, and remove redundant float.h include.
17122         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17123         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17124         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17125         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17127         * math/mul_split.h: New file.
17129 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17131         * math/Makefile (libm-gen-calls): Move
17132         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17133         (libm-calls): Remove above.
17135         * math/s_cacos_template.c: Update using type-generic macros.
17136         * math/s_cacosh_template.c: Likewise.
17137         * math/s_ccos_template.c: Likewise.
17138         * math/s_ccosh_template.c: Likewise.
17140         * math/s_cacosf.c: Removed.
17141         * math/s_cacos.c: Removed.
17142         * math/s_cacosl.c: Removed.
17143         * math/s_cacoshf.c: Removed.
17144         * math/s_cacosh.c: Removed.
17145         * math/s_cacoshl.c: Removed.
17146         * math/s_ccosf.c: Removed.
17147         * math/s_ccos.c: Removed.
17148         * math/s_ccosl.c: Removed.
17149         * math/s_ccoshf.c: Removed.
17150         * math/s_ccosh.c: Removed.
17151         * math/s_ccoshl.c: Removed.
17153         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17154         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17155         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17156         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17157         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17158         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17160         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17161         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17162         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17163         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17165         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17166         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17167         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17168         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17170 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17172         * s_cacos_template.c: Copy of s_cacos.c.
17173         * s_cacosh_template.c: Copy of s_cacosh.c.
17174         * s_ccos_template.c: Copy of s_ccos.c.
17175         * s_ccosh_template.c: Copy of s_ccosh.c.
17177 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17179         * stdlib/tst-strtod-round-skeleton.c:
17180         Refactored from tst-strtod-round.c.
17182         (L_): New macro to apply literal modifier.
17183         (FNPFX): New macro to select str or wcs prefix.
17184         (CHAR): New macro to choose wchar_t or char.
17185         (STRM): New macro to choose printf for tested character type.
17187         (STRTO): New macro to choose appropriate string -> real function.
17188         (FNPFXS): Stringitized version of FNPFX.
17189         (STR): Support for above macro.
17190         (STRX): Likewise.
17192         (TEST): Update with above macros.
17193         (test): Likewise.
17194         (GEN_ONE_TEST): Likewise.
17195         (test_in_one_mode): Likewise.
17197         * stdlib/tst-strtod-round.c: New file.
17198         * wcsmbs/tst-wcstod-round.c: New file.
17200         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17201         (tst-wcstod-round): Add libm depencency for fesetround.
17203 2016-08-19  Zack Weinberg  <zackw@panix.com>
17205         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17207 2016-08-18  Torvald Riegel  <triegel@redhat.com>
17209         [BZ #20477]
17210         * resolv/res_hconf.c (do_init): Use atomic access.
17211         * resolv/res_hconf.h: Add comments.
17212         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17213         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17216 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17219         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17221         Likewise.
17223 2016-08-18  Florian Weimer  <fweimer@redhat.com>
17225         [BZ #16907]
17226         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17227         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17228         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17229         (__attribute__): Remove definition.
17231 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17233         * sysdeps/ieee754/ldbl-128/e_asinl.c:
17234         Remove unused sqrtl declaration.
17236 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17238         * math/Makefile: (gen-libm-templates.stmp): New rule.
17239         (libm-calls): Move carg conj cimag and cabs into ...
17240         (gen-libm-calls): New variable.
17241         (generated): Inform Make objects from gen-libm-calls
17242         may be generated.
17244         * sysdeps/generic/math-type-macros.h: New file.
17245         * sysdeps/generic/math-type-macros-float.h: Likewise.
17246         * sysdeps/generic/math-type-macros-double.h: Likewise.
17247         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17248         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17249         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17251         * math/cabs.c: Refactor into
17252         * math/cabs_template.c: new file.
17253         * math/cabsf.c: Removed.
17254         * math/cabsl.c: Removed.
17255         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17256         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17258         * math/carg.c: Refactor into
17259         * math/carg_template.c: new file.
17260         * math/cargf.c: Removed.
17261         * math/cargl.c: Removed.
17262         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17263         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17265         * math/conj.c: Refactor into
17266         * math/conj_template.c: new file.
17267         * math/conjf.c: Removed.
17268         * math/conjl.c: Removed.
17269         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17270         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17272         * math/cimag.c: Refactor into
17273         * math/cimag_template.c: new file.
17274         * math/cimagf.c: Removed.
17275         * math/cimagl.c: Removed.
17276         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17277         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17279         * math/cimag.c: Refactor into
17280         * math/cimag_template.c: new file.
17281         * math/cimagf.c: Removed.
17282         * math/cimagl.c: Removed.
17283         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17284         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17286 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17288         Reduce time to expected nptl/tst-once5 failure.
17289         * nptl/tst-once5.cc (TIMEOUT): Define.
17291 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17293         [BZ #20452]
17294         Avoid additional copies of objects in libc.a in static libraries.
17295         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17296         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17297         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17298         rt-sysdep.
17299         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17300         Add nptl-sysdep.
17301         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17302         Add ptw-sysdep.
17303         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17304         rt-sysdep.
17305         * sysdeps/unix/sysv/linux/alpha/Makefile
17306         (libpthread-shared-only-routines): Add ptw-sysdep,
17307         ptw-sigprocmask, ptw-rt_sigaction.
17308         * sysdeps/unix/sysv/linux/ia64/Makefile
17309         (librt-shared-only-routines): Add rt-sysdep.
17310         * sysdeps/unix/sysv/linux/i386/Makefile
17311         (libpthread-shared-only-routines): Add libc-do-syscall.
17312         * sysdeps/unix/sysv/linux/microblaze/Makefile
17313         (libpthread-shared-only-routines): Add sysdep.
17314         * sysdeps/unix/sysv/linux/powerpc/Makefile
17315         (librt-shared-only-routines): Add rt-sysdep.
17316         (libpthread-shared-only-routines): Add sysdep.
17317         * sysdeps/unix/sysv/linux/s390/Makefile
17318         (librt-shared-only-routines): Add rt-sysdep.
17319         * sysdeps/unix/sysv/linux/sparc/Makefile
17320         (librt-shared-only-routines): Add rt-sysdep.
17321         (libpthread-shared-only-routines): Add sysdep.
17322         * sysdeps/unix/sysv/linux/tile/Makefile
17323         (libpthread-shared-only-routines): Likewise.
17325 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
17327         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17328         Mask implicit bit out of unpacked value.
17329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17333         * sysdeps/sparc/fpu/fesetexcept.c: New file.
17335         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17337         * sysdeps/s390/fpu/fesetexcept.c: New file.
17339         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17340         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17341         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17343         * sysdeps/mips/fpu/fesetexcept.c: New file.
17345         * sysdeps/m68k/fpu/fesetexcept.c: New file.
17347         * sysdeps/ia64/fpu/fesetexcept.c: New file.
17349         * sysdeps/hppa/fpu/fesetexcept.c: New file.
17351         * sysdeps/arm/fesetexcept.c: New file.
17353         * sysdeps/alpha/fpu/fesetexcept.c: New file.
17355         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17357         * math/fesetexcept.c: New file.
17358         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17359         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17360         * math/fenv.h: Define
17361         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17362         <bits/libc-header-start.h> instead of including <features.h>.
17363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17364         declaration.
17365         * manual/arith.texi (fesetexcept): Document function.
17366         * math/Versions (fesetexcept): New libm symbol at version
17367         GLIBC_2.25.
17368         * math/Makefile (libm-support): Add fesetexcept.
17369         (tests): Add test-fesetexcept and test-fesetexcept-traps.
17370         * math/test-fesetexcept.c: New file.
17371         * math/test-fesetexcept-traps.c: Likewise.
17372         * sysdeps/nacl/libm.abilist: Update.
17373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17390         Likewise.
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17392         Likewise.
17393         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17394         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17395         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17396         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17397         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17399         Likewise.
17400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17401         Likewise.
17402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17403         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17406 2016-08-16  Florian Weimer  <fweimer@redhat.com>
17408         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
17409         New.
17410         (do_test): Apply default_stack_size_in_mb if not set.
17411         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17413 2016-08-15  Andreas Schwab  <schwab@suse.de>
17415         [BZ #20435]
17416         CVE-2016-6323
17417         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17418         as .cantunwind.
17420 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
17422         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17423         comment from fraiseexcpt.c.
17425         * math/test-fexcept.c (feraiseexcept_exact): New function.
17426         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17427         (test_except): Likewise.
17429 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
17431         [BZ #20455]
17432         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17433         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17434         to be restored.
17436         * math/test-fexcept-traps.c: New file.
17437         * math/test-fexcept.c: Likewise.
17438         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17439         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17440         macro.
17441         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17442         (EXCEPTION_SET_FORCES_TRAP): Likewise.
17444 2016-08-09  Torvald Riegel  <triegel@redhat.com>
17446         * include/atomic.h (atomic_fetch_and_relaxed,
17447         atomic_fetch_and_release, atomic_fetch_or_release,
17448         atomic_fetch_xor_release): New.
17450 2016-08-06  Christian Seiler  <christian@iwakd.de>
17452         [BZ #20444]
17453         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17454         MACH_PORT_NULL.
17456 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17458         * math/s_fdim.c: Avoid alias renamed.
17459         * math/s_fdimf.c: Likewise.
17460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17461         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17462         Add s_fdimf-vis3, s_fdim-vis3.
17463         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17464         (CFLAGS-s_fdim-vis3.c): Likewise.
17465         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17466         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17468 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17471         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17472         Remove s_fdimf-vis3, s_fdim-vis3.
17473         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17474         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17481         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17482         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17484 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17486         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17487         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17488         -Wa,-Av9a -mvis.
17490 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17492         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17493         LIT() to individual constants in simple expressions
17494         after splitting on spaces.
17495         (_apply_lit): Rename replaced version, and use it to
17496         apply to what appears to be a token.
17498         * math/libm-test.inc: Fix many, many issues with
17499         spacing.
17501 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
17503         * math/math.h: Move comment about <bits/mathdef.h> definitions
17504         above inclusion of <bits/mathdef.h>.  Do not mention
17505         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17507 2016-08-05  Torvald Riegel  <triegel@redhat.com>
17509         * include/atomic.h (atomic_exchange_relaxed): New.
17511 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
17513         * math/e_scalb.c: Do not include <fenv.h>.
17514         (invalid_fn): Do calculation resulting in NaN instead of raising
17515         FE_INVALID and returning a NaN explicitly.
17516         * math/e_scalbf.c: Do not include <fenv.h>.
17517         (invalid_fn): Do calculation resulting in NaN instead of raising
17518         FE_INVALID and returning a NaN explicitly.
17519         * math/e_scalbl.c: Do not include <fenv.h>.
17520         (invalid_fn): Do calculation resulting in NaN instead of raising
17521         FE_INVALID and returning a NaN explicitly.
17523 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
17525         * po/de.po: Updated from Translation Project.
17526         * po/fi.po: Likewise.
17527         * po/sv.po: Likewise.
17529 2016-08-04  Florian Weimer  <fweimer@redhat.com>
17531         [BZ #20452]
17532         Use sysdep.o from libc.a in static libraries.
17533         * sysdeps/unix/sysv/linux/i386/Makefile
17534         (libpthread-shared-only-routines): Add sysdep.
17535         (librt-shared-only-routines): Likewise.
17537 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17539         * math/tgmath.h (nextdown): Define if
17540         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17541         (nextup): Likewise.
17543         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17544         macro.
17545         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17546         Document.
17547         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17548         Document macro.
17549         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17550         (exp10f): Likewise.
17551         (exp10l): Likewise.
17552         * math/bits/mathcalls.h (exp10): Declare if
17553         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17555         * manual/arith.texi (nextup): Fix typo in last change.
17557 2016-08-03  Zack Weinberg  <zackw@panix.com>
17559         [BZ #19239]
17560         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17561         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17562         define major, minor, and makedev to issue deprecation warnings on use.
17563         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17564         previously-activated deprecation warnings for these macros and prevent
17565         subsequent inclusions of this header from having any effect.
17566         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17567         including <sys/sysmacros.h>, and undefine it again afterward.
17569 2016-08-03  Zack Weinberg  <zackw@panix.com>
17571         * sysdeps/generic/sys/sysmacros.h: Delete file.
17572         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17573         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17574         * bits/sysmacros.h: ... here; this encoding is now the generic
17575         encoding.  Now defines only the following macros:
17576         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17577         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17578         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17580         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17581         bits/sysmacros.h and the above new macros to generate the
17582         public implementations of major, minor, and makedev.
17583         * misc/tst-makedev.c: New test.
17584         * include/sys/sysmacros.h: New wrapper.
17586         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17587         (routines): Add makedev.
17588         (tests): Add tst-makedev.
17589         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17590         gnu_dev_makedev.
17591         * posix/Makefile (headers): Remove sys/sysmacros.h.
17592         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17594         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17595         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17596         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17597         * sysdeps/unix/sysv/linux/alpha/libc.abilist
17598         * sysdeps/unix/sysv/linux/arm/libc.abilist
17599         * sysdeps/unix/sysv/linux/hppa/libc.abilist
17600         * sysdeps/unix/sysv/linux/i386/libc.abilist
17601         * sysdeps/unix/sysv/linux/ia64/libc.abilist
17602         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17603         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17604         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17605         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17606         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17607         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17608         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17609         * sysdeps/unix/sysv/linux/nios2/libc.abilist
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17614         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17615         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17616         * sysdeps/unix/sysv/linux/sh/libc.abilist
17617         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17618         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17621         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17622         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17623         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17624         Add GLIBC_2.25.
17626         * include/features.h (__glibc_clang_prereq): New macro.
17627         * misc/sys/cdefs.h (__glibc_clang_has_extension)
17628         (__attribute_deprecated_msg__): New macros.
17630 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17632         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17633         macro.
17634         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17635         * manual/arith.texi (issignaling): Document as ISO from TS
17636         18661-1:2014.
17637         (nextup): Likewise.
17638         (nextupf): Likewise.
17639         (nextupl): Likewise.
17640         (nextdown): Likewise.
17641         (nextdownf): Likewise.
17642         (nextdownl): Likewise.
17643         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17644         macro.
17645         * math/math.h: Define
17646         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17647         <bits/libc-header-start.h> instead of including <features.h>.
17648         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17649         [__USE_GNU].
17650         * math/bits/mathcalls.h (nextdown): Declare if
17651         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17652         (nextup): Likewise.
17653         (__issignaling): Likewise.
17655 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17657         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17658         check, and remove __glibc_likely hint
17659         from FP_INFINITE check.
17660         * s_csinhf.c (__csinhf): Likewise.
17662         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17663         hint from FP_INFINITE check.
17664         * s_csinhl.c (__csinhl): Likewise.
17666 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17668         * math/Makefile (libm-calls): Insert F placeholder into
17669         object names.  Move w_lgamma_compat* routines into
17670         (libm-compat-calls): New variable.
17671         (libm-compat-calls-ldouble-yes): New variable.
17672         (calls): Insert F placeholder.
17673         (generated): Redefine using new type-foreach macro call.
17674         (routines): Likewise.
17676         (types): New variable to hold a list of symbolic names
17677         for each type supported by the target machine.
17678         (libm-routines): Redefine using new types variable.
17679         (type-foreach): macro to replace fooF with the
17680         appropriately suffixed foo for each types.
17682         (type-ldouble-suffix): New variable.
17683         (type-ldouble-routines): Likewise.
17684         (type-ldouble-yes): Likewise.
17685         (type-double-suffix): Likewise.
17686         (type-double-routines): Likewise.
17687         (type-float-suffix): Likewise.
17688         (type-float-routines): Likewise.
17690         (dbl-only-routines): Remove.
17691         (long-c-yes): Likewise.
17692         (long-m-routines): Likewise.
17693         (long-m-support): Likewise.
17694         (long-m-yes): Likewise.
17695         (test-longdouble-yes): Likewise.
17697         (test-float.o): Simplify by increasing the scope of the
17698         recipe which adds libm-test.stmp to the vector types.
17699         (test-ifloat.o): Likewise.
17700         (test-float-finite.o): Likewise.
17701         (test-double.o): Likewise
17702         (test-idouble.o): Likewise.
17703         (test-double-finite.o): Likewise.
17704         (test-ldouble.o): Likewise
17705         (test-ildoubl.o): Likewise.
17706         (test-ldouble-finite.o): Likewise.
17708         (libm-tests): Redefine type tests using foreach and the
17709         list of types in types.
17711         (CPPFLAGS-test-ildoubl.c): Rename to
17712         (CPPFLAGS-test-ildouble.c): New variable
17714         * math/test-ildoubl.c: Rename to
17715         * math/test-ildouble.c: New file.
17717 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17719         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17720         Use fabsl instead of fabs.
17721         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17722         Likewise.
17723         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17724         Add long double suffix to constant to ensure proper
17725         promotion to long double.
17727 2016-08-03  Tom Tromey  <tom@tromey.com>
17729         [BZ #20311]
17730         * nptl_db/Makefile (headers): Add proc_service.h.
17731         * nptl_db/proc_service.h: Add include guard.  Use
17732         __BEGIN/__END_DECLS.
17733         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17734         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17735         arguments.
17738 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17740         [BZ #17730]
17741         Avoid using memalign for TCB allocations.
17742         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17743         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17744         Avoid alignment gap in the TLS_DTV_AT_TP case.
17745         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17746         determine the pointer to free.
17747         * nptl/tst-tls3-malloc.c: New test.
17748         * nptl/Makefile (tests): Add it.
17749         (tst-tls3-malloc): Link with libdl, libpthread.
17750         (LDFLAGS-tst-tls3-malloc): Set.
17751         (tst-tls3-malloc.out): Depend on DSO used in test.
17753 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17755         [BZ #17730]
17756         Avoid using memalign for TLS allocations.
17757         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17758         is_static member with to_free member.
17759         (union dtv): Use struct dtv_pointer.
17760         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17761         dtv_pointer instead of is_static.
17762         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17763         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17764         instead of val.
17765         (allocate_dtv_entry): New function.
17766         (allocate_and_init): Return struct dtv_pointer.  Call
17767         allocate_dtv_entry instead of __libc_memalign.
17768         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17769         instead of val.
17770         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17771         instead of is_static.  Adjust call to allocate_and_init.
17772         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17773         struct dtv_pointer instead of val.
17775 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17777         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17778         (MALLOC_ALIGN_MASK): Move ...
17779         * malloc/malloc-internal.h: ... to here.
17780         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17782 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17784         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17785         (UDP_ENCAP_GTP1U): Likewise.
17787         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17788         (PF_MAX): Update value.
17789         (AF_QIPCRTR): New macro.
17791 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17793         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17794         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17795         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17797         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17798         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17799         s_truncf-vis3, s_trunc-vis3.
17800         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17801         (CFLAGS-s_ceil-vis3.c): Likewise.
17802         (CFLAGS-s_floorf-vis3.c): Likewise.
17803         (CFLAGS-s_floor-vis3.c): Likewise.
17804         (CFLAGS-s_truncf-vis3.c): Likewise.
17805         (CFLAGS-s_trunc-vis3.c): Likewise.
17806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17816         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17817         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17819 2016-08-02  David S. Miller  <davem@davemloft.net>
17821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17822         (__nearbyint_vis3): Don't check for sNaN before float register is
17823         loaded with the incoming argument.
17824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17825         (__nearbyintf_vis3): Likewise.
17826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17827         Likewise.
17828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17829         Likewise.
17831         * string/test-strncmp.c (do_test_limit): Make sure the test data
17832         stream is aligned as required for the type "CHAR".
17833         (do_test): Likewise.
17835 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17837         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17838         by beq instructions jumping to the end of the function.
17839         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17840         clobber list. Use "i" constraint instead of "X".
17841         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17842         of "X".
17844 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17846         * bits/libc-header-start.h: New file.
17847         * Makefile (headers): Add bits/libc-header-start.h.
17848         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17849         (__GLIBC_USE): New macro.
17850         * libio/stdio.h: Define
17851         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17852         <bits/libc-header-start.h> instead of including <features.h>.
17853         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17854         (open_memstream): Likewise.
17855         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17856         (__asprintf): Likewise.
17857         (asprintf): Likewise.
17858         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17859         (getdelim): Likewise.
17860         (getline): Likewise.
17861         * string/string.h: Define
17862         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17863         <bits/libc-header-start.h> instead of including <features.h>.
17864         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17865         (strndup): Likewise.
17866         * wcsmbs/wchar.h: Define
17867         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17868         <bits/libc-header-start.h> instead of including <features.h>.
17869         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17870         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17872 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17874         Support linking against compatibility symbols, for use in tests.
17875         * include/libc-symbols.h (symbol_version_reference): New macro.
17876         (symbol_version): Use it.
17877         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17878         (compat_symbol): Use compat_symbol_reference.
17879         (compat_symbol_1, compat_symbol_2): Remove.
17880         (compat_symbol_reference, compat_symbol_reference_1)
17881         (compat_symbol_reference_2): New macro.  Use
17882         symbol_version_reference.
17884 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17886         [BZ #19469]
17887         * malloc/Makefile (CPPFLAGS): Compile tests with
17888         -DTEST_NO_MALLOPT.
17889         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17891 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17893         [BZ #20033]
17894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17895         finite version.
17896         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17897         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17898         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17899         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17900         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17901         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17902         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17903         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17904         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17910         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17912         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17913         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17914         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17915         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17916         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17917         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17918         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17919         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17920         in zero power.
17922 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17924         [BZ #20370]
17925         * malloc/arena.c (get_free_list): Update comment.  Assert that
17926         arenas on the free list have no attached threads.
17927         (remove_from_free_list): New function.
17928         (reused_arena): Call it.
17930 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17932         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17933         when it is a NaN.
17934         [_IEEE_FP_INEXACT] Remove.
17935         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17936         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17937         when it is a NaN.
17938         [_IEEE_FP_INEXACT] Remove.
17939         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17940         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17941         when it is a NaN.
17942         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17943         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17944         when its absolute value is greater than 0x1.0p52.
17945         [_IEEE_FP_INEXACT] Remove.
17946         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17947         when its absolute value is greater than 0x1.0p23.
17948         [_IEEE_FP_INEXACT] Remove.
17950 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17952         * version.h (RELEASE): Set to "development"
17953         (VERSION): Set to 2.24.90.
17954         * NEWS: Add 2.25 section.
17956         * version.h (RELEASE): Set to "stable"
17957         (VERSION): Set to 2.24.
17958         * include/features.h (__GLIBC_MINOR__): Set to 24.
17960         * NEWS: Add 2.24 fixed bugs.
17961         * po/libc.pot: Regenerate.
17963 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17966         [$(subdir) = math] (libm-sysdep_routines): Remove.
17967         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17968         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17969         s_truncf-vis3, s_trunc-vis3.
17970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17972         file.
17973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18006         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18007         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18008         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18009         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18010         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18011         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18012         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18013         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18014         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18015         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18017 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18019         [BZ #20384]
18020         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18021         test-double-libmvec-sincos-avx-main.o,
18022         test-double-libmvec-sincos-avx2-main.o,
18023         test-double-libmvec-sincos-main.o,
18024         test-float-libmvec-sincosf-avx-main.o,
18025         test-float-libmvec-sincosf-avx2-main.o and
18026         test-float-libmvec-sincosf-main.o.
18027         test-float-libmvec-sincosf-avx512-main.o.
18028         ($(objpfx)test-double-libmvec-sincos): Also link with
18029         $(objpfx)test-double-libmvec-sincos-main.o.
18030         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18031         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18032         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18033         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18034         ($(objpfx)test-float-libmvec-sincosf): Also link with
18035         $(objpfx)test-float-libmvec-sincosf-main.o.
18036         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18037         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18038         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18039         test-double-libmvec-sincos-avx512-main.o and
18040         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18041         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18042         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18043         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18044         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18045         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18046         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18047         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18048         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18049         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18050         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18051         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18052         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18053         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18054         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18055         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18056         -DREQUIRE_AVX2.
18057         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18058         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18059         -DREQUIRE_AVX512F.
18060         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18061         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18062         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18063         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18064         file.
18065         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18066         Likewise.
18067         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18068         Likewise.
18069         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18070         Likewise.
18071         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18072         Likewise.
18073         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18074         Likewise.
18075         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18076         Likewise.
18077         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18078         Likewise.
18080 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18082         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18084 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18086         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18087         and typo in a comment about AT_HWCAP entry.
18089 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18091         * sysdeps/aarch64/libm-test-ulps: Updated.
18093 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18095         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18096         of r13 as it is not restored in mvcle case.
18098 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18100         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18101         Rename "ret" to "__ret".
18102         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18103         inline_syscall5, inline_syscall6): Likewise.
18105 2016-07-19   Will Newton  <will.newton@gmail.com>
18107         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18108         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18109         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18110         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18111         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18113 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
18115         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18116         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18117         -mfpmath=387 with $(rtld-CFLAGS).
18118         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18119         $(rtld-CFLAGS).
18121 2016-07-18   Ross Burton  <ross.burton@intel.com>
18122              Khem Raj  <raj.khem@gmail.com>
18124         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18125         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18126         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18127         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18128         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18129         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18130         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18131         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18132         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18133         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18134         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18135         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18136         R_METAG_TLS_DTPOFF): New.
18138 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18139             Matt Clay  <mclay@lycos.com>
18141         [BZ #20357]
18142         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18143         to call __mpsin/__mpcos and to negate values.
18144         * math/auto-libm-test-in: Add test.
18145         * math/auto-libm-test-out: Regenerate.
18147 2016-07-18  Zack Weinberg  <zackw@panix.com>
18149         * grp/Makefile: Don't install the internal header grp-merge.h.
18151 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18153         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18155 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18157         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18159 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18161         [BZ #15368]
18162         * sysdeps/unix/sysv/linux/nptl-signals.h
18163         (__nptl_clear_internal_signals): New function.
18164         (__libc_signal_block_all): Likewise.
18165         (__libc_signal_block_app): Likewise.
18166         (__libc_signal_restore_set): Likewise.
18167         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18168         implementation.
18169         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18170         the cached pid/tid value in pthread structure.
18172 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
18174         [BZ #20347]
18175         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18177 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18179         [BZ #20348]
18180         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18181         preadv64, pwrite64 and pwritev64.
18183 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18185         [BZ #20350]
18186         * posix/tst-preadwrite.c: Renamed to ...
18187         * posix/tst-preadwrite-common.c: This.
18188         (PREAD): Removed.
18189         (PWRITE): Likewise.
18190         (STRINGIFY): Likewise.
18191         (STRINGIFY2): Likewise.
18192         (do_prepare): Make it static and remove function arguments.
18193         (do_test): Likewise.
18194         (PREPARE): Updated.
18195         (TEST_FUNCTION): New.
18196         (name): Make it static.
18197         (fd): Likewise.
18198         (do_prepare): Use create_temp_file.
18199         (do_test): Renamed to ...
18200         (do_test_with_offset): This.  Make it static and accept offset.
18201         Properly check return value of PWRITE and PREAD.  Return bytes
18202         read.  Don't close fd nor unlink name.
18203         * posix/tst-preadwrite.c: Rewrite.
18204         * posix/tst-preadwrite64.c: Likewise.
18206 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18208         [BZ #20309]
18209         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18210         -mtls-dialect=gnu2 works.
18211         * configure: Regenerated.
18212         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18213         (tests): Add tst-gnu2-tls1.
18214         (modules-names): Add tst-gnu2-tls1mod.
18215         ($(objpfx)tst-gnu2-tls1): New.
18216         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18217         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18218         * elf/tst-gnu2-tls1.c: New file.
18219         * elf/tst-gnu2-tls1mod.c: Likewise.
18220         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18221         bytes for push in the PLT entry to align the stack.
18223 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18225         [BZ #20349]
18226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18228 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18230         [BZ #18707]
18231         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18232         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18234 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18236         * sysdeps/unix/sysv/linux/sysdep.h
18237         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18238         guards.
18239         * misc/tst-preadvwritev-common.c: New file.
18240         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18241         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18242         a check for files larger than 2GB.
18244         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18245         (__ASSUME_OFF_DIFF_OFF64): Remove define.
18246         * sysdeps/unix/sysv/linux/pread.c
18247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18248         __OFF_T_MATCHES_OFF64_T.
18249         * sysdeps/unix/sysv/linux/pread64.c
18250         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18251         * sysdeps/unix/sysv/linux/preadv.c
18252         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18253         * sysdeps/unix/sysv/linux/preadv64.c
18254         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18255         * sysdeps/unix/sysv/linux/pwrite.c
18256         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18257         * sysdeps/unix/sysv/linux/pwrite64.c
18258         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18259         * sysdeps/unix/sysv/linux/pwritev.c
18260         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18261         * sysdeps/unix/sysv/linux/pwritev64.c
18262         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18264 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
18266         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18267         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18269 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18271         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18273 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18275         [BZ #20240]
18276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18277         (CFLAGS-s_modf-ppc32.c): New variable.
18278         (CFLAGS-s_modff-ppc32.c): Likewise.
18279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18280         (CFLAGS-s_modf-ppc64.c): Likewise.
18281         (CFLAGS-s_modff-ppc64.c): Likewise.
18283 2016-07-07  Andreas Schwab  <schwab@suse.de>
18285         [BZ #20263]
18286         * nptl/tst-robust10.c: New test.
18287         * nptl/Makefile (tests): Add tst-robust10.
18289 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
18291         [BZ #20263]
18292         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18294 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18296         * sysdeps/s390/linkmap.h (struct link_map_machine):
18297         Remove member gotplt and add member jmprel.
18298         * sysdeps/s390/s390-32/dl-machine.h
18299         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18300         instead of gotplt with &got[3].
18301         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18304 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
18306         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18308 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18310         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18311         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18312         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18313         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18314         * libio/vtables.c (_IO_vtable_check)
18315         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18316         * libio/libioP.h (IO_set_accept_foreign_vtables)
18317         [!PTR_MANGLE]: Do not call PTR_MANGLE.
18319 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
18321         [BZ #20314]
18322         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18323         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18324         $(common-objpfx)cmath.
18325         ($(common-objpfx)cstdlib): New target.
18326         ($(common-objpfx)cmath): Likewise.
18328 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
18330         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18332 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18334         [BZ #20327]
18335         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18336         are not part of the string.
18338 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18340         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18341         * nptl/tst-cancel4-common.h (fifoname): New variable.
18342         (fifofd): Likewise.
18343         (cl_fifo): New function.
18344         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18345         SIGINT.
18346         (tf_open): Add early cancel test.
18348 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18350         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18352 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
18354         * sysdeps/generic/ldsodefs.h
18355         (dl_symbol_visibility_binds_local_p): New inline function.
18356         * elf/dl-addr.c (determine_info): Treat hidden and internal
18357         symbols as local.
18358         * elf/dl-lookup.c (do_lookup_x): Likewise.
18359         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18361 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
18363         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18364         invalid exception for a sNaN input.
18365         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18366         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18367         (__nearbyint_vis3): Likewise
18368         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18369         (__nearbyintf_vis3): Likewise
18370         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18371         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18372         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18373         Likewise.
18374         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18375         Likewise.
18377 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
18379         [BZ #20139]
18380         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18381         (HAVE_AVX512DQ_ASM_SUPPORT): This.
18382         * sysdeps/x86_64/configure.ac: Require assembler from binutils
18383         2.24 or above.
18384         (HAVE_AVX512_ASM_SUPPORT): Removed.
18385         (HAVE_AVX512DQ_ASM_SUPPORT): New.
18386         * sysdeps/x86_64/configure: Regenerated.
18387         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18388         check unconditional.
18389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18390         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18391         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18392         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18393         Likewise.
18394         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18395         Likewise.
18396         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18397         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18398         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18399         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18400         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18401         Likewise.
18402         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18403         Likewise.
18404         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18405         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
18407         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
18408         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
18409         Likewise.
18410         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18411         Likewise.
18412         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18413         Likewise.
18414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18415         Likewise.
18416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18417         Likewise.
18418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18419         Likewise.
18420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18421         Likewise.
18422         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18423         Likewise.
18424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18425         Likewise.
18426         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18427         Likewise.
18428         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18429         Likewise.
18431 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
18433         [BZ #20024]
18434         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18436         of this implementation of vector function.
18437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18440         Likewise.
18441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18443         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18444         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18445         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18446         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18447         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18448         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18449         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18450         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18452         for testing vector sincos with fixed ABI.
18453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18454         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18456         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18457         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18460         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18461         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18462         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18463         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18464         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18465         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18466         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18467         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18468         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18470 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18472         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18474 2016-06-30  Anton Blanchard  <anton@samba.org>
18476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18477         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18478         s_sinf-ppc64.
18479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18482         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18484 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18488         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18489         e_expf-ppc64.
18490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18493         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18495 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
18497         [BZ #20277]
18498         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18499         when SHARED is defined.
18501 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
18503         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18504         (index_arch_Prefer_ERMS): Likewise.
18505         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18506         __memcpy_erms for Prefer_ERMS.
18507         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18508         (__memmove_erms): Enabled for libc.a.
18509         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18510         __memmove_erms or Prefer_ERMS.
18511         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18512         __mempcpy_erms for Prefer_ERMS.
18513         * sysdeps/x86_64/multiarch/memset.S (memset): Return
18514         __memset_erms for Prefer_ERMS.
18516 2016-06-30  Andreas Schwab  <schwab@suse.de>
18518         [BZ #20262]
18519         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18520         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
18521         of memory.
18523 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18525         [BZ #18645]
18526         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18527         (test-extras): Add tst-cleanupx4aux.
18528         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
18529         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18530         tst-cleanupx4aux.o.
18531         * nptl/tst-cleanupx4aux.c: New file.
18533 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18535         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18537 2016-06-29  Andreas Schwab  <schwab@suse.de>
18539         [BZ #20260]
18540         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18541         address before the beginning of the string as an integer to avoid
18542         array-bounds warning.
18544 2016-06-28  Richard Henderson  <rth@redhat.com>
18546         * elf/elf.h (EM_BPF): New.
18547         (EM_NUM): Update.
18548         (R_BPF_NONE, R_BPF_MAP_FD): New.
18550         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18551         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18552         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18553         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18554         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18555         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18556         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18557         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18558         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18559         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18560         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18561         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18562         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18563         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18564         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18565         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18566         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18567         (EM_NUM): Update.
18569 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
18571         [BZ #18960]
18572         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18573         Set _nl_current_LC_CATEGORY_used to two instead of one.
18575 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
18577         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18578         (do_test): ... this.
18579         (TEST_FUNCTION): New macro.
18580          Include test-skeleton.c.
18581         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18582         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18584 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
18586         [BZ #15479]
18587         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18588         floating-point environment rather than just control word.
18589         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18590         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18591         floating-point environment, with "invalid" exceptions merged in,
18592         rather than just control word.
18593         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18594         * math/libm-test.inc (trunc_test_data): Do not allow spurious
18595         "inexact" exceptions.
18597         [BZ #15479]
18598         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18599         floating-point environment rather than just control word.
18600         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18601         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18602         floating-point environment, with "invalid" exceptions merged in,
18603         rather than just control word.
18604         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18605         * math/libm-test.inc (floor_test_data): Do not allow spurious
18606         "inexact" exceptions.
18608         [BZ #15479]
18609         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18610         floating-point environment rather than just control word.
18611         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18612         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18613         floating-point environment, with "invalid" exceptions merged in,
18614         rather than just control word.
18615         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18616         * math/libm-test.inc (ceil_test_data): Do not allow spurious
18617         "inexact" exceptions.
18619 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
18621         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18622         __libc_vfork.
18623         (__vfork) [IS_IN (libc)]: Remove alias.
18624         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18625         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18626         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18628 2016-06-24  Torvald Riegel  <triegel@redhat.com>
18630         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18631         of atomic_compare_and_exchange_bool_rel.
18632         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18633         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18634         catomic_compare_and_exchange_bool_rel): Remove.
18635         * sysdeps/aarch64/atomic-machine.h
18636         (atomic_compare_and_exchange_bool_rel): Likewise.
18637         * sysdeps/alpha/atomic-machine.h
18638         (atomic_compare_and_exchange_bool_rel): Likewise.
18639         * sysdeps/arm/atomic-machine.h
18640         (atomic_compare_and_exchange_bool_rel): Likewise.
18641         * sysdeps/mips/atomic-machine.h
18642         (atomic_compare_and_exchange_bool_rel): Likewise.
18643         * sysdeps/microblaze/atomic-machine.h
18644         ( __arch_compare_and_exchange_bool_8_rel,
18645         __arch_compare_and_exchange_bool_16_rel): Likewise.
18646         * sysdeps/powerpc/atomic-machine.h
18647         ( __arch_compare_and_exchange_bool_8_rel,
18648         __arch_compare_and_exchange_bool_16_rel): Likewise.
18649         * sysdeps/powerpc/powerpc32/atomic-machine.h
18650         ( __arch_compare_and_exchange_bool_32_rel,
18651         __arch_compare_and_exchange_bool_64_rel): Likewise.
18652         * sysdeps/powerpc/powerpc64/atomic-machine.h
18653         ( __arch_compare_and_exchange_bool_32_rel,
18654         __arch_compare_and_exchange_bool_64_rel): Likewise.
18655         * sysdeps/tile/atomic-machine.h
18656         (atomic_compare_and_exchange_bool_rel): Likewise.
18658 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #20296]
18661         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18662         when either argument is a NaN.
18663         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18664         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18666         * math/libm-test.inc (snan_value_ld): New macro.
18667         (isgreater_test_data): Add sNaN tests.
18668         (isgreaterequal_test_data): Likewise.
18669         (isless_test_data): Likewise.
18670         (islessequal_test_data): Likewise.
18671         (islessgreater_test_data): Likewise.
18672         (isunordered_test_data): Likewise.
18673         (nextafter_test_data): Likewise.
18674         (nexttoward_test_data): Likewise.
18675         (remainder_test_data): Likewise.
18676         (remquo_test_data): Likewise.
18677         (significand_test_data): Likewise.
18678         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18680 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18682         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18683         environment macros are defined.
18684         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18686 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18688         [BZ #20191]
18689         Implement vtable verification in libio.
18690         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18691         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18692         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18693         _IO_new_file_init_internal instead of _IO_file_init.
18694         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18695         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18696         * libio/Makefile (routines): Add vtables.
18697         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18698         (_IO_init): Remove, not for internal use.
18699         (_IO_init_internal): Declare, internal replacement for _IO_init.
18700         (_IO_file_init): Remove, not for internal use.
18701         (_IO_new_file_init): Remove, not for internal use.
18702         (_IO_new_file_init_internal): Declare, internal replacement for
18703         _IO_new_file_init.
18704         (_IO_old_file_init): Remove, not for internal use.
18705         (_IO_old_file_init_internal): Declare, internal replacement for
18706         _IO_old_file_init.
18707         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18708         internal use.
18709         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18710         Declare.
18711         (libio_vtable): New macro.
18712         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18713         functions.
18714         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18715         _IO_new_file_init.
18716         (_IO_new_file_init): New externally visible wrapper which disables
18717         vtable verification.
18718         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18719         Define as vtables.
18720         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18721         (_IO_init): New externally visible wrapper which disables
18722         vtable verification.
18723         * libio/iofdopen.c (_IO_new_fdopen): Call
18724         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18725         comment.
18726         * libio/iofopen.c (__fopen_internal): Call
18727         _IO_new_file_init_internal instead of _IO_file_init.
18728         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18729         Define as vtables.
18730         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18731         _IO_new_file_init_internal instead of _IO_file_init.
18732         * libio/iopopen.c (_IO_new_popen): Likewise.
18733         (_IO_proc_jumps): Define as vtable.
18734         * libio/iovdprintf.c (_IO_vdprintf): Call
18735         _IO_new_file_init_internal instead of _IO_file_init.
18736         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18737         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18738         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18739         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18740         _IO_old_file_init.
18741         (_IO_old_file_init): New externally visible wrapper which disables
18742         vtable verification.
18743         (_IO_old_file_jumps): Define as vtable.
18744         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18745         _IO_old_file_init_internal instead of _IO_old_file_init.
18746         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18747         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18748         (_IO_old_proc_jumps): Define as vtable.
18749         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18750         Define as vtables.
18751         * libio/vtables.c: New file.
18752         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18753         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18754         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18755         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18756         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18757         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18758         instead of _IO_init.
18760 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18762         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18764 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18766         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18767         potentially unused.
18769 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18771         * test-skeleton.c (write_message): New function.
18772         * malloc/tst-mallocfork2.c (write_message): Remove.
18773         * debug/tst-longjmp_chk2.c (write_indented): New function.
18774         (write_message): Remove.
18775         (stackoverflow_handler): Call write_indented.
18777 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18779         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18780         "inexact" exceptions after fnstenv.
18781         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18782         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18783         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18785 2015-06-22  Zack Weinberg  <zackw@panix.com>
18787         * sysdeps/generic/bits/hwcap.h: Moved to ...
18788         * bits/hwcap.h: Here.
18790 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18792         * sysdeps/aarch64/memcpy.S (memcpy):
18793         Further tuning for performance.
18795 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18797         [BZ #20284]
18798         * malloc/arena.c (reused_arena): Do not return NULL if we start
18799         out with a non-corrupted arena.
18801 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18803         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18804         * misc/tst-preadvwritev.c: New file.
18805         * misc/tst-preadvwritev64.c: Likewise.
18806         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18807         usage.
18808         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18809         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18810         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18811         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18813 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18815         [BZ #19654]
18816         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18817         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18818         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18819         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18820         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18821         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18822         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18823         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18824         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18825         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18826         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18827         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18828         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18829         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18830         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18831         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18832         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18833         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18834         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18835         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18836         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18837         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18838         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18839         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18840         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18841         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18843 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18845         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18846         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18848 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18850         * sysdeps/aarch64/memcpy.S (memcpy):
18851         Rewrite of optimized memcpy and memmove.
18852         * sysdeps/aarch64/memmove.S (memmove): Remove
18853         memmove code (merged into memcpy.S).
18855 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18857         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18858         * sysdeps/generic/dl-dtv.h: New file.
18859         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18860         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18861         (dtv_t): Remove.
18862         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18863         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18864         (dtv_t): Remove.
18865         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18866         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18867         (dtv_t): Remove.
18868         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18869         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18870         (dtv_t): Remove.
18871         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18872         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18873         (dtv_t): Remove.
18874         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18875         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18876         (dtv_t): Remove.
18877         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18878         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18879         (dtv_t): Remove.
18880         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18881         (dtv_t): Remove.
18882         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18883         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18884         (dtv_t): Remove.
18885         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18886         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18887         (dtv_t): Remove.
18888         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18889         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18890         (dtv_t): Remove.
18891         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18892         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18893         (dtv_t): Remove.
18894         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18895         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18896         (dtv_t): Remove.
18897         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18898         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18899         (dtv_t): Remove.
18900         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18901         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18902         (dtv_t): Remove.
18903         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18904         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18905         (dtv_t): Remove.
18907 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18909         Revert symbol poisoning of  __malloc_initialize_hook.
18910         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18911         poisoning.
18912         * malloc/Makefile: Remove un-poisoning.
18913         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18914         instead of old__malloc_initialize_hook.
18915         * malloc/malloc-hooks.h: Likewise.
18916         * malloc/malloc.c: Likewise.
18917         * malloc/mcheck-init.c: Likewise.
18919 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18921         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18923 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18925         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18926         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18927         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18928         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18930 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18932         * NEWS: Mention addition of nextup and nextdown.
18933         * manual/arith.texi: Document nextup and nextdown.
18934         * manual/libm-err-tab.pl: Add nextup and nextdown.
18935         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18936         * math/Versions (libm): Add GLIBC_2.24.
18937         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18938         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18939         Add new test.
18940         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18941         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18942         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18943         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18944         (nextup_test_data): Likewise.
18945         (nextdown_test_data): Likewise.
18946         * math/s_nextdown.c: New file.
18947         * math/s_nextdownf.c: Likewise.
18948         * math/s_nextdownl.c: Likewise.
18949         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18950         F(nextup): New function.
18951         F(nextdown): Likewise.
18952         * math/tgmath.h: Add nextup and nextdown.
18953         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18954         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18955         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18956         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18957         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18958         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18959         Add nextup and nextdown.
18960         (CFLAGS-nldbl-nextup.c): New variable.
18961         (CFLAGS-nldbl-nextdown.c): Likewise.
18962         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18963         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18964         * sysdeps/nacl/libm.abilist: Update.
18965         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18966         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18967         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18968         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18969         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18970         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18971         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18972         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18973         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18974         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18975         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18976         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18979         Likewise.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18982         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18983         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18984         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18985         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18986         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18989         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18990         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18992         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18994 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18996         * manual/pattern.texi: Fix typos & grammar errors.
18998 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19000         * manual/search.texi: Fix typos & grammar errors.
19002 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19004         * manual/message.texi: Fix typos & grammar errors.
19006 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19008         * manual/contrib.texi: Fix spelling typos.
19009         * manual/crypt.texi: Likewise.
19010         * manual/filesys.texi: Likewise.
19011         * manual/locale.texi: Likewise.
19012         * manual/message.texi: Likewise.
19013         * manual/nss.texi: Likewise.
19014         * manual/string.texi: Likewise.
19016 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19018         * manual/locale.texi: Fix typos & grammar errors.
19020 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19022         * manual/charset.texi: Fix typos & grammar errors.
19024 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19026         * manual/string.texi: Fix typos.
19028 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19030         * manual/ctype.texi: Fix typos.
19032 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19034         * manual/memory.texi: Fix various typos & grammar errors.
19036 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19038         [BZ #20255]
19039         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19040         * math/libm-test.inc (fdim_test_data): Add another test.
19042         [BZ #6796]
19043         [BZ #20255]
19044         [BZ #20256]
19045         * math/s_fdim.c: Include <math_private.h>.
19046         (__fdim): Use math_narrow_eval on result.
19047         * math/s_fdimf.c: Include <math_private.h>.
19048         (__fdimf): Use math_narrow_eval on result.
19049         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19050         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19051         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19052         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19053         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19054         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19055         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19056         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19057         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19058         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19059         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19060         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19061         overflow.  Add sNaN tests.
19063         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19064         fpclassify.
19065         * math/s_fdimf.c (__fdimf): Likewise.
19066         * math/s_fdiml.c (__fdiml): Likewise.
19068 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19070         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19071         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19073         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19074         ifunc'ed strcasecmp/strncasecmp.
19075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19076         [EALIGN]: Removed.
19077         [END]: Likewise.
19078         [__strcasecmp]: Define instead of the above to control symbol name.
19079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19080         for __strcasecmp_power8.
19081         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19082         for __strncasecmp_power8.
19083         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19084         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19085         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19086         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19087         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19088         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19090 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19092         [BZ #20252]
19093         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19094         arguments when second argument is a NaN.
19095         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19096         qNaN tests.
19098         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19099         (conj_test_data): Likewise.
19100         (copysign_test_data): Likewise.
19101         (creal_test_data): Likewise.
19102         (fma_test_data): Likewise.
19103         (fmod_test_data): Likewise.
19105         [BZ #20250]
19106         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19107         itself.
19108         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19109         zero input to itself.
19110         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19111         Likewise.
19112         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19113         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19114         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19115         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19116         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19118 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19120         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19121         * nptl/tst-cancel4-common.c: New file.
19122         * nptl/tst-cancel4-common.h: Likewise.
19123         * nptl/tst-cancel4.c: Move common definitions to
19124         tst-cancel4-common.{c,h} file.
19125         * nptl/tst-cancel4_1.c: New test.
19126         * nptl/tst-cancel4_2.c: New test.
19128 2016-06-13  Florian Weimer  <fweimer@redhat.com>
19130         [BZ #20248]
19131         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19132         (write_message): New function.
19133         (stackoverflow_handler): Call it instead of printf, to avoid
19134         excessive stack usage by printf.
19135         (do_test): Restore SIGSEGV, SIGBUS default handlers.
19137 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19139         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19140         (prio_inherit_missing): Remove define.
19141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19142         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19144         Likewise.
19145         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19146         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19147         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19148         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19149         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19150         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19152 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19154         [BZ #19670]
19155         [BZ #19672]
19157         * io/test-lfs.c (do_prepare): Use xmalloc.
19158         * io/tst-fcntl.c (do_prepare): Likewise.
19159         * libio/tst-fopenloc.c (do_bz17916): Likewise.
19160         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19161         * login/tst-utmp.c (do_prepare): Likewise.
19162         * posix/tst-exec.c (do_prepare): Likewise.
19163         * posix/tst-pathconf.c (prepare): Likewise.
19164         * posix/tst-spawn.c (do_prepare): Likewise.
19165         * posix/tst-truncate.c (do_prepare): Likewise.
19166         * rt/tst-aio.c (do_prepare): Likewise.
19167         * rt/tst-aio64.c (do_prepare): Likewise.
19169 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19171         [BZ #20237]
19172         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19173         (get*ent): Set entidx to NULL during initialization.  If entidx is
19174         NULL, start iteration from the beginning.
19176 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19178         * malloc/malloc.c (musable): Return correct size for dumped fake
19179         mmapped chunk.
19181 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19183         [BZ #20222]
19184         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19185         (_IO_cookie_write): Likewise.
19186         (_IO_cookie_seek): Likewise.
19187         (_IO_cookie_close): Likewise.
19188         (_IO_old_cookie_seek): Likewise.
19189         (set_callbacks): New function.
19190         (_IO_cookie_init): Call set_callbacks to copy callbacks.
19192 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
19194         * locale/programs/localedef.c (oldstyle_tables): Remove.
19195         * locale/programs/localedef.h (oldstyle_tables): Likewise.
19197 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
19199         [BZ #20240]
19200         * math/Makefile (CFLAGS-s_modf.c): New variable.
19201         (CFLAGS-s_modff.c): Likewise.
19202         (CFLAGS-s_modfl.c): Likewise.
19203         * math/libm-test.inc (modf_test_data): Add sNaN tests.
19205 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
19207         [BZ #20215]
19208         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19209         [!__GNUC_PREREQ (3,2)]: Likewise.
19211 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
19213         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19214         (msghdr.msg_controllen): Likewise.
19215         (cmsghdr.cmsg_len): Likewise.
19216         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19217         ptw-oldsendmsg.
19218         (CFLAGS-oldrecvmsg.c): Remove rule.
19219         (CFLAGS-oldsendmsg.c): Likewise.
19220         (CFLAGS-recvmsg.c): Add rule.
19221         (CFLAGS-sendmsg.c): Likewise.
19222         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19223         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19224         (CFLAGS-recvmsg.c): Remove rule.
19225         (CFLAGS-sendmsg.c): Likewise.
19226         (CFLAGS-oldrecvmsg.c): Likewise.
19227         (CFLAGS-oldsendmsg.c): Likewise.
19228         (CFLAGS-recvmmsg.c): Likewise.
19229         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19230         to kernel defined interfaces.
19231         (msghdr.msg_controllen): Likewise.
19232         (cmsghdr.cmsg_len): Likewise.
19233         (msghdr.__glibc_reserved1): Remove member.
19234         (msghdr.__glibc_reserved2): Likewise.
19235         (cmsghdr.__glibc_reserved1): Likewise.
19236         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19237         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19238         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19239         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19240         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19241         version.
19242         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19243         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19244         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19245         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19246         Remove recvmsg and sendmsg.
19247         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19248         Likewise.
19249         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19250         Likewise.
19251         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19252         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19253         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19254         Likewise.
19255         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19256         Likewise.
19257         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19258         [libc] (GLIBC_2.24): Likewise.
19259         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19260         Likewise.
19261         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19262         Likewise.
19263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19264         [libc] (GLIBC_2.24): Likewise.
19265         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19266         Likewise.
19267         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19270         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19271         Likewise.
19272         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19273         Likewise.
19274         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19275         Likewise.
19276         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19277         Likewise.
19278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19279         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19280         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19281         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19282         version for {recv,send,recm,sendm}msg.
19283         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19284         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19285         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19286         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19287         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19288         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19289         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19290         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19291         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19292         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19293         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19294         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19296         Likewise.
19297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19298         Likewise.
19299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19301         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19302         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19303         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19304         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19305         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19306         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19309         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19310         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19311         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19313 2016-06-10  Florian Weimer  <fweimer@redhat.com>
19315         [BZ #19564]
19316         Remove __malloc_initialize_hook from the API.
19317         * malloc/malloc.h (__malloc_initialize_hook): Remove.
19318         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19319         #pragma GCC poison.
19320         * malloc/malloc-hooks.h: New file.
19321         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19322         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19323         (old__malloc_initialize_hook): Rename from
19324         __malloc_initialize_hook to evade poisoning.  Turn into compat
19325         symbol.
19326         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19327         __malloc_initialize_hook.
19328         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19329         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19330         * manual/memory.texi (Hooks for Malloc): Remove
19331         __malloc_initialize_hook.  Adjust hook example.
19333 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
19335         [BZ #20235]
19336         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19337         itself.
19338         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19339         * math/libm-test.inc (log2_test_data): Add sNaN tests.
19341         [BZ #20234]
19342         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19343         infinity or NaN input to itself.
19345         [BZ #20233]
19346         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19347         to itself.
19349         [BZ #20232]
19350         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19351         itself.
19353 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19355         * sysdeps/x86_64/start.S (_start): Always indirect branch to
19356         __libc_start_main via GOT.
19358 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19360         * sysdeps/x86_64/memcopy.h: New file.
19361         * sysdeps/x86_64/wordcopy.c: Likewise.
19363 2016-06-09  Florian Weimer  <fweimer@redhat.com>
19365         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19366         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19367         <cstdlib>.
19368         (optimization_barrier): New.
19369         (do_test): Use it.  Call quick_exit in the global namespace.
19370         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19371         instead of <cstdlib>, <thread>.
19372         (optimization_barrier): New.
19373         (non_main_thread): Adjust declaration.  Call optimization_barrier.
19374         Call quick_exit in the global namespace.
19375         (do_test): Call optimization_barrier.  Use pthread_create,
19376         pthread_join instead of std::thread.
19378 2016-06-09  Andreas Schwab  <schwab@suse.de>
19380         [BZ #19755]
19381         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19382         new entries in auto-propagate mode.
19383         * nscd/grpcache.c (cache_addgr): Likewise.
19385 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19387         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19388         New functions.
19389         (add_temp_file): Use them.
19391 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
19393         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19395 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
19397         [BZ #20229]
19398         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
19399         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
19400         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
19402         [BZ #20228]
19403         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
19404         itself.
19405         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19406         * math/libm-test.inc (log10_test_data): Add sNaN tests.
19408         [BZ #20227]
19409         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
19410         itself.
19411         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19412         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19413         * math/libm-test.inc (log_test_data): Add sNaN tests.
19415         [BZ #20226]
19416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19417         itself.
19418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19419         * math/libm-test.inc (exp_test_data): Add sNaN tests.
19420         (exp10_test_data): Likewise.
19421         (expm1_test_data): Likewise.
19423         [BZ #20225]
19424         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19425         itself.
19426         * math/s_ldexpf.c (__ldexpf): Likewise.
19427         * math/s_ldexpl.c (__ldexpl): Likewise.
19428         * math/w_scalbln.c (__w_scalbln): Likewise.
19429         * math/w_scalblnf.c (__w_scalblnf): Likewise.
19430         * math/w_scalblnl.c (__w_scalblnl): Likewise.
19431         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19432         (scalbln_test_data): Likewise.
19434         [BZ #20224]
19435         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19436         argument to itself.
19437         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19439 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19441         [BZ #19776]
19442         * sysdeps/x86_64/memcpy.S: Make it dummy.
19443         * sysdeps/x86_64/mempcpy.S: Likewise.
19444         * sysdeps/x86_64/memmove.S: New file.
19445         * sysdeps/x86_64/memmove_chk.S: Likewise.
19446         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19447         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19448         * sysdeps/x86_64/memmove.c: Removed.
19449         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19450         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19451         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19452         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19453         Likewise.
19454         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19455         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19457         memcpy-sse2-unaligned, memmove-avx-unaligned,
19458         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19460         (__libc_ifunc_impl_list): Replace
19461         __memmove_chk_avx512_unaligned_2 with
19462         __memmove_chk_avx512_unaligned.  Remove
19463         __memmove_chk_avx_unaligned_2.  Replace
19464         __memmove_chk_sse2_unaligned_2 with
19465         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
19466         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
19467         with __memmove_avx512_unaligned.  Replace
19468         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19469         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
19470         with __memcpy_chk_avx512_unaligned.  Remove
19471         __memcpy_chk_avx_unaligned_2.  Replace
19472         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19473         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
19474         Replace __memcpy_avx512_unaligned_2 with
19475         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
19476         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
19477         with __mempcpy_chk_avx512_unaligned.  Remove
19478         __mempcpy_chk_avx_unaligned_2.  Replace
19479         __mempcpy_chk_sse2_unaligned_2 with
19480         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
19481         Replace __mempcpy_avx512_unaligned_2 with
19482         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
19483         Replace __mempcpy_sse2_unaligned_2 with
19484         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
19485         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19486         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19487         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19488         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
19489         (ENTRY): Removed.
19490         (END): Likewise.
19491         (ENTRY_CHK): Likewise.
19492         (libc_hidden_builtin_def): Likewise.
19493         Don't include ../memcpy.S.
19494         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19495         __memcpy_chk_avx512_unaligned_erms and
19496         __memcpy_chk_avx512_unaligned.  Use
19497         __memcpy_chk_avx_unaligned_erms and
19498         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19499         Default to __memcpy_chk_sse2_unaligned.
19500         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19501         Change function suffix from unaligned_2 to unaligned.
19502         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19503         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19504         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19505         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
19506         (ENTRY): Removed.
19507         (END): Likewise.
19508         (ENTRY_CHK): Likewise.
19509         (libc_hidden_builtin_def): Likewise.
19510         Don't include ../mempcpy.S.
19511         (mempcpy): New.  Add a weak alias.
19512         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19513         __mempcpy_chk_avx512_unaligned_erms and
19514         __mempcpy_chk_avx512_unaligned.  Use
19515         __mempcpy_chk_avx_unaligned_erms and
19516         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19517         Default to __mempcpy_chk_sse2_unaligned.
19519 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19521         [BZ #19881]
19522         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19523         into ...
19524         * sysdeps/x86_64/memset.S: This.
19525         (__bzero): Removed.
19526         (__memset_tail): Likewise.
19527         (__memset_chk): Likewise.
19528         (memset): Likewise.
19529         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19530         defined.
19531         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19532         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19533         (__memset_zero_constant_len_parameter): Check SHARED instead of
19534         PIC.
19535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19536         memset-avx2 and memset-sse2-unaligned-erms.
19537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19538         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19539         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19540         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19541         (__bzero): Enabled.
19542         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19543         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19544         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
19545         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
19546         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19547         (memset): Removed.
19548         (__memset_chk): Likewise.
19549         (MEMSET_SYMBOL): New.
19550         (libc_hidden_builtin_def): Replace __memset_sse2 with
19551         __memset_sse2_unaligned.
19552         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19553         __memset_chk_sse2 and __memset_chk_avx2 with
19554         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19555         Use __memset_chk_sse2_unaligned_erms or
19556         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
19557         __memset_chk_avx512_unaligned_erms and
19558         __memset_chk_avx512_unaligned.
19560 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19562         * math/gen-auto-libm-test.c (fp_format_desc): remove
19563         suffix member.
19564         (output_generic_value): Remove usage of suffix member,
19565         and the resulting unuse of the fp_format argument.
19566         (output_for_one_input_case): Remove unused fp_format
19567         parameter.
19569         * math/auto-libm-test-out: Regenerate.
19571         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19572         usage with TEST_COND_ibm128.
19573         (TEST_COND_flt_32): Remove.
19574         (TEST_COND_dbl_64): Remove.
19575         (TEST_COND_ldbl_96_intel): Remove.
19576         (TEST_COND_ldbl_96_m68k): Remove.
19577         (TEST_COND_ldbl_128): Remove.
19579 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19581         * auto-libm-test-in:
19582         Replace flt-32 usage with binary32.
19583         Replace dbl-64 usage with binary64.
19584         Replace ldbl-intel-96 usage with intel96.
19585         Replace ldbl-m68k-96 usage with m68k96.
19586         Replace ldbl-128ibm usage with ibm128.
19587         Replace ldbl-128 usage with binary128.
19589         * auto-libm-test-out: Regenerate.
19591 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19593         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19594         (parse_ulps): Dynamically generate type name matching
19595         string from all_floats.
19596         (get_ulps): Generate the ulps as an array instead.
19597         (output_ulps): Dynamically compose the type based
19598         on the number of supported formats, and print
19599         the indices as type specific helper macros.
19601         * math/libm-test.inc: Remove comment about CHOOSE.
19602         (ulp_data): Generate the type in libm-test-ulps.h.
19603         (ULP_IDX): New macro.
19604         (find_ulps): Update usage of max_ulp.
19606         * math/test-double-vlen2.h (CHOOSE): Remove.
19607         * math/test-double-vlen4.h (CHOOSE): Likewise.
19608         * math/test-double-vlen8.h (CHOOSE): Likewise.
19609         * math/test-float.c (CHOOSE): Likewise.
19610         * math/test-float-finite.c (CHOOSE): Likewise.
19611         * math/test-double.c (CHOOSE): Likewise.
19612         * math/test-double-finite.c (CHOOSE): Likewise.
19613         * math/test-idouble.c (CHOOSE): Likewise.
19614         * math/test-ifloat.c (CHOOSE): Likewise.
19615         * math/test-ildoubl.c (CHOOSE): Likewise.
19616         * math/test-ldouble-finite.c (CHOOSE): Likewise.
19617         * math/test-ldouble.c (CHOOSE): Likewise.
19619         * math/test-float.h (TEST_FLOAT): Remove.
19620         * math/test-double.h (TEST_DOUBLE): Likewise.
19621         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19623 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19625         * math/gen-libm-test.pl: (apply_lit): New subroutine.
19626         (parse_args): Strip C suffix from floating point literals
19627         typed with 'f' and wrap them with LIT().
19629         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19630         (test_ff_f_data_nexttoward): Rename to
19631         (test_fj_f_data): New struct.
19632         (nexttoward_test_data): Relabel tests as
19633         TEST_fj_f instead of TEST_ff_f.
19635 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19637         Emacs bug 23726.
19638         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19639         (__libc_realloc): Correct size computation for dumped fake mmapped
19640         chunks.
19642 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19644         [BZ #20219]
19645         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19646         to itself.
19647         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19649         [BZ #20218]
19650         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19651         to itself.
19652         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19654 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19656         [BZ #20195]
19657         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19658         check to ...
19659         (init_cpu_features): Here.
19661 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19663         [BZ #20214]
19664         * sysdeps/unix/sysv/linux/bits/in.h
19665         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19666          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19667         Define to 1.
19668         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19669          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19670         Define to 0.
19671         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19672         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19674 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19676         [BZ #20198]
19677         * stdlib/Makefile (tests): Add tst-quick_exit, and
19678         tst-thread-quick_exit.
19679         [ifeq ($(have-cxx-thread_local),yes)]
19680         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19681         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19682         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19683         (LDLIBS-tst-thread-quick_exit): Likewise.
19684         [ifneq ($(have-cxx-thread_local),yes)]
19685         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19686         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19687         If run_dtors is true call __call_tls_dtors.
19688         (exit): Call __run_exit_handlers with run_dtors set to true.
19689         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19690         definition.
19691         * stdlib/quick_exit.c (quick_exit): Remove function.
19692         (__new_quick_exit): New function.
19693         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19694         function.
19695         * stdlib/tst-quick_exit.cc: New file.
19696         * stdlib/tst-thread-quick_exit.cc: New file.
19697         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19698         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19699         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19700         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19701         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19702         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19703         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19704         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19705         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19706         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19707         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19708         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19709         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19710         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19711         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19712         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19717         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19718         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19719         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19720         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19721         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19724         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19725         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19726         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19728 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19730         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19731         a typo in comments.
19733 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19735         [BZ #20213]
19736         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19737         argument to itself.
19738         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19740 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19742         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19743         required flags.
19744         (CFLAGS-pwritev64.c): Likewise.
19745         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19747         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19748         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19749         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19750         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19751         syscall from auto-generation.
19752         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19753         [WORDSIZE == 64] (pwritev64): Remove macro.
19754         [!PWRITEV] (PWRITEV): Likewise.
19755         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19756         [!PWRITEV] (PWRITE): Likewise.
19757         [!PWRITEV] (OFF_T): Likewise.
19758         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19759         (LO_HI_LONG): Remove macro.
19760         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19761         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19762         (PWRITEV): Remove macro.
19763         (PWRITEV_REPLACEMENTE): Likewise.
19764         (PWRITE): Likewise.
19765         (OFF_T): Likewise.
19766         (pwritev64): New function.
19767         * nptl/tst-cancel4.c (tf_writev): Add test.
19769         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19770         required flags.
19771         (CFLAGS-preadv64.c): Likewise.
19772         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19773         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19774         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19775         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19776         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19777         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19778         syscall from auto-generation.
19779         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19780         [WORDSIZE == 64] (preadv64): Remove macro.
19781         [!PREADV] (PREADV): Likewise.
19782         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19783         [!PREADV] (PREAD): Likewise.
19784         [!PREADV] (OFF_T): Likewise.
19785         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19786         (LO_HI_LONG): Remove macro.
19787         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19788         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19789         (PREADV): Remove macro.
19790         (PREADV_REPLACEMENTE): Likewise.
19791         (PREAD): Likewise.
19792         (OFF_T): Likewise.
19793         (preadv64): New function.
19794         * nptl/tst-cancel4.c (tf_preadv): Add test.
19796 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19798         [BZ #20212]
19799         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19800         argument to itself.
19801         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19803 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19805         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19806         New symbol defined as libc_hidden_def.
19807         (strcasestr): Became a weak alias to __strcasestr.
19808         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19809         according to multi-arch support.  Move __stpncpy hidden
19810         definition from here to...
19811         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19812         symbol stpncpy.
19813         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19814         libc_hidden_builtin_def.
19815         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19816         memset symbol to use when multi-arch support is available.
19818 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19820         * dlfcn/tst-rec-dlopen.c: Include string.h.
19822 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19824         * manual/install.texi: Remove mention of --without-tls
19825         * INSTALL: Regenerate.
19827 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19829         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19830         Remove.
19831         (call_function, interposed_malloc_called): New variables.
19832         (malloc): New function.
19833         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19834         and clear call_function as needed.
19836 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19838         * include/wchar.h (__wmemset): Use __typeof.
19840 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19842         * include/wchar.h (__wmemset): Declare function without typeof.
19844 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19846         [BZ #20205]
19847         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19848         exponent when incrementing negative subnormal with low mantissa
19849         word zero.
19850         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19851         Add another test.
19853 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19855         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19856         __wmemset instead of wmemset.
19858 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19860         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19861         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19862         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19863         __USE_KERNEL_IPV6_DEFS to 0.
19864         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19865         Update comment.
19867 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19869         [BZ #19861]
19870         Do not use IFUNC resolver with potentially unrelocated symbol.
19871         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19872         (DEFINE_FORK): Remove macro and inline definition.
19873         (fork_alias): Renamed from fork_ifunc.
19874         (__fork_alias): Renamed from __fork_ifunc.
19876 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19878         [BZ 19653]
19879         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19880         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19882 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19884         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19885         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19886         i386-linux-gnu).
19887         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19888         Set to no.
19889         * sysdeps/mach/hurd/configure: Refresh.
19891 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19893         [BZ #20178]
19894         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19895         on failure instead of exit.
19897 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19899         [BZ #3629]
19900         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19901         of POSIX.1-2008.
19903 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19905         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19906           Use PLT entry for calling _hurd_self_sigstate.
19908 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19910         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19911         available logical processors with SMT level type sharing L2
19912         cache for Intel processors.
19914 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19916         [BZ #20160]
19917         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19918         argument to itself before returning the result.
19919         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19920         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19921         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19922         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19923         Likewise.
19924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19925         Likewise.
19926         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19927         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19928         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19929         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19930         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19931         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19933         [BZ #20160]
19934         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19935         argument to itself before returning the result.
19936         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19937         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19938         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19939         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19940         Likewise.
19941         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19942         Likewise.
19943         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19944         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19945         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19946         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19947         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19948         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19950 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19952         * libm-test.inc: Replace usage of M_El with
19953         (lit_e): New macro.
19955 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19957         * libm-test.inc: Replace usage of M_PI_4l with
19958         (lit_pi_4_d): New macro.
19960 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19962         * libm-test.inc: Replace usage of M_PIl with
19963         (lit_pi): New macro.
19965 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19967         * libm-test.inc: Replace usage of M_PI2l with
19968         (lit_pi_2_d): New macro.
19970         * math/test-double.h (LITM): New macro.
19971         * math/test-float.h (LITM): Likewise.
19972         * math/test-ldouble.h (LITM): Likewise.
19974 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19976         * libm-test.inc (M_PI_34l): Rename to
19977         (lit_pi_3_m_4_d): New Macro.
19978         (M_PI_34_LOG10El): Rename to
19979         (lit_pi_3_m_4_ln10_m_d): New Macro.
19980         (M_PI2_LOG10El): Rename to
19981         (lit_pi_2_ln10_m_d):  New Macro.
19982         (M_PI4_LOG10El): Rename to
19983         (lit_pi_4_ln10_m_d):  New Macro.
19984         (M_PI_LOG10El): Rename to
19985         (lit_pi_ln10_d):  New Macro.
19987 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19989         [BZ #20157]
19990         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19991         determine whether to negate low half if [_ARCH_PPCGR], and integer
19992         comparison otherwise.
19993         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19994         determine whether to negate low half.
19996         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19997         (NO_TEST_INLINE_DOUBLE): Likewise.
19998         (TEST_COND_x86_64): Likewise.
19999         (TEST_COND_x86): Likewise.
20000         (M_PI_6l): Likewise.
20002 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20004         * math/libm-test.inc:
20005         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20006         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20007         (TEST_LDOUBLE): Update usage to evaluate as true if
20008         the guarded tests match the property being tested.
20009         (LDBL_MAX_EXP): Change to MAX_EXP.
20010         (LDBL_MIN_EXP): Change to MIN_EXP.
20011         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20012         nexttoward tests.
20014 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20016         * math/libm-test.inc:
20017         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20018         (TYPE_MIN): Likewise.
20019         (TYPE_TRUE_MIN): Likewise.
20020         (TYPE_MAX): Likewise.
20021         (MIN_EXP): Likewise.
20022         (MAX_EXP): Likewise.
20023         (MANT_DIG): Likewise.
20025         (FSTR_MAX): New macro.
20026         (__CONCATX): Likewise.
20027         (QTYPE_STR): Likewise.
20028         (TEST_COND_binary32): Likewise.
20029         (TEST_COND_binary64): Likewise.
20030         (TEST_COND_binary128): Likewise.
20031         (TEST_COND_ibm128): Likewise.
20032         (TEST_COND_intel96): Likewise.
20033         (TEST_COND_m68k96): Likewise.
20035         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20036         (TEST_COND_dbl_64): Likewise.
20037         (TEST_COND_ldbl_96_intel): Likewise.
20038         (TEST_COND_ldbl_96_m68k): Likewise.
20039         (TEST_COND_ldbl_128): Likewise.
20040         (TEST_COND_ldbl_128ibm): Likewise.
20042         (plus_zero): Redefine using LIT macro.
20043         (minus_zero): Likewise.
20044         (plus_infty): Redefine as (INF).
20045         (minux_infty): Redefine as (-INF).
20046         (max_value): Redefine as TYPE_MAX.
20047         (min_value): Redefine as TYPE_MIN.
20048         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20050         (print_float): Refactor to use snprintf to convert FLOAT values
20051         to string. This brings it closer to dropin replacement of strtof
20052         for the TS 18661 defined types.
20053         (update_stats): Likewise.
20054         (print_complex_function_ulps): Likewise.
20055         (print_max_error): Likewise.
20056         (print_complex_max_error): Likewise.
20057         (check_float_internal): Likewise.
20059         * math/test-float.h (PREFIX): New macro.
20060         (LIT): Likewise.
20061         (TYPE_STR): Likewise.
20062         (FTOSTR): Likewise.
20064         * math/test-double.h (PREFIX): New macro.
20065         (LIT): Likewise.
20066         (TYPE_STR): Likewise.
20067         (FTOSTR): Likewise.
20069         * math/test-ldouble.h (PREFIX): New macro.
20070         (LIT): Likewise.
20071         (TYPE_STR): Likewise.
20072         (FTOSTR): Likewise.
20074 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20076         [BZ #20156]
20077         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20078         to itself when zero or not finite.
20079         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20080         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20081         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20082         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20084 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20086         [BZ #20153]
20087         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20088         x * x + x for infinities and NaNs.
20090         [BZ #20151]
20091         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20092         argument to itself before returning result.
20093         (__ieee754_y0l): Likewise.
20094         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20095         (__ieee754_y1l).
20097         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20098         (atan_test_data): Likewise.
20099         (ceil_test_data): Likewise.
20100         (cos_test_data): Likewise.
20101         (cosh_test_data): Likewise.
20102         (erf_test_data): Likewise.
20103         (exp2_test_data): Likewise.
20104         (fabs_test_data): Likewise.
20105         (floor_test_data): Likewise.
20106         (ilogb_test_data): Likewise.
20107         (j0_test_data): Likewise.
20108         (j1_test_data): Likewise.
20109         (jn_test_data): Likewise.
20110         (lgamma_test_data): Likewise.
20111         (lrint_test_data): Likewise.
20112         (llrint_test_data): Likewise.
20113         (logb_test_data): Likewise.
20114         (lround_test_data): Likewise.
20115         (llround_test_data): Likewise.
20116         (nearbyint_test_data): Likewise.
20117         (rint_test_data): Likewise.
20118         (round_test_data): Likewise.
20119         (sin_test_data): Likewise.
20120         (sincos_test_data): Likewise.
20121         (sinh_test_data): Likewise.
20122         (sqrt_test_data): Likewise.
20123         (tan_test_data): Likewise.
20124         (tanh_test_data): Likewise.
20125         (tgamma_test_data): Likewise.
20126         (trunc_test_data): Likewise.
20127         (y0_test_data): Likewise.
20128         (y1_test_data): Likewise.
20129         (yn_test_data): Likewise.
20131         * math/libm-test.inc: Update comment about NaN testing.
20132         (TEST_SNAN): New macro.
20133         (snan_value): Likewise.
20134         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20135         (fpclassify_test_data): Add sNaN tests.
20136         (isfinite_test_data): Likewise.
20137         (isinf_test_data): Likewise.
20138         (isnan_test_data): Likewise.
20139         (isnormal_test_data): Likewise.
20140         (issignaling_test_data): Likewise.
20141         (signbit_test_data): Likewise.
20142         * math/gen-libm-test.pl (%beautify): Add snan_value.
20143         (show_exceptions): Add argument $test_snan.
20144         (parse_args): Handle snan_value as non-finite.  Update call to
20145         show_exceptions.
20146         * math/Makefile (libm-test-no-inline-cflags): Add
20147         -fsignaling-nans.
20149 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20151         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20152         (CFLAGS-oldsendmsg.c): Add rule.
20153         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20154         Correct recvmsg symbol name.
20155         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20156         Likewise.
20158 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20160         * sysdeps/unix/sysv/linux/Makefile
20161         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20162         oldsendmmsg.
20163         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20164         sendmmsg.
20165         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20166         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20167         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20168         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20170         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20171         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20173         Likewise.
20174         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20175         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20176         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20177         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20178         iovlen and controllen fields to adjust to POSIX specification.
20179         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20181         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20182         and change to correct expected type.
20183         (msghdr.msg_controllen): Likewise.
20184         (cmsghdr.cmsg_len): Likewise.
20185         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20186         expected POSIX assumption about the size.
20187         (msghdr.msg_controllen): Likewise.
20188         (msghdr.__glibc_reserved1): Likewise.
20189         (msghdr.__glibc_reserved2): Likewise.
20190         (cmsghdr.cmsg_len): Likewise.
20191         (cmsghdr.__glibc_reserved1): Likewise.
20192         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20193         Add ptw-oldrecvmsg and ptw-oldsendmsg.
20194         (CFLAGS-sendmsg.c): Remove rule.
20195         (CFLAGS-recvmsg.c): Likewise.
20196         (CFLAGS-oldsendmsg.c): Add rule.
20197         (CFLAGS-oldrecvmsg.c): Likewise.
20198         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20199         recvmsg and sendmsg.
20200         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20201         Likewise.
20202         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20203         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20204         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20205         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20206         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20207         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20208         Likewise.
20209         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20210         Likewise.
20211         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20212         Likewise.
20213         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20214         Likewise.
20215         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20216         Likewise.
20217         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20218         Likewise.
20219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20220         (GLIBC_2.24): Likewise.
20221         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20222         Likewise.
20223         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20224         Likewise.
20225         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20226         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20227         Likewise.
20228         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20229         Likewise.
20230         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20231         Likewise.
20232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20233         (GLIBC_2.24): Likewise.
20234         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20237         Likewise.
20238         * sysdeps/unix/sysv/linux/Makefile
20239         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20240         (CFLAGS-sendmsg.c): Add rule.
20241         (CFLAGS-recvmsg.c): Likewise.
20242         (CFLAGS-oldsendmsg.c): Likewise.
20243         (CFLAGS-oldrecvmsg.c): Likewise.
20244         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20245         initialization.
20246         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20247         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20248         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20249         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20250         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20251         iovlen and controllen fields to adjust to POSIX specification.
20252         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20253         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20254         added recvmsg and sendmsg.
20255         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20257         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20259         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20260         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20266         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20268         Likewise.
20269         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20271         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20272         Likewise.
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20276         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20279         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20281         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20283         Likewise.
20284         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20285         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20287         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20288         from auto-generation.
20289         (sendmsg): Likewise.
20290         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20291         (sendmsg): Likewise.
20292         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20293         (sendmsg): Likewise.
20294         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20295         (sendmsg): Likewise.
20296         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20297         (sendmsg): Likewise.
20298         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20299         (sendmsg): Likewise.
20300         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20301         Likewise.
20302         (sendmsg): Likewise.
20303         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20304         (sendmsg): Likewise.
20305         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20307         Remove.
20308         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20309         Likewise.
20310         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20311         Undefine.
20312         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20313         Likewise.
20314         * sysdeps/unix/sysv/linux/kernel-features.h
20315         (__ASSUME_SENDMSG_SYSCALL): Define.
20316         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20317         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20319         Remove.
20320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20321         Likewise.
20322         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20323         Undefine.
20324         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20325         Likewise.
20326         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20328         Remove.
20329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20330         Likewise.
20331         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20332         Undefine.
20333         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20334         Likewise.
20335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20336         (__ASSUME_SENDMSG_SYSCALL): Undefine.
20337         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20338         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20339         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20340         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20341         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20342         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20343         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20345 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20347         * stdlib/gen-tst-strtod-round.c: Add backslash to
20348         compile command in comment.
20349         (printfp): Remove the literal suffix, and define an infinite
20350         value as INF to avoid expansion clash with INFINITY.
20351         (round_str): Remove the literal suffix.
20352         (round_for_all): Likewise, remove the now duplicate ldbl-64
20353         entry, and remove some magic constants.
20355         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20356         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
20357         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20358         (_CONCAT): New macro.
20359         (CONCAT): Likewise.
20360         (CHOOSE_ld): Likewise.
20361         (CHOOSE_f): Likewise.
20362         (CHOOSE_d): Likewise.
20363         (FTYPE_MEMBER): Likewise.
20364         (BOOL_MEMBER): Likewise.
20365         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20366         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20367         (_XNTRY): Likewise.
20368         (XNTRY): Likewise.
20369         (_ENTRY): Likewise.
20370         (ENTRY): Likewise.
20371         (test_exactness): Generate members via macro.
20372         (test_results): Likewise.
20373         (test): Update members.
20374         (TEST): Redefine using new macros.
20375         (INF): New macro.
20376         (fetestmodes): New structure.
20377         (do_test): Refactor to be type generic.
20378         (test_in_one_mode): Refactor duplicate code into
20379         (GEN_ONE_TEST): New macro.
20381         * stdlib/tst-strtod-round-data.h: Regenerate.
20383         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20384         Extend to pass additional arbitrary parameters to
20385         generators.
20387 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
20389         [BZ #15479]
20390         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20391         floating-point state after first floating-point operation on
20392         input.  Restore full floating-point state instead of just rounding
20393         mode.
20394         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20395         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20396         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20397         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20398         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20400         [BZ #15479]
20401         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
20402         floating-point state after first floating-point operation on
20403         input.  Restore full floating-point state instead of just rounding
20404         mode.
20405         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20406         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20407         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20408         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20409         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20413         [BZ #19727]
20414         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20415         valid high surrogate.
20416         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20417         of an utf16 surrogate.
20418         * iconv/gconv_simple.c (BODY): Likewise.
20419         * iconvdata/bug-iconv12.c: New file.
20420         * iconvdata/Makefile (tests): Add bug-iconv12.
20422 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20424         [BZ #19726]
20425         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20426         outptrp in case of an illegal input.
20427         * iconv/tst-iconv6.c: New file.
20428         * iconv/Makefile (tests): Add tst-iconv6.
20430 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20432         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20433         an error in case of a value in range of an utf16 low surrogate.
20435 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20437         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20438         an error in case of a value in range of an utf16 low surrogate.
20440 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20442         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20443         Move to ...
20444         * sysdeps/s390/Makefile: ... here.
20445         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20446         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20447         (BRANCH_ON_COUNT): New define.
20448         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20449         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20450         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20451         run on s390-32, too.
20452         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20453         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20454         run on s390-32, too.
20455         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20456         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20457         run on s390-32, too.
20459 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20461         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20462         etf3eh or new vector loop-variant.
20464 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20466         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20467         etf3eh or new vector loop-variant.
20469 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20471         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20472         or new vector loop-variant.
20474 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20476         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20477         Rename to TR_LOOP and usage of tr instead of troo instruction.
20479 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20481         * sysdeps/s390/multiarch/gconv_simple.c: New File.
20482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20484 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20486         * sysdeps/s390/multiarch/8bit-generic.c: New File.
20487         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20488         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20489         New override define.
20490         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20492 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20494         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20495         * sysdeps/s390/configure.ac: Add test for S390 vector register
20496         support in gcc.
20497         * sysdeps/s390/configure: Regenerated.
20499 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20501         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20502         Install file from $(objpfx)gconv-modules.
20503         ($(objpfx)gconv-modules): Concatenate architecture specific file
20504         in variable sysdeps-gconv-modules and gconv-modules in src dir.
20505         * sysdeps/s390/gconv-modules: New file.
20506         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20507         Deleted.
20508         ($(objpfx)gconv-modules-s390): Deleted.
20509         (sysdeps-gconv-modules): New variable.
20511 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20513         [BZ #15479]
20514         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20515         of immediate operand to rounding instruction.
20516         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20517         Likewise.
20518         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20519         Likewise.
20520         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20521         Likewise.
20523 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20525         * math/libm-test.inc (MIN_EXP): Directly define as
20526         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20528 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20530         * math/libm-test.inc (MANT_DIG): Directly define as
20531         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20533 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20535         * stdlib/gen-tst-strtod-round.c (main):
20536           Change usage to more closely match the generated
20537           output.  Add usage and compilation instructions.
20538           (string_to_fp): Add and use FILE* parameter as
20539           output target.
20540           (print_fp): Likewise.
20541           (round_str): Likewise.
20542           (round_for_all): Likewise.
20543         * stdlib/tst-strtod-round.c (tests): Move into
20544         * stdlib/tst-strtod-round-data.h: New file.
20546 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20548         [BZ #15479]
20549         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20550         (__round): Do not force "inexact" exception.
20551         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20552         variable.
20553         (__round): Do not force "inexact" exception.
20554         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20555         (__roundf): Do not force "inexact" exception.
20556         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20557         (__roundl): Do not force "inexact" exception.
20558         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20559         (__roundl): Do not force "inexact" exception.
20560         * math/libm-test.inc (round_test_data): Do not allow spurious
20561         "inexact" exceptions.
20563         [BZ #15479]
20564         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20565         exception in comment.
20566         (huge): Remove variable.
20567         (__floor): Do not force "inexact" exception.
20568         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20569         "inexact" exception in comment.
20570         (huge): Remove variable.
20571         (__floor): Do not force "inexact" exception.
20572         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20573         exception in comment.
20574         (huge): Remove variable.
20575         (__floorf): Do not force "inexact" exception.
20576         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20577         exception in comment.
20578         (huge): Remove variable.
20579         (__floorl): Do not force "inexact" exception.
20581         [BZ #15479]
20582         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20583         exception in comment.
20584         (huge): Remove variable.
20585         (__ceil): Do not force "inexact" exception.
20586         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20587         "inexact" exception in comment.
20588         (huge): Remove variable.
20589         (__ceil): Do not force "inexact" exception.
20590         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20591         (__ceilf): Do not force "inexact" exception.
20592         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20593         exception in comment.
20594         (huge): Remove variable.
20595         (__ceill): Do not force "inexact" exception.
20597 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20599         * config.h.in (BIND_NOW): New.
20600         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
20601         * configure: Regenerated.
20602         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20603         indirect branch via the GOT slot.
20605 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20607         [BZ #19765]
20608         * sysdeps/s390/mempcpy.S: New File.
20609         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20610         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20611         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20612         Add mempcpy variants.
20613         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20614         (memcpy): Adjust to be usable from mempcpy entry point.
20615         (__memcpy_mvcle): Likewise.
20616         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20617         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20618         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20619         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20620         (__memcpy_z10): Likewise.
20621         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20623 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20625         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20626         Remove __GI_ symbol.
20627         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20628         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20629         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20630         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20631         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20632         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20634 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20636         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20637         Use cghi instead of chi to compare 64bit value.
20639 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20641         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20642         Jump to 1MB check before executing mvc-loop.
20644 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20646         [BZ #6527]
20647         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20648         unconditionally.
20649         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20651 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20653         * stdlib/tst-strtod6.c (do_test): Use new type generic
20654         invocation of the test function.
20655         (test): Refactor into ...
20656         (TEST_STRTOD): New macro base function.
20658 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20660         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20661         (TEST_STRTOD): New macro.
20662         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20664 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20666         * stdlib/tst-strtod6.c (do_test): Use new type generic
20667         invocation of the test function.
20668         (test): Refactor into ...
20669         (TEST_STRTOD): New macro base function.
20671 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20673         CVE-2016-4429
20674         [BZ #20112]
20675         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20676         payload.
20678 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20680         [BZ #20111]
20681         * bits/sockaddr.h (_SS_SIZE): Define.
20682         * bits/socket.h (_SS_SIZE): Remove.
20683         (_SS_PADSIZE): Adjust to account for all padding.
20684         (struct sockaddr_storage): Update comment.  Avoid implicit
20685         padding.
20686         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20687         (_SS_PADSIZE): Adjust to account for all padding.
20688         (struct sockaddr_storage): Update comment.  Avoid implicit
20689         padding.
20690         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20691         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20692         (_SS_PADSIZE): Adjust to account for all padding.
20693         (struct sockaddr_storage): Update comment.  Avoid implicit
20694         padding.
20695         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20696         __SS_SIZE is 126 in this version.
20697         * inet/tst-sockaddr.c: New file.
20698         * inet/Makefile (tests): Add tst-sockaddr.c
20699         (tst-sockaddr.c): Compile with non-strict aliasing.
20701 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20703         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20704         [XPG3 || XPG4].
20705         (NL_ARGMAX): Also expect for [XPG3].
20706         (NL_LANGMAX): Likewise.
20707         (NL_MSGMAX): Likewise.
20708         (NL_NMAX): Likewise.
20709         (NL_SETMAX): Likewise.
20710         (NL_TEXTMAX): Likewise.
20711         (NZERO): Likewise.
20712         (TMP_MAX): Likewise.
20713         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20714         variable.
20716         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20717         (PF_MAX): Update value.
20718         (AF_KCM): New macro.
20719         (SOL_NETBEUI): Likewise.
20720         (SOL_LLC): Likewise.
20721         (SOL_DCCP): Likewise.
20722         (SOL_NETLINK): Likewise.
20723         (SOL_TIPC): Likewise.
20724         (SOL_RXRPC): Likewise.
20725         (SOL_PPPOL2TP): Likewise.
20726         (SOL_BLUETOOTH): Likewise.
20727         (SOL_PNPIPE): Likewise.
20728         (SOL_RDS): Likewise.
20729         (SOL_IUCV): Likewise.
20730         (SOL_CAIF): Likewise.
20731         (SOL_ALG): Likewise.
20732         (SOL_NFC): Likewise.
20733         (SOL_KCM): Likewise.
20734         (MSG_BATCH): New enum value and macro.
20736 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20738         [BZ #18185]
20739         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20740         sharing L2 cache to 2 for Knights Landing.
20742 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20744         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20745         (FTW_DP): Do not expect for [XPG3 || XPG4].
20746         (FTW_SL): Do not expect for [XPG3].
20747         (FTW_SLN): Likewise.
20748         (FTW_PHYS): Likewise.
20749         (FTW_MOUNT): Likewise.
20750         (FTW_DEPTH): Likewise.
20751         (FTW_CHDIR): Likewise.
20752         (nftw): Likewise.
20753         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20754         variable.
20756 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20758         * manual/errno.texi: Fix various typos & grammar errors.
20760 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20762         * manual/intro.texi: Fix duplicated typo.
20764 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20766         [BZ #13304]
20767         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20768         <float.h>, <math_private.h> and <stdlib.h>.
20769         (add_split): New function.
20770         (mul_split): Likewise.
20771         (ext_val): New typedef.
20772         (store_ext_val): New function.
20773         (mul_ext_val): New function.
20774         (compare): New function.
20775         (add_split_ext): New function.
20776         (__fmal): After checking for Inf, NaN and zero, compute result as
20777         an exact sum of scaled double values in round-to-nearest before
20778         adding those up and adjusting for other rounding modes.
20779         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20780         tests of fma.
20781         * math/auto-libm-test-out: Regenerated.
20783 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20785         [BZ #20119]
20786         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20787         processor level type mask for CPUID with EAX == 11.
20789 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20791         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20792         logical threads if the HTT bit is 0.
20793         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20794         (index_cpu_HTT): Likewise.
20795         (reg_HTT): Likewise.
20797 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20799         [BZ #20115]
20800         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20801         Remove alignments on jump targets.
20803 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20805         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20806         (getpwent): Likewise.
20807         (setpwent): Likewise.
20808         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20809         variable.
20811         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20812         (remque): Likewise.
20813         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20814         variable.
20816 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20818         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20819         not being tested.
20821 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20824         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20825         call.
20826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20827         (__condvar_cleanup1): Likewise.
20829 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20831         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20832         New
20833         (__pthread_unwind): Renamed to ...
20834         (PTHREAD_UNWIND): This.
20835         (__pthread_enable_asynccancel): Replace
20836         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20838 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20840         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20841         (CLONE_NEWCGROUP): New macro.
20843         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20844         (Q_GETNEXTQUOTA): New macro.
20846 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20848         [BZ #19907]
20849         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20850         buffer updated by the previous run.
20851         * string/test-memcpy.c (do_one_test): Likewise.
20852         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20853         * string/test-memmove.c (do_one_test): Likewise.
20855 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #20094]
20858         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20859         not [__USE_XOPEN].
20860         (unlockpt): Likewise.
20861         (ptsname): Likewise.
20862         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20863         variable.
20865         [BZ #20076]
20866         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20867         instead of [__USE_UNIX98].
20868         (S_ISSOCK): Likewise.
20869         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20870         variable.
20872         [BZ #20074]
20873         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20874         [__USE_POSIX].
20875         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20876         variable.
20878         [BZ #20051]
20879         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20880         (ttyslot): Do not declare.
20881         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20882         (ttyslot): New prototype.
20883         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20884         variable.
20885         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20887 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20889         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20891 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20893         Fix race condition in tst-mallocfork2, use fewer resources.
20894         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20895         to current process group.
20896         (signal_sender): Yield in the non-sleeping case.
20898 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20900         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20901         (ecvt): Likewise.
20902         (fcvt): Likewise.
20903         (gcvt): Likewise.
20904         (getsubopt): Likewise.
20905         (grantpt): Likewise.
20906         (initstate): Likewise.
20907         (l64a): Likewise.
20908         (mktemp): Likewise.
20909         (mkstemp): Likewise.
20910         (ptsname): Likewise.
20911         (random): Likewise.
20912         (realpath): Likewise.
20913         (setstate): Likewise.
20914         (srandom): Likewise.
20915         (ttyslot): Likewise.
20916         (unlockpt): Likewise.
20917         (valloc): Likewise.
20919         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20920         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20921         variable.
20923 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20925         [BZ #20072]
20926         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20927         init_cpu_features only if SHARED is defined.
20928         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20930 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20932         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20933         non-inclusive caches on Intel processors.
20935 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20937         * malloc/malloc.c (dumped_main_arena_start)
20938         (dumped_main_arena_end): New variables.
20939         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20940         (do_check_chunk): Skip dumped fake mmapped chunks.
20941         (munmap_chunk): Likewise.
20942         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20943         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20944         mmapped chunks.
20945         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20946         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20947         and dumped_main_arena_end to cover the dumped heap.
20949 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20951         * conform/data/time.h-data (getdate_err): Do not expect for
20952         [XPG3].
20953         (getdate): Likewise.
20954         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20955         variable.
20957         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20958         (F_ULOCK): Likewise.
20959         (F_TEST): Likewise.
20960         (F_TLOCK): Likewise.
20961         (useconds_t): Likewise.
20962         (intptr_t): Do not expect for [XPG3] or [XPG4].
20963         (brk): Do not expect for [XPG3]
20964         (fchown): Likewise.
20965         (fchdir): Likewise.
20966         (ftruncate): Likewise.
20967         (getdtablesize): Likewise.
20968         (gethostid): Likewise.
20969         (getpagesize): Likewise.
20970         (getpgid): Likewise.
20971         (getsid): Likewise.
20972         (getwd): Likewise.
20973         (lchown): Likewise.
20974         (lockf): Likewise.
20975         (readlink): Likewise.
20976         (sbrk): Likewise.
20977         (setpgrp): Likewise.
20978         (setregid): Likewise.
20979         (setreuid): Likewise.
20980         (symlink): Likewise.
20981         (sync): Likewise.
20982         (truncate): Likewise.
20983         (ualarm): Likewise.
20984         (usleep): Likewise.
20985         (vfork): Likewise.
20986         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20987         variable.
20989         [BZ #20054]
20990         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20991         not [__USE_UNIX98].
20992         * conform/data/unistd.h-data (gethostname): Do not expect for
20993         [XPG3].
20995         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20996         [!POSIX] (S_IFBLK): Likewise.
20997         [!POSIX] (S_IFCHR): Likewise.
20998         [!POSIX] (S_IFIFO): Likewise.
20999         [!POSIX] (S_IFREG): Likewise.
21000         [!POSIX] (S_IFDIR): Likewise.
21001         [!POSIX] (S_IFLNK): Likewise.
21002         [!POSIX] (S_IFSOCK): Likewise.
21003         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21004         variable.
21005         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21007 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21009         * sysdeps/aarch64/memset.S (__memset):
21010         Rewrite of optimized memset.
21012 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21014         [BZ #19703]
21015         Partially async-signal-safe fork for single-threaded processes.
21016         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21017         variable.  Do not acquire and reset/release malloc and libio locks
21018         in single-threaded processes.
21019         * malloc/tst-mallocfork2.c: New file.
21020         * malloc/Makefile (tests): Add it.
21022 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21024         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21025         argument.  Use scratch buffer instead of extend_alloca.
21026         (gethosts): Use scratch buffer instead of extend_alloca.
21027         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21028         extend_alloca.
21029         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21031 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21033         [BZ #20055]
21034         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21035         instead of [__USE_UNIX98].
21036         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21037         [__USE_UNIX98].
21038         * conform/data/termios.h-data (tcgetsid): Do not expect for
21039         [XPG3].
21040         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21041         variable.
21042         (test-xfail-XPG4/termios.h/conform): Likewise.
21044 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21046         Do not use mcheck in localedef.
21047         * locale/programs/localedef.c (turn_on_mcheck)
21048         (__malloc_initialize_hook): Remove.
21050 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21052         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21053         * sysdeps/s390/s390-64/Makefile: Likewise.
21055 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21057         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21058         Remove ifunc-defines.sym.
21059         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21060         Likewise.
21061         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21062         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21063         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21064         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21065         rtld-global-offsets.sym.
21066         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21067         * sysdeps/x86/cpu-features-offsets.sym: This.
21068         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21069         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21071 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21073         [BZ #20073]
21074         * io/sys/stat.h (fchmod): Declare for
21075         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21076         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21077         variable.
21079         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21080         [XPG3] (S_IFSOCK): Likewise.
21081         [XPG3] (S_ISVTX): Likewise.
21082         [XPG3] (S_ISLNK): Likewise.
21083         [XPG3] (S_ISSOCK): Likewise.
21084         [XPG3] (fchmod): Likewise.
21085         [XPG3] (lstat): Likewise.
21086         [XPG3] (mknod): Likewise.
21088         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21089         [XPG3].  Expect type long and XFAIL for [XPG4].
21090         (st_blocks): Likewise.
21092         [BZ #20044]
21093         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21094         (pthread_atfork): New prototype.
21095         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21096         variable.
21098         [BZ #20043]
21099         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21100         prototype.
21102 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21104         [BZ #20017]
21105         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21106         gmtime.
21108 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21110         [BZ #19994]
21111         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21112         flag in _res.options.
21114 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
21116         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21117         [XPG3 || XPG4].
21118         (blksize_t): Likewise.
21119         (clockid_t): Likewise.
21120         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21121         variable.
21122         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21124 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21126         * sysdeps/unix/sysv/linux/s390/init-first.c:
21127         Add VDSO_SYMBOL(getcpu).
21128         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21129         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21130         Add VDSO_SYMBOL(getcpu).
21131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21132         New define HAVE_GETCPU_VSYSCALL.
21133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21135 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21137         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21138         instead of <sysdeps/x86_64/cacheinfo.c>.
21139         * sysdeps/x86_64/cacheinfo.c: Moved to ...
21140         * sysdeps/x86/cacheinfo.c: Here.
21142 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21144         * malloc/malloc-internal.h: Adjust header file guard.
21146 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21148         [BZ #19787]
21149         * inet/getnameinfo.c (check_sprintf_result): New function.
21150         (CHECKED_SNPRINTF): New macro.
21151         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21152         to the host buffer.
21153         (gni_host_local): Use checked_copy to copy the host name.
21154         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21155         (gni_serv_local): Use checked_copy to copy the service name.
21156         (getnameinfo): Remove unnecessary truncation of result buffers.
21158 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21160         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21161         in case of inet_ntop failure.
21163 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21165         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21166         avoid long lines.
21167         (gni_host_inet_numeric): Likewise.  Reduce scope of local
21168         variables.
21169         (gni_host_inet, gni_host_local): Add comment.
21170         (gni_host): Add comment.  Use temporary to avoid long lines.
21172 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21174         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21175         registers specifiers where general purpose registers specifiers should
21176         have been used.
21178 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21180         [BZ #19779]
21181         CVE-2016-1234
21182         Avoid copying names of directory entries.
21183         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21184         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21185         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21186         (struct readdir_result): New type.
21187         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21188         (GL_READDIR): New macros.
21189         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21190         (convert_dirent, convert_dirent64): New functions.
21191         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
21192         convert_dirent64.  Adjust references to the readdir result.
21193         * sysdeps/unix/sysv/linux/i386/glob64.c:
21194         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21195         * posix/bug-glob2.c (LONG_NAME): Define.
21196         (filesystem): Add LONG_NAME.
21197         (my_DIR): Increase the size of room_for_dirent.
21199 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
21201         [BZ #20041]
21202         * misc/sys/select.h (__need_timespec): Only define if
21203         [__USE_XOPEN2K].
21204         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21205         variable.
21206         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21207         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21208         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21210 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21211             Segher Boessenkool  <segher@gcc.gnu.org>
21213         [BZ #20004]
21214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21215         (__novec_swapcontext): Add missing load.
21217 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
21219         [BZ #20023]
21220         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21221         <time.h>.
21222         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21223         variable.
21224         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21226 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21229         flags CLONE_VM compare.
21231 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21233         [BZ #20031]
21234         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21235         completely empty.
21237 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21239         [BZ #19573]
21240         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21241         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21242         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21243         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21244         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21245         (hesiod_free_list): Mark as hidden.
21246         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21247         res_set, res_get.
21248         * hesiod/hesiod.c: Remove unnecessary forward declarations.
21249         (init, __hesiod_res_get, __hesiod_res_set): Remove.
21250         (hesiod_init): Remove obsolete res_ninit call.
21251         (hesiod_end): Do not free resolver state.  Do not invoke callback.
21252         (hesiod_bind): Do not call init.
21253         (get_txt_records): Use res_mkquery, res_send instead of
21254         res_nmkquery, res_nsend.
21255         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21256         instead of _nss_hesiod_init.
21257         (_nss_hesiod_initgroups_dyn): Likewise.
21258         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21259         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21260         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21262 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21264         * hesiod/hesiod_p.h (DEF_RHS): Remove.
21265         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21267 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21269         * hesiod/hesiod.h: Remove RCS keyword.
21270         * hesiod/hesiod_p.h: Likewise.
21272         * hesiod/hesiod.c: Likewise.
21274 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
21276         [BZ #12450]
21277         * locale/iso-639.def: Add Samogitian/sgs.
21279 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21281         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21283         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21285 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
21286             Carlos O'Donell  <carlos@redhat.com>
21288         [BZ #19072]
21289         * grp/Makefile (headers): Add grp-merge.h
21290         (routines): Add grp-merge.
21291         * grp/getgrgid_r.c: Include grp-merge.h.
21292         (DEEPCOPY_FN): Define.
21293         (MERGE_FN): Define.
21294         * grp/getgrname_r.c: Include grp-merge.h.
21295         (DEEPCOPY_FN): Define.
21296         (MERGE_FN): Define.
21297         * grp/grp-merge.c: New file.
21298         * grp/grp-merge.h: New file.
21299         * include/grp-merge.h: New file.
21300         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21301         __copy_grp@GLIBC_PRIVATE.
21302         * manual/nss.texi (Actions in the NSS configuration): Describe
21303         return, continue, and merge.
21304         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21305         (DEEPCOPY_FN): Define.
21306         (MERGE_FN): Define.
21307         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21308         (DEEPCOPY_FN): Define.
21309         (MERGE_FN): Define.
21310         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21311         [!MERGE_FN]: Define __merge_einval.
21312         (CHECK_MERGE): Define.
21313         (REENTRANT_NAME): Process merge if do_merge is true.
21314         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21315         (__nss_getent_r): Likewise.
21316         * nss/nsswitch.c (nss_parse_service_list): Likewise.
21317         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21319 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21321         [BZ #20012]
21322         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21323         length to calculate the buffer to read.
21324         (fmemopen_write): Set the buffer position based on bytes written.
21325         (fmemopen_seek): Return EINVAL for invalid whence modes.
21327         [BZ #19957]
21328         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21329         tst-getpid2.
21330         (test): Add tst-clone2.
21331         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21332         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21333         pid/tid fields for CLONE_VM.
21334         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21335         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21336         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21337         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21338         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21339         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21340         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21341         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21343         Likewise.
21344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21345         Likewise.
21346         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21347         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21348         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21349         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21350         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21351         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21352         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21353         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21355 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21357         [BZ #19642]
21358         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21359         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21360         (gni_serv_local, gni_serv): New functions extracted from
21361         getnameinfo.
21362         (getnameinfo): Call gni_host and gni_serv to perform the
21363         processing.  Always free scratch buffer.
21365 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21367         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21368         remaining bytes in the dest string, with zeros.
21370 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21372         [BZ #20010]
21373         CVE-2016-3706
21374         * sysdeps/posix/getaddrinfo.c
21375         (convert_hostent_to_gaih_addrtuple): New function.
21376         (gethosts): Call convert_hostent_to_gaih_addrtuple.
21377         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21378         AF_INET data.
21380 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21382         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21383         callback function gl_readdir.
21384         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21385         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21386         (glob_in_dir): Remove len.  Use strdup instead of malloc and
21387         memcpy to copy the name.
21388         * manual/pattern.texi (Calling Glob): Document requirements for
21389         implementations of the gl_readdir callback function.
21390         * manual/examples/mkdirent.c: New example.
21391         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21392         per the manual guidance.
21393         * posix/tst-gnuglob.c (my_readdir): Likewise.
21395 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
21397         [BZ #20014]
21398         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
21399         not [__USE_POSIX].
21400         (getchar_unlocked): Likewise.
21401         (putc_unlocked): Likewise.
21402         (putchar_unlocked): Likewise.
21403         (flockfile): Likewise.
21404         (ftrylockfile): Likewise.
21405         (funlockfile): Likewise.
21406         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
21407         variable.
21408         (test-xfail-XPG4/stdio.h/conform): Likewise.
21410         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21411         Expect constant.
21412         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21413         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21414         variable.
21415         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21416         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21418         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21419         [__USE_LARGEFILE64] (off64_t): Likewise.
21420         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21421         variable.
21423 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21425         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21427 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21429         * resolv/inet_addr.c: Reindent preprocessor conditionals.
21430         * resolv/res_init.c: Likewise.
21431         * resolv/res_mkquery.c: Likewise.
21433 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21435         * resolv/res_init.c (isascii): Do not define.  Use definition in
21436         <ctype.h>.
21437         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21438         (LOG_AUTH): Remove.
21439         (SPRINTF): Remove, adjust caller.
21440         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21442 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21444         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21445         SUNSECURITY conditional.
21446         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21448 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21450         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21451         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21452         Remove BSD-related preprocessor conditionals.
21453         * conf/portability.h: Remove.
21455 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21457         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21458         * resolv/res_data.c: Likewise.
21460 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21462         * resolv/res_comp.c: Remove code conditional on __ultrix__.
21463         * resolv/res_data.c: Remove code conditional on ultrix.
21465 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21467         * resolv/res_init.c (RFC1535): Do not define.  Remove
21468         RFC1535 preprocessor conditionals.
21469         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
21470         because there configuration options which make the resolver
21471         behavior different.
21473 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21475         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
21476         RESOLVSORT preprocessor conditionals.
21477         * resolv/nss_dns/dns-host.c: Likewise.
21478         * resolv/res_init.c: Likewise.
21480 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21482         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
21483         is never defined.
21485 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21487         * inet/inet_lnaof.c: Remove SCSS keyword.
21488         * inet/inet_mkadr.c: Likewise.
21489         * inet/inet_net.c: Likewise.
21490         * inet/inet_netof.c: Likewise.
21491         * inet/rcmd.c: Likewise.
21492         * inet/rexec.c: Likewise.
21493         * inet/ruserpass.c: Likewise.
21495 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21497         * resolv/inet_addr.c: Remove _LIBC conditionals.
21498         * resolv/res_data.c: Likewise.
21499         * resolv/res_init.c: Likewise.
21500         * resolv/res_mkquery.c: Likewise.
21501         * resolv/res_libc.c: Update comment.
21502         * resolv/README: Update.
21504 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21506         * resolv/gethnamaddr.c: Remove SCSS keyword.
21507         * resolv/herror.c: Likewise.
21508         * resolv/inet_addr.c: Likewise.
21509         * resolv/inet_net_ntop.c: Likewise.
21510         * resolv/inet_net_pton.c: Likewise.
21511         * resolv/inet_neta.c: Likewise.
21512         * resolv/inet_ntop.c: Likewise.
21513         * resolv/inet_pton.c: Likewise.
21514         * resolv/ns_date.c: Remove RCS keyword.
21515         * resolv/ns_name.c: Likewise.
21516         * resolv/ns_netint.c: Likewise.
21517         * resolv/ns_parse.c: Likewise.
21518         * resolv/ns_print.c: Likewise.
21519         * resolv/ns_samedomain.c: Likewise.
21520         * resolv/ns_ttl.c: Likewise.
21521         * resolv/nsap_addr.c: Likewise.
21522         * resolv/res_comp.c: Remove SCSS and RCS keyword.
21523         * resolv/res_data.c: Remove RCS keyword.
21524         * resolv/res_debug.c: Remove SCSS and RCS keyword.
21525         * resolv/res_init.c: Likewise.
21526         * resolv/res_mkquery.c: Likewise.
21527         * resolv/res_query.c: Likewise.
21528         * resolv/res_send.c: Likewise.
21530 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21532         * conform/data/stdio.h-data (fdopen): Expect also for
21533         [XPG3 || XPG4].
21535         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21536         (fseeko): Likewise.
21537         (ftello): Likewise.
21538         (ftrylockfile): Likewise.
21539         (funlockfile): Likewise.
21540         (getc_unlocked): Likewise.
21541         (getchar_unlocked): Likewise.
21542         (putc_unlocked): Likewise.
21543         (putchar_unlocked): Likewise.
21545 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21547         [BZ #19868]
21548         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21549         DNS packet syntax checks (which were not needed before).  Skip
21550         over non-PTR records.
21552 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21554         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21555         definition.  Include <stddef.h> instead.
21557 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21559         [BZ #19831]
21560         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21561         function.
21562         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21563         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21565 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21567         [BZ #19862]
21568         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21569         (getanswer_r): Do not call syslog.
21570         (gaih_getanswer_slice): Likewise.
21571         * resolv/gethnamaddr.c (AskedForGot): Remove.
21572         (getanswer): Do not call syslog.
21573         (gethostbyaddr): Likewise.
21575 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21577         * conform/data/signal.h-data (union sigval): Expect also if
21578         [XOPEN2K].
21579         (struct sigevent): Likewise.
21580         (SIGEV_NONE): Likewise.
21581         (SIGEV_SIGNAL): Likewise.
21582         (SIGEV_THREAD): Likewise.
21583         (SIGRTMIN): Likewise.
21584         (SIGRTMAX): Likewise.
21585         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21586         variable.
21587         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21589 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21591         [BZ #19830]
21592         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21593         (gaih_getanswer_slice): Likewise.
21594         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21595         Also check for availability of RR metadata.
21597 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21599         [BZ #19825]
21600         * resolv/res_send.c (send_vc): Remove early *resplen2
21601         initialization.  Set *resplen2 on socket error.  Call
21602         close_and_return_error for other errors.
21604 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21606         * sysdeps/unix/sysv/linux/netiucv/iucv.h
21607         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21608         (SCM_IUCV_TRGCLS): New define.
21610 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21612         [BZ #20005]
21613         * libio/fmemopen.c (fmemopen_write): Update internal position after
21614         write.
21615         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21616         * stdio-common/tst-fmemopen4.c: New file..
21618 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
21620         [BZ #19996]
21621         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21622         not [__USE_XOPEN2K].
21623         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21624         variable.
21626         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21627         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21628         variable.
21630         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21631         [__USE_XOPEN2K8].
21632         [__USE_LARGEFILE64] (off64_t): Likewise.
21633         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21634         variable.
21636 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #19989]
21639         * libio/stdio.h (cuserid): Do not declare if
21640         [__USE_XOPEN2K && !__USE_GNU].
21641         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21642         variable.
21644 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21646         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21647         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21649         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21650         ifunc'ed strcspn.
21651         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21652         [EALIGN]: Removed.
21653         [END]: Likewise
21654         [STRSPN]: Define instead of the above to control symbol name.
21655         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21656         New file.
21657         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21658         Likewise.
21659         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21660         Likewise.
21661         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21662         Likewise.
21663         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21664         [INITIAL_MASK]: New macro.
21665         [STRCSPN]: Likewise.
21666         [UPDATE_MASK]: Likewise.
21667         [USE_AS_STRCSPN]: Likewise.
21669 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21671         [BZ #19931]
21672         * stdio-common/tst-vfprintf-width-prec.c: New file.
21673         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21674         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21675         (generated): Add mtrace-related files.
21676         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21677         (tst-%-mem.out): New pattern rule, replaces
21678         tst-printf-bz18872-mem.out.
21679         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21680         specifier, deallocate any previously allocated work buffer.
21682 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21684         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21685         Add nop before __startcontext, add explaining comments.
21687 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21689         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21690         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21691         completely different API.
21693         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21694         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21695         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21696         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21697         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21698         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21699         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21700         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21701         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21702         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21704 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21706         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21708 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21710         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21711         when it is the default of 0.
21713 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21715         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21716         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21717         (sysdep_routines): Add new strcasestr targets.
21718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21719         (__libc_ifunc_impl_list): Likewise.
21720         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21721         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21722         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21723         * sysdeps/powerpc/powerpc64/power8/Makefile:
21724         New file to add strcasestr-ppc64 to sysdep_routines.
21725         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21726         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21728 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21730         * benchtests/Makefile (wcsmbs-benchset): Include only for
21731         native builds and runs.
21732         (LOCALES): Likewise.
21733         (bench-build): Build timing-type here instead of the bench
21734         target.  Generate locale only for native builds.
21735         * benchtests/README: Add note for cross-building.
21737         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21739         * benchtests/README: Update README to include instructions on
21740         using bench-build.
21742         * Makefile.in (bench-build): New target.
21743         * Rules (PHONY): Add bench-build target.
21744         * benchtests/Makefile (bench): Depend on bench-build.
21745         (bench-build): New target.
21747 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21749         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21750         profil_reply_port.
21751         (profile_waiter): Do not initialize profil_reply_port.
21752         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21753         frequency instead of tick length in us.
21755 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21757         [BZ #18712]
21758         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21759         (__old_mempcpy_small): Likewise.
21760         (__old_strcpy_small): Likewise.
21761         (__old_stpcpy_small): Likewise.
21762         (__old_strpbrk_c2): Fix compat symbol name.
21763         (__old_strpbrk_c3): Likewise.
21764         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21765         (__mempcpy_small): Remove.
21766         (__strcpy_small): Remove.
21767         (__stpcpy_small): Remove.
21769 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21771         [BZ #19400]
21772         * locale/iso-639.def: Add the Talossan/tzl language.
21774 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21776         [BZ #16983]
21777         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21778         comment.  Add "ln" to strchr check on postal_fmt.
21780 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21782         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21783         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21784         tel_dom_fmt.
21786 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21788         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21789         (sysdep_routines): Added __strlen_power8.
21790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21791         __strlen_power8 entry.
21792         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21793         Implementation for POWER8.
21794         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21795         for __strlen_power8.
21796         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21797         Implementation for POWER8.
21799 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21801         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21803 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21805         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21806         Goldmont and Airmont processors.
21808 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21810         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21811         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21812         (__STRING2_SMALL_GET32): Remove.
21813         (memset): Remove.
21814         (__memset_1): Remove.
21815         (__memset_gc): Remove.
21816         (__mempcpy): Remove.
21817         (mempcpy): Remove.
21818         (__mempcpy_args): Remove.
21819         (strchr): Remove.
21820         (strcpy): Remove.
21821         (strcpy_args): Remove.
21822         (__stpcpy_args): Remove.
21823         (__strcmp_cc): Remove.
21824         (__strcmp_gc): Remove.
21825         (strstr): Remove.
21827 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21829         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21830         * nis/nis_call.c (nis_server_cache_add): Likewise.
21832 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21834         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21836 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21838         * malloc/arena.c (__malloc_fork_lock_parent)
21839         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21840         internal_function attribute.
21842 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21844         * stdio-common/printf_fp.c (__printf_fp_l):
21845         Rename ___printf_fp_l to __printf_fp_l and
21846         remove strong alias. Use libc_hidden_def instead
21847         of ldbl_hidden_def macro.
21849 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21851         Remove malloc hooks from fork handler.  They are no longer needed
21852         because malloc runs right before fork, and no malloc calls from
21853         other fork handlers are not possible anymore.
21854         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21855         declarations.
21856         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21857         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21858         (atfork_recursive_cntr): Remove.
21859         (__malloc_fork_lock_parent): Do not override malloc hooks and
21860         thread_arena.
21861         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21862         thread_arena.
21863         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21864         thread_arena instead of save_arena.
21866 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21868         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21869         (thread_atfork, thread_atfork_static): Remove.
21870         * sysdeps/mach/hurd/malloc-machine.h:
21871         (thread_atfork, thread_atfork_static): Remove.
21873 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21875         [BZ #19431]
21876         Run the malloc fork handler as late as possible to avoid deadlocks.
21877         * malloc/malloc-internal.h: New file.
21878         * malloc/malloc.c: Include it.
21879         * malloc/arena.c (ATFORK_MEM): Remove.
21880         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21881         Update comment.
21882         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21883         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21884         Remove outdated comment.
21885         (ptmalloc_init): Do not call thread_atfork.  Remove
21886         thread_atfork_static.
21887         * malloc/tst-malloc-fork-deadlock.c: New file.
21888         * Makefile (tests): Add tst-malloc-fork-deadlock.
21889         (tst-malloc-fork-deadlock): Link against libpthread.
21890         * manual/memory.texi (Aligned Memory Blocks): Update safety
21891         annotation comments.
21892         * sysdeps/nptl/fork.c (__libc_fork): Call
21893         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21894         __malloc_fork_unlock_child.
21895         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21897 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21899         [BZ #19613]
21900         Remove union wait.
21901         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21902         (w_stopsig, w_stopval): Remove.
21903         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21904         stat_loc argument.
21905         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21906         (__WAIT_STATUS_DEFN): Remove.
21907         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21908         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21909         (wait, wait3, wait4): Use int * for the stat_loc argument.
21910         * posix/wait.c (__wait): Likewise.
21911         * posix/wait3.c (__wait3): Likewise.
21912         * posix/wait4.c (__wait4): Likewise.
21913         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21914         (__WAIT_STATUS_DEFN): Remove.
21915         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21916         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21917         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21918         argument.
21919         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21920         * sysdeps/posix/wait3.c (__wait3): Likewise.
21921         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21922         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21923         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21924         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21925         stat_loc argument.
21926         * manual/process.texi (BSD Wait Functions): Remove union wait.
21928 2016-04-13  Andreas Schwab  <schwab@suse.de>
21930         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21931         (test-extras): Add tst-tlsalign-vars.
21932         * math/Makefile: Wrap long lines.
21933         (libm-vec-test-wrappers): Define.
21934         (test-extras): Add $(libm-vec-test-wrappers).
21935         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21936         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21937         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21938         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21939         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21940         (extra-test-objs): Add corresponding objects.
21942 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21944         [BZ #19928]
21945         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21946         New.
21947         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21948         times of shared cache size.
21949         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21950         (VMOVNT): New.
21951         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21952         (VMOVNT): Likewise.
21953         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21954         (VMOVNT): Likewise.
21955         (VMOVU): Changed to movups for smaller code sizes.
21956         (VMOVA): Changed to movaps for smaller code sizes.
21957         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21958         comments.
21959         (PREFETCH): New.
21960         (PREFETCH_SIZE): Likewise.
21961         (PREFETCHED_LOAD_SIZE): Likewise.
21962         (PREFETCH_ONE_SET): Likewise.
21963         Rewrite to use forward and backward loops, which move 4 vector
21964         registers at a time, to support overlapping addresses and use
21965         non temporal store if size is above the threshold and there is
21966         no overlap between destination and source.
21968 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21970         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21971         Include dl-vdso.
21972         * sysdeps/unix/sysv/linux/mips/Versions: Add
21973         __vdso_clock_gettime.
21974         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21975         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21976         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21977         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21978         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21979         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21980         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21981         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21982         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21984 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21986         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21987         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21990         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21991         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21994         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21996         syscalls generation.
21997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21998         [__NR_pwrite64] (__NR_write): Remove define.
21999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22000         [__NR_pwrite64] (__NR_write): Remove define.
22001         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22002         Remove define.
22003         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22004         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22005         Remove define.
22006         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22007         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22008         Linux implementation as base.
22009         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22011         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22012         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22017         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22018         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22019         syscall generation.
22020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22021         [__NR_pread64] (__NR_pread): Remove define.
22022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22023         [__NR_pread64] (__NR_pread): Likewise.
22024         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22025         define.
22026         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22027         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22028         Remove define.
22029         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22030         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22031         Linux implementation as base.
22032         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22033         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22034         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22036         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22037         definition.
22038         (__ALIGNMENT_COUNT): Likewise.
22039         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22040         (__ALIGNMENT_COUNT): Likewise.
22041         (SYSCALL_LL): New define.
22042         (SYSCALL_LL64): Likewise.
22043         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22044         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22045         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22046         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22048         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22049         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22051         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22052         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22053         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22055 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22057         [BZ #19865]
22058         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22059         original buffer before retry.
22061 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22063         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22064         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22065         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22066         GLRO(dl_auxv) list.
22067         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22068         including <ldsodefs.h>.
22069         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22071 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22073         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22074         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22075         $(CPPFLAGS).
22077 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22079         [BZ #17950]
22080         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22081         Add -mfpmath=387.
22083 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22085         * sysdeps/i386/configure.ac: Change == to = when calling test.
22086         * sysdeps/x86_64/configure.ac: Likewise.
22087         * sysdeps/i386/configure: Regenerated.
22088         * sysdeps/x86_64/configure: Likewise.
22090 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22092         [BZ #16137]
22093         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22094         * benchtests/bench-strcoll.c (input_files): Likewise.
22095         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22096         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22097         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22099 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22101         [BZ #19929]
22102         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22103         [__USE_XOPEN2K8 && !__USE_GNU].
22104         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22105         variable.
22107         [BZ #19925]
22108         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22109         define if [!__USE_MISC && __USE_XOPEN2K].
22110         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22111         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22112         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22113         Likewise.
22114         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22115         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22116         variable.
22117         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22119 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22121         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22122         (sysdep_routines): Add new strspn targets.
22123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22124         (__libc_ifunc_impl_list): Add strspn.
22125         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22126         New file.
22127         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22128         Likewise.
22129         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22130         Likewise.
22131         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22132         Likewise.
22134 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22136         * misc/hsearch_r.c: Include <limits.h>.
22138 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22140         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22142 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22144         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22145         (MEMCPY_SYMBOL): New.
22146         (MEMPCPY_SYMBOL): Likewise.
22147         (MEMMOVE_CHK_SYMBOL): Likewise.
22148         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22149         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22150         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
22151         Provide alias for memcpy in libc.a and ld.so.
22153 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22155         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22156         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
22157         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22158         Disabled fro now.
22159         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22160         symbols.  Properly check USE_MULTIARCH on __memset symbols.
22162 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22164         * benchtests/Makefile (string-benchset): Add memcpy-large,
22165         memmove-large and memset-large.
22166         * benchtests/bench-memcpy-large.c: New file.
22167         * benchtests/bench-memmove-large.c: Likewise.
22168         * benchtests/bench-memmove-large.c: Likewise.
22169         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22171 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22173         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22174         32-bit displacement to avoid long nop between instructions.
22176 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22178         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22179         a comment on VMOVU and VMOVA.
22181 2016-04-04  Florian Weimer  <fweimer@redhat.com>
22183         [BZ #19633]
22184         Use specified locale for number formatting in strfmon_l.
22185         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22186         (__nl_lookup_word): New inline functions.
22187         * include/printf.h (__print_fp_l): Declare.
22188         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22189         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
22190         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22191         (___printf_fp): New function.
22192         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22193         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22194         * stdlib/tst-strfmon_l.c (do_test): New test.
22195         * stdlib/Makefile (tests): Add kt.
22196         (LOCALES): Build additional locales.
22197         (tst-strfmon_l.out): Require locales.
22199 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22201         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22202         if not in libc.
22203         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22204         Likewise.
22205         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22206         Likewise.
22207         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22208         Likewise.
22210 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22212         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22213         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22214         with unaligned_erms.
22215         (__memmove_erms): Skip if source == destination.
22216         (__memmove_unaligned_erms): Don't check source == destination
22217         first.
22219 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22221         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22222         bit_arch_Fast_Copy_Backward for Intel Core proessors.
22224 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22226         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22227         * string/strspn.c (strspn): Likewise.
22229 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22231         * benchtests/bench-memset.c (do_test): Support 64-byte
22232         alignment.
22233         (test_main): Test 64-byte alignment.
22235 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22237         * benchtests/bench-memmove.c (test_main): Test 64-byte
22238         alignment.
22240 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22242         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22244 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22246         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22247         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22248         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22250         * string/strpbrk.c (strpbrk): Rewrite function.
22251         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22252         (__strpbrk_c2): Likewise.
22253         (__strpbrk_c3): Likewise.
22254         * string/string-inlines.c
22255         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22256         Likewise.
22257         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22258         Likewise.
22260         * string/strspn.c (strcspn): Rewrite function.
22261         * string/bits/string2.h (strspn): Use __builtin_strcspn.
22262         (__strspn_c1): Remove inline function.
22263         (__strspn_c2): Likewise.
22264         (__strspn_c3): Likewise.
22265         * string/string-inlines.c
22266         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22267         compatibility symbol.
22268         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22269         Likewise.
22270         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22271         Likewise.
22272         * string/string-inlines.c: Include generic version.
22274 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
22275             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22277         * string/Version (libc): Add GLIBC_2.24.
22278         * string/strcspn.c (strcspn): Rewrite function.
22279         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22280         (__strcspn_c1): Remove inline function.
22281         (__strcspn_c2): Likewise.
22282         (__strcspn_c3): Likewise.
22283         * string/string-inline.c
22284         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22285         compatibility symbol.
22286         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22287         Likewise.
22288         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22289         Likewise.
22290         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22292 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22294         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22295         Use ahi instead of aghi to adjust stack pointer.
22297 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22299         [BZ #19853]
22300         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22301         TEST to take significant digits as second parameter.
22302         [TEST]: Redefine in terms of TEST_N taking 30
22303         significant digits.
22304         (do_test): Add test case to demonstrate precision
22305         failure in the ldbl-128ibm printf.
22306         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22307         (__mpn_extract_long_double): Carry 7 extra intermediate
22308         bits of precision to aide computing difference when
22309         signs differ.
22311 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22313         [BZ #19881]
22314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22315         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22316         memset-avx512-unaligned-erms.
22317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22318         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22319         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22320         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22321         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22322         __memset_sse2_unaligned_erms, __memset_erms,
22323         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22324         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22325         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22326         file.
22327         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22328         Likewise.
22329         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22330         Likewise.
22331         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22332         Likewise.
22334 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22336         [BZ #19776]
22337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22338         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22339         memmove-avx512-unaligned-erms.
22340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22341         (__libc_ifunc_impl_list): Test
22342         __memmove_chk_avx512_unaligned_2,
22343         __memmove_chk_avx512_unaligned_erms,
22344         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22345         __memmove_chk_sse2_unaligned_2,
22346         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22347         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22348         __memmove_avx512_unaligned_erms, __memmove_erms,
22349         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22350         __memcpy_chk_avx512_unaligned_2,
22351         __memcpy_chk_avx512_unaligned_erms,
22352         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22353         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22354         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22355         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22356         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22357         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22358         __mempcpy_chk_avx512_unaligned_erms,
22359         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22360         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22361         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22362         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22363         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22364         __mempcpy_erms.
22365         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22366         file.
22367         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22368         Likewise.
22369         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22370         Likewise.
22371         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22372         Likewise.
22374 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22376         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22377         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22378         (La_s390_64_regs): Likewise.
22379         (La_s390_32_retval): Append vector register lrv_v24.
22380         (La_s390_64_retval): Likeweise.
22381         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22382         Handle extended structs La_s390_32_regs and La_s390_32_retval.
22383         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22384         Handle extended structs La_s390_64_regs and La_s390_64_retval.
22386 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22388         [BZ #19916]
22389         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22390         to create a non-vector/vector version for _dl_runtime_resolve and
22391         _dl_runtime_profile. Move implementation to ...
22392         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22393         (_dl_runtime_resolve) Save and restore fpr/vrs.
22394         (_dl_runtime_profile) Save and restore vrs and fix some issues
22395         if _dl_call_pltexit is called.
22396         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22397         Choose the correct resolver function if running on a machine with vx.
22398         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
22399         to create a non-vector/vector version for _dl_runtime_resolve and
22400         _dl_runtime_profile. Move implementation to ...
22401         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
22402         (_dl_runtime_resolve) Save and restore fpr/vrs.
22403         (_dl_runtime_profile) Save and restore vrs and fix some issues
22404         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
22405         Choose the correct resolver function if running on a machine with vx.
22407 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22409         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22411 2016-03-31  Florian Weimer  <fweimer@redhat.com>
22413         [BZ #19509]
22414         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22415         skip_map != NULL.
22416         * elf/tst-dlsym-error.c: New file.
22417         * elf/Makefile (tests): Add tst-dlsym-error.
22418         (tst-dlsym-error): Link against libdl.
22420 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
22422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22423         (__ASSUME_FUTIMESAT): Remove macro.
22424         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22426 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22428         [BZ #19879]
22429         CVE-2016-3075
22430         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22431         copy name.
22433 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22435         [BZ #19837]
22436         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22437         error if parse_line fails.
22439 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22441         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22442         (index_cpu_ERMS): Likewise.
22443         (reg_ERMS): Likewise.
22445 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
22447         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22448         PER_LINUX_FDPIC): Add.
22450 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22453         memcpy-avx512-no-vzeroupper.
22454         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22455         to ...
22456         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22457         (MEMCPY): Don't define.
22458         (MEMCPY_CHK): Likewise.
22459         (MEMPCPY): Likewise.
22460         (MEMPCPY_CHK): Likewise.
22461         (MEMPCPY_CHK): Renamed to ...
22462         (__mempcpy_chk_avx512_no_vzeroupper): This.
22463         (MEMPCPY_CHK): Renamed to ...
22464         (__mempcpy_chk_avx512_no_vzeroupper): This.
22465         (MEMCPY_CHK): Renamed to ...
22466         (__memmove_chk_avx512_no_vzeroupper): This.
22467         (MEMCPY): Renamed to ...
22468         (__memmove_avx512_no_vzeroupper): This.
22469         (__memcpy_avx512_no_vzeroupper): New alias.
22470         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22472 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22474         [BZ #18858]
22475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22476         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22477         and mempcpy-avx512-no-vzeroupper.
22478         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22479         New.
22480         (MEMPCPY): Likewise.
22481         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22482         (MEMPCPY_CHK): New.
22483         (MEMPCPY): Likewise.
22484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22485         (MEMPCPY): Likewise.
22486         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22487         (MEMPCPY): Likewise.
22488         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22489         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22490         Likewise.
22491         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22492         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22494 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22495              Amit Pawar  <Amit.Pawar@amd.com>
22497         [BZ #19583]
22498         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22499         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22500         processors.  Set Fast_Copy_Backward for AMD Excavator
22501         processors.
22502         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22503         New.
22504         (index_arch_Fast_Unaligned_Copy): Likewise.
22505         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22506         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22508 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22510         [BZ #19791]
22511         * resolv/res_send.c (close_and_return_error): New function.
22512         (send_dg): Initialize *resplen2 after reopen failure.  Call
22513         close_and_return_error for error returns.  On error paths without
22514         __res_iclose, initialze *resplen2 explicitly.  Update comment for
22515         successful return.
22517 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22519         [BZ #19860]
22520         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22521         zero if the compiler does not provide the AVX512F bit.
22523 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
22525         [BZ #19848]
22526         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22527         from 8 to 4.
22528         (__ieee754_powl): Compare integer exponent against 4 not 8.
22529         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22530         from 8 to 4.
22531         (__ieee754_powl): Compare integer exponent against 4 not 8.
22532         * math/auto-libm-test-in: Add more tests of pow.
22533         * math/auto-libm-test-out: Regenerated.
22534         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22537 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22539         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22540         Make code unconditional.
22541         [!__NR_utimensat]: Remove conditional code.
22542         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22543         Make code unconditional.
22544         [!__NR_utimensat]: Remove conditional code.
22545         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22546         Make code unconditional.
22547         [!__NR_utimensat]: Remove conditional code.
22549 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22551         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22552         Make code unconditional.
22554 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
22556         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22557         call-clobbered %eax on retry path.
22558         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22560 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22562         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22563         Don't set %rcx twice before "rep movsb".
22565 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22567         [BZ #19583]
22568         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22569         inline.  Check family before setting family, model and
22570         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
22571         bits here.
22572         (init_cpu_features): Replace HAS_CPU_FEATURE and
22573         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22574         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
22575         for Intel processors with usable AVX2.  Call get_common_indeces
22576         for other processors with family == NULL.
22577         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22578         (CPU_FEATURES_ARCH_P): Likewise.
22579         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22580         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22582 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22584         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22585         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22586         $(shared-thread-library) instead of hardcoding the path to libpthread.
22588 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
22590         * sysdeps/unix/sysv/linux/kernel-features.h
22591         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22592         * sysdeps/unix/sysv/linux/getdents.c
22593         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22594         [!have_no_getdents64_defined]: Likewise.
22595         (__GETDENTS): Remove __have_no_getdents64 conditional.
22597 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
22599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22600         Remove macro.
22601         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22602         <kernel-features.h>.
22603         (signalfd) [__NR_signalfd4]: Make code unconditional.
22604         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22606 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22608         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22609         style.
22611 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22613         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22614         (__pthread_enable_asynccancel): Use JUMPTARGET to call
22615         __pthread_unwind.
22616         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22617         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22619         (__condvar_cleanup1): Likewise.
22621 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
22623         [BZ #19822]
22624         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22625         move it to the final $@ location.
22627 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22629         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22630         access where posix_spawn success and pid argument is null.
22631         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22632         success case.
22634 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22636         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22638         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22640         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22641         and __fcntl.
22642         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22643         __fcntl only.
22644         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22645         adding attribute_hidden to __open and __fcntl.
22647         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22648         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22649         depend on libc-modules.h,
22650         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22652 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22654         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22655         Remove macro.
22656         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22657         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22658         entry.
22660         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22661         Remove macro.
22662         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22663         include <kernel-features.h>.
22664         [!__ASSUME_FALLOCATE]: Remove conditional code.
22665         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22667 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22669         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22670         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22671         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22672         (_ZGVdN4v_cos_avx2): Likewise.
22673         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22674         (_ZGVdN4v_cos): Likewise.
22675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22676         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22678         (_ZGVdN4v_exp_avx2): Likewise.
22679         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22680         (_ZGVdN4v_exp): Likewise.
22681         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22682         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22683         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22684         (_ZGVdN4v_log_avx2): Likewise.
22685         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22686         (_ZGVdN4v_log): Likewise.
22687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22688         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22689         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22690         (_ZGVdN4vv_pow_avx2): Likewise.
22691         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22692         (_ZGVdN4vv_pow): Likewise.
22693         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22694         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22695         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22696         (_ZGVdN4v_sin_avx2): Likewise.
22697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22698         (_ZGVdN4v_sin): Likewise.
22699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22700         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22702         (_ZGVdN4vvv_sincos_avx2): Likewise.
22703         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22704         (_ZGVdN4vvv_sincos): Likewise.
22705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22706         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22708         (_ZGVbN4v_cosf_sse4): Likewise.
22709         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22710         (_ZGVdN8v_cosf_avx2): Likewise.
22711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22712         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22714         (_ZGVbN4v_expf_sse4): Likewise.
22715         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22716         (_ZGVdN8v_expf_avx2): Likewise.
22717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22718         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22720         (_ZGVbN4v_logf_sse4): Likewise.
22721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22722         (_ZGVdN8v_logf_avx2): Likewise.
22723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22724         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22725         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22726         (_ZGVbN4vv_powf_sse4): Likewise.
22727         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22728         (_ZGVdN8vv_powf_avx2): Likewise.
22729         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22730         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22732         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22733         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22734         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22735         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22736         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22737         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22738         (_ZGVbN4v_sinf_sse4): Likewise.
22739         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22740         (_ZGVdN8v_sinf_avx2): Likewise.
22741         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22742         Use JUMPTARGET to call callee.
22743         (WRAPPER_IMPL_SSE2_ff): Likewise.
22744         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22745         (WRAPPER_IMPL_AVX): Likewise.
22746         (WRAPPER_IMPL_AVX_ff): Likewise.
22747         (WRAPPER_IMPL_AVX_fFF): Likewise.
22748         (WRAPPER_IMPL_AVX512): Likewise.
22749         (WRAPPER_IMPL_AVX512_ff): Likewise.
22750         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22751         Likewise.
22752         (WRAPPER_IMPL_SSE2_ff): Likewise.
22753         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22754         (WRAPPER_IMPL_AVX): Likewise.
22755         (WRAPPER_IMPL_AVX_ff): Likewise.
22756         (WRAPPER_IMPL_AVX_fFF): Likewise.
22757         (WRAPPER_IMPL_AVX512): Likewise.
22758         (WRAPPER_IMPL_AVX512_ff): Likewise.
22759         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22761 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22763         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22764         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22765         qualifier.
22766         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22767         internal_function qualifiers.
22769 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22771         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22772         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22773         * math/atest-exp.c (exp_mpn): Mark chk unused.
22774         * math/atest-exp2.c (exp_mpn): Likewise.
22775         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22776         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22778 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22780         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22781         Remove macro.
22782         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22783         <kernel-features.h>.
22784         [__NR_ppoll]: Make code unconditional.
22785         [!__ASSUME_PPOLL]: Remove conditional code.
22787         * sysdeps/unix/sysv/linux/kernel-features.h
22788         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22789         (__ASSUME_ACCEPT4): Likewise.
22790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22791         Define.
22792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22793         Likewise.
22794         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22795         Likewise.
22796         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22797         Likewise.
22798         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22799         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22800         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22801         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22802         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22806         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22809         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22811         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22812         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22813         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22814         Likewise.
22815         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22816         Likewise.
22817         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22818         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22819         0x040300].
22820         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22821         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22823         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22824         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22825         0x030300].
22826         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22828         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22829         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22830         0x040300].
22831         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22832         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22834         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22835         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22836         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22837         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22838         0x030300].
22839         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22840         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22841         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22842         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22843         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22844         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22846         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22847         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22848         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22849         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22850         0x040300].
22851         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22853         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22854         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22856         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22857         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22858         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22859         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22861         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22862         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22863         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22864         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22865         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22866         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22867         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22868         Likewise.
22869         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22870         Likewise.
22872 2016-03-15  Andreas Schwab  <schwab@suse.de>
22874         [BZ #19257]
22875         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22876         statp->_u._ext.nscount as loop count.
22878 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22880         * math/test-signgam-finite-c99.c: Also #undef
22881         __LIBC_INTERNAL_MATH_INLINES.
22882         * math/test-signgam-main.c: Likewise.
22884 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22886         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22887         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22888         (MADV_FREE): Likewise.
22889         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22890         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22891         EPOLLEXCLUSIVE.
22893 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22895         * timezone/README: Remove mention of checktab.awk. Mention wiki
22896         SharedSourceFiles.
22898 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22900         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22901         WUNTRACED.
22903 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22905         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22906         order to match the type of p when calling atomic_exchange_acq().
22908 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22910         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22911         cfi_offset calls.
22912         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22913         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22914         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22915         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22916         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22918 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22920         * timezone/checktab.awk: Removed.
22922 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22924         * manual/math.texi (Errors in Math Functions): Document relaxed
22925         accuracy goals for IBM long double.
22926         * math/libm-test.inc (test_exceptions): Always allow spurious
22927         "underflow" and "inexact" exceptions for IBM long double.
22929 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22931         [BZ #19762]
22932         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22933         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22934         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22935         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22936         (bit_arch_*): This for feature array.
22937         (bit_*): Renamed to ...
22938         (bit_cpu_*): This for cpu array.
22939         (index_*): Renamed to ...
22940         (index_arch_*): This for feature array.
22941         (index_*): Renamed to ...
22942         (index_cpu_*): This for cpu array.
22943         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22944         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22945         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22946         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22947         bit_##name with index_cpu_##name and bit_cpu_##name.
22948         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22949         bit_##name with index_arch_##name and bit_arch_##name.
22951 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22953         [BZ #19792]
22954         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22955         Terminate FDE before return label.
22957 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22959         [BZ #19790]
22960         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22961         (rintl): Define as macro.
22962         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22963         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22964         of fesetround.  Ensure results are evaluated before end of scope.
22965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22966         USE_AS_NEARBYINTL and include s_rintl.c.
22967         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22968         Disable exception traps in new environment.
22969         (libc_feholdsetround_ppc_ctx): Likewise.
22971 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22973         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22974         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22975         (tst_audit10_aux) [__AVX512F__]: ... here.
22977 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22979         * include/sys/auxv.h: New file.
22981 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22983         [BZ #19759]
22984         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22986 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22988         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22989         operand modifier.
22990         (feclearexcept): Likewise.
22992 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22994         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22995         to reflect the entire 32-bit HWCAP.
22996         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22997         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22999 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23001         [BZ #19783]
23002         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23003         $(test-via-rtld-prefix).
23004         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23006 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23008         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23009         union wait.  Report any non-zero exit status as error.
23011 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23013         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23014         configured with --enable-hardcoded-path-in-tests.
23016 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23018         [BZ #19677]
23019         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23020         (__ieee754_remainderl): Put zero low parts in canonical form.
23021         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23022         file.  Based on
23023         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23024         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23025         with wrapper round test-fmodrem-ldbl-128ibm.c.
23026         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23027         file.
23028         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23029         Likewise.
23030         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23031         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23033 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23035         [BZ #19610]
23036         * elf/ldconfig.c (opt_link): Update comment.
23037         (options): Update help string for option -X.
23038         (search_dir): Unlink stale symbolic link only if updating symbolic
23039         links.
23040         * elf/tst-ldconfig-X.sh: New file.
23041         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23042         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23044 2016-03-07  Andreas Schwab  <schwab@suse.de>
23046         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23047         needed arguments.
23049 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23051         [BZ #15333]
23052         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23053         to lstat64.
23055 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23057         * libio/filedoalloc.c (isatty): Remove.
23058         (local_isatty): Add comment.  Call __isatty directly.
23059         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23060         * libio/wfiledoalloc.c (isatty): Remove.
23061         (_IO_wfile_doallocate): Update comment.
23063 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23065         [BZ #19269]
23066         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23067         tst-audit4-aux.o.
23068         (tst-audit10): Depend on tst-audit10-aux.o.
23069         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23070         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23071         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23072         instead of inline AVX code.
23073         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23074         instead of inline AVX512 code.
23075         * sysdeps/x86_64/tst-audit4-aux.c: New file
23076         * sysdeps/x86_64/tst-audit10-aux.c: New file
23078         [BZ #19648]
23079         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23081 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23083         [BZ #14750]
23084         [BZ #10354]
23085         [BZ #18433]
23086         * include/sched.h (__clone): Add hidden prototype.
23087         (__clone2): Likewise.
23088         * include/unistd.h (__dup): Likewise.
23089         * posix/Makefile (tests): Add tst-spawn2.
23090         * posix/tst-spawn2.c: New file.
23091         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23092         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23093         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23094         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23095         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23096         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23097         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23098         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23099         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23100         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23101         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23103         Likewise.
23104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23105         Likewise.
23106         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23107         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23108         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23109         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23110         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23111         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23112         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23113         * sysdeps/unix/sysv/linux/nptl-signals.h
23114         (____nptl_is_internal_signal): New function.
23115         * sysdeps/unix/sysv/linux/spawni.c: New file.
23117         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23118         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23119         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23120         * posix/tst-execvp2.c (do_test): Likewise.
23121         * posix/tst-execvp3.c (do_test): Likewise.
23122         * posix/tst-execvp4.c (do_test): Likewise.
23123         * posix/tst-execvpe1.c: New file.
23124         * posix/tst-execvpe2.c: Likewise.
23125         * posix/tst-execvpe3.c: Likewise.
23126         * posix/tst-execvpe4.c: Likewise.
23127         * posix/tst-execvpe5.c: Likewise.
23128         * posix/tst-execvpe6.c: Likewise.
23130         [BZ #19534]
23131         * posix/execl.c (execl): Remove dynamic memory allocation.
23132         * posix/execle.c (execle): Likewise.
23133         * posix/execlp.c (execlp): Likewise.
23135 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23137         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23138         Replace .text with .text.avx512.
23139         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23140         Likewise.
23142 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
23144         * sysdeps/generic/libnsl.abilist: New file.
23145         * sysdeps/generic/libutil.abilist: New file.
23147 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23149         [BZ #19762]
23150         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23151         HAS_ARCH_FEATURE with Fast_Rep_String.
23152         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23153         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23154         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23155         Likewise.
23156         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23157         Likewise.
23158         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23159         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23160         Likewise.
23161         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23162         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23163         Likewise.
23165 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23167         [BZ #19745]
23168         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23169         with *%rax in call.
23171 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23173         [BZ #19745]
23174         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23175         with *__libc_start_main@GOTPCREL(%rip) in call.
23177 2016-03-04  Roland McGrath  <roland@hack.frob.com>
23179         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23180         inside conditional for nonempty $(CXX).
23182         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23183         nonempty.
23185         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23186         to test for empty $(CXX) rather than $(CXX) of "no".
23188 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23190         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23192 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
23193             H.J. Lu  <hongjiu.lu@intel.com>
23195         [BZ #18880]
23196         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23197         instead of Slow_BSF, and also check for Fast_Copy_Backward to
23198         enable __memcpy_ssse3_back.
23200 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23202         [BZ #19758]
23203         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23204         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23206 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23208         [BZ #19490]
23209         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23210         (__fentry__): Likewise.
23212 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23214         * gmon/Makefile (noprof): Add $(sysdep_noprof).
23215         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23217 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23219         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23220         __mcount_internal directly.
23221         (C_LABEL(__fentry__)): Likewise.
23222         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23223         directly.
23225 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23227         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23228         (__start_context): Call __setcontext directly.
23230 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
23232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23233         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23234         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23235         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23236         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23237         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23238         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23239         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23240         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23241         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23242         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23243         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23245         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23246         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23248         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23250         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23251         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23252         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23253         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23254         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23255         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23256         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23257         Remove conditional code.
23258         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23259         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23260         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23261         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23262         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23263         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23264         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23265         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23266         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23267         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23268         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23269         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23271 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
23273         * NEWS (2.23): Fix typo in bug 19048 text.
23275 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
23277         [BZ #14259]
23278         * Makeconfig: Rename msgcatdir to localedir.
23279         Rename inst_msgcatdir to inst_localedir.
23280         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23281         * config.make.in: Add localedir.
23282         * elf/Makefile ($(objpfx)sotruss): Use localedir.
23283         (ldd-rewrite): Likewise.
23284         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23285         (install-others): Use inst_localedir.
23286         (CPPFLAGS): Use localedir.
23287         * locale/Makefile (locale-CPPFLAGS): Likewise.
23288         * po/Makefile (mo-installed): Use inst_localedir.
23290         [BZ #19575]
23291         * localedata/charmaps/GB18030: Update comments regarding PAU to
23292         non-PUA mappings.
23294 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
23296         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23297         test for header.
23298         * sysdeps/unix/sysv/linux/configure: Regenerated.
23299         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23300         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23301         Remove conditional code.
23302         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23304         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23305         Define to 3.2.0.
23306         (arch_minimum_kernel): Likewise.
23307         * sysdeps/unix/sysv/linux/configure: Regenerated.
23308         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23309         Define to 2.6.32.
23310         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23311         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23312         (arch_minimum_kernel): Define to 2.6.32.
23313         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23314         * README: Document Linux 3.2 requirement.
23315         * manual/install.texi (Linux): Document Linux 3.2 headers
23316         requirement.
23317         * INSTALL: Regenerated.
23319 2016-02-24  Andreas Schwab  <schwab@suse.de>
23321         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23322         if !NO_LONG_DOUBLE.
23324 2016-02-22  Roland McGrath  <roland@hack.frob.com>
23326         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23327         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23329 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
23331         [BZ #19512]
23332         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23334 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23336         * posix/tst-dir.c: Include libc-internal.h.
23338 2016-02-20  Florian Weimer  <fweimer@redhat.com>
23340         [BZ #19056]
23341         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23342         * manual/filesys.texi (Reading/Closing Directory): Mention
23343         deprecaion.
23344         * posix/tst-dir.c (main): Disable deprecation warning in test.
23346 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
23348         [BZ #19679]
23349         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23350         Renamed to ...
23351         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
23352         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23353         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
23354         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23355         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23356         * sysdeps/x86_64/dl-trampoline.h
23357         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23358         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23360 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23362         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23364 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23366         * elf/elf.h (R_386_GOT32X): New.
23367         (R_386_NUM): Update.
23368         (R_X86_64_GOTPCRELX: New.
23369         (R_X86_64_REX_GOTPCRELX): New.
23370         (R_X86_64_NUM): Update.
23372 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
23374         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23376 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
23378         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23379         assign attr->stackaddr to it, and adjust it down when
23380         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
23381         [_STACK_GROWS_UP]: Delete assert.
23382         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23383         Implement stack grows up logic.
23384         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23385         stack grows up logic.
23387 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23389         * NEWS: Update with 2.24 template.
23391 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23393         [BZ #19678]
23394         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23395         Ensure +0.0 is returned when taking the next value below the least
23396         positive value.
23398 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23400         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
23401         available.  Do not define NO_THREADS.
23402         * malloc/malloc.c: Do not check NO_THREADS.
23403         * malloc/arena.c: Likewise.
23405 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23407         * malloc/malloc.c (__libc_mallinfo): Update comment.
23408         (struct malloc_par): Remove max_total_mem member, it was always 0.
23409         (int_mallinfo): Store 0 into usmblks (no functional change).
23410         * malloc/hooks.c (struct malloc_state): Document that
23411         max_total_mem is always 0.
23412         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23413         always 0.
23414         * manual/memory.texi (Statistics of Malloc): Likewise.
23416 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23418         * malloc/malloc.c (sysmalloc): Do not update arena_max.
23419         * malloc/arena.c (arena_max): Remove.
23420         (heap_trim, _int_new_arena): Do not update arena_max.
23422 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23424         * resolv/res_init.c (res_ninit): Update comment.
23426 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23428         [BZ #19505]
23429         * posix/spawn_int.h: Add headers and include guard.
23430         (__spawn_valid_fd): New function.
23431         * posix/spawn_faction_addopen.c
23432         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23433         * posix/spawn_faction_addclose.c
23434         (posix_spawn_file_actions_addclose): Likewise.
23435         * posix/spawn_faction_adddup2.c
23436         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
23437         second file descriptor.
23438         * posix/spawn_valid_fd.c: New file.
23439         * posix/tst-posix_spawn-fd.c: New file.
23440         * posix/Makefile (routines): Add spawn_valid_fd.
23441         (tests): Add tst-posix_spawn-fd.
23443 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23445         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23446         (do_test): Limit the number of arenas, so that we can use fewer
23447         outer threads.  Limit timeout to 3 seconds, in preparation for a
23448         larger TIMEOUT value.
23450 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23452         [BZ #19674]
23453         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23454         sign in overflowing and underflowing results when overflow or
23455         underflow is detected early.  Include sign in result before rather
23456         than after scaling.
23458         [BZ #19603]
23459         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23460         (__ieee754_remainderl): Adjust sign of integer version of low part
23461         when taking absolute value of high part.
23462         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23463         * math/libm-test.inc (remainder_test_data): Add another test.
23464         (remquo_test_data): Likewise.
23466 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
23468         [BZ #19602]
23469         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23470         equal high parts and both low parts zero specially.
23471         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23472         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23473         Add test-fmodl-ldbl-128ibm.
23475         [BZ #19595]
23476         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23477         common logic for all cases of shifting subnormal results.  Do not
23478         insert sign bit in shifted mantissa.  Always pass -1023 as biased
23479         exponent to ldbl_insert_mantissa in subnormal case.
23481         [BZ #19594]
23482         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23483         on high and low parts then adjust result and use
23484         ldbl_canonicalize_int if needed.
23486         [BZ #19593]
23487         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23488         on high part and __floor or __ceil on low part then use
23489         ldbl_canonicalize_int if needed.
23491         [BZ #19592]
23492         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23493         high and low parts then use ldbl_canonicalize_int if needed.
23495         [BZ #17899]
23496         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23497         New function.
23498         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23499         on high and low parts then use ldbl_canonicalize_int if needed.
23501 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23503         * configure: Regenerated.
23505         * po/libc.pot: Regenerated.
23507         * po/be.po: Updated translation.
23508         * po/bg.po: Likewise.
23509         * po/ca.po: Likewise.
23510         * po/cs.po: Likewise.
23511         * po/da.po: Likewise.
23512         * po/el.po: Likewise.
23513         * po/eo.po: Likewise.
23514         * po/es.po: Likewise.
23515         * po/fi.po: Likewise.
23516         * po/fr.po: Likewise.
23517         * po/gl.po: Likewise.
23518         * po/hr.po: Likewise.
23519         * po/hu.po: Likewise.
23520         * po/ia.po: Likewise.
23521         * po/id.po: Likewise.
23522         * po/it.po: Likewise.
23523         * po/ja.po: Likewise.
23524         * po/lt.po: Likewise.
23525         * po/nb.po: Likewise.
23526         * po/nl.po: Likewise.
23527         * po/pt_BR.po: Likewise.
23528         * po/rw.po: Likewise.
23529         * po/sk.po: Likewise.
23530         * po/sl.po: Likewise.
23531         * po/sv.po: Likewise.
23532         * po/tr.po: Likewise.
23533         * po/zh_CN.po: Likewise.
23534         * po/zh_TW.po: Likewise.
23536         * version.h (RELEAES): Set to "development".
23537         (VERSION): Set to 2.23.90.
23539         * version.h (RELEASE): Set to "stable".
23540         (VERSION): Set to 2.23.
23541         * include/feature.h (__GLIBC_MINOR__): Set to 23.
23543         * NEWS: Updated fixed bugs.
23545 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
23546             Wilco Dijkstra  <wdijkstr@arm.com>
23548         [BZ #19462]
23549         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23550         (_STRING_INLINE_unaligned): This.
23551         * include/string.h: Include <string_private.h>.
23552         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23553         _STRING_INLINE_unaligned.
23554         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23555         (_STRING_INLINE_unaligned): New.
23556         * sysdeps/aarch64/string_private.h: New file.
23557         * sysdeps/generic/string_private.h: Likewise.
23558         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23559         * sysdeps/s390/string_private.h: Likewise.
23560         * sysdeps/x86/string_private.h: Likewise.
23561         * sysdeps/m68k/m680x0/m68020/bits/string.h
23562         (_STRING_ARCH_unaligned): Renamed to ...
23563         (_STRING_INLINE_unaligned): This.
23564         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23565         to ...
23566         (_STRING_INLINE_unaligned): This.
23567         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23568         to ...
23569         (_STRING_INLINE_unaligned): This.
23570         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23571         to ...
23572         (_STRING_INLINE_unaligned): This.
23574 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23575             H.J. Lu  <hongjiu.lu@intel.com>
23577         [BZ #19590]
23578         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23579         relocation.
23581 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
23583         [BZ #18665]
23584         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23585         *herrno_p.
23586         (gaih_getanswer): Document functional behviour. Return tryagain
23587         if any result is tryagain.
23588         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23589         when freed.
23590         * resolv/res_send.c: Add copyright text.
23591         (__libc_res_nsend): Document that MAXPACKET is expected.
23592         (send_vc): Document. Remove buffer reuse.
23593         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23594         size of the buffer. Add Dprint for truncated UDP buffer.
23596 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
23598         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23599         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23600         * INSTALL: Regenerate.
23602 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
23603             Jonathan Wakely  <jwakely@redhat.com>
23604             Carlos O'Donell  <carlos@redhat.com>
23606         [BZ 19439]
23607         * math/Makefile (tests): Add test-math-isinff.
23608         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23609         * math/bits/mathcalls.h [__USE_MISC]: Use
23610         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23611         functions not in C++11 and which don't conflict e.g. isinff,
23612         isinfl etc.
23613         * math/test-math-isinff.cc: New file.
23615 2016-02-12  Florian Weimer  <fweimer@redhat.com>
23617         * misc/bug18240.c (do_test): Set RLIMIT_AS.
23619 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23621         [BZ #19529]
23622         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23624 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23626         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23628 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
23630         [BZ #19550]
23631         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23632         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23633         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23634         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23635         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23636         New syscall entry.
23637         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23638         New syscall entry.
23639         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23640         syscall entry.
23642 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23644         [BZ #18240]
23645         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23646         unsigned int wraparound.
23648 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23650         [BZ #18240]
23651         * misc/bug18240.c: New test.
23652         * misc/Makefile (tests): Add it.
23654 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23655             Joseph Myers  <joseph@codesourcery.com>
23657         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23658         load in branch delay slot when less than a word of input left.
23660 2016-01-27  Andreas Schwab  <schwab@suse.de>
23662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23664         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23665         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23667 2016-01-26  David S. Miller  <davem@davemloft.net>
23669         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23671 2016-01-25  David S. Miller  <davem@davemloft.net>
23673         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23674         __sqrtl_finite.
23675         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23676         instead using versioned_symbol.
23677         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23678         of entries.
23680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23681         __sqrtl_finite to GLIBC_2.23
23683 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23685         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23687 2016-01-25  Andreas Schwab  <schwab@suse.de>
23689         [BZ #17514]
23690         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23691         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23692         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23693         * nptl/tst-mutex-errorcheck.c: New file.
23695 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23697         [BZ #18560]
23698         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23699         (IPCOP_semop): Likewise.
23700         (IPCOP_semget): Likewise.
23701         (IPCOP_semctl): Likewise.
23702         (IPCOP_msgsnd): Likewise.
23703         (IPCOP_msgrcv): Likewise.
23704         (IPCOP_msgget): Likewise.
23705         (IPCOP_msgctl): Likewise.
23706         (IPCOP_shmat): Likewise.
23707         (IPCOP_shmdt): Likewise.
23708         (IPCOP_shmget): Likewise.
23709         (IPCOP_shmctl): Likewise.
23711 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23713         * string/tst-endian.c: Include <libc-internal.h>.
23714         (do_test): Ignore tautological-compare warnings around
23715         "htobeXX (beXXtoh (i)) != i" and
23716         "htoleXX (leXXtoh (i)) != i" if-statements.
23718 2016-01-24  David S. Miller  <davem@davemloft.net>
23720         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23721         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23722         alias.
23723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23724         __sqrtl_finite.
23726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23728 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23730         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23731         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23732         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23734 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23736         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23737         (thread_func): Use new function to simplify barrier check.
23738         (do_test): Use new function to simplify checking barrier exit
23739         code, and actually join the child thread.
23741 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23743         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23744         semicolon.
23745         (__libc_tend): Likewise.
23746         (__libc_tabort): Likewise.
23748 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23750         * sysdeps/nios2/libm-test-ulps: Update.
23751         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23752         (__gtsf2): Likewise.
23753         (__unorddf2): Likewise.
23754         (__unordsf2): Likewise.
23755         (__ledf2): Likewise.
23757 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23759         * nis/nis_table.c (__follow_path): Disable diagnostic for
23760         uninitialized variable that is a false positive for gcc 4.7.
23761         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23763 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23765         * sysdeps/nacl/lowlevellock-futex.h
23766         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23767         Always evaluate PRIVATE argument.
23769 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23771         [BZ #19490]
23772         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23773         (pthread_cond_broadcast): Use ENTRY/END
23774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23775         (pthread_cond_signal): Likewise.
23776         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23777         Likewise.
23778         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23779         Likewise.
23780         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23781         Likewise.
23783 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23785         * sysdeps/ieee754/dbl-64/s_finite.c
23786         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23787         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23788         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23789         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23790         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23793         (__gtsf2): Add as optional for libc.so.
23794         (__unordsf2): Likewise.
23795         (__signbit): Remove for libc.so.
23796         (__signbitl): Likewise.
23798 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23800         * iconvdata/bug-iconv11.c (test_ibm93x):
23801         Use %zu printf format specifier for size_t argument.
23803 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23805         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23806         already-recorded ulps.
23807         * sysdeps/arm/libm-test-ulps: Regenerated.
23808         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23809         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23810         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23812 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23813             Paul Pluzhnikov  <ppluzhnikov@google.com>
23815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23816         assembler not supporting AVX-512.
23818 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23820         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23822 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23824         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23825         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23827         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23829         * sysdeps/arm/libm-test-ulps: Regenerated.
23831 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23833         [BZ #19451]
23834         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23836 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23838         [BZ #19486]
23839         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23840         * sysdeps/generic/fix-fp-int-convert-overflow.h
23841         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23842         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23843         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23844         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23845         Likewise.
23846         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23847         Avoid conversions to long int where inexact exceptions
23848         could be raised.
23849         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23850         Likewise.
23851         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23852         Avoid conversions to long long int where inexact exceptions
23853         could be raised.
23854         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23855         Likewise.
23857 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23859         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23860         * configure: Regenerated.
23862 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23864         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23866 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23869         outside of comment.
23871 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23873         * nptl/tst-barrier1.c: Add description on first line.
23874         * nptl/tst-barrier2.c: Likewise.
23875         * nptl/tst-barrier3.c: Likewise.
23876         * nptl/tst-barrier4.c: Likewise.
23877         * nptl/tst-barrier5.c: Likewise.
23879 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23881         [BZ #18868]
23882         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23884 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23888         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23889         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23890         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23891         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23892         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23893         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23894         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23895         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23896         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23898 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23900         [BZ #13065]
23901         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23902         new implementation.
23903         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23904         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23905         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23906         (BARRIER_IN_THRESHOLD): New macro.
23907         * nptl/pthread_barrierattr_setpshared.c
23908         (pthread_barrierattr_setpshared): Clean up.
23909         * nptl/tst-barrier4.c: Correct comment.
23910         * nptl/tst-barrier5.c: New file.
23911         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23912         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23913         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23914         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23915         * nptl/lowlevelbarrier.sym: Remove.
23916         * nptl/DESIGN-barrier.txt: Remove.
23917         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23918         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23919         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23920         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23921         error.
23922         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23923         implementation.
23925 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23927         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23928         (do_child): Mask SIGRTMIN while thr is running.
23930 2016-01-15  Martin Sebor  <msebor@redhat.com>
23932         [BZ #19432]
23933         * iconvdata/Makefile: Add bug-iconv11.
23934         * iconvdata/bug-iconv11.c: New test.
23935         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23936         * iconvdata/ibm933.c: Same.
23937         * iconvdata/ibm935.c: Same.
23938         * iconvdata/ibm937.c: Same.
23939         * iconvdata/ibm939.c: Same.
23941 2016-01-15  Martin Sebor  <msebor@redhat.com>
23943         [BZ #19443]
23944         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23945         [DEBUG] (_ufc_set_bits): Declare used.
23946         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23947         [DEBUG] (print_all): Declare used.
23948         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23949         operands of the ternary ?: expression to target type.
23950         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23951         calling the undeclared abort.
23952         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23954 2016-01-15  Martin Sebor  <msebor@redhat.com>
23956         [BZ #18755]
23957         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23958         warnings.
23959         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23960         (__gai_create_helper_thread): Same.
23961         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23962         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23963         to suppress -Wmaybe-uninitialized warnings.
23965 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23967         [BZ #19465]
23968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23969         inside if.
23970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23971         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23974 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23976         [BZ #19466]
23977         * time/tst-mktime2.c (time_t_max): Removed.
23978         (time_t_min): Likewise.
23979         (TYPE_SIGNED): New.
23980         (TYPE_MINIMUM): Likewise.
23981         (TYPE_MAXIMUM): Likewise.
23982         (TIME_T_MIN): Likewise.
23983         (TIME_T_MAX): Likewise.
23984         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23985         and TIME_T_MIN.
23986         (do_test): Likewise.
23988 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23990         [BZ #19467]
23991         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23992         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23994 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23996         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23998 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24000         * benchtests/Makefile (PYTHON): Define.
24001         (bench-func): Use $(PYTHON) to run python scripts.
24002         ($(objpfx)bench-%.c): Likewise.
24004 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24006         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24007         leading slash when `file_name' is "/".
24009 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24011         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24012         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24013         Likewise.
24014         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24015         Likewise.
24016         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24019         enum constant and macro.
24020         (PTRACE_SETSIGMASK): Likewise.
24021         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24022         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24023         (PTRACE_GETSIGMASK): Likewise.
24024         (PTRACE_SETSIGMASK): Likewise.
24025         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24026         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24027         Likewise.
24028         (PTRACE_SETSIGMASK): Likewise.
24029         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24030         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24031         (PTRACE_GETSIGMASK): Likewise.
24032         (PTRACE_SETSIGMASK): Likewise.
24033         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24035         Likewise.
24036         (PTRACE_SETSIGMASK): Likewise.
24037         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24039         Likewise.
24040         (PTRACE_SETSIGMASK): Likewise.
24041         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24042         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24043         Likewise.
24044         (PTRACE_SETSIGMASK): Likewise.
24045         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24047 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24048             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24050         [BZ #19439]
24051         * math/bits/mathcalls.h
24052         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24053         prototype.
24054         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24056 2016-01-11  Andreas Schwab  <schwab@suse.de>
24058         [BZ #19253]
24059         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24060         cache when TZDEFRULES was used.
24061         * time/tst-tzname.c: New file.
24062         * time/Makefile (test): Add tst-tzname.
24063         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24064         * timezone/Makefile (test-zones): Add $(posixrules-file).
24065         ($(testdata)/$(posixrules-file)): New rule.
24067 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24069         Fix doc quoting problems with Texinfo 5
24070         Without this change, in the info file output, Texinfo 5 quotes code
24071         in text with undirected single quotes 'like this' and generates
24072         code examples that with many PDF readers cannot be cut out of PDFs
24073         and pasted into code.
24074         * manual/libc.texinfo: Configure the libc manual like the GNU
24075         Emacs manual, by using @documentencoding and setting
24076         txicodequoteundirected and txicodequotebacktick.  This way,
24077         Texinfo 5 quotes code in text with directed single quotes ‘like
24078         this’ and produces examples that can be cut out of PDFs.  This
24079         change causes Texinfo 5 to generate info files that contain UTF-8
24080         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24081         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24083 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24085         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24086         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24087         barriers to their respective compiler built-ins.
24088         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24089         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24090         * sysdeps/powerpc/sysdep.h: Likewise.
24091         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24092         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24093         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24095 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24097         * scripts/config.guess: Revert previous shebang change.
24098         * scripts/config.sub: Likewise.
24099         * scripts/mkinstalldirs: Likewise.
24101 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24103         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24104         PPC_FEATURE2_HAS_IEEE128.
24105         * sysdeps/powerpc/dl-procinfo.c:
24106         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24108 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
24110         [BZ #19415]
24111         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24112         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
24113         (_dl_lookup_address): Rewrite using function resolver trampoline.
24114         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24115         two bits in address.
24117 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24119         * longlong.h: Change !__SHMEDIA__ to
24120         (!defined (__SHMEDIA__) || !__SHMEDIA__).
24121         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24123 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24124             Joseph Myers  <joseph@codesourcery.com>
24125             Mark Shinwell  <shinwell@codesourcery.com>
24126             Andrew Stubbs  <ams@codesourcery.com>
24127             Rich Felker <dalias@libc.org>
24129         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24131 2016-01-07  Richard Henderson  <rth@redhat.com>
24133         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24135 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24137         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24138         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24139         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24140         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24141         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24143 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
24144             Joseph Myers  <joseph@codesourcery.com>
24146         * timezone/private.h: Update from tzcode 2015g.
24147         * timezone/tzfile.h: Likewise.
24148         * timezone/tzselect.ksh: Likewise.
24149         * timezone/zdump.c: Likewise.
24150         * timezone/zic.c: Likewise.
24151         * timezone/ialloc.c: Remove file.
24152         * timezone/scheck.c: Likewise.
24153         * timezone/Makefile (extra-objs): Remove variable.
24154         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24155         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24156         -Wno-maybe-uninitialized.
24157         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24158         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24159         (CFLAGS-ialloc.c): Remove variable.
24160         (CFLAGS-scheck.c): Likewise.
24161         * timezone/README: Update list of files from tzcode.
24163 2016-01-07  Khem Raj  <raj.khem@gmail.com>
24165         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24166         instead of __fxprintf when _LIBC is undefined.
24168 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
24170         * catgets/test-gencat.sh: Remove space after shebang.
24171         * conform/GlibcConform.pm: Likewise.
24172         * conform/check-header-lists.sh: Likewise.
24173         * conform/conformtest.pl: Likewise.
24174         * conform/linknamespace.pl: Likewise.
24175         * conform/list-header-symbols.pl: Likewise.
24176         * debug/catchsegv.sh: Likewise.
24177         * elf/genrtldtbl.awk: Likewise.
24178         * elf/tst-pathopt.sh: Likewise.
24179         * elf/tst-rtld-load-self.sh: Likewise.
24180         * grp/tst_fgetgrent.sh: Likewise.
24181         * iconvdata/gen-8bit-gap-1.sh: Likewise.
24182         * iconvdata/gen-8bit-gap.sh: Likewise.
24183         * iconvdata/gen-8bit.sh: Likewise.
24184         * iconvdata/run-iconv-test.sh: Likewise.
24185         * intl/tst-gettext.sh: Likewise.
24186         * intl/tst-gettext2.sh: Likewise.
24187         * intl/tst-gettext4.sh: Likewise.
24188         * intl/tst-gettext6.sh: Likewise.
24189         * intl/tst-translit.sh: Likewise.
24190         * io/ftwtest-sh: Likewise.
24191         * libio/test-freopen.sh: Likewise.
24192         * locale/gen-translit.pl: Likewise.
24193         * malloc/tst-mtrace.sh: Likewise.
24194         * manual/check-safety.sh: Likewise.
24195         * manual/libc-texinfo.sh: Likewise.
24196         * manual/tsort.awk: Likewise.
24197         * manual/xtract-typefun.awk: Likewise.
24198         * nptl/tst-cancel-wrappers.sh: Likewise.
24199         * nptl/tst-tls6.sh: Likewise.
24200         * posix/globtest.sh: Likewise.
24201         * posix/tst-getconf.sh: Likewise.
24202         * posix/wordexp-tst.sh: Likewise.
24203         * scripts/check-c++-types.sh: Likewise.
24204         * scripts/check-local-headers.sh: Likewise.
24205         * scripts/config.guess: Likewise.
24206         * scripts/config.sub: Likewise.
24207         * scripts/cpp: Likewise.
24208         * scripts/cross-test-ssh.sh: Likewise.
24209         * scripts/documented.sh: Likewise.
24210         * scripts/evaluate-test.sh: Likewise.
24211         * scripts/gen-libc-abis: Likewise.
24212         * scripts/gen-sorted.awk: Likewise.
24213         * scripts/list-fixed-bugs.py: Likewise.
24214         * scripts/merge-test-results.sh: Likewise.
24215         * scripts/mkinstalldirs: Likewise.
24216         * scripts/rellns-sh: Likewise.
24217         * scripts/test-installation.pl: Likewise.
24218         * scripts/update-copyrights: Likewise.
24219         * stdio-common/tst-printf.sh: Likewise.
24220         * stdio-common/tst-unbputc.sh: Likewise.
24221         * stdlib/tst-fmtmsg.sh: Likewise.
24222         * stdlib/tst-setcontext3.sh: Likewise.
24223         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24224         * sysdeps/unix/make-syscalls.sh: Likewise.
24226 2016-01-06  John David Anglin  <dave.anglin@bell.net>
24228         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24229         asm stw with atomic_exchange_rel.  Add explanatory comment.
24230         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24231         Likewise.
24233 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24235         [BZ #19122]
24236         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24237         * sysdeps/generic/dl-unistd.h: New file.
24238         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24240 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24242          [BZ #19122]
24243          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24244          * sysdeps/generic/dl-mman.h: New file.
24245          * sysdeps/mach/hurd/dl-mman.h: Likewise.
24247 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
24249         * manual/texinfo.tex: Update to version 2016-01-04.21 with
24250         trailing whitespace removed.
24251         * scripts/config.guess: Update to version 2016-01-01.
24252         * scripts/config.sub: Update to version 2016-01-01.
24253         * scripts/move-if-change: Update from gnulib.
24255 2016-01-04  Anton Blanchard  <anton@samba.org>
24257         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24258         for array indices.
24259         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24261 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
24263         * NEWS: Update copyright dates.
24264         * catgets/gencat.c (print_version): Likewise.
24265         * csu/version.c (banner): Likewise.
24266         * debug/catchsegv.sh: Likewise.
24267         * debug/pcprofiledump.c (print_version): Likewise.
24268         * debug/xtrace.sh (do_version): Likewise.
24269         * elf/ldconfig.c (print_version): Likewise.
24270         * elf/ldd.bash.in: Likewise.
24271         * elf/pldd.c (print_version): Likewise.
24272         * elf/sotruss.sh: Likewise.
24273         * elf/sprof.c (print_version): Likewise.
24274         * iconv/iconv_prog.c (print_version): Likewise.
24275         * iconv/iconvconfig.c (print_version): Likewise.
24276         * locale/programs/locale.c (print_version): Likewise.
24277         * locale/programs/localedef.c (print_version): Likewise.
24278         * login/programs/pt_chown.c (print_version): Likewise.
24279         * malloc/memusage.sh (do_version): Likewise.
24280         * malloc/memusagestat.c (print_version): Likewise.
24281         * malloc/mtrace.pl: Likewise.
24282         * manual/libc.texinfo: Likewise.
24283         * nptl/version.c (banner): Likewise.
24284         * nscd/nscd.c (print_version): Likewise.
24285         * nss/getent.c (print_version): Likewise.
24286         * nss/makedb.c (print_version): Likewise.
24287         * posix/getconf.c (main): Likewise.
24288         * scripts/test-installation.pl: Likewise.
24289         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24291         * All files with FSF copyright notices: Update copyright dates
24292         using scripts/update-copyrights.
24293         * intl/plural.c: Regenerated.
24294         * locale/programs/charmap-kw.h: Likewise.
24295         * locale/programs/locfile-kw.h: Likewise.
24297 2016-01-02  Helge Deller  <deller@gmx.de>
24299         [BZ #19285]
24300         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24301         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24302         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24303         (MADV_xxK_PAGES): Remove.
24305 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
24307         [BZ #15421]
24308         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24309         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
24310         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24311         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24313 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
24315         [BZ #19408]
24316         * sysdeps/unix/sysv/linux/personality.c: New file.
24317         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24318         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24319         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24320         (sysdep_routines): Add personality.
24321         (tests): Add tst-personality.
24322         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24323         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24324         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24325         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24326         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24327         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24328         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24329         Likewise.
24330         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24331         Likewise.
24332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24333         Likewise.
24334         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24335         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24336         Likewise.
24338 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
24340         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24341         (PATH_ARM_SYSTYPE): Remove.
24342         (PATH_CPUINFO): Likewise.
24343         (IO_BASE_FOOTBRIDGE): Likewise.
24344         (IO_SHIFT_FOOTBRIDGE): Likewise.
24345         (struct platform): Likewise.
24346         (init_iosys): Remove compatibility code for 2.4 kernels.
24347         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24349 2015-12-29  Florian Weimer  <fweimer@redhat.com>
24351         * malloc/tst-malloc-thread-fail.c: New file.
24352         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24353         (tst-malloc-thread-fail): Link against libpthread.
24355 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
24357         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
24358         (get_parser): New function.
24359         (main): New function.
24361 2015-12-29  Rob Wu  <rob@robwu.nl>
24363         [BZ #19369]
24364         * resolv/res_init.c (__res_vinit): Reset defdname before use.
24366 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
24368         [BZ #19270]
24369         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24371 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
24373         [BZ #15421]
24374         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24376 2015-12-23  Torvald Riegel  <triegel@redhat.com>
24378         [BZ #13690]
24379         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24380         after releasing it.
24381         (__lll_robust_unlock): Likewise.
24382         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24383         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24384         (lll_robust_unlock): Likewise.
24385         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24386         Prevent warnings in callers.
24388 2015-12-23  Florian Weimer  <fweimer@redhat.com>
24390         * malloc/arena.c (list_lock): Update comment.
24392 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24394         * sysdeps/powerpc/hwcapinfo.c: Export symbol
24395         __parse_hwcap_and_convert_at_platform to libc.a.
24397 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24399         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
24400         platform and feature support for POWER9.
24401         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24402         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
24403         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
24404         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
24405         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
24406         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
24407         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
24408         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
24410 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24412         Harmonize generic stdio-lock support with nptl
24414         This fixes build when _IO_funlockfile is a macro, fixes build where
24415         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24416         stack unwind.
24418         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24419         _IO_release_lock ): Use cleanup attribute on new
24420         _IO_acquire_lock_file variable instead of assuming that
24421         _IO_release_lock will be called.
24422         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24423         _IO_acquire_lock_needs_exceptions_enabled.
24424         (_IO_acquire_lock_clear_flags2): New macro.
24426 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24428         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24430 2015-12-21  Florian Weimer  <fweimer@redhat.com>
24432         [BZ #19182]
24433         * malloc/arena.c (list_lock): Document lock ordering requirements.
24434         (free_list_lock): New lock.
24435         (ptmalloc_lock_all): Comment on free_list_lock.
24436         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24437         (detach_arena): Update comment.  free_list_lock is now needed.
24438         (_int_new_arena): Use free_list_lock around detach_arena call.
24439         Acquire arena lock after list_lock.  Add comment, including FIXME
24440         about incorrect synchronization.
24441         (get_free_list): Switch to free_list_lock.
24442         (reused_arena): Acquire free_list_lock around detach_arena call
24443         and attached threads counter update.  Add two FIXMEs about
24444         incorrect synchronization.
24445         (arena_thread_freeres): Switch to free_list_lock.
24446         * malloc/malloc.c (struct malloc_state): Update comments to
24447         mention free_list_lock.
24449 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24451         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24452         Remove functions.
24453         (sloww, sloww1): Accept argument to offset quadrant.
24454         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24455         quadrant.
24456         (__sin, __cos): Consolidate common code into new functions.
24457         (reduce_sincos_1, do_sincos_1): New functions.
24458         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24461         code to new functions.
24462         (reduce_sincos_2, do_sincos_2): New functions.
24463         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24465         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24466         common code for sincos.
24467         (__cos) [!IN_SINCOS]: Likewise.
24468         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24469         New function.
24470         (__sincos): Use it.
24472 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
24474         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24475         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24476         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24478 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24480         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24483         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24484         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24485         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24486         index_Prefer_No_VZEROUPPER): New feature.
24487         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24488         Prefer_No_VZEROUPPER for Knights Landing.
24490 015-12-18  Torvald Riegel  <triegel@redhat.com>
24492         * math/atest-exp2.c (mp_exp_m1): Remove.
24494 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24496         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24497         syscalls.
24498         (__SYSCALL0): New macro.
24499         (__SYSCALL1): Likewise.
24500         (__SYSCALL2): Likewise.
24501         (__SYSCALL3): Likewise.
24502         (__SYSCALL4): Likewise.
24503         (__SYSCALL5): Likewise.
24504         (__SYSCALL6): Likewise.
24505         (__SYSCALL_CONCAT_X): Likewise.
24506         (__SYSCALL_CONCAT): Likewise.
24507         (__SYSCALL_DIST): Likewise.
24508         (__SYSCALL_CALL): Likewise.
24510 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
24512         [BZ #19363]
24513         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24515 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24517         [BZ #19375]
24518         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24519         negative subnormals.
24521 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
24523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24524         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24525         (INTERNAL_SYSCALL_NCS): Use it.
24526         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24528 2015-12-16  Florian Weimer  <fweimer@redhat.com>
24530         [BZ #19243]
24531         * malloc/arena.c (get_free_list): Remove assert and adjust
24532         reference count handling.  Add comment about reused_arena
24533         interaction.
24534         (reused_arena): Add comments abount get_free_list interaction.
24535         * malloc/tst-malloc-thread-exit.c: New file.
24536         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24537         (tst-malloc-thread-exit): Link against libpthread.
24539 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24541         [BZ #19367]
24542         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24543         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24544         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24545         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24546         (index_Prefer_MAP_32BIT_EXEC): Likewise.
24548 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24550         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24551         Silvermont optimizations for Knights Landing.
24553 2015-12-15  Andreas Schwab  <schwab@suse.de>
24555         [BZ #17197]
24556         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24557         immediately after emitting SI.
24558         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24559         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24560         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24561         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24562         * iconvdata/bug-iconv10.c: New file.
24563         * iconvdata/Makefile (tests): Add bug-iconv10.
24564         ($(objpfx)bug-iconv10.out): New rule.
24566 2015-12-15  Florian Weimer  <fweimer@redhat.com>
24568         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24569         aliasing violation.
24571 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
24573         [BZ #18472]
24574         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24575         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24576         conditionals for them.
24577         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24578         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24580         sys/kdaemon.h.
24581         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24582         compat-only syscall, obsoleted in glibc 2.23.
24583         (create_module): Likewise.
24584         (get_kernel_syms): Likewise.
24585         (query_module): Likewise.
24586         (uselib): Likewise.
24587         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24589 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
24591         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24592         <linux/version.h>.
24593         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24594         conditional code.
24595         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24596         and ioshift_name initialization.
24598 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24600         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24601         Fix indentation.
24603 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24605         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24607 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24609         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24611 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
24612             Jakub Wilk  <jwilk@debian.org>
24614         [BZ #19347]
24615         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24616         to change the group of the device to the tty group.
24618 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24620         Split large string section; add truncation advice
24621         * manual/examples/strncat.c: Remove.
24622         This example was misleading, as the code would have undefined
24623         behavior if "hello" was longer than SIZE.  Anyway, the manual
24624         shouldn't encourage strncpy+strncat for this sort of thing.
24625         * manual/string.texi (Copying Strings and Arrays): Split into
24626         three sections Copying Strings and Arrays, Concatenating Strings,
24627         and Truncating Strings, as this section was way too long.  All
24628         cross-referenced changed.  Add advice about string-truncation
24629         functions.  Remove misleading strncat example.
24631 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
24633         * manual/nss.texi (NSS Modules Interface): Document
24634         NSS_STATUS_NOTFOUND and SUCCESS.
24636 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24638         [BZ 18568]
24639         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24640         201505L, for Unicode 8.
24642 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24644         * locale/C-translit.h: Regenerate.
24646 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24648         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24649         and U+0153.
24651 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24653         [BZ #19351]
24654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24655         expanding log(1+z), compare z rather than its square with epsilon
24656         to determine when to avoid evaluating the expansion.
24658         [BZ #19350]
24659         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24660         Increase overflow threshold.
24662         [BZ #19349]
24663         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24664         when small.
24666         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24667         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24668         New macro.
24669         [__LINUX_KERNEL_VERSION >= 0x040300]
24670         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24672         Likewise.
24673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24674         Likewise.
24675         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24676         Likewise.
24677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24678         Likewise.
24679         [__LINUX_KERNEL_VERSION >= 0x040300]
24680         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24681         [__LINUX_KERNEL_VERSION >= 0x040300]
24682         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24683         [__LINUX_KERNEL_VERSION >= 0x040300]
24684         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24685         [__LINUX_KERNEL_VERSION >= 0x040300]
24686         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24687         [__LINUX_KERNEL_VERSION >= 0x040300]
24688         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24690         Likewise.
24691         [__LINUX_KERNEL_VERSION >= 0x040300]
24692         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24694         Likewise.
24695         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24696         Likewise.
24697         [__LINUX_KERNEL_VERSION >= 0x040300]
24698         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24699         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24700         Likewise.
24701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24702         Likewise.
24703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24705         Likewise.
24706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24707         Likewise.
24708         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24709         Likewise.
24710         [__LINUX_KERNEL_VERSION >= 0x040300]
24711         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24713         Likewise.
24714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24715         Likewise.
24716         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24717         Likewise.
24718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24719         Likewise.
24720         [__LINUX_KERNEL_VERSION >= 0x040300]
24721         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24722         [__LINUX_KERNEL_VERSION >= 0x040300]
24723         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24724         [__LINUX_KERNEL_VERSION >= 0x040300]
24725         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24726         [__LINUX_KERNEL_VERSION >= 0x040300]
24727         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24728         [__LINUX_KERNEL_VERSION >= 0x040300]
24729         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24731         Likewise.
24732         [__LINUX_KERNEL_VERSION >= 0x040300]
24733         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24735         Likewise.
24736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24737         Likewise.
24738         [__LINUX_KERNEL_VERSION >= 0x040300]
24739         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24741         Likewise.
24742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24743         Likewise.
24744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24745         (__ASSUME_SOCKET_SYSCALL): Likewise.
24746         (__ASSUME_BIND_SYSCALL): Likewise.
24747         (__ASSUME_CONNECT_SYSCALL): Likewise.
24748         (__ASSUME_LISTEN_SYSCALL): Likewise.
24749         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24750         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24751         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24752         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24753         (__ASSUME_SEND_SYSCALL): Likewise.
24754         (__ASSUME_SENDTO_SYSCALL): Likewise.
24755         (__ASSUME_RECV_SYSCALL): Likewise.
24756         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24757         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24758         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24759         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24760         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24761         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24762         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24763         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24764         Likewise.
24765         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24766         Likewise.
24767         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24768         Likewise.
24769         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24770         Likewise.
24771         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24772         Likewise.
24773         [__LINUX_KERNEL_VERSION >= 0x020625]
24774         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24775         [__LINUX_KERNEL_VERSION >= 0x020625]
24776         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24777         [__LINUX_KERNEL_VERSION >= 0x020625]
24778         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24779         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24780         Likewise.
24781         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24782         Likewise.
24783         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24784         Likewise.
24785         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24786         Likewise.
24787         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24788         Likewise.
24789         [__LINUX_KERNEL_VERSION >= 0x020625]
24790         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24791         [__LINUX_KERNEL_VERSION >= 0x020625]
24792         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24793         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24794         Likewise.
24795         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24796         Likewise.
24798 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24800         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24801         record the current if the current ABI and CPU support the FP64
24802         extension.
24803         (has-modd-spreg): Define to record the current if the current ABI and
24804         CPU support 32-bit floating point values in odd FPU registers.
24805         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24806         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24807         $(has-modd-spreg) equals yes.
24808         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24809         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24810         $(has-modd-spreg) equal yes.
24812 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24814         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24815         basename.
24817 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24819         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24820         (bench-string): ... here.
24821         (bench): Add bench-string.
24822         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24823         to *-benchset to reflect what they are.
24824         (benchset): Adjust.
24826         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24827         cos-inputs.
24829 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24831         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24832         __attribute__ ((__simd__)) for vector math function declarations.
24834 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24836         Fix typo in strncat, wcsncat manual entries
24837         * manual/string.texi (Copying and Concatenation): Fix typos in
24838         sample implementations of strncat and wcsncat, by having them use
24839         the old value of the destination length, not the new one.
24841 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24843         [BZ #16961]
24844         [BZ #16962]
24845         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24846         string on the stack for strtod.
24847         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24848         a string on the stack for strtof.
24849         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24850         constructing a string on the stack for strtold.
24851         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24852         __strtold_nan to GLIBC_PRIVATE.
24853         * math/test-nan-overflow.c: New file.
24854         * math/test-nan-payload.c: Likewise.
24855         * math/Makefile (tests): Add test-nan-overflow and
24856         test-nan-payload.
24858 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24860         Consistency about byte vs character in string.texi
24861         * manual/string.texi (String and Array Utilities):
24862         Distinguish more carefully among bytes, multibyte characters,
24863         and wide characters.  Use "byte" when talking about C 'char',
24864         to distinguish it more clearly from multibyte characters.
24865         Say "wide character" or "multibyte character" instead of
24866         "character", when a wide or multibyte character is intended.
24867         Similarly for "multibyte string" versus "string".
24868         Define these terms more carefully.
24870 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24872         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24873         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24874         Likewise.
24875         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24876         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24877         * sysdeps/sh/math_private.h: New file.
24878         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24879         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24880         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24881         long double function name.
24882         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24883         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24884         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24888         Remove __finitel, __isinfl, and __isnanl.
24889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24890         Likewise.
24891         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24893         Remove __finitel.
24894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24895         Likewise.
24896         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24898 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24900         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24901         installed libmvec_nonshared.a.
24903 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24905         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24906         (sysdep_routines): Likewise.
24907         (sysdep-rtld-routines): Likewise.
24908         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24909         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24910         * sysdeps/powerpc/Versions: Added new
24911         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24912         * sysdeps/powerpc/hwcapinfo.c: New file.
24913         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24914         and parse hwcap, hwcap2 and platform number information.
24915         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24916         to store HWCAP+HWCAP2 and platform number.
24917         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24918         for HWCAP+HWCAP2 and platform number in the TCB.
24919         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24920         the HWCAP, HWCAP2 and platform number in the TCB.
24921         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24922         (TLS_INIT_TP): Included calls to add the hwcap and
24923         at_platform values in the TCB in TP initialization.
24924         (TLS_DEFINE_INIT_TP): Likewise.
24925         (THREAD_GET_HWCAP): New macro.
24926         (THREAD_SET_HWCAP): Likewise.
24927         (THREAD_GET_AT_PLATFORM): Likewise.
24928         (THREAD_SET_AT_PLATFORM): Likewise.
24929         * sysdeps/powerpc/powerpc32/dl-machine.h:
24930         (dl_platform_init): New function that calls
24931         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24932         powerpc32.
24933         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24934         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24935         this functionality, static linking case.
24936         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24937         linking case.
24938         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24939         __parse_hwcap_and_convert_at_platform for the static linking case.
24940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24941         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24942         ABI list for GLIBC 2.23.
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24944         Likewise.
24945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24946         Likewise.
24948 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24950         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24951         * configure: Regenerate.
24952         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24953         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24955 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24957         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24958         * iconvdata/ibm933.c: Likewise.
24959         * iconvdata/ibm935.c: Likewise.
24960         * iconvdata/ibm937.c: Likewise.
24961         * iconvdata/ibm939.c: Likewise.
24963 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24965         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24966         pthread_join.
24967         * nptl/tst-cancel21.c (tf): Likewise.
24969 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24971         [BZ #19313]
24972         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24973         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24974         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24975         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24978         Likewise.
24979         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24980         Likewise.
24981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24982         Likewise.
24983         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24984         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24985         unsigned long int with __CPU_MASK_TYPE.
24987 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24989         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24991 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24993         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24994         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24995         t512.x.
24996         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24998 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25000         [BZ #19214]
25001         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25002         argument to return extended model.  Update family and model
25003         with extended family and model when family == 0x0f.
25004         (init_cpu_features): Updated.
25006 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25008         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25009         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25011         * sysdeps/mach/hurd/mmap64.c: New file.
25013 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25015         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25016         rights for its main user thread in NEWTASK.
25018 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25020         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25021         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25023 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25025         [BZ #14259]
25026         * Makeconfig: Rename localedir to complocaledir.
25027         Rename inst_localedir to inst_complocaledir.
25028         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25029         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25030         * configure.ac: Use libc_cv_complocaledir.
25031         * configure: Regenerate.
25032         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25033         -DCOMPLOCALEDIR.
25034         * locale/findlocale.c: Use COMPLOCALEDIR.
25035         * locale/loadarchive.c: Likewise.
25036         * locale/programs/locale.c: Likewise.
25037         * locale/programs/localedef.c: Likewise.
25038         * locale/programs/locarchive.c: Likewise.
25039         * localedata/Makefile: Use inst_complocaledir.
25040         * sysdeps/gnu/configure: Regenerate.
25041         * sysdeps/hppa/configure: Regenerate.
25042         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25043         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25045         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25046         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25047         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25048         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25050 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25052         [BZ #19058]
25053         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25054         AS_NEEDED.
25055         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25056         workaround.
25057         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25058         libmvec-static-only-routines): Added new file.
25059         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25061 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25063         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25064         of interrupted RPC instead of restoring it.
25066         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25067         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25068         libc_hidden_def.
25069         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25070         into initialized data instead of common. Define rtld_hidden_data_def.
25071         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25072         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25073         libc_hidden_def.
25074         (if_freenameindex): Add libc_hidden_weak.
25075         (if_nameindex): Add libc_hidden_weak.
25076         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25077         __open64.
25078         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25079         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25080         * sysdeps/mach/nanosleep.c: Include <time.h>
25081         (__nanosleep): Rename to __libc_nanosleep.
25082         (__nanosleep): Add weak_alias.
25083         (nanosleep): Update alias.
25085 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25087         * stdlib/strtod_nan.c: New file.
25088         * stdlib/strtod_nan_double.h: Likewise.
25089         * stdlib/strtod_nan_float.h: Likewise.
25090         * stdlib/strtod_nan_main.c: Likewise.
25091         * stdlib/strtod_nan_narrow.h: Likewise.
25092         * stdlib/strtod_nan_wide.h: Likewise.
25093         * stdlib/strtof_nan.c: Likewise.
25094         * stdlib/strtold_nan.c: Likewise.
25095         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25096         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25097         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25098         * wcsmbs/wcstod_nan.c: Likewise.
25099         * wcsmbs/wcstof_nan.c: Likewise.
25100         * wcsmbs/wcstold_nan.c: Likewise.
25101         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25102         strtold_nan.
25103         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25104         wcstof_nan.
25105         * include/stdlib.h (__strtof_nan): Declare and use
25106         libc_hidden_proto.
25107         (__strtod_nan): Likewise.
25108         (__strtold_nan): Likewise.
25109         (__wcstof_nan): Likewise.
25110         (__wcstod_nan): Likewise.
25111         (__wcstold_nan): Likewise.
25112         * include/wchar.h (____wcstoull_l_internal): Declare.
25113         * stdlib/strtod_l.c: Do not include <ieee754.h>.
25114         (____strtoull_l_internal): Remove declaration.
25115         (STRTOF_NAN): Define macro.
25116         (SET_MANTISSA): Remove macro.
25117         (STRTOULL): Likewise.
25118         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25119         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25120         (STRTOF_NAN): Define macro.
25121         (SET_MANTISSA): Remove macro.
25122         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25123         (SET_MANTISSA): Remove macro.
25124         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25125         macro.
25126         (SET_MANTISSA): Remove macro.
25127         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25128         macro.
25129         (SET_MANTISSA): Remove macro.
25130         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25131         (SET_MANTISSA): Remove macro.
25132         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25133         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25134         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25136         [BZ #19266]
25137         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25138         upper case and lower case letters inside NAN(), not using TOLOWER.
25139         * stdlib/tst-strtod-nan-locale-main.c: New file.
25140         * stdlib/tst-strtod-nan-locale.c: Likewise.
25141         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25142         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25143         Depend on $(gen-locales).
25144         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25145         * wcsmbs/tst-wcstod-nan-locale.c: New file.
25146         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25147         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25148         Depend on $(gen-locales).
25149         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25151 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
25153         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25155         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25157         __finitel, __isinfl, and __isnanl.
25158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25159         Likewise.
25160         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25162         __finitel.
25163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25164         Likewise.
25165         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25167 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25169         * malloc/memusage.c (me): Remove redundant getenv call.
25171 2015-10-24  Florian Weimer  <fweimer@redhat.com>
25173         [BZ #19143]
25174         [BZ #19164]
25175         * nptl/check-cpuset.h: Remove.
25176         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25177         Remove CPU set size check.
25178         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25179         Likewise.
25180         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25181         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25182         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25183         (__pthread_setaffinity_new): Remove CPU set size check.
25184         * sysdeps/unix/sysv/linux/sched_setaffinity.c
25185         (__kernel_cpumask_size): Remove.
25186         (__sched_setaffinity_new): Remove CPU set size check.
25187         * manual/threads.texi (Default Thread Attributes): Remove stale
25188         reference to check_cpuset_attr, determine_cpumask_size in comment.
25189         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25190         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
25191         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25192         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25193         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25194         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25195         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25196         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25197         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25198         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25199         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25200         skeleton test file.
25201         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
25202         tst-affinity-pid.
25204 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25206         * scripts/update-abilist.sh: New file.
25207         * Makefile (+subdir_targets): Add subdir_update-all-abi.
25208         * Makerules (update-all-abi-%, update-all-abi)
25209         (subdir_update-all-abi): New targets.
25210         * elf/Makefile (update-all-abi): New target.
25212 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25214         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25215         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25216         (__libc_lock_define_initialized): Use it.
25217         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25218         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25219         * malloc/malloc.c (main_arena): Likewise.
25220         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25221         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25223 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
25225         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25226         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25227         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25228         (PTRACE_O_MASK): Update value.
25229         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25230         New value in enum __ptrace_setoptions.
25231         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25232         (PTRACE_O_MASK): Update value.
25233         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25234         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25235         (PTRACE_O_MASK): Update value.
25236         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25237         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25238         (PTRACE_O_MASK): Update value.
25239         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25240         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25241         (PTRACE_O_MASK): Update value.
25242         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25243         New value in enum __ptrace_setoptions.
25244         (PTRACE_O_MASK): Update value.
25245         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25246         New value in enum __ptrace_setoptions.
25247         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25248         (PTRACE_O_MASK): Update value.
25250         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25251         New macro.
25252         (PACKET_AUXDATA): Likewise.
25253         (PACKET_ORIGDEV): Likewise.
25254         (PACKET_VERSION): Likewise.
25255         (PACKET_HDRLEN): Likewise.
25256         (PACKET_RESERVE): Likewise.
25257         (PACKET_TX_RING): Likewise.
25258         (PACKET_LOSS): Likewise.
25259         (PACKET_VNET_HDR): Likewise.
25260         (PACKET_TX_TIMESTAMP): Likewise.
25261         (PACKET_TIMESTAMP): Likewise.
25262         (PACKET_FANOUT): Likewise.
25263         (PACKET_TX_HAS_OFF): Likewise.
25264         (PACKET_QDISC_BYPASS): Likewise.
25265         (PACKET_ROLLOVER_STATS): Likewise.
25266         (PACKET_FANOUT_DATA): Likewise.
25267         (PACKET_MR_UNICAST): Likewise.
25269         [BZ #19242]
25270         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25271         (TOUPPER): Likewise.
25272         * stdlib/tst-strtol-locale-main.c: New file.
25273         * stdlib/tst-strtol-locale.c: Likewise.
25274         * stdlib/Makefile (tests): Add tst-strtol-locale.
25275         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25276         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25277         Depend on $(gen-locales).
25278         * wcsmbs/tst-wcstol-locale.c: New file.
25279         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25280         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25281         tr_TR.ISO-8859-9.
25282         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25283         Depend on $(gen-locales).
25285 2015-11-20  Roland McGrath  <roland@hack.frob.com>
25287         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25288         __glibc_likely instead of __builtin_expect.  After falling back to
25289         dyncode_create in a non-ET_DYN case, use the allocate_code_data
25290         system interface to register the code pages as occupied.
25292 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
25294         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25295         [!ARM_MATH_PRIVATE_H].
25296         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25297         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25298         [!HPPA_MATH_PRIVATE_H].
25299         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25300         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25301         to [!I386_MATH_PRIVATE_H].
25302         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25303         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25304         Change guard to [!M68K_MATH_PRIVATE_H].
25305         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25306         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25307         guard to [!MICROBLAZE_MATH_PRIVATE_H].
25308         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25309         macro.
25310         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25311         [!MIPS_MATH_PRIVATE_H].
25312         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25313         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25314         [!NIO2_MATH_PRIVATE_H].
25315         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25316         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25317         [!TILE_MATH_PRIVATE_H].
25318         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25320         [BZ #15421]
25321         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25322         initialize with 0 and define as weak alias of __signgam.
25323         * include/math.h [!_ISOMAC] (__signgam): Declare.
25324         * math/Makefile (libm-calls): Add w_lgamma_compat.
25325         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25326         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25327         test-signgam-ullong-init.
25328         (tests-static): Add test-signgam-uchar-static,
25329         test-signgam-uchar-init-static, test-signgam-uint-static,
25330         test-signgam-uint-init-static, test-signgam-ullong-static and
25331         test-signgam-ullong-init-static.
25332         (CFLAGS-test-signgam-uchar.c): New variable.
25333         (CFLAGS-test-signgam-uchar-init.c): Likewise.
25334         (CFLAGS-test-signgam-uchar-static.c): Likewise.
25335         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25336         (CFLAGS-test-signgam-uint.c): Likewise.
25337         (CFLAGS-test-signgam-uint-init.c): Likewise.
25338         (CFLAGS-test-signgam-uint-static.c): Likewise.
25339         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25340         (CFLAGS-test-signgam-ullong.c): Likewise.
25341         (CFLAGS-test-signgam-ullong-init.c): Likewise.
25342         (CFLAGS-test-signgam-ullong-static.c): Likewise.
25343         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25344         * math/Versions (libm): Add GLIBC_2.23.
25345         * math/lgamma-compat.h: New file.
25346         * math/test-signgam-main.c: Likewise.
25347         * math/test-signgam-uchar-init-static.c: Likewise.
25348         * math/test-signgam-uchar-init.c: Likewise.
25349         * math/test-signgam-uchar-static.c: Likewise.
25350         * math/test-signgam-uchar.c: Likewise.
25351         * math/test-signgam-uint-init-static.c: Likewise.
25352         * math/test-signgam-uint-init.c: Likewise.
25353         * math/test-signgam-uint-static.c: Likewise.
25354         * math/test-signgam-uint.c: Likewise.
25355         * math/test-signgam-ullong-init-static.c: Likewise.
25356         * math/test-signgam-ullong-init.c: Likewise.
25357         * math/test-signgam-ullong-static.c: Likewise.
25358         * math/test-signgam-ullong.c: Likewise.
25359         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25360         wrapper of w_lgamma_main.c.
25361         * math/w_lgamma_compat.c: New file.
25362         * math/w_lgamma_compatf.c: Likewise.
25363         * math/w_lgamma_compatl.c: Likewise.
25364         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
25365         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25366         defining compatibility symbols.
25367         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
25368         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25369         wrapper of w_lgammaf_main.c.
25370         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
25371         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25372         defining compatibility symbols.
25373         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
25374         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25375         wrapper of w_lgammal_main.c.
25376         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
25377         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25378         defining compatibility symbols.
25379         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
25380         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25381         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25382         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
25383         <lgamma-compat.h>.
25384         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
25385         (__ieee754_gamma): Define as alias.
25386         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25387         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
25388         <lgamma-compat.h>.
25389         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
25390         (__ieee754_gammaf): Define as alias.
25391         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25392         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
25393         <lgamma-compat.h>.
25394         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
25395         (__ieee754_gammal): Define as alias.
25396         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25397         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
25398         <math/w_lgamma_compat.c>.
25399         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
25400         Define as alias of __lgamma_compat and use in defining lgammal.
25401         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
25402         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
25403         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
25404         (USE_AS_COMPAT): New macro.
25405         (LGAMMA_OLD_VER): Undefine and redefine.
25406         (lgammal): Do not define here.
25407         (gammal): Only define here if [GAMMA_ALIAS].
25408         * conform/linknamespace.pl (@whitelist): Remove signgam.
25409         * sysdeps/nacl/libm.abilist: Update.
25410         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25412         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25414         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25417         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25419         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25420         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25423         Likewise.
25424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25425         Likewise.
25426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25427         Likewise.
25428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25429         Likewise.
25430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25436         Likewise.
25437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25438         Likewise.
25439         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25441         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25443 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25445         [BZ #16364]
25446         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25447         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25449 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25451         * sysdeps/s390/fpu/bits/mathinline.h:
25452         Use __asm__ [__volatile__] instead of asm [volatile].
25453         * sysdeps/s390/abort-instr.h: Likewise.
25454         * sysdeps/s390/atomic-machine.h: Likewise.
25455         * sysdeps/s390/bits/string.h: Likewise.
25456         * sysdeps/s390/dl-tls.h: Likewise.
25457         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25458         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25459         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25460         * sysdeps/s390/fpu/fesetround.c: Likewise.
25461         * sysdeps/s390/fpu/fpu_control.h: Likewise.
25462         * sysdeps/s390/fpu/s_fma.c: Likewise.
25463         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25464         * sysdeps/s390/memusage.h: Likewise.
25465         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25466         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25467         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25468         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25469         * sysdeps/s390/nptl/tls.h: Likewise.
25470         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25471         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25472         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25473         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25474         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25475         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25476         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25477         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25478         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25479         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25480         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25481         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25482         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25483         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25484         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25485         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25486         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25487         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25488         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25490         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25492         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25494 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25495             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25497         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25498         Add lwarx hint, and use macro for acquire instruction.
25499         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25500         Likewise.
25501         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25502         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25503         update to use new atomic macros.
25505 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25507         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25508         (__lll_trylock_elision): Fix setting of adapt_count.
25509         * sysdeps/unix/sysv/linux/powerpc/htm.h
25510         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25511         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25512         (_ABORT_SYSCALL): Renumber, and clarify definition.
25513         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25515 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25517         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25518         after system headers to prevent MIN/MAX redefinition.  Define
25519         HAVE_ALLOCA to preserve builtin alloca usage.
25521 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25523         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25524         static and don't set or restore rounding.
25525         (__cos)[IN_SINCOS]: Likewise.
25526         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25527         (__sincos): Set and restore rounding mode.  Remove check for infinite
25528         or NaN input.
25530         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25532         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25533         as used.
25535 2015-11-16  Florian Weimer  <fweimer@redhat.com>
25537         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25539 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25541         * config.make.in (have-glob-dat-reloc): New.
25542         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
25543         target supports GLOB_DAT relocaton. AC_SUBST.
25544         * configure: Regenerated.
25545         * elf/Makefile (tests): Add tst-prelink.
25546         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25547         (tst-prelink-ENV): New.
25548         ($(objpfx)tst-prelink-conflict.out): Likewise.
25549         ($(objpfx)tst-prelink-cmp.out): Likewise.
25550         * sysdeps/x86/tst-prelink.c: Moved to ...
25551         * elf/tst-prelink.c: Here.
25552         * sysdeps/x86/tst-prelink.exp: Moved to ...
25553         * elf/tst-prelink.exp: Here.
25554         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25555         (tst-prelink-ENV): Removed.
25556         ($(objpfx)tst-prelink-conflict.out): Likewise.
25557         ($(objpfx)tst-prelink-cmp.out): Likewise.
25558         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25560 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
25562         [BZ #14551]
25563         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25564         (__mpn_construct_long_double): If high part overflows to infinity,
25565         set errno and recompute overflowed result of the correct sign.
25566         * sysdeps/ieee754/ldbl-128ibm/Makefile
25567         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25568         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25569         $(libm).
25570         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25572 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
25574         [BZ #15479]
25575         [BZ #19238]
25576         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25577         floating-point state after first operation on input.  Restore full
25578         state rather than just rounding mode.
25579         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25580         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25581         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25583         [BZ #19235]
25584         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25585         add 0.5 to integer arguments.
25586         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25587         Likewise.
25588         (.LC2): New object.
25590 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
25592         * scripts/pylintrc (reports): Set to no.
25594 2015-11-10  Roland McGrath  <roland@hack.frob.com>
25596         * elf/dl-load.c (open_verify): Take new argument FD.
25597         Skip __open call if passed FD is not -1.
25598         (_dl_map_object, open_path): Update callers.
25599         * elf/dl-sysdep-open.h: New file.
25600         * elf/dl-load.c: Include it.
25601         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25602         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25603         * sysdeps/nacl/dl-sysdep-open.h: New file.
25604         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25605         from libc to rtld.
25607 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25609         [BZ #19228]
25610         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25611         and restore full floating-point state.
25612         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25613         Likewise.
25614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25615         Likewise.
25616         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25617         Likewise.
25618         * math/test-nearbyint-except-2.c: New file.
25619         * math/Makefile (tests): Add test-nearbyint-except-2.
25621 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
25623         [BZ #19178]
25624         * sysdeps/x86/Makefile (tests): Add tst-prelink.
25625         (tst-prelink-ENV): New.
25626         ($(objpfx)tst-prelink-conflict.out): Likewise.
25627         ($(objpfx)tst-prelink-cmp.out): Likewise.
25628         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25629         * sysdeps/x86/tst-prelink.c: New file.
25630         * sysdeps/x86/tst-prelink.exp: Likewise.
25632 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25634         * math/auto-libm-test-in: Add another test of pow.
25635         * math/auto-libm-test-out: Regenerated.
25636         * math/libm-test.inc (pow_test_data): Add another test.
25638 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25640         [BZ #19219]
25641         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25642         weak_alias to nearbyintl.
25644 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25646         * sysdeps/aarch64/bits/string.h: New file.
25647         (_STRING_ARCH_unaligned): Define.
25649 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25651         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25652         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25653         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25654         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25657 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25659         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25660         for original name of the DSO.  Add it to the name list of the DSO
25661         if it is actually given.
25662         (_dl_map_object): Keep track of whether an audit module rewrote
25663         the file name.  If yes, pass the original name to
25664         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25665         debugging is enabled, log the change of the file name.
25666         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25667         _dl_map_object_from_fd.
25668         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25669         * elf/tst-audit11.c: New file
25670         * elf/tst-auditmod11.c: New file.
25671         * elf/tst-audit11mod1.c: New file.
25672         * elf/tst-audit11mod2.c: New file.
25673         * elf/tst-audit11mod2.map: New file.
25674         * elf/tst-audit12.c: New file
25675         * elf/tst-auditmod12.c: New file.
25676         * elf/tst-audit12mod1.c: New file.
25677         * elf/tst-audit12mod2.c: New file.
25678         * elf/tst-audit12mod2.map: New file.
25679         * elf/tst-audit12mod3.c: New file.
25681 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25683         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25684         Don't create weak aliases,
25685         because versioned symbols are created later.
25686         * sysdeps/s390/s390-32/setjmp.S
25687         (setjmp, _setjmp): Remove weak and rename to an unique name
25688         in SHARED case due to existing versioned symbols.
25689         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25690         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25691         (getcontext): Create weak alias only in non SHARED case.
25692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25694 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25696         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25697         (__ASSUME_*_SYSCALL) Define new macros.
25698         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25699         Remove socketcall syscalls.
25700         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25701         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25702         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25703         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25704         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25705         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25707 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25709         [BZ #12926]
25710         Terminate process on invalid netlink response.
25711         * sysdeps/unix/sysv/linux/netlinkaccess.h
25712         (__netlink_assert_response): Declare.
25713         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25714         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25715         (sysdep_routines): Add netlink_assert_response.
25716         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25717         __netlink_assert_response.
25718         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25719         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25720         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25721         __netlink_assert_response.
25723 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25725         [BZ #19178]
25726         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25727         (RTYPE_CLASS_PLT): Likewise.
25728         (RTYPE_CLASS_COPY): Likewise.
25729         (RTYPE_CLASS_TLS): Likewise.
25730         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25731         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25732         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25733         DL_DEBUG_PRELINK.
25735 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25737         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25738         calls with argument -0.5.
25739         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25741         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25742         (libc_cv_z_nodlopen): Likewise.
25743         (libc_cv_z_initfirst): Likewise.
25744         * configure: Regenerated.
25746 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25748         Simplify abilist format to be line-based.
25749         * scripts/abilist.awk: Collect descriptors in the descs variable.
25750         (emit): Write descs variable and sort it
25751         externally, with sort.
25752         * sysdeps/**/*.abilist: Convert to new format.
25754 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25756         [BZ #11460]
25757         * io/Makefile (routines): Add fts64.
25758         (tests): Add tst-fts and tst-fts-lfs.
25759         (CFLAGS-fts64.c): New.
25760         * io/Versions (GLIBC_2.23): New.
25761         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25762         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25763         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25764         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25765         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25766         (FTSENT64): Likewise.
25767         (fts64_children): Likewise.
25768         (fts64_close): Likewise.
25769         (fts64_open): Likewise.
25770         (fts64_read): Likewise.
25771         (fts64_set): Likewise.
25772         * io/fts64.c: New file.
25773         * io/tst-fts.c: New test.
25774         * io/tst-fts-lfs.c: Likewise.
25775         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25776         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25777         fts64_set.
25778         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25779         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25780         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25781         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25782         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25783         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25784         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25785         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25786         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25787         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25788         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25789         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25790         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25792         Likewise.
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25794         Likewise.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25797         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25798         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25799         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25800         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25801         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25804         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25805         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25806         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25807         * sysdeps/wordsize-64/fts.c: New file.
25808         * sysdeps/wordsize-64/fts64.c: Likewise.
25809         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25810         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25811         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25812         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25814 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25816         * math/libm-test.inc (NON_FINITE): New macro.
25817         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25818         * math/gen-libm-test.pl (show_exceptions): Add argument
25819         $non_finite.
25820         (parse_args): Update call to show_exceptions.
25821         * math/test-math-finite.h: New file.
25822         * math/test-math-no-finite.h: Likewise.
25823         * math/test-double-finite.c: Likewise.
25824         * math/test-float-finite.c: Likewise.
25825         * math/test-ldouble-finite.c: Likewise.
25826         * math/test-double.c: Include "test-math-no-finite.h".
25827         * math/test-float.c: Include "test-math-no-finite.h".
25828         * math/test-ldouble.c: Include "test-math-no-finite.h".
25829         * math/test-math-inline.h (TEST_FINITE): New macro.
25830         * math/test-math-vector.h (TEST_FINITE): Likewise.
25831         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25832         (libm-tests): Add test-float-finite and test-double-finite.
25833         ($(objpfx)test-float-finite.o): New dependency on
25834         $(objpfx)libm-test.stmp.
25835         ($(objpfx)test-double-finite.o): Likewise.
25836         ($(objpfx)test-ldouble-finite.o): Likewise.
25837         (libm-test-no-inline-cflags): New variable.
25838         (libm-test-finite-cflags): Likewise.
25839         (CFLAGS-test-float-finite.c): Likewise.
25840         (CFLAGS-test-double-finite.c): Likewise.
25841         (CFLAGS-test-ldouble-finite.c): Likewise.
25842         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25843         (CFLAGS-test-double.c): Likewise.
25844         (CFLAGS-test-ldouble.c): Likewise.
25846 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25848         * io/fcntl.c (__fcntl): Add ... to prototype.
25849         * misc/ioctl.c (__ioctl): Likewise.
25850         * misc/syscall.c (syscall): Likewise.
25852 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25854         * scripts/list-fixed-bugs.py: New file.
25856         [BZ #19213]
25857         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25858         returned for argument 1.
25859         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25860         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25861         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25862         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25863         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25864         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25866         [BZ #19211]
25867         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25868         __USE_XOPEN], not if [!__USE_ISOC99].
25869         (lgammaf): Likewise.
25870         (lgammal): Likewise.
25871         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25872         (gammaf): Likewise.
25873         (gammal): Likewise.
25874         * math/test-signgam-finite-c11.c: New file.
25875         * math/test-signgam-finite-c99.c: Likewise.
25876         * math/test-signgam-finite.c: Likewise.
25877         * math/Makefile (tests): Add test-signgam-finite,
25878         test-signgam-finite-c99 and test-signgam-finite-c11.
25879         (CFLAGS-test-signgam-finite.c): New variable.
25880         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25881         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25883         [BZ #19212]
25884         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25885         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25886         500].
25887         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25888         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25889         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25890         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25891         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25892         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25893         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25894         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25895         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25896         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25898         [BZ #19209]
25899         * math/bits/math-finite.h (ldexp): Remove declaration.
25900         (ldexpf): Likewise.
25901         (ldexpl): Likewise.
25903         [BZ #19205]
25904         * math/bits/math-finite.h (acosf): Condition declaration on
25905         [__USE_ISOC99].
25906         (acosl): Likewise.
25907         (acoshf): Likewise.
25908         (acoshl): Likewise.
25909         (asinf): Likewise.
25910         (asinl): Likewise.
25911         (atan2f): Likewise.
25912         (atan2l): Likewise.
25913         (atanhf): Likewise.
25914         (atanhl): Likewise.
25915         (coshf): Likewise.
25916         (coshl): Likewise.
25917         (expf): Likewise.
25918         (expl): Likewise.
25919         (fmodf): Likewise.
25920         (fmodl): Likewise.
25921         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25922         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25923         (j0l): Likewise.
25924         (y0f): Likewise.
25925         (y0l): Likewise.
25926         (j1f): Likewise.
25927         (j1l): Likewise.
25928         (y1f): Likewise.
25929         (y1l): Likewise.
25930         (jnf): Likewise.
25931         (jnl): Likewise.
25932         (ynf): Likewise.
25933         (ynl): Likewise.
25934         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25935         (lgammal_r): Likewise.
25936         (__lgamma_r_finite): New declaration.
25937         (__lgammaf_r_finite): Likewise.
25938         (__lgammal_r_finite): Likewise.
25939         (lgamma): Use __lgamma_r_finite.
25940         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25941         __lgammaf_r_finite.
25942         (lgammal): Condition definition on [__USE_ISOC99].  Use
25943         __lgammal_r_finite.
25944         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25945         __lgamma_r_finite.
25946         (gammaf): Condition definition on [__USE_ISOC99].  Use
25947         __lgammaf_r_finite.
25948         (gammal): Condition definition on [__USE_ISOC99].  Use
25949         __lgammal_r_finite.
25950         (logf): Condition declaration on [__USE_ISOC99].
25951         (logl): Likewise.
25952         (log10f): Likewise.
25953         (log10l): Likewise.
25954         (ldexpf): Likewise.
25955         (ldexpl): Likewise.
25956         (powf): Likewise.
25957         (powl): Likewise.
25958         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25959         __USE_ISOC99].
25960         (remainderf): Condition declaration on [__USE_ISOC99].
25961         (remainderl): Likewise.
25962         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25963         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25964         (scalbl): Likewise.
25965         (sinhf): Condition declaration on [__USE_ISOC99].
25966         (sinhl): Likewise.
25967         (sqrtf): Likewise.
25968         (sqrtl): Likewise.
25970 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25972         * sysdeps/arm/atomic-machine.h
25973         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25974         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25975         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25976         Remove conditional code.
25977         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25978         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25979         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25980         Change conditional to [__ASSEMBLER__].
25981         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25982         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25983         [!__ASSEMBLER__].
25984         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25985         code.
25986         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25987         conditional macro definitions.
25988         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25989         (__arch_compare_and_exchange_val_16_acq): Likewise.
25990         (__arch_compare_and_exchange_val_32_acq): Likewise.
25991         (atomic_exchange_and_add): Likewise.
25992         (atomic_add): Likewise.
25993         (atomic_add_negative): Likewise.
25994         (atomic_add_zero): Likewise.
25995         (atomic_bit_set): Likewise.
25996         (atomic_bit_test_set): Likewise.
25997         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25998         code unconditional.
25999         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26001         * math/test-math-errno.h: New file.
26002         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26003         empty.
26004         (TEST_ERRNO): New macro.
26005         (TEST_EXCEPTIONS): Likewise.
26006         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26007         (TEST_EXCEPTIONS): Likewise.
26008         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26009         * math/test-double.c: Include "test-math-errno.h".
26010         * math/test-float.c: Likewise.
26011         * math/test-ldouble.c: Likewise.
26012         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26013         code unconditional.
26014         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26015         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26016         unconditional.
26017         (test_errno): Only run code if TEST_ERRNO.
26018         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26020 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26022         * nptl/tst-once5.cc: Remove attribution.
26024 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26026         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26027         sqrt, tan, tanh, y0, y1 and yn.
26028         * math/auto-libm-test-out: Regenerated.
26029         * math/libm-test.inc (scalb_test_data): Add more tests.
26030         (scalbn_test_data): Likewise.
26031         (scalbln_test_data): Likewise.
26032         (signbit_test_data): Likewise.
26033         (sin_test_data): Likewise.
26034         (sincos_test_data): Likewise.
26035         (sinh_test_data): Likewise.
26036         (sqrt_test_data): Likewise.
26037         (tan_test_data): Likewise.
26038         (tanh_test_data): Likewise.
26039         (tgamma_test_data): Likewise.
26040         (y0_test_data): Likewise.
26041         (y1_test_data): Likewise.
26042         (yn_test_data): Likewise.
26043         (significand_test_data): Likewise.
26044         * sysdeps/i386/fpu/libm-test-ulps: Update.
26046 2015-11-03  David Kastrup  <dak@gnu.org>
26048         [BZ #18604]
26049         * assert/assert.h (assert): Don't macro-expand failed assertion
26050         expression in error message.
26051         * malloc/malloc.c (assert): Likewise.
26053 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26055         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26056         test.
26057         * configure: Regenerated.
26059 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26061         * math/libm-test.inc (modf_test_data): Add more tests.
26062         (nearbyint_test_data): Likewise.
26063         (nextafter_test_data): Likewise.
26064         (nexttoward_test_data): Likewise.
26065         (pow_test_data): Likewise.
26066         (remainder_test_data): Likewise.
26067         (remquo_test_data): Likewise.
26068         (rint_test_data): Likewise.
26070         [BZ #19201]
26071         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26072         Check for zero remainder in case of large exponents and ensure
26073         correct sign of result in that case.
26074         * math/libm-test.inc (remainder_test_data): Add more tests.
26076         [BZ #6799]
26077         * math/s_nextafter.c: Include <errno.h>.
26078         (__nextafter): Set errno on overflow and underflow.
26079         * math/s_nexttowardf.c: Include <errno.h>.
26080         (__nexttowardf): Set errno on overflow and underflow.
26081         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26082         (__nextafterl): Set errno on overflow and underflow.
26083         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26084         (__nexttoward): Set errno on overflow and underflow.
26085         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26086         (__nexttowardf): Set errno on overflow and underflow.
26087         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26088         (__nextafterf): Set errno on overflow and underflow.
26089         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26090         (__nextafterl): Set errno on overflow and underflow.
26091         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26092         (__nexttoward): Set errno on overflow and underflow.
26093         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26094         (__nexttowardf): Set errno on overflow and underflow.
26095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26096         (__nextafterl): Set errno on overflow and underflow.
26097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26098         (__nexttoward): Set errno on overflow and underflow.
26099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26100         (__nexttowardf): Set errno on overflow and underflow.
26101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26102         (__nexttoward): Set errno on overflow and underflow.
26103         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26104         (__nexttowardf): Set errno on overflow and underflow.
26105         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26106         (__nldbl_nexttowardf): Set errno on overflow and underflow.
26107         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26108         (__nextafterl): Set errno on overflow and underflow.
26109         * math/libm-test.inc (nextafter_test_data): Do not allow errno
26110         setting to be missing on overflow.  Add more tests.
26111         (nexttoward_test_data): Likewise.
26113         * configure.ac (libc_cv_initfini_array): Remove configure test.
26114         * configure: Regenerated.
26116 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
26118         [BZ #19189]
26119         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26120         non-finite argument handle arguments with negative sign.
26122         * math/libm-test.inc (j0_test_data): Do not test sign of zero
26123         result from infinite argument.
26124         (j1_test_data): Likewise.
26125         (jn_test_data): Likewise.
26126         (y0_test_data): Likewise.
26127         (y1_test_data): Likewise.
26128         (yn_test_data): Likewise.
26130         [BZ #16171]
26131         * math/w_remainder.c (drem): Define as weak alias of __remainder.
26132         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26133         * math/w_remainderf.c (dremf): Define as weak alias of
26134         __remainderf.
26135         * math/w_remainderl.c (dreml): Define as weak alias of
26136         __remainderl.
26137         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26138         __remainder.
26139         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26140         __remainderf.
26141         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26142         __remainderl.
26143         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26144         weak alias of remainderl.
26145         * sysdeps/ieee754/ldbl-opt/w_remainder.c
26146         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26147         alias of __remainder.
26148         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26149         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26150         strong alias of __remainderl.
26151         (dreml): Use long_double_symbol.
26152         * math/Makefile (libm-calls): Remove w_drem.
26153         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26154         (CFLAGS-nldbl-drem.c): Remove variable.
26155         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26156         * math/w_drem.c: Remove file.
26157         * math/w_dremf.c: Likewise.
26158         * math/w_dreml.c: Likewise.
26159         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26160         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26161         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26163         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26164         * sysdeps/i386/configure: Regenerated.
26165         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26166         * sysdeps/x86_64/configure: Regenerated.
26168         * configure.ac (libc_cv_asm_protected_directive): Remove configure
26169         test.
26170         (libc_cv_visibility_attribute): Likewise.
26171         (libc_cv_protected_data): Test unconditionally.
26172         (libc_cv_broken_visibility_attribute): Remove configure test.
26173         (libc_cv_have_sdata_section): Test unconditionally.
26174         * configure: Regenerated.
26176         * include/libc-internal.h (libc_max_align_t): Remove typedef.
26177         * include/scratch_buffer.h: Include <stddef.h> instead of
26178         <libc-internal.h>.
26179         (struct scratch_buffer): Use max_align_t instead of
26180         libc_max_align_t.
26182 2015-10-29  Florian Weimer  <fweimer@redhat.com>
26184         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26185         instead of extend_alloca.  Change control flow to avoid a goto.
26186         Remove assert which is trivially always true.
26188 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26190         [BZ #16068]
26191         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26192         (FE_ALL_EXCEPT_X86): New macro.
26193         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26194         FE_ALL_EXCEPT.  Ensure precision control is included in
26195         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26196         handle "denormal operand exception" and clear FZ and DAZ bits.
26197         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26198         (FE_ALL_EXCEPT_X86): New macro.
26199         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26200         FE_ALL_EXCEPT.  Ensure precision control is included in
26201         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26202         handle "denormal operand exception" and clear FZ and DAZ bits.
26203         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26204         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26205         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26206         test-fenv-x87 and test-fenv-sse-2.
26207         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26209         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26210         * math/test-double.h (BUILD_COMPLEX): New macro.
26211         * math/test-float.h (BUILD_COMPLEX): Likewise.
26212         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26214         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26215         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26216         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26218         instead of DBL_DENORM_MIN in comment.
26219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26220         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26221         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26222         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26223         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26224         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26226 2015-10-28  Florian Weimer  <fweimer@redhat.com>
26228         [BZ #19048]
26229         * malloc/malloc.c (struct malloc_state): Update comment.  Add
26230         attached_threads member.
26231         (main_arena): Initialize attached_threads.
26232         * malloc/arena.c (list_lock): Update comment.
26233         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26234         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26235         (deattach_arena): New function.
26236         (_int_new_arena): Initialize arena reference count and deattach
26237         replaced arena.
26238         (get_free_list, reused_arena): Update reference count and deattach
26239         replaced arena.
26240         (arena_thread_freeres): Update arena reference count and only put
26241         unreferenced arenas on the free list.
26243 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26245         [BZ #19181]
26246         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26247         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26248         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26249         * math/test-fenv-clear-main.c: New file.
26250         * math/test-fenv-clear.c: Likewise.
26251         * math/Makefile (tests): Add test-fenv-clear.
26252         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26253         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26254         test-fenv-clear-sse.
26255         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26257         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26258         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26259         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26261 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26263         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26264         static libc.
26266 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26268         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26269         test.
26270         * sysdeps/i386/configure: Regenerated.
26271         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26272         test.
26273         * sysdeps/x86_64/configure: Regenerated.
26274         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26276         memset-avx2 unconditionally instead of conditionally on
26277         [$(config-cflags-avx2) = yes].
26278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26279         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26280         unconditional.
26281         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26282         * sysdeps/x86_64/multiarch/memset_chk.S
26283         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26284         to [IS_IN (libc) && SHARED].
26286 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26288         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26289         configure test.
26290         * sysdeps/arm/configure: Regenerated.
26291         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26292         Define variable if not already defined.
26294         [BZ #17404]
26295         * sysdeps/mips/atomic-machine.h
26296         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26297         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26298         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26300         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26301         unconditional.
26302         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26303         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26304         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26305         unconditional.
26306         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26307         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26308         unconditional.
26309         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26310         * stdlib/setenv.c
26311         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26312         code unconditional.
26313         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26314         Remove conditional code.
26315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26316         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26317         unconditional.
26318         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26319         code.
26320         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26321         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26322         unconditional.
26323         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26324         code.
26325         * sysdeps/ieee754/ldbl-128/k_tanl.c
26326         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26327         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26328         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26329         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26330         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26331         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26332         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26333         unconditional.
26334         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26335         code.
26336         * sysdeps/ieee754/ldbl-96/k_tanl.c
26337         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26338         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26340         * nptl/tst-initializers1-c11.c: New file.
26341         * nptl/tst-initializers1-gnu11.c: Likewise.
26342         * nptl/Makefile (tests): Add these new tests.
26343         (CFLAGS-tst-initializers1-c11.c): New variable.
26344         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26346         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26347         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26348         instead of -std=gnu99.
26349         * configure.ac (systemtap): Test with -std=gnu11 instead of
26350         -std=gnu99.
26351         * configure: Regenerated.
26352         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26353         in compilation command in comment.
26355         * sysdeps/nptl/configure.ac: Remove file.
26356         * sysdeps/nptl/configure: Remove generated file.
26357         * configure.ac (libc_cv_forced_unwind): Do not substitute.
26358         * configure: Regenerated.
26359         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26360         * config.make.in (have-forced-unwind): Remove variable.
26361         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26362         unconditional.
26363         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26364         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26365         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26366         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26367         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26368         unconditional.
26370 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26372         [BZ #19174]
26373         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26374         .skip_lock_out_of_tbegin_retries.
26375         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26376         (__lll_lock_elision): Likewise, and respect a value of
26377         try_tbegin <= 0.
26379 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26381         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26382         statement.
26384 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26386         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26387         variable.
26388         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26389         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26391         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26392         of -std=c1x -D_ISOC11_SOURCE.
26394         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26395         * configure: Regenerated.
26396         * manual/install.texi (Tools for Compilation): Document
26397         requirement for GCC 4.7 or later.
26398         * INSTALL: Regenerated.
26400 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
26402         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
26403         on CNT to a conditional jump to 'puntdata'.
26405 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26407         * configure.ac (libc_cv_gcc___thread): Remove configure test.
26408         (libc_cv_gcc_tls_model_attr): Likewise.
26409         * configure: Regenerated.
26411         * configure.ac (libc_cv_need_minus_P): Remove configure test.
26412         * configure: Regenerated.
26413         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26415 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
26417         * configure.ac (old_glibc_headers): Remove configure test.
26418         * configure: Regenerated.
26419         * config.make.in (old-glibc-headers): Remove variable.
26420         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26421         (install): Remove dependency on remove-old-headers.
26422         (headers2_0): Remove variable.
26423         (remove-old-headers): Remove rule.
26425         * configure.ac (libc_cv_dot_text): Remove configure test.
26426         (libc_cv_asm_set_directive): Use .text instead of
26427         ${libc_cv_dot_text} in configure test.
26428         * configure: Regenerated.
26430 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26432         [BZ #19168]
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26435 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26437         * configure.ac (CXX): Clear the variable if the C++ toolchain does
26438         not support static linking.
26439         * configure: Regenerate.
26441 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
26443         * math/libm-test.inc (check_float_internal): Do not special-case
26444         errors up to 0.5 ulp.
26446         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26447         log2.
26448         * math/auto-libm-test-out: Regenerated.
26449         * math/libm-test.inc (MAX_EXP): New macro.
26450         (ilogb_test_data): Add more tests.
26451         (isfinite_test_data): Likewise.
26452         (isgreater_test_data): Likewise.
26453         (isgreaterequal_test_data): Likewise.
26454         (isinf_test_data): Likewise.
26455         (isless_test_data): Likewise.
26456         (islessequal_test_data): Likewise.
26457         (islessgreater_test_data): Likewise.
26458         (isnan_test_data): Likewise.
26459         (isnormal_test_data): Likewise.
26460         (issignaling_test_data): Likewise.
26461         (isunordered_test_data): Likewise.
26462         (j0_test_data): Likewise.
26463         (j1_test_data): Likewise.
26464         (jn_test_data): Likewise.
26465         (lgamma_test_data): Likewise.
26466         (log_test_data): Likewise.
26467         (log10_test_data): Likewise.
26468         (log1p_test_data): Likewise.
26469         (log2_test_data): Likewise.
26470         (logb_test_data): Likewise.
26471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26473         [BZ #18611]
26474         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26475         avoid excess range and precision on underflow.
26476         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26477         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26478         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26479         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26480         underflow.
26481         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26483         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26485         * math/auto-libm-test-in: Do not allow missing errno setting for
26486         tests of j1 and jn.
26487         * math/auto-libm-test-out: Regenerated.
26489 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
26491         [BZ #15491]
26492         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26493         floating-point environment instead of clearing all exceptions.
26494         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26495         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26496         merging in "invalid" exceptions from frndint.
26497         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26498         * math/test-nearbyint-except.c: New file.
26499         * math/Makefile (tests): Add test-nearbyint-except.
26501 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
26503         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26505         * sysdeps/tile/libm-test-ulps: Regenerated.
26507 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26510         (__NR_sync_file_range2): Assume it is always defined.
26511         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26512         (__NR_sync_file_range): Assume it is always defined.
26514 2015-10-22  Andreas Schwab  <schwab@suse.de>
26516         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26517         INTERNAL_SYSCALL_ERRNO.
26518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26519         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26521         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26522         Likewise.
26523         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26525 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26527         * io/tst-fcntl.c (fd): New static variable.
26528         (do_prepare): Open temporary file here....
26529         (do_test): ...not here.
26531         * io/ftwtest-sh: Also trap on exit to remove temporary files.
26533 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26535         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26536         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26537         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26538         Moved before "#ifdef __ASSEMBLER__".
26540 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26542         [BZ #19156]
26543         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26544         arguments very close to 0.
26546 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
26548         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26549         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26551 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26553         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26554         New.  Defined for GCC 5 and above when not compiling for
26555         profiling.
26556         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26558         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26559         Renamed to ...
26560         (CFLAGS-epoll_pwait.o): This.
26561         (CFLAGS-mmap.c): Renamed to ...
26562         (CFLAGS-mmap.o): This.
26563         (CFLAGS-mmap64.c): Renamed to ...
26564         (CFLAGS-mmap64.o): This.
26565         (CFLAGS-epoll_pwait.os): New.
26566         (CFLAGS-mmap.os): Likewise.
26567         (CFLAGS-mmap64.os): Likewise.
26568         (CFLAGS-semtimedop.os): Likewise.
26569         (CFLAGS-semtimedop.c): Renamed to ...
26570         (CFLAGS-semtimedop.o): This.
26572 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26574         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26575         warning message.
26577 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26579         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26580         * Makefile ($(objpfx)c++-types-check.out): Filter out
26581         $(+gccwarn-c) instead of -Wstrict-prototypes.
26583         * io/fts.c (fts_open): Convert to prototype-style function
26584         definition.
26585         * malloc/mcheck.c (mcheck): Likewise.
26586         (mcheck_pedantic): Likewise.
26587         * posix/regexec.c (re_search_2_stub): Likewise.  Use
26588         internal_function.
26589         (re_search_internal): Likewise.
26590         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26591         prototype-style function definition.
26592         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26593         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26594         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26595         (xdr_utmpptr): Likewise.
26596         (xdr_utmparr): Likewise.
26597         (xdr_utmpidle): Likewise.
26598         (xdr_utmpidleptr): Likewise.
26599         (xdr_utmpidlearr): Likewise.
26601         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26602         log, log10 and log2.
26603         * math/auto-libm-test-out: Regenerated.
26604         * math/libm-test.inc (fmod_test_data): Add more tests.
26605         (fpclassify_test_data): Likewise.
26606         (frexp_test_data): Likewise.
26607         (hypot_test_data): Likewise.
26608         (ilogb_test_data): Likewise.
26610 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
26612         * debug/fortify_fail.c (__fortify_fail): Convert to
26613         prototype-style function definition.  Use internal_function.
26614         * libio/genops.c (save_for_backup): Convert to prototype-style
26615         function definition.
26616         * libio/wgenops.c (save_for_wbackup): Likewise.
26617         * login/grantpt.c (grantpt): Likewise.
26618         * login/ptsname.c (ptsname): Likewise.
26619         (__ptsname_r): Likewise.
26620         * login/unlockpt.c (unlockpt): Likewise.
26621         * mach/msgserver.c (__mach_msg_server): Likewise.
26622         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26623         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26624         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26625         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26626         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26627         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26628         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26629         Likewise.
26630         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
26631         internal_function.
26632         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26633         prototype-style function definition.
26634         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26635         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26636         (__pthread_create_2_0): Likewise.
26637         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26638         * nptl/register-atfork.c (__register_atfork): Likewise.
26639         * posix/glob.c (glob): Likewise.
26640         * posix/regcomp.c (re_comp): Likewise.
26641         * posix/regexec.c (re_exec): Likewise.
26642         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26643         [!__STDC__]: Remove conditional code.
26644         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26645         [!__STDC__]: Remove conditional code.
26646         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26647         [!__STDC__]: Remove conditional code.
26648         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26649         [!__STDC__]: Remove conditional code.
26650         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26651         [!__STDC__]: Remove conditional code.
26652         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26653         [!__STDC__]: Remove conditional code.
26654         * stdlib/mul.c [__STDC__]: Make code unconditional.
26655         [!__STDC__]: Remove conditional code.
26656         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26657         [!__STDC__]: Remove conditional code.
26658         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26659         [!__STDC__]: Remove conditional code.
26660         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26661         function definition.
26662         (STRTOF): Likewise.
26663         * stdlib/strtod_l.c (__STRTOF): Likewise.
26664         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26665         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26666         (__strtol_l): Likewise.
26667         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26668         [!__STDC__]: Remove conditional code.
26669         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26670         definition.
26671         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26672         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26673         type.
26674         (__strcasecmp): Convert to prototype-style function definition.
26675         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26676         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26677         type.
26678         (__strncasecmp): Convert to prototype-style function definition.
26679         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26680         * sunrpc/xdr.c (xdr_union): Likewise.
26681         * sunrpc/xdr_array.c (xdr_array): Likewise.
26682         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26683         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26684         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26685         Likewise.
26686         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26687         Likewise.
26688         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26689         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26690         Likewise.
26691         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26692         (LOCALE_PARAM_PROTO): Likewise.
26693         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26694         argument type.
26695         (ut_argument_spec): Remove macro.
26696         (ut_argument_spec_iso): Rename to ut_argument_spec.
26697         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26698         prototype-style function definition.
26699         (memcpy_uppcase): Likewise.
26700         (__strftime_internal): Likewise.
26701         (my_strftime): Likewise.
26702         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26703         (LOCALE_PARAM_DECL): Likewise.
26704         [_LIBC] (LOCALE_PARAM): Include argument type.
26705         (__strptime_internal): Convert to prototype-style function
26706         definition.
26707         (strptime): Likewise.
26708         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26709         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26710         type.
26711         (__wcscasecmp): Convert to prototype-style function definition.
26712         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26713         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26714         type.
26715         (__wcsncasecmp): Convert to prototype-style function definition.
26717         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26718         function definition.
26719         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26720         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26721         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26722         * elf/dl-minimal.c (_itoa): Likewise.
26723         * hurd/hurdmalloc.c (malloc): Likewise.
26724         (free): Likewise.
26725         (realloc): Likewise.
26726         * inet/inet6_option.c (inet6_option_space): Likewise.
26727         (inet6_option_init): Likewise.
26728         (inet6_option_append): Likewise.
26729         (inet6_option_alloc): Likewise.
26730         (inet6_option_next): Likewise.
26731         (inet6_option_find): Likewise.
26732         * io/ftw.c (FTW_NAME): Likewise.
26733         (NFTW_NAME): Likewise.
26734         (NFTW_NEW_NAME): Likewise.
26735         (NFTW_OLD_NAME): Likewise.
26736         * libio/iofwide.c (_IO_fwide): Likewise.
26737         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26738         (_IO_str_init_static): Likewise.
26739         (_IO_str_init_readonly): Likewise.
26740         (_IO_str_overflow): Likewise.
26741         (_IO_str_underflow): Likewise.
26742         (_IO_str_count): Likewise.
26743         (_IO_str_seekoff): Likewise.
26744         (_IO_str_pbackfail): Likewise.
26745         (_IO_str_finish): Likewise.
26746         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26747         (_IO_wstr_overflow): Likewise.
26748         (_IO_wstr_underflow): Likewise.
26749         (_IO_wstr_count): Likewise.
26750         (_IO_wstr_seekoff): Likewise.
26751         (_IO_wstr_pbackfail): Likewise.
26752         (_IO_wstr_finish): Likewise.
26753         * locale/programs/localedef.c (normalize_codeset): Likewise.
26754         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26755         (add_locales_to_archive): Likewise.
26756         (delete_locales_from_archive): Likewise.
26757         * malloc/malloc.c (__libc_mallinfo): Likewise.
26758         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26759         * misc/tsearch.c (__tfind): Likewise.
26760         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26761         * nptl/pthread_attr_getdetachstate.c
26762         (__pthread_attr_getdetachstate): Likewise.
26763         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26764         Likewise.
26765         * nptl/pthread_attr_getinheritsched.c
26766         (__pthread_attr_getinheritsched): Likewise.
26767         * nptl/pthread_attr_getschedparam.c
26768         (__pthread_attr_getschedparam): Likewise.
26769         * nptl/pthread_attr_getschedpolicy.c
26770         (__pthread_attr_getschedpolicy): Likewise.
26771         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26772         Likewise.
26773         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26774         Likewise.
26775         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26776         Likewise.
26777         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26778         Likewise.
26779         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26780         (__pthread_attr_init_2_0): Likewise.
26781         * nptl/pthread_attr_setdetachstate.c
26782         (__pthread_attr_setdetachstate): Likewise.
26783         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26784         Likewise.
26785         * nptl/pthread_attr_setinheritsched.c
26786         (__pthread_attr_setinheritsched): Likewise.
26787         * nptl/pthread_attr_setschedparam.c
26788         (__pthread_attr_setschedparam): Likewise.
26789         * nptl/pthread_attr_setschedpolicy.c
26790         (__pthread_attr_setschedpolicy): Likewise.
26791         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26792         Likewise.
26793         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26794         Likewise.
26795         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26796         Likewise.
26797         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26798         Likewise.
26799         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26800         Likewise.
26801         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26802         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26803         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26804         use internal_function.
26805         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26806         prototype-style function definition.
26807         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26808         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26809         internal_function.
26810         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26811         Convert to prototype-style function definition.
26812         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26813         Likewise.
26814         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26815         Likewise.
26816         (__pthread_mutex_unlock): Likewise.
26817         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26818         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26819         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26820         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26821         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26822         * nss/makedb.c (process_input): Likewise.
26823         * posix/fnmatch.c (__strchrnul): Likewise.
26824         (__wcschrnul): Likewise.
26825         (fnmatch): Likewise.
26826         * posix/fnmatch_loop.c (FCT): Likewise.
26827         * posix/glob.c (globfree): Likewise.
26828         (__glob_pattern_type): Likewise.
26829         (__glob_pattern_p): Likewise.
26830         * posix/regcomp.c (re_compile_pattern): Likewise.
26831         (re_set_syntax): Likewise.
26832         (re_compile_fastmap): Likewise.
26833         (regcomp): Likewise.
26834         (regerror): Likewise.
26835         (regfree): Likewise.
26836         * posix/regexec.c (regexec): Likewise.
26837         (re_match): Likewise.
26838         (re_search): Likewise.
26839         (re_match_2): Likewise.
26840         (re_search_2): Likewise.
26841         (re_search_stub): Likewise.  Use internal_function
26842         (re_copy_regs): Likewise.
26843         (re_set_registers): Convert to prototype-style function
26844         definition.
26845         (prune_impossible_nodes): Likewise.  Use internal_function.
26846         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26847         prototype-style function definition.
26848         (inet_net_pton_ipv4): Likewise.
26849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26850         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26851         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26852         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26853         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26854         Make variadic.
26855         * time/strptime_l.c (localtime_r): Convert to prototype-style
26856         function definition.
26857         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26858         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26859         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26860         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26862         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26863         definition.
26864         (_ufc_doit_r): Likewise.
26865         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26866         (_ufc_output_conversion_r): Likewise.
26867         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26868         * inet/rcmd.c (rcmd_af): Likewise.
26869         (rcmd): Likewise.
26870         (ruserok_af): Likewise.
26871         (ruserok): Likewise.
26872         (ruserok2_sa): Likewise.
26873         (ruserok_sa): Likewise.
26874         (iruserok_af): Likewise.
26875         (iruserok): Likewise.
26876         (__ivaliduser): Likewise.
26877         (__validuser2_sa): Likewise.
26878         * inet/rexec.c (rexec_af): Likewise.
26879         (rexec): Likewise.
26880         * inet/ruserpass.c (ruserpass): Likewise.
26881         * locale/programs/xmalloc.c (xcalloc): Likewise.
26882         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26883         * math/w_drem.c (__drem): Likewise.
26884         * math/w_dremf.c (__dremf): Likewise.
26885         * math/w_dreml.c (__dreml): Likewise.
26886         * misc/daemon.c (daemon): Likewise.
26887         * resolv/res_debug.c (p_fqnname): Likewise.
26888         * stdlib/div.c (div): Likewise.
26889         * string/memcmp.c (memcmp_bytes): Likewise.
26890         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26891         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26893         * crypt/cert.c (main): Convert to prototype-style function
26894         definition.
26895         * io/pipe.c (__pipe): Likewise.
26896         * io/pipe2.c (__pipe2): Likewise.
26897         * misc/futimesat.c (futimesat): Likewise.
26898         * misc/utimes.c (__utimes): Likewise.
26899         * posix/execve.c (__execve): Likewise.
26900         * posix/execvp.c (execvp): Likewise.
26901         * posix/execvpe.c (__execvpe): Likewise.
26902         * posix/fexecve.c (fexecve): Likewise.
26903         * socket/socketpair.c (socketpair): Likewise.
26904         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26905         * stdlib/erand48.c (erand48): Likewise.
26906         * stdlib/erand48_r.c (__erand48_r): Likewise.
26907         * stdlib/jrand48.c (jrand48): Likewise.
26908         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26909         * stdlib/lcong48.c (lcong48): Likewise.
26910         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26911         * stdlib/nrand48.c (nrand48): Likewise.
26912         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26913         * stdlib/seed48.c (seed48): Likewise.
26914         * stdlib/seed48_r.c (__seed48_r): Likewise.
26915         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26916         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26917         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26919 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26921         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26922         * configure: Regenerated.
26923         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26924         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26925         unconditional.
26926         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26927         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26928         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26929         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26930         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26931         unconditional.
26932         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26934         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26935         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26937         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26938         function definition.
26939         * crypt/crypt_util.c (__encrypt_r): Likewise.
26940         * libio/genops.c (_IO_no_init): Likewise.
26941         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26942         (_IO_old_fopencookie): Likewise.
26943         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26944         * libio/iogetline.c (_IO_getline): Likewise.
26945         (_IO_getline_info): Likewise.
26946         * libio/iogetwline.c (_IO_getwline): Likewise.
26947         (_IO_getwline_info): Likewise.
26948         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26949         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26950         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26951         (find_entry): Likewise.
26952         (iterate_table): Likewise.
26953         (lookup): Likewise.
26954         * login/forkpty.c (forkpty): Likewise.
26955         * misc/hsearch_r.c (__hsearch_r): Likewise.
26956         * misc/select.c (__select): Likewise.
26957         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26958         Likewise.
26959         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26960         Likewise.
26961         * nptl/old_pthread_cond_timedwait.c
26962         (__pthread_cond_timedwait_2_0): Likewise.
26963         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26964         * nptl/pthread_barrierattr_getpshared.c
26965         (pthread_barrierattr_getpshared): Likewise.
26966         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26967         Likewise.
26968         * nptl/pthread_mutex_setprioceiling.c
26969         (pthread_mutex_setprioceiling): Likewise.
26970         * nptl/pthread_mutexattr_getprioceiling.c
26971         (pthread_mutexattr_getprioceiling): Likewise.
26972         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26973         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26974         Likewise.
26975         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26976         Likewise.
26977         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26978         Likewise.
26979         * socket/recvfrom.c (__recvfrom): Likewise.
26980         * socket/sendto.c (__sendto): Likewise.
26981         * socket/setsockopt.c (__setsockopt): Likewise.
26982         * stdio-common/_itoa.c (_itoa): Likewise.
26983         * stdio-common/_itowa.c (_itowa): Likewise.
26984         * stdio-common/reg-printf.c (__register_printf_specifier):
26985         Likewise.
26986         (__register_printf_function): Likewise.
26987         * stdio-common/tempname.c (__path_search): Likewise.
26988         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26989         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26990         * stdlib/random_r.c (__initstate_r): Likewise.
26991         * stdlib/setenv.c (__add_to_environ): Likewise.
26992         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26993         * streams/getpmsg.c (getpmsg): Likewise.
26994         * streams/putmsg.c (putmsg): Likewise.
26995         * streams/putpmsg.c (putpmsg): Likewise.
26996         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26997         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26998         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26999         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27000         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27001         * sunrpc/svc_udp.c (cache_get): Likewise.
27002         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27003         * sysdeps/mach/hurd/getcwd.c
27004         (__canonicalize_directory_name_internal): Likewise.
27005         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27006         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27007         * sysdeps/mach/hurd/select.c (__select): Likewise.
27008         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27009         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27010         * sysdeps/sparc/nptl/pthread_barrier_init.c
27011         (__pthread_barrier_init): Likewise.
27012         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27013         (__pthread_cond_timedwait): Likewise.
27014         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27015         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27016         Likewise.
27017         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27018         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27019         Likewise.
27020         * sysvipc/semtimedop.c (semtimedop): Likewise.
27021         * time/setitimer.c (__setitimer): Likewise.
27022         * time/strftime_l.c (emacs_strftime): Likewise.
27024 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27026         * config.make.in (have-ssp): Delete.
27027         (stack-protector): New variable.
27028         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27029         cache test for -fstack-protector-strong.  Export stack_protector to
27030         the best ssp flag.
27031         * configure: Regenerated.
27032         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27033         * nscd/Makefile (CFLAGS-nscd): Likewise.
27034         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27036 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27038         [BZ #19122]
27039         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27040         attribute_hidden.
27042 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27044         [BZ #18743]
27045         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27046         code to...
27047         (ELIDE_LOCK): ...here.
27048         (__get_new_count): New function with part of the code from
27049         __elide_lock that updates the value of adapt_count after a
27050         transaction abort.
27051         (__elided_trylock): Moved this code to...
27052         (ELIDE_TRYLOCK): ...here.
27054 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27056         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27057         * configure: Regenerate.
27058         * INSTALL: Regenerate.
27059         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27060         and tweak grammar.
27062 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27064         * login/programs/pt_chown.c: Include signal.h
27065         (main): Clear any signal mask from the parent process.
27067 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27069         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27070         * configure: Regenerated.
27071         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27072         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27073         $(gnu89-inline-CFLAGS).
27075         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27076         test.
27077         (libc_cv_asm_weakext_directive): Likewise.
27078         * configure: Regenerated.
27079         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27080         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27081         * include/libc-symbols.h
27082         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27083         #error.
27084         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27085         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27087         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27088         prototype-style function definition.
27089         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27090         * sysdeps/i386/ffs.c (__ffs): Likewise.
27091         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27092         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27093         Likewise.
27094         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27095         Likewise.
27096         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27098         Likewise.
27099         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27100         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27101         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27102         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27103         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27104         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27105         * sysdeps/mach/hurd/access.c (__access): Likewise.
27106         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27107         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27108         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27109         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27110         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27111         (cthread_getspecific): Likewise.
27112         (cthread_setspecific): Likewise.
27113         (__libc_getspecific): Likewise.
27114         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27115         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27116         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27117         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27118         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27119         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27120         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27121         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27122         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27123         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27124         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27125         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27126         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27127         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27128         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27129         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27130         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27131         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27132         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27133         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27134         * sysdeps/mach/hurd/link.c (__link): Likewise.
27135         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27136         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27137         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27138         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27139         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27140         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27141         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27142         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27143         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27144         * sysdeps/mach/hurd/rename.c (rename): Likewise.
27145         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27146         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27147         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27148         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27149         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27150         * sysdeps/mach/hurd/send.c (__send): Likewise.
27151         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27152         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27153         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27154         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27155         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27156         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27157         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27158         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27159         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27160         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27161         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27162         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27163         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27164         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27165         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27166         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27167         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27168         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27169         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27170         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27171         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27172         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27173         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27174         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27175         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27176         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27177         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27178         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27179         * sysdeps/posix/alarm.c (alarm): Likewise.
27180         * sysdeps/posix/cuserid.c (cuserid): Likewise.
27181         * sysdeps/posix/dirfd.c (dirfd): Likewise.
27182         * sysdeps/posix/dup.c (__dup): Likewise.
27183         * sysdeps/posix/dup2.c (__dup2): Likewise.
27184         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27185         (main): Likewise.
27186         * sysdeps/posix/flock.c (__flock): Likewise.
27187         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27188         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27189         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27190         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27191         * sysdeps/posix/isatty.c (__isatty): Likewise.
27192         * sysdeps/posix/killpg.c (killpg): Likewise.
27193         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27194         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27195         * sysdeps/posix/raise.c (raise): Likewise.
27196         * sysdeps/posix/remove.c (remove): Likewise.
27197         * sysdeps/posix/rename.c (rename): Likewise.
27198         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27199         * sysdeps/posix/seekdir.c (seekdir): Likewise.
27200         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27201         * sysdeps/posix/sigignore.c (sigignore): Likewise.
27202         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27203         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27204         * sysdeps/posix/sigset.c (sigset): Likewise.
27205         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27206         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27207         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27208         * sysdeps/posix/time.c (time): Likewise.
27209         * sysdeps/posix/ttyname.c (getttyname): Likewise.
27210         (ttyname): Likewise.
27211         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27212         * sysdeps/posix/utime.c (utime): Likewise.
27213         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27214         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27215         Likewise.
27216         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27217         (pthread_spin_trylock): Likewise.
27218         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27219         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27220         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27221         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27222         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27223         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27224         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27225         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27226         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27227         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27228         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27229         * sysdeps/s390/ffs.c (__ffs): Likewise.
27230         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27231         Likewise.
27232         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27233         Likewise.
27234         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27235         Likewise.
27236         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27237         (pthread_barrier_destroy): Likewise.
27238         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27239         (__pthread_barrier_wait): Likewise.
27240         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27241         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27242         (__pthread_barrier_wait): Likewise.
27243         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27244         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27245         (memcmp_not_common_alignment): Likewise.
27246         (MEMCMP): Likewise.
27247         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27248         (_wordcopy_fwd_dest_aligned): Likewise.
27249         (_wordcopy_bwd_aligned): Likewise.
27250         (_wordcopy_bwd_dest_aligned): Likewise.
27251         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27252         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27253         * sysdeps/unix/bsd/stty.c (stty): Likewise.
27254         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27255         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27256         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27257         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27258         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27259         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27260         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27261         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27262         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27263         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27264         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27265         * sysdeps/unix/stime.c (stime): Likewise.
27266         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27267         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27268         Likewise.  Use internal_function.
27269         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27270         Convert to prototype-style function definition.
27271         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27272         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27273         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27274         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27275         Likewise.  Use internal_function.
27276         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27277         prototype-style function definition
27278         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27279         Likewise.
27280         (__getlogin_r): Likewise.
27281         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27283         (__pthread_cond_broadcast): Likewise.
27284         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27285         (__pthread_cond_destroy): Likewise.
27286         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27287         (__pthread_cond_init): Likewise.
27288         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27289         (__pthread_cond_signal): Likewise.
27290         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27291         (__pthread_cond_wait): Likewise.
27292         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27293         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27294         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27295         Likewise.
27296         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27297         Likewise.
27298         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27299         Likewise.
27300         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27301         Likewise.
27302         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27304         (__ftruncate64): Likewise.
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27306         (truncate64): Likewise.
27307         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27308         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27309         (pthread_getcpuclockid): Likewise.
27310         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27311         Likewise.
27312         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27313         Likewise.
27314         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27315         Likewise.
27316         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27317         Likewise.
27318         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27319         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27320         (__libc_sigaction): Likewise.
27321         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27322         Likewise.
27323         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27324         (__sigprocmask): Likewise.
27325         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27326         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27327         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27328         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27329         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27330         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27331         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27332         Likewise.
27333         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27334         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27335         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27336         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27337         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27338         Likewise.
27339         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27340         (__sigprocmask): Likewise.
27341         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27342         (cfgetispeed): Likewise.
27343         (cfsetospeed): Likewise.
27344         (cfsetispeed): Likewise.
27345         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27346         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27347         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27348         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27349         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27350         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27351         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27352         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27353         Likewise.
27354         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27355         Likewise.
27356         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27357         Likewise.
27358         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27359         Likewise.
27360         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27362 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27364         sunrpc: Rewrite with explicit TLS access using __thread.
27365         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27366         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27367         directly.
27368         (__rpc_thread_variables): Access thread_rpc_vars directly.
27369         Eliminate redundant assignment of the tvp variable.
27371 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27373         malloc: Rewrite with explicit TLS access using __thread.
27374         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27375         (tsd_setspecific, tsd_getspecific): Remove.
27376         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27377         (tsd_setspecific, tsd_getspecific): Likewise.
27378         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27379         (tsd_setspecific, tsd_getspecific): Likewise.
27380         * malloc/arena.c (thread_arena): New TLS variable.
27381         (arena_key): Remove variable.
27382         (arena_get): Use thread_arena.
27383         (arena_lookup): Remove macro.
27384         (malloc_atfork, free_atfork, ptmalloc_lock_all)
27385         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27386         (_int_new_arena, get_free_list, reused_arena)
27387         (arena_thread_freeres): Use thread_arena.
27388         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27389         tsd_getspecific, tsd_setspecific from safety annotations.
27390         (Allocating Cleared Space): Remove arena_lookup from safety
27391         annotations.
27393 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27395         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27396         struct scratch_buffer instead of extend_alloca.
27398 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27400         * sysdeps/unix/sysv/linux/kernel-features.h
27401         (__ASSUME_SOCK_CLOEXEC): Remove.
27402         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
27403         (__have_paccept): Remove unused macro.
27404         * include/unistd.h (__have_sock_cloexec): Remove declaration.
27405         * misc/syslog.c (openlog_internal): Remove fallback code for
27406         !__ASSUME_SOCK_CLOEXEC.
27407         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
27408         missing SOCK_CLOEXEC.
27409         * nscd/connections.c (have_sock_cloexec): Remove definition.
27410         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27411         * nscd/nscd_helper.c (open_socket): Remove fallback code for
27412         !__ASSUME_SOCK_CLOEXEC.
27413         * resolv/res_send.c (__have_o_nonblock): Remove definition.
27414         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27415         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27416         definition.
27417         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27418         code for !__ASSUME_SOCK_CLOEXEC.
27420 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27422         [BZ #18982]
27423         * manual/stdio.texi (Variable Arguments Output): Add portability
27424         note, explaining that vfprintf clobbers the va_list pointer.
27426 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27428         * math/libm-test.inc (fabs_test_data): Add more tests.
27429         (fdim_test_data): Likewise.
27430         (fma_test_data): Likewise.
27431         (fmax_test_data): Likewise.
27432         (fmin_test_data): Likewise.
27433         (fmod_test_data): Likewise.
27435 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
27437         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
27438         data.
27440 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27442         * math/libm-test.inc (ceil_test_data): Add more tests and more
27443         expectations for "inexact".
27444         (floor_test_data): Add more tests.
27445         (round_test_data): Likewise.
27446         (trunc_test_data): Likewise.
27448         * crypt/cert.c (good_bye): Convert to prototype-style function
27449         definition.
27450         (get8): Likewise.
27451         (put8): Likewise.
27452         * crypt/crypt-entry.c (crypt): Likewise.
27453         (__fcrypt): Likewise.
27454         * crypt/crypt_util.c (_ufc_prbits): Likewise.
27455         (_ufc_set_bits): Likewise.
27456         (_ufc_clearmem): Likewise.
27457         (__init_des_r): Likewise.
27458         (shuffle_sb): Likewise.
27459         (shuffle_sb): Likewise.
27460         (_ufc_setup_salt_r): Likewise.
27461         (_ufc_mk_keytab_r): Likewise.
27462         (_ufc_dofinalperm_r): Likewise.
27463         (encrypt): Likewise.
27464         (__setkey_r): Likewise.
27465         (setkey): Likewise.
27466         * crypt/md5.c (md5_init_ctx): Likewise.
27467         (md5_read_ctx): Likewise.
27468         (md5_finish_ctx): Likewise.
27469         (md5_stream): Likewise.
27470         (md5_buffer): Likewise.
27471         (md5_process_bytes): Likewise.
27472         * crypt/sha256.c (__sha256_init_ctx): Likewise.
27473         (__sha256_finish_ctx): Likewise.
27474         (__sha256_process_bytes): Likewise.
27475         * crypt/sha512.c (__sha512_init_ctx): Likewise.
27476         (__sha512_finish_ctx): Likewise.
27477         (__sha512_process_bytes): Likewise.
27478         * ctype/isctype.c (__isctype): Likewise.
27479         * debug/backtrace.c (__backtrace): Likewise.
27480         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27481         * debug/fgets_chk.c (__fgets_chk): Likewise.
27482         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27483         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27484         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27485         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27486         * debug/memset_chk.c (__memset_chk): Likewise.
27487         * debug/strcat_chk.c (__strcat_chk): Likewise.
27488         * debug/strncat_chk.c (__strncat_chk): Likewise.
27489         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27490         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27491         * dirent/dirfd.c (dirfd): Likewise.
27492         * dirent/getdents.c (__getdirentries): Likewise.
27493         * dirent/getdents64.c (getdirentries64): Likewise.
27494         * dirent/rewinddir.c (__rewinddir): Likewise.
27495         * dirent/seekdir.c (seekdir): Likewise.
27496         * dirent/telldir.c (telldir): Likewise.
27497         * elf/sln.c (makesymlinks): Likewise.
27498         (makesymlink): Likewise.
27499         * gmon/gmon.c (__moncontrol): Likewise.
27500         (__monstartup): Likewise.
27501         (write_hist): Likewise.
27502         (write_call_graph): Likewise.
27503         (write_bb_counts): Likewise.
27504         * grp/setgroups.c (setgroups): Likewise.
27505         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27506         * inet/inet_net.c (inet_network): Likewise.
27507         * inet/inet_netof.c (inet_netof): Likewise.
27508         * inet/rcmd.c (rresvport_af): Likewise.
27509         (rresvport): Likewise.
27510         * io/access.c (__access): Likewise.
27511         * io/chdir.c (__chdir): Likewise.
27512         * io/chmod.c (__chmod): Likewise.
27513         * io/chown.c (__chown): Likewise.
27514         * io/close.c (__close): Likewise.
27515         * io/creat.c (creat): Likewise.
27516         * io/creat64.c (creat64): Likewise.
27517         * io/dup.c (__dup): Likewise.
27518         * io/dup2.c (__dup2): Likewise.
27519         * io/dup3.c (__dup3): Likewise.
27520         * io/euidaccess.c (__euidaccess): Likewise.
27521         * io/faccessat.c (faccessat): Likewise.
27522         * io/fchmod.c (__fchmod): Likewise.
27523         * io/fchmodat.c (fchmodat): Likewise.
27524         * io/fchown.c (__fchown): Likewise.
27525         * io/fchownat.c (fchownat): Likewise.
27526         * io/fcntl.c (__fcntl): Likewise.
27527         * io/flock.c (__flock): Likewise.
27528         * io/fts.c (fts_load): Likewise.
27529         (fts_close): Likewise.
27530         (fts_read): Likewise.
27531         (fts_set): Likewise.
27532         (fts_children): Likewise.
27533         (fts_build): Likewise.
27534         (fts_stat): Likewise.
27535         (fts_sort): Likewise.
27536         (fts_alloc): Likewise.
27537         (fts_lfree): Likewise.
27538         (fts_palloc): Likewise.
27539         (fts_padjust): Likewise.
27540         (fts_maxarglen): Likewise.
27541         (fts_safe_changedir): Likewise.
27542         * io/getwd.c (getwd): Likewise.
27543         * io/isatty.c (__isatty): Likewise.
27544         * io/lchown.c (__lchown): Likewise.
27545         * io/link.c (__link): Likewise.
27546         * io/linkat.c (linkat): Likewise.
27547         * io/lseek.c (__libc_lseek): Likewise.
27548         * io/mkdir.c (__mkdir): Likewise.
27549         * io/mkdirat.c (mkdirat): Likewise.
27550         * io/mkfifo.c (mkfifo): Likewise.
27551         * io/mkfifoat.c (mkfifoat): Likewise.
27552         * io/open.c (__libc_open): Likewise.
27553         * io/open64.c (__libc_open64): Likewise.
27554         * io/readlink.c (__readlink): Likewise.
27555         * io/readlinkat.c (readlinkat): Likewise.
27556         * io/rmdir.c (__rmdir): Likewise.
27557         * io/symlink.c (__symlink): Likewise.
27558         * io/symlinkat.c (symlinkat): Likewise.
27559         * io/ttyname.c (ttyname): Likewise.
27560         * io/ttyname_r.c (__ttyname_r): Likewise.
27561         * io/umask.c (__umask): Likewise.
27562         * io/unlink.c (__unlink): Likewise.
27563         * io/unlinkat.c (unlinkat): Likewise.
27564         * io/utime.c (utime): Likewise.
27565         * libio/clearerr.c (clearerr): Likewise.
27566         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27567         * libio/feof.c (_IO_feof): Likewise.
27568         * libio/feof_u.c (feof_unlocked): Likewise.
27569         * libio/ferror.c (_IO_ferror): Likewise.
27570         * libio/ferror_u.c (ferror_unlocked): Likewise.
27571         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27572         * libio/fileno.c (__fileno): Likewise.
27573         * libio/fputc.c (fputc): Likewise.
27574         * libio/fputc_u.c (fputc_unlocked): Likewise.
27575         * libio/fputwc.c (fputwc): Likewise.
27576         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27577         * libio/freopen.c (freopen): Likewise.
27578         * libio/freopen64.c (freopen64): Likewise.
27579         * libio/fseek.c (fseek): Likewise.
27580         * libio/fseeko.c (fseeko): Likewise.
27581         * libio/fseeko64.c (fseeko64): Likewise.
27582         * libio/ftello.c (__ftello): Likewise.
27583         * libio/ftello64.c (ftello64): Likewise.
27584         * libio/fwide.c (fwide): Likewise.
27585         * libio/genops.c (_IO_un_link): Likewise.
27586         (_IO_link_in): Likewise.
27587         (_IO_least_marker): Likewise.
27588         (_IO_switch_to_main_get_area): Likewise.
27589         (_IO_switch_to_backup_area): Likewise.
27590         (_IO_switch_to_get_mode): Likewise.
27591         (_IO_free_backup_area): Likewise.
27592         (_IO_switch_to_put_mode): Likewise.
27593         (__overflow): Likewise.
27594         (__underflow): Likewise.
27595         (__uflow): Likewise.
27596         (_IO_setb): Likewise.
27597         (_IO_doallocbuf): Likewise.
27598         (_IO_default_underflow): Likewise.
27599         (_IO_default_uflow): Likewise.
27600         (_IO_default_xsputn): Likewise.
27601         (_IO_sgetn): Likewise.
27602         (_IO_default_xsgetn): Likewise.
27603         (_IO_sync): Likewise.
27604         (_IO_default_setbuf): Likewise.
27605         (_IO_default_seekpos): Likewise.
27606         (_IO_default_doallocate): Likewise.
27607         (_IO_init): Likewise.
27608         (_IO_old_init): Likewise.
27609         (_IO_default_sync): Likewise.
27610         (_IO_default_finish): Likewise.
27611         (_IO_default_seekoff): Likewise.
27612         (_IO_sputbackc): Likewise.
27613         (_IO_sungetc): Likewise.
27614         (_IO_set_column): Likewise.
27615         (_IO_set_column): Likewise.
27616         (_IO_adjust_column): Likewise.
27617         (_IO_get_column): Likewise.
27618         (_IO_init_marker): Likewise.
27619         (_IO_remove_marker): Likewise.
27620         (_IO_marker_difference): Likewise.
27621         (_IO_marker_delta): Likewise.
27622         (_IO_seekmark): Likewise.
27623         (_IO_unsave_markers): Likewise.
27624         (_IO_nobackup_pbackfail): Likewise.
27625         (_IO_default_pbackfail): Likewise.
27626         (_IO_default_seek): Likewise.
27627         (_IO_default_stat): Likewise.
27628         (_IO_default_read): Likewise.
27629         (_IO_default_write): Likewise.
27630         (_IO_default_showmanyc): Likewise.
27631         (_IO_default_imbue): Likewise.
27632         (_IO_iter_next): Likewise.
27633         (_IO_iter_file): Likewise.
27634         * libio/getc.c (_IO_getc): Likewise.
27635         * libio/getwc.c (_IO_getwc): Likewise.
27636         * libio/iofclose.c (_IO_new_fclose): Likewise.
27637         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27638         * libio/iofflush.c (_IO_fflush): Likewise.
27639         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27640         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27641         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27642         * libio/iofgets.c (_IO_fgets): Likewise.
27643         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27644         * libio/iofgetws.c (fgetws): Likewise.
27645         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27646         * libio/iofopen64.c (_IO_fopen64): Likewise.
27647         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27648         (_IO_cookie_write): Likewise.
27649         (_IO_cookie_seek): Likewise.
27650         (_IO_cookie_close): Likewise.
27651         (_IO_cookie_seekoff): Likewise.
27652         (_IO_old_cookie_seek): Likewise.
27653         * libio/iofputs.c (_IO_fputs): Likewise.
27654         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27655         * libio/iofputws.c (fputws): Likewise.
27656         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27657         * libio/iofread.c (_IO_fread): Likewise.
27658         * libio/iofread_u.c (__fread_unlocked): Likewise.
27659         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27660         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27661         * libio/ioftell.c (_IO_ftell): Likewise.
27662         * libio/iofwrite.c (_IO_fwrite): Likewise.
27663         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27664         * libio/iogets.c (_IO_gets): Likewise.
27665         * libio/iopadn.c (_IO_padn): Likewise.
27666         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27667         (_IO_new_popen): Likewise.
27668         (_IO_new_proc_close): Likewise.
27669         * libio/ioputs.c (_IO_puts): Likewise.
27670         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27671         (_IO_seekoff): Likewise.
27672         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27673         (_IO_seekpos): Likewise.
27674         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27675         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27676         * libio/ioungetc.c (_IO_ungetc): Likewise.
27677         * libio/ioungetwc.c (ungetwc): Likewise.
27678         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27679         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27680         * libio/iowpadn.c (_IO_wpadn): Likewise.
27681         * libio/libc_fatal.c (__libc_fatal): Likewise.
27682         * libio/memstream.c (__open_memstream): Likewise.
27683         (_IO_mem_sync): Likewise.
27684         (_IO_mem_finish): Likewise.
27685         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27686         (_IO_old_file_close_it): Likewise.
27687         (_IO_old_file_finish): Likewise.
27688         (_IO_old_file_fopen): Likewise.
27689         (_IO_old_file_attach): Likewise.
27690         (_IO_old_file_setbuf): Likewise.
27691         (_IO_old_do_write): Likewise.
27692         (old_do_write): Likewise.
27693         (_IO_old_file_underflow): Likewise.
27694         (_IO_old_file_overflow): Likewise.
27695         (_IO_old_file_sync): Likewise.
27696         (_IO_old_file_seekoff): Likewise.
27697         (_IO_old_file_write): Likewise.
27698         (_IO_old_file_xsputn): Likewise.
27699         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27700         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27701         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27702         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27703         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27704         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27705         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27706         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27707         (_IO_old_popen): Likewise.
27708         (_IO_old_proc_close): Likewise.
27709         * libio/oldpclose.c (__old_pclose): Likewise.
27710         * libio/pclose.c (__new_pclose): Likewise.
27711         * libio/peekc.c (_IO_peekc_locked): Likewise.
27712         * libio/putc.c (_IO_putc): Likewise.
27713         * libio/putc_u.c (putc_unlocked): Likewise.
27714         * libio/putchar.c (putchar): Likewise.
27715         * libio/putchar_u.c (putchar_unlocked): Likewise.
27716         * libio/putwc.c (putwc): Likewise.
27717         * libio/putwc_u.c (putwc_unlocked): Likewise.
27718         * libio/putwchar.c (putwchar): Likewise.
27719         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27720         * libio/rewind.c (rewind): Likewise.
27721         * libio/setbuf.c (setbuf): Likewise.
27722         * libio/setlinebuf.c (setlinebuf): Likewise.
27723         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27724         * libio/vscanf.c (_IO_vscanf): Likewise.
27725         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27726         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27727         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27728         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27729         (_IO_switch_to_main_wget_area): Likewise.
27730         (_IO_switch_to_wbackup_area): Likewise.
27731         (_IO_wsetb): Likewise.
27732         (_IO_wdefault_pbackfail): Likewise.
27733         (_IO_wdefault_finish): Likewise.
27734         (_IO_wdefault_uflow): Likewise.
27735         (__woverflow): Likewise.
27736         (__wuflow): Likewise.
27737         (__wunderflow): Likewise.
27738         (_IO_wdefault_xsputn): Likewise.
27739         (_IO_wdefault_xsgetn): Likewise.
27740         (_IO_wdoallocbuf): Likewise.
27741         (_IO_wdefault_doallocate): Likewise.
27742         (_IO_switch_to_wget_mode): Likewise.
27743         (_IO_free_wbackup_area): Likewise.
27744         (_IO_switch_to_wput_mode): Likewise.
27745         (_IO_sputbackwc): Likewise.
27746         (_IO_sungetwc): Likewise.
27747         (_IO_adjust_wcolumn): Likewise.
27748         (_IO_init_wmarker): Likewise.
27749         (_IO_wmarker_delta): Likewise.
27750         (_IO_seekwmark): Likewise.
27751         (_IO_unsave_wmarkers): Likewise.
27752         * libio/wmemstream.c (open_wmemstream): Likewise.
27753         (_IO_wmem_sync): Likewise.
27754         (_IO_wmem_finish): Likewise.
27755         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27756         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27757         * locale/programs/simple-hash.c (init_hash): Likewise.
27758         (delete_hash): Likewise.
27759         (insert_entry): Likewise.
27760         (set_entry): Likewise.
27761         (next_prime): Likewise.
27762         (is_prime): Likewise.
27763         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27764         (xmalloc): Likewise.
27765         (xrealloc): Likewise.
27766         * locale/programs/xstrdup.c (xstrdup): Likewise.
27767         * localedata/collate-test.c (xstrcoll): Likewise.
27768         * localedata/xfrm-test.c (xstrcmp): Likewise.
27769         * login/getlogin_r.c (__getlogin_r): Likewise.
27770         * login/getpt.c (__posix_openpt): Likewise.
27771         * login/login_tty.c (login_tty): Likewise.
27772         * login/setlogin.c (setlogin): Likewise.
27773         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27774         (mach_msg_destroy_port): Likewise.
27775         (mach_msg_destroy_memory): Likewise.
27776         * malloc/mcheck.c (flood): Likewise.
27777         * misc/acct.c (acct): Likewise.
27778         * misc/brk.c (__brk): Likewise.
27779         * misc/chflags.c (chflags): Likewise.
27780         * misc/chroot.c (chroot): Likewise.
27781         * misc/fchflags.c (fchflags): Likewise.
27782         * misc/fstab.c (getfsspec): Likewise.
27783         (getfsfile): Likewise.
27784         * misc/fsync.c (fsync): Likewise.
27785         * misc/ftruncate.c (__ftruncate): Likewise.
27786         * misc/ftruncate64.c (__ftruncate64): Likewise.
27787         * misc/getdomain.c (getdomainname): Likewise.
27788         (getdomainname): Likewise.
27789         * misc/gethostname.c (__gethostname): Likewise.
27790         * misc/getpass.c (getpass): Likewise.
27791         * misc/getttyent.c (skip): Likewise.
27792         (value): Likewise.
27793         * misc/gtty.c (gtty): Likewise.
27794         * misc/hsearch.c (hsearch): Likewise.
27795         (hcreate): Likewise.
27796         * misc/hsearch_r.c (__hcreate_r): Likewise.
27797         (__hdestroy_r): Likewise.
27798         * misc/ioctl.c (__ioctl): Likewise.
27799         * misc/mkdtemp.c (mkdtemp): Likewise.
27800         * misc/mkostemp.c (mkostemp): Likewise.
27801         * misc/mkostemp64.c (mkostemp64): Likewise.
27802         * misc/mkostemps.c (mkostemps): Likewise.
27803         * misc/mkostemps64.c (mkostemps64): Likewise.
27804         * misc/mkstemp.c (mkstemp): Likewise.
27805         * misc/mkstemp64.c (mkstemp64): Likewise.
27806         * misc/mkstemps.c (mkstemps): Likewise.
27807         * misc/mkstemps64.c (mkstemps64): Likewise.
27808         * misc/mktemp.c (__mktemp): Likewise.
27809         * misc/preadv.c (preadv): Likewise.
27810         * misc/preadv64.c (preadv64): Likewise.
27811         * misc/pwritev.c (pwritev): Likewise.
27812         * misc/pwritev64.c (pwritev64): Likewise.
27813         * misc/readv.c (__readv): Likewise.
27814         * misc/revoke.c (revoke): Likewise.
27815         * misc/setdomain.c (setdomainname): Likewise.
27816         * misc/setegid.c (setegid): Likewise.
27817         * misc/seteuid.c (seteuid): Likewise.
27818         * misc/sethostid.c (sethostid): Likewise.
27819         * misc/sethostname.c (sethostname): Likewise.
27820         * misc/setregid.c (__setregid): Likewise.
27821         * misc/setreuid.c (__setreuid): Likewise.
27822         * misc/sstk.c (sstk): Likewise.
27823         * misc/stty.c (stty): Likewise.
27824         * misc/syscall.c (syscall): Likewise.
27825         * misc/syslog.c (setlogmask): Likewise.
27826         * misc/truncate.c (__truncate): Likewise.
27827         * misc/truncate64.c (truncate64): Likewise.
27828         * misc/ualarm.c (ualarm): Likewise.
27829         * misc/usleep.c (usleep): Likewise.
27830         * misc/ustat.c (ustat): Likewise.
27831         * misc/writev.c (__writev): Likewise.
27832         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27833         * nptl/old_pthread_cond_broadcast.c
27834         (__pthread_cond_broadcast_2_0): Likewise.
27835         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27836         Likewise.
27837         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27838         Likewise.
27839         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27840         Likewise.
27841         * nptl/pt-raise.c (raise): Likewise.
27842         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27843         Likewise.
27844         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27845         * nptl/pthread_barrierattr_destroy.c
27846         (pthread_barrierattr_destroy): Likewise.
27847         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27848         Likewise.
27849         * nptl/pthread_barrierattr_setpshared.c
27850         (pthread_barrierattr_setpshared): Likewise.
27851         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27852         Likewise.
27853         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27854         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27855         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27856         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27857         Likewise.
27858         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27859         Likewise.
27860         * nptl/pthread_condattr_getpshared.c
27861         (pthread_condattr_getpshared): Likewise.
27862         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27863         Likewise.
27864         * nptl/pthread_condattr_setpshared.c
27865         (pthread_condattr_setpshared): Likewise.
27866         * nptl/pthread_detach.c (pthread_detach): Likewise.
27867         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27868         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27869         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27870         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27871         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27872         Likewise.
27873         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27874         Likewise.
27875         * nptl/pthread_mutex_getprioceiling.c
27876         (pthread_mutex_getprioceiling): Likewise.
27877         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27878         Likewise.
27879         * nptl/pthread_mutexattr_getprotocol.c
27880         (pthread_mutexattr_getprotocol): Likewise.
27881         * nptl/pthread_mutexattr_getpshared.c
27882         (pthread_mutexattr_getpshared): Likewise.
27883         * nptl/pthread_mutexattr_getrobust.c
27884         (pthread_mutexattr_getrobust): Likewise.
27885         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27886         Likewise.
27887         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27888         Likewise.
27889         * nptl/pthread_mutexattr_setprioceiling.c
27890         (pthread_mutexattr_setprioceiling): Likewise.
27891         * nptl/pthread_mutexattr_setprotocol.c
27892         (pthread_mutexattr_setprotocol): Likewise.
27893         * nptl/pthread_mutexattr_setpshared.c
27894         (pthread_mutexattr_setpshared): Likewise.
27895         * nptl/pthread_mutexattr_setrobust.c
27896         (pthread_mutexattr_setrobust): Likewise.
27897         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27898         Likewise.
27899         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27900         Likewise.
27901         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27902         Likewise.
27903         * nptl/pthread_rwlockattr_getkind_np.c
27904         (pthread_rwlockattr_getkind_np): Likewise.
27905         * nptl/pthread_rwlockattr_getpshared.c
27906         (pthread_rwlockattr_getpshared): Likewise.
27907         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27908         Likewise.
27909         * nptl/pthread_rwlockattr_setkind_np.c
27910         (pthread_rwlockattr_setkind_np): Likewise.
27911         * nptl/pthread_rwlockattr_setpshared.c
27912         (pthread_rwlockattr_setpshared): Likewise.
27913         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27914         Likewise.
27915         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27916         Likewise.
27917         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27918         Likewise.
27919         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27920         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27921         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27922         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27923         * nptl/sem_close.c (sem_close): Likewise.
27924         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27925         * nptl/sem_init.c (__old_sem_init): Likewise.
27926         * nptl/sigaction.c (__sigaction): Likewise.
27927         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27928         * posix/_exit.c (_exit): Likewise.
27929         * posix/alarm.c (alarm): Likewise.
27930         * posix/confstr.c (confstr): Likewise.
27931         * posix/fpathconf.c (__fpathconf): Likewise.
27932         * posix/getgroups.c (__getgroups): Likewise.
27933         * posix/getpgid.c (__getpgid): Likewise.
27934         * posix/group_member.c (__group_member): Likewise.
27935         * posix/pathconf.c (__pathconf): Likewise.
27936         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27937         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27938         * posix/setgid.c (__setgid): Likewise.
27939         * posix/setpgid.c (__setpgid): Likewise.
27940         * posix/setuid.c (__setuid): Likewise.
27941         * posix/sleep.c (__sleep): Likewise.
27942         * posix/sysconf.c (__sysconf): Likewise.
27943         * posix/times.c (__times): Likewise.
27944         * posix/uname.c (__uname): Likewise.
27945         * posix/waitid.c (__waitid): Likewise.
27946         * pwd/getpw.c (__getpw): Likewise.
27947         * resolv/base64.c (b64_pton): Likewise.
27948         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27949         * resolv/gethnamaddr.c (Dprintf): Likewise.
27950         (gethostbyname): Likewise.
27951         (gethostbyname2): Likewise.
27952         (gethostbyaddr): Likewise.
27953         (_sethtent): Likewise.
27954         (_gethtbyname): Likewise.
27955         (_gethtbyname2): Likewise.
27956         (_gethtbyaddr): Likewise.
27957         (map_v4v6_address): Likewise.
27958         (map_v4v6_hostent): Likewise.
27959         (addrsort): Likewise.
27960         (ht_sethostent): Likewise.
27961         (ht_gethostbyname): Likewise.
27962         (ht_gethostbyaddr): Likewise.
27963         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27964         (inet_net_ntop_ipv4): Likewise.
27965         * resolv/inet_neta.c (inet_neta): Likewise.
27966         * resolv/inet_ntop.c (inet_ntop): Likewise.
27967         (inet_ntop4): Likewise.
27968         (inet_ntop6): Likewise.
27969         * resolv/inet_pton.c (__inet_pton): Likewise.
27970         (inet_pton4): Likewise.
27971         (inet_pton6): Likewise.
27972         * resolv/res_debug.c (loc_aton): Likewise.
27973         (loc_ntoa): Likewise.
27974         * resource/getpriority.c (__getpriority): Likewise.
27975         * resource/getrusage.c (__getrusage): Likewise.
27976         * resource/nice.c (nice): Likewise.
27977         * resource/setpriority.c (__setpriority): Likewise.
27978         * resource/setrlimit64.c (setrlimit64): Likewise.
27979         * resource/vlimit.c (vlimit): Likewise.
27980         * resource/vtimes.c (vtimes): Likewise.
27981         * rt/aio_error.c (aio_error): Likewise.
27982         * rt/aio_return.c (aio_return): Likewise.
27983         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27984         * signal/kill.c (__kill): Likewise.
27985         * signal/killpg.c (killpg): Likewise.
27986         * signal/raise.c (raise): Likewise.
27987         * signal/sigaction.c (__sigaction): Likewise.
27988         * signal/sigaddset.c (sigaddset): Likewise.
27989         * signal/sigaltstack.c (sigaltstack): Likewise.
27990         * signal/sigandset.c (sigandset): Likewise.
27991         * signal/sigblock.c (__sigblock): Likewise.
27992         * signal/sigdelset.c (sigdelset): Likewise.
27993         * signal/sigempty.c (sigemptyset): Likewise.
27994         * signal/sigfillset.c (sigfillset): Likewise.
27995         * signal/sighold.c (sighold): Likewise.
27996         * signal/sigignore.c (sigignore): Likewise.
27997         * signal/sigintr.c (siginterrupt): Likewise.
27998         * signal/sigisempty.c (sigisemptyset): Likewise.
27999         * signal/sigismem.c (sigismember): Likewise.
28000         * signal/signal.c (signal): Likewise.
28001         * signal/sigorset.c (sigorset): Likewise.
28002         * signal/sigpause.c (__sigpause): Likewise.
28003         * signal/sigpending.c (sigpending): Likewise.
28004         * signal/sigprocmask.c (__sigprocmask): Likewise.
28005         * signal/sigrelse.c (sigrelse): Likewise.
28006         * signal/sigreturn.c (__sigreturn): Likewise.
28007         * signal/sigset.c (sigset): Likewise.
28008         * signal/sigsetmask.c (__sigsetmask): Likewise.
28009         * signal/sigstack.c (sigstack): Likewise.
28010         * signal/sigsuspend.c (__sigsuspend): Likewise.
28011         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28012         * signal/sysv_signal.c (__sysv_signal): Likewise.
28013         * socket/accept.c (accept): Likewise.
28014         * socket/accept4.c (__libc_accept4): Likewise.
28015         * socket/bind.c (__bind): Likewise.
28016         * socket/connect.c (__connect): Likewise.
28017         * socket/getpeername.c (getpeername): Likewise.
28018         * socket/getsockname.c (__getsockname): Likewise.
28019         * socket/getsockopt.c (getsockopt): Likewise.
28020         * socket/listen.c (__listen): Likewise.
28021         * socket/recv.c (__recv): Likewise.
28022         * socket/recvmsg.c (__recvmsg): Likewise.
28023         * socket/send.c (__send): Likewise.
28024         * socket/sendmsg.c (__sendmsg): Likewise.
28025         * socket/shutdown.c (shutdown): Likewise.
28026         * socket/sockatmark.c (sockatmark): Likewise.
28027         * socket/socket.c (__socket): Likewise.
28028         * stdio-common/ctermid.c (ctermid): Likewise.
28029         * stdio-common/cuserid.c (cuserid): Likewise.
28030         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28031         * stdio-common/remove.c (remove): Likewise.
28032         * stdio-common/rename.c (rename): Likewise.
28033         * stdio-common/renameat.c (renameat): Likewise.
28034         * stdio-common/tempname.c (__gen_tempname): Likewise.
28035         * stdio-common/xbug.c (InitBuffer): Likewise.
28036         (AppendToBuffer): Likewise.
28037         (ReadFile): Likewise.
28038         * stdlib/a64l.c (a64l): Likewise.
28039         * stdlib/drand48_r.c (drand48_r): Likewise.
28040         * stdlib/getcontext.c (getcontext): Likewise.
28041         * stdlib/getenv.c (getenv): Likewise.
28042         * stdlib/l64a.c (l64a): Likewise.
28043         * stdlib/llabs.c (llabs): Likewise.
28044         * stdlib/lldiv.c (lldiv): Likewise.
28045         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28046         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28047         * stdlib/putenv.c (putenv): Likewise.
28048         * stdlib/random.c (__srandom): Likewise.
28049         (__initstate): Likewise.
28050         (__setstate): Likewise.
28051         * stdlib/random_r.c (__srandom_r): Likewise.
28052         (__setstate_r): Likewise.
28053         (__random_r): Likewise.
28054         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28055         * stdlib/setcontext.c (setcontext): Likewise.
28056         * stdlib/setenv.c (setenv): Likewise.
28057         (unsetenv): Likewise.
28058         * stdlib/srand48.c (srand48): Likewise.
28059         * stdlib/srand48_r.c (__srand48_r): Likewise.
28060         * stdlib/swapcontext.c (swapcontext): Likewise.
28061         * stdlib/system.c (__libc_system): Likewise.
28062         * stdlib/tst-strtod.c (expand): Likewise.
28063         * stdlib/tst-strtol.c (expand): Likewise.
28064         * stdlib/tst-strtoll.c (expand): Likewise.
28065         * streams/fattach.c (fattach): Likewise.
28066         * streams/fdetach.c (fdetach): Likewise.
28067         * streams/getmsg.c (getmsg): Likewise.
28068         * streams/isastream.c (isastream): Likewise.
28069         * string/ffs.c (__ffs): Likewise.
28070         * string/ffsll.c (ffsll): Likewise.
28071         * string/memcmp.c (memcmp_common_alignment): Likewise.
28072         (memcmp_not_common_alignment): Likewise.
28073         (MEMCMP): Likewise.
28074         * string/memcpy.c (memcpy): Likewise.
28075         * string/memmove.c (MEMMOVE): Likewise.
28076         * string/memset.c (memset): Likewise.
28077         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28078         * string/strchrnul.c (STRCHRNUL): Likewise.
28079         * string/strerror.c (strerror): Likewise.
28080         * string/strndup.c (__strndup): Likewise.
28081         * string/strverscmp.c (__strverscmp): Likewise.
28082         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28083         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28084         (clnttcp_freeres): Likewise.
28085         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28086         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28087         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28088         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28089         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28090         (xdr_callhdr): Likewise.
28091         * sunrpc/rpcinfo.c (udpping): Likewise.
28092         (tcpping): Likewise.
28093         (pstatus): Likewise.
28094         (pmapdump): Likewise.
28095         (brdcst): Likewise.
28096         (deletereg): Likewise.
28097         (getprognum): Likewise.
28098         (getvers): Likewise.
28099         (get_inet_address): Likewise.
28100         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28101         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28102         (svcudp_stat): Likewise.
28103         (svcudp_recv): Likewise.
28104         (svcudp_reply): Likewise.
28105         (svcudp_getargs): Likewise.
28106         (svcudp_freeargs): Likewise.
28107         (svcudp_destroy): Likewise.
28108         * sunrpc/xdr.c (xdr_bytes): Likewise.
28109         (xdr_netobj): Likewise.
28110         (xdr_string): Likewise.
28111         (xdr_wrapstring): Likewise.
28112         * sunrpc/xdr_float.c (xdr_float): Likewise.
28113         (xdr_double): Likewise.
28114         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28115         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28116         * sysvipc/ftok.c (ftok): Likewise.
28117         * sysvipc/msgctl.c (msgctl): Likewise.
28118         * sysvipc/msgget.c (msgget): Likewise.
28119         * sysvipc/msgrcv.c (msgrcv): Likewise.
28120         * sysvipc/msgsnd.c (msgsnd): Likewise.
28121         * sysvipc/semget.c (semget): Likewise.
28122         * sysvipc/semop.c (semop): Likewise.
28123         * sysvipc/shmat.c (shmat): Likewise.
28124         * sysvipc/shmctl.c (shmctl): Likewise.
28125         * sysvipc/shmdt.c (shmdt): Likewise.
28126         * sysvipc/shmget.c (shmget): Likewise.
28127         * termios/cfmakeraw.c (cfmakeraw): Likewise.
28128         * termios/speed.c (cfgetospeed): Likewise.
28129         (cfgetispeed): Likewise.
28130         (cfsetospeed): Likewise.
28131         (cfsetispeed): Likewise.
28132         * termios/tcflow.c (tcflow): Likewise.
28133         * termios/tcflush.c (tcflush): Likewise.
28134         * termios/tcgetattr.c (__tcgetattr): Likewise.
28135         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28136         * termios/tcgetsid.c (tcgetsid): Likewise.
28137         * termios/tcsendbrk.c (tcsendbreak): Likewise.
28138         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28139         * time/adjtime.c (__adjtime): Likewise.
28140         * time/dysize.c (dysize): Likewise.
28141         * time/ftime.c (ftime): Likewise.
28142         * time/getitimer.c (__getitimer): Likewise.
28143         * time/gettimeofday.c (__gettimeofday): Likewise.
28144         * time/gmtime.c (__gmtime_r): Likewise.
28145         (gmtime): Likewise.
28146         * time/localtime.c (__localtime_r): Likewise.
28147         (localtime): Likewise.
28148         * time/offtime.c (__offtime): Likewise.
28149         * time/settimeofday.c (__settimeofday): Likewise.
28150         * time/stime.c (stime): Likewise.
28151         * time/strftime_l.c (tm_diff): Likewise.
28152         (iso_week_days): Likewise.
28153         * time/strptime.c (strptime): Likewise.
28154         * time/time.c (time): Likewise.
28155         * time/timespec_get.c (timespec_get): Likewise.
28156         * time/tzset.c (tzset_internal): Likewise.
28157         (compute_change): Likewise.
28158         (__tz_compute): Likewise.
28159         * wcsmbs/btowc.c (__btowc): Likewise.
28160         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28161         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28162         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28163         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28164         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28165         * wcsmbs/wcscat.c (__wcscat): Likewise.
28166         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28167         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28168         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28169         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28170         * wcsmbs/wcsdup.c (wcsdup): Likewise.
28171         * wcsmbs/wcslen.c (__wcslen): Likewise.
28172         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28173         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28174         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28175         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28176         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28177         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28178         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28179         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28180         * wcsmbs/wcstok.c (wcstok): Likewise.
28181         * wcsmbs/wctob.c (wctob): Likewise.
28182         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28183         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28184         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28185         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28186         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28187         * wcsmbs/wmemset.c (__wmemset): Likewise.
28188         * wctype/wcfuncs.c (__towlower): Likewise.
28189         (__towupper): Likewise.
28191         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28192         (lll_unlock_elision): Add adapt_count parameter.
28194 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28196         * sysdeps/nptl/configure.ac: Do not give errors based on the
28197         results of top-level configure tests.
28198         * sysdeps/nptl/configure: Regenerated.
28200         * configure.ac (libc_cv_Bgroup): Remove configure test.
28201         * configure: Regenerated.
28202         * config.make.in (have-Bgroup): Remove variable.
28204         * configure.ac (sizeof_long_double): Remove configure test.
28205         * configure: Regenerated.
28206         * config.make.in (sizeof-long-double): Remove variable.
28208         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28209         * configure: Regenerated.
28210         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28211         variable.
28212         (exceptions): Likewise.
28213         * sysdeps/arm/configure: Regenerated.
28214         * config.make.in (exceptions): Remove variable.
28215         * Makeconfig (uses-callbacks): Use -fexceptions instead of
28216         $(exceptions).
28217         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28218         (CFLAGS-vdprintf_chk.c): Likewise.
28219         (CFLAGS-printf_chk.c): Likewise.
28220         (CFLAGS-fprintf_chk.c): Likewise.
28221         (CFLAGS-vprintf_chk.c): Likewise.
28222         (CFLAGS-vfprintf_chk.c): Likewise.
28223         (CFLAGS-gets_chk.c): Likewise.
28224         (CFLAGS-fgets_chk.c): Likewise.
28225         (CFLAGS-fgets_u_chk.c): Likewise.
28226         (CFLAGS-fread_chk.c): Likewise.
28227         (CFLAGS-fread_u_chk.c): Likewise.
28228         (CFLAGS-wprintf_chk.c): Likewise.
28229         (CFLAGS-fwprintf_chk.c): Likewise.
28230         (CFLAGS-vwprintf_chk.c): Likewise.
28231         (CFLAGS-vfwprintf_chk.c): Likewise.
28232         (CFLAGS-fgetws_chk.c): Likewise.
28233         (CFLAGS-fgetws_u_chk.c): Likewise.
28234         * libio/Makefile (CFLAGS-fileops.c): Likewise.
28235         (CFLAGS-fputc.c): Likewise.
28236         (CFLAGS-fputwc.c): Likewise.
28237         (CFLAGS-freopen64.c): Likewise.
28238         (CFLAGS-freopen.c): Likewise.
28239         (CFLAGS-fseek.c): Likewise.
28240         (CFLAGS-fseeko64.c): Likewise.
28241         (CFLAGS-fseeko.c): Likewise.
28242         (CFLAGS-ftello64.c): Likewise.
28243         (CFLAGS-ftello.c): Likewise.
28244         (CFLAGS-fwide.c): Likewise.
28245         (CFLAGS-genops.c): Likewise.
28246         (CFLAGS-getc.c): Likewise.
28247         (CFLAGS-getchar.c): Likewise.
28248         (CFLAGS-getwc.c): Likewise.
28249         (CFLAGS-getwchar.c): Likewise.
28250         (CFLAGS-iofclose.c): Likewise.
28251         (CFLAGS-iofflush.c): Likewise.
28252         (CFLAGS-iofgetpos64.c): Likewise.
28253         (CFLAGS-iofgetpos.c): Likewise.
28254         (CFLAGS-iofgets.c): Likewise.
28255         (CFLAGS-iofgetws.c): Likewise.
28256         (CFLAGS-iofputs.c): Likewise.
28257         (CFLAGS-iofputws.c): Likewise.
28258         (CFLAGS-iofread.c): Likewise.
28259         (CFLAGS-iofsetpos64.c): Likewise.
28260         (CFLAGS-iofsetpos.c): Likewise.
28261         (CFLAGS-ioftell.c): Likewise.
28262         (CFLAGS-iofwrite.c): Likewise.
28263         (CFLAGS-iogetdelim.c): Likewise.
28264         (CFLAGS-iogetline.c): Likewise.
28265         (CFLAGS-iogets.c): Likewise.
28266         (CFLAGS-iogetwline.c): Likewise.
28267         (CFLAGS-ioputs.c): Likewise.
28268         (CFLAGS-ioseekoff.c): Likewise.
28269         (CFLAGS-ioseekpos.c): Likewise.
28270         (CFLAGS-iosetbuffer.c): Likewise.
28271         (CFLAGS-iosetvbuf.c): Likewise.
28272         (CFLAGS-ioungetc.c): Likewise.
28273         (CFLAGS-ioungetwc.c): Likewise.
28274         (CFLAGS-oldfileops.c): Likewise.
28275         (CFLAGS-oldiofclose.c): Likewise.
28276         (CFLAGS-oldiofgetpos64.c): Likewise.
28277         (CFLAGS-oldiofgetpos.c): Likewise.
28278         (CFLAGS-oldiofsetpos64.c): Likewise.
28279         (CFLAGS-oldiofsetpos.c): Likewise.
28280         (CFLAGS-peekc.c): Likewise.
28281         (CFLAGS-putc.c): Likewise.
28282         (CFLAGS-putchar.c): Likewise.
28283         (CFLAGS-putwc.c): Likewise.
28284         (CFLAGS-putwchar.c): Likewise.
28285         (CFLAGS-rewind.c): Likewise.
28286         (CFLAGS-wfileops.c): Likewise.
28287         (CFLAGS-wgenops.c): Likewise.
28288         (CFLAGS-oldiofopen.c): Likewise.
28289         (CFLAGS-iofopen.c): Likewise.
28290         (CFLAGS-iofopen64.c): Likewise.
28291         (CFLAGS-oldtmpfile.c): Likewise.
28292         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28293         (CFLAGS-fprintf.c): Likewise.
28294         (CFLAGS-printf.c): Likewise.
28295         (CFLAGS-vfwprintf.c): Likewise.
28296         (CFLAGS-vfscanf.c): Likewise.
28297         (CFLAGS-vfwscanf.c): Likewise.
28298         (CFLAGS-fscanf.c): Likewise.
28299         (CFLAGS-scanf.c): Likewise.
28300         (CFLAGS-isoc99_vfscanf.c): Likewise.
28301         (CFLAGS-isoc99_vscanf.c): Likewise.
28302         (CFLAGS-isoc99_fscanf.c): Likewise.
28303         (CFLAGS-isoc99_scanf.c): Likewise.
28304         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28305         (CFLAGS-isoc99_fwscanf.c): Likewise.
28306         (CFLAGS-isoc99_vwscanf.c): Likewise.
28307         (CFLAGS-isoc99_vfwscanf.c): Likewise.
28309         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28310         after mkstemp64.
28311         * login/tst-utmp.c (do_prepare): Likewise.
28312         * rt/tst-aio.c (do_prepare): Likewise.
28313         * rt/tst-aio64.c (do_prepare): Likewise.
28315 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28317         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28318         (__lll_lock_elision): Remove adapt_count decrement...
28319         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28320         (__lll_trylock_elision): Likewise.
28321         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28322         (__lll_unlock_elision): ... to here. And utilize
28323         new adapt_count parameter.
28324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28325         (__lll_unlock_elision): Update to include adapt_count
28326         parameter.
28327         (lll_unlock_elision): Pass pointer to adapt_count
28328         variable.
28330 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28332         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28333         Add elision adapt_count parameter to list of arguments.
28334         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28335         (lll_unlock_elision): Update with new parameter list
28336         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28337         (lll_unlock_elision): Likewise.
28338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28339         (lll_unlock_elision): Likewise.
28341 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28343         [BZ #19122]
28344         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28345         attribute_hidden.
28347         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28348         attribute_hidden.
28349         [IS_IN (rtld)] (__strdup): Likewise.
28350         [IS_IN (rtld)] (__strerror_r): Likewise.
28351         [IS_IN (rtld)] (__strsep_g): Likewise.
28352         [IS_IN (rtld)] (memchr): Likewise.
28353         [IS_IN (rtld)] (memcmp): Likewise.
28354         [IS_IN (rtld)] (memcpy): Likewise.
28355         [IS_IN (rtld)] (memmove): Likewise.
28356         [IS_IN (rtld)] (memset): Likewise.
28357         [IS_IN (rtld)] (rawmemchr): Likewise.
28358         [IS_IN (rtld)] (stpcpy): Likewise.
28359         [IS_IN (rtld)] (strchr): Likewise.
28360         [IS_IN (rtld)] (strcmp): Likewise.
28361         [IS_IN (rtld)] (strlen): Likewise.
28362         [IS_IN (rtld)] (strnlen): Likewise.
28363         [IS_IN (rtld)] (strsep): Likewise.
28365         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28366         attribute_hidden.
28367         [IS_IN (rtld)] (__strtoul_internal): Likewise.
28369         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28370         attribute_hidden.
28371         [IS_IN (rtld)] (__libc_sigaction): Likewise.
28373         * include/setjmp.h (__longjmp): Add attribute_hidden.
28374         [IS_IN (rtld)] (__sigsetjmp): Likewise.
28376         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28377         Add attribute_hidden.
28379         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28380         [IS_IN (rtld)] (__open): Likewise.
28381         [IS_IN (rtld)] (__fcntl): Likewise.
28383         * include/dirent.h (__opendirat): Add attribute_hidden.
28384         (__getdents): Likewise.
28385         (__getdents64): Likewise.
28386         (__alloc_dir): Likewise.
28387         [IS_IN (rtld)] (__closedir): Likewise.
28388         [IS_IN (rtld)] (__fdopendir): Likewise.
28389         [IS_IN (rtld)] (__readdir): Likewise.
28390         [IS_IN (rtld)] (__readdir64): Likewise.
28391         [IS_IN (rtld)] (__rewinddir): Likewise.
28393         * include/dlfcn.h (_dl_catch_error): Moved to ...
28394         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28395         attribute_hidden.
28397         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28398         (_itoa_word): Likewise.
28400         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
28401         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28402         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28403         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
28404         (_dl_higher_prime_number): Likewise.
28405         (_dl_debug_printf_c): Likewise.
28406         (_dl_signal_cerror): Likewise.
28407         (_dl_receive_error): Likewise.
28408         (_dl_reloc_bad_type): Likewise.
28409         (_dl_resolve_conflicts): Likewise.
28410         (_dl_check_all_versions): Likewise.
28411         (_dl_check_map_versions): Likewise.
28412         (_dl_sort_fini): Likewise.
28413         (_dl_debug_initialize): Likewise.
28414         (_dl_init_paths): Likewise.
28415         (_dl_show_auxv): Likewise.
28416         (_dl_next_ld_env_entry): Likewise.
28417         (_dl_important_hwcaps): Likewise.
28418         (_dl_load_cache_lookup): Likewise.
28419         (_dl_update_slotinfo): Likewise.
28420         (_dl_show_scope): Likewise.
28422         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28423         attribute_hidden.
28424         (_wordcopy_fwd_dest_aligned): Likewise.
28425         (_wordcopy_bwd_aligned): Likewise.
28426         (_wordcopy_bwd_dest_aligned): Likewise.
28428         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28429         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28430         Likewise.
28431         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28432         Likewise.
28433         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28435 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28438         GCC 5 requirement.
28440 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28442         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28443         test.
28444         * sysdeps/i386/configure: Regenerated.
28445         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28446         code unconditional.
28448         * configure.ac (libc_cv_asm_previous_directive): Remove configure
28449         test.
28450         (libc_cv_asm_popsection_directive): Likewise.
28451         * configure: Regenerated.
28452         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28453         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28454         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28455         (__make_section_unallocated): Make definition unconditional.
28456         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28457         Remove conditional definition.
28458         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28459         (__make_section_unallocated): Likewise.
28461         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28462         * configure: Regenerated.
28463         * config.make.in (static-libgcc): Remove variable.
28464         * Makerules (build-shlib-helper): Use -static-libgcc instead of
28465         $(static-libgcc).
28466         (build-module-helper): Likewise.
28468         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28469         * configure: Regenerated.
28471 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28473         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28474         (struct char_buffer): New type.
28475         (char_buffer_start, char_buffer_size, char_buffer_error)
28476         (char_buffer_rewind, char_buffer_add): New functions.
28477         (ADDW): Remove macro, replaced by the char_buffer_add function.
28478         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28479         of extend_alloca.  Make control flow more explicit.
28481 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28483         [BZ #19137]
28484         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28485         Add -fomit-frame-pointer.
28486         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28488 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28490         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28491         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28493         only if !__GNUC_PREREQ (5,0).
28494         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28495         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28496         (INTERNAL_SYSCALL_NCS): Likewise.
28497         (LOADREGS_0): New macro for GCC 5.
28498         (ASMARGS_0): Likewise.
28499         (LOADREGS_1): Likewise.
28500         (ASMARGS_1): Likewise.
28501         (LOADREGS_2): Likewise.
28502         (ASMARGS_2): Likewise.
28503         (LOADREGS_3): Likewise.
28504         (ASMARGS_3): Likewise.
28505         (LOADREGS_4): Likewise.
28506         (ASMARGS_4): Likewise.
28507         (LOADREGS_5): Likewise.
28508         (ASMARGS_5): Likewise.
28509         (LOADREGS_6): Likewise.
28510         (ASMARGS_6): Likewise.
28512 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28514         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28515         -fomit-frame-pointer.
28516         (CFLAGS-mmap64.c): Likewise.
28517         (CFLAGS-semtimedop.c): Likewise.
28518         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28519         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28520         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28521         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28523 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28525         [BZ #18928]
28526         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28527         _dl_pointer_guard member.
28528         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28529         initializer.
28530         (security_init): Always set up pointer guard.
28531         (process_envvars): Do not process LD_POINTER_GUARD.
28533 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
28535         [BZ #19134]
28536         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28537         (.LC2): Likewise.
28538         (.LC3): Likewise.
28539         (__lround): Do not add 0.5 to integer or out-of-range arguments.
28541 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28543         [BZ #19129]
28544         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28545         r0 and r1.
28547 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
28549         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28551 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
28553         * include/stap-probe.h: Fix macro definition formatting.
28555 2015-10-14  Florian Weimer  <fweimer@redhat.com>
28557         [BZ #19074]
28558         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28559         load and store num_ifs.
28561 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28563         [BZ #18822]
28564         * sysdeps/unix/sysv/linux/sched_getaffinity.c
28565         (__sched_getaffinity_new): Add libc_hidden_proto and
28566         libc_hidden_def.
28568 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28570         [BZ #19007]
28571         * scripts/localplt.awk: Also allow GOT references.
28572         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28573         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28574         with "+ REL R_386_GLOB_DAT".
28575         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28576         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28578 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28580         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28581         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28582         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28583         Likewise.
28584         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28585         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28586         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28587         INTERNAL_SYSCALLINTERNAL_SYSCALL and
28588         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28589         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28590         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28591         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28592         Likewise.
28593         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28595 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28597         [BZ #19125]
28598         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28599         <math_private.h> and <stdint.h>.
28600         (__llround): Avoid conversions to and from long long int, and
28601         subtractions, where those might raise spurious exceptions.
28602         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28603         <math_private.h> and <stdint.h>.
28604         (__llroundf): Avoid conversions to and from long long int, and
28605         subtractions, where those might raise spurious exceptions.
28607 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28609         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28610         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28611         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28612         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28613         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28614         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28615         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28616         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28617         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28618         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28620         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28621         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28622         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28623         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28624         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28625         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28626         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28627         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28628         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28629         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28630         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28631         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28632         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28633         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28634         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28635         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28636         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28637         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28638         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28639         (__xstat64_conv): Likewise.
28640         (__xstat32_conv): Likewise.
28642 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28644         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28645         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28646         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28647         <sysdeps/unix/sysv/linux/sysdep.h>.
28648         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28649         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28650         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28651         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28652         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28653         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28654         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28655         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28656         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28661         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28662         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28664         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28665         (sysdep-dl-routines): Add sysdep.
28666         [$(subdir) == nptl] (libpthread-routines): Likewise.
28667         [$(subdir) == rt] (librt-routines): Likewise.
28668         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28669         PIC when branching to SYSCALL_ERROR_LABEL.
28670         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28671         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28672         <sysdeps/unix/sysv/linux/sysdep.h>.
28673         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28674         (SYSCALL_ERROR_ERRNO): Removed.
28675         (SYSCALL_ERROR_HANDLER): Changed to empty.
28676         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28677         (__syscall_error): New prototype.
28678         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28679         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28681 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28683         [BZ #19124]
28684         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28685         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28686         _dl_runtime_resolve_avx.
28687         (_dl_runtime_profile_avx512): Make it a hidden alias of
28688         _dl_runtime_profile_avx.
28690 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28692         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28693         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28694         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28695         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28697         [BZ #16422]
28698         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28699         New configure test.
28700         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28701         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28702         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28703         <math_private.h> and <stdint.h>.
28704         (__llrint): Avoid conversions to long long int where those might
28705         raise spurious exceptions.
28706         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28707         <math_private.h> and <stdint.h>.
28708         (__llrintf): Avoid conversions to long long int where those might
28709         raise spurious exceptions.
28711 2015-10-12  Andreas Schwab  <schwab@suse.de>
28713         [BZ #18969]
28714         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28715         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28716         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28717         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28718         $(gen-locales).
28719         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28720         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28721         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28722         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28723         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28724         $(gen-locales).
28725         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28726         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28727         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28728         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28729         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28730         ($(objpfx)tst-ftell-active-handler.out)
28731         ($(objpfx)tst-ftell-append.out)
28732         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28733         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28734         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28735         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28736         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28737         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28738         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28739         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28740         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28741         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28742         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28743         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28744         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28745         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28746         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28747         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28748         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28749         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28750         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28751         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28752         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28753         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28754         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28755         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28756         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28757         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28758         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28759         $(gen-locales).
28760         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28761         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28762         $(gen-locales).
28763         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28764         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28765         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28766         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28767         $(gen-locales).
28768         * libio/tst_wprintf2.c (main): Use explicit locale.
28769         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28771 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28773         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28774         __msg_sig_post.
28775         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28777 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28779         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28780         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28782         * sysdeps/arm/libm-test-ulps: Regenerated.
28784         [BZ #15470]
28785         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28787         [BZ #16399]
28788         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28789         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28790         and <fix-fp-int-convert-overflow.h>.
28791         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28792         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28793         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28794         and <fix-fp-int-convert-overflow.h>.
28795         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28796         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28797         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28798         <fix-fp-int-convert-overflow.h>.
28799         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28800         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28801         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28802         <fix-fp-int-convert-overflow.h>.
28803         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28804         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28805         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28806         and <fix-fp-int-convert-overflow.h>.
28807         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28808         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28809         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28810         <limits.h> and <fix-fp-int-convert-overflow.h>.
28811         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28812         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28813         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28814         and <fix-fp-int-convert-overflow.h>.
28815         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28816         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28817         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28818         and <fix-fp-int-convert-overflow.h>.
28819         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28820         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28821         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28823 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28825         [BZ #18589]
28826         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28827         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28828         $(gen-locales).
28830 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28831             Phil Blundell <pb@pbcl.net>
28833         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28834         * nptl/tst-cancel26.c: New file.
28835         * nptl/tst-cancel27.c: Likewise.
28837 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28839         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28840         __ILP32__ isn't defined.
28841         (lrint): Likewise.
28842         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28843         (lrintf): Likewise.
28844         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28845         (lrintl): Likewise.
28846         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28847         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28848         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28850 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28852         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28855         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28856         file.
28857         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28858         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28860 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28862         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28863         configure test.
28864         * sysdeps/i386/configure: Regenerated.
28865         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28866         configure test.
28867         * sysdeps/x86_64/configure: Regenerated.
28868         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28869         Make code unconditional.
28871         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28872         test.
28873         * sysdeps/i386/configure: Regenerated.
28874         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28875         test.
28876         * sysdeps/x86_64/configure: Regenerated.
28877         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28878         Make code unconditional.
28879         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28880         Likewise.
28881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28882         Likewise.
28883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28884         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28885         code unconditional.
28886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28887         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28888         code unconditional.
28889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28890         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28891         code unconditional.
28892         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28893         code unconditional.
28894         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28895         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28896         code unconditional.
28897         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28898         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28899         code unconditional.
28900         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28901         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28902         code unconditional.
28903         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28904         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28905         code unconditional.
28906         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28907         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28909         [BZ #19095]
28910         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28911         mantissa to long int before shifting left.
28913 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28915         [BZ #19094]
28916         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28917         <limits.h>.
28918         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28919         when result overflows but exception would not result from cast.
28920         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28921         <limits.h>.
28922         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28923         when result overflows but exception would not result from cast.
28924         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28925         <limits.h>.
28926         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28927         when result overflows but exception would not result from cast.
28928         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28929         <limits.h>.
28930         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28931         when result overflows but exception would not result from cast.
28932         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28933         <limits.h>.
28934         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28935         when result overflows but exception would not result from cast.
28936         * math/libm-test.inc (lrint_test_data): Add more tests.
28937         (llrint_test_data): Likewise.
28939 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28941         [BZ #18872]
28942         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28943         Move out from under [$(run-built-tests) = yes] conditional.
28944         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28945         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28947 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28949         [BZ #18589]
28950         * string/Makefile (tests): Add bug-strcoll2.
28951         (LOCALES): Add cs_CZ.UTF-8.
28952         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28954         [BZ #18589]
28955         * string/bug-strcoll2.c: New file.
28956         * locale/categories.def: Revert commit
28957         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28958         * locale/langinfo.h: Likewise.
28959         * locale/localeinfo.h: Likewise.
28960         * locale/C-collate.c: Likewise.
28961         * locale/programs/ld-collate.c (collate_output): Likewise.
28962         * string/strcoll_l.c (STRDIFF): Likewise.
28963         (STRCOLL): Likewise.
28964         * wcsmbs/wcscoll_l.c: Likewise.
28966 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28968         * math/libm-test.inc (lround_test_data): Do not expect the absence
28969         of "inexact" for some tests with non-integer arguments.
28970         (llround_test_data): Likewise.
28972         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28973         test.
28974         (libc_cv_cc_sse2avx): Likewise.
28975         * sysdeps/i386/configure: Regenerated.
28976         * sysdeps/i386/i686/multiarch/Makefile
28977         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28978         [$(subdir) = math].
28979         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28980         code unconditional.
28981         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28982         Likewise.
28983         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28984         Likewise.
28985         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28986         Likewise.
28987         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28988         test.
28989         (libc_cv_cc_sse2avx): Likewise.
28990         * sysdeps/x86_64/configure: Regenerated.
28991         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28992         unconditional.
28993         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28994         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28995         unconditional.
28996         (_dl_runtime_profile)
28997         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28998         conditional code.
28999         * sysdeps/x86_64/fpu/multiarch/Makefile
29000         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29001         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29002         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29003         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29004         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29005         * sysdeps/x86_64/fpu/multiarch/e_log.c
29006         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29007         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29008         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29009         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29010         Likewise.
29011         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29012         Likewise.
29013         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29014         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29015         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29016         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29017         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29018         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29019         (HAVE_SSE2AVX_SUPPORT): Likewise.
29021 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29023         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29024         instead of #pragma optimize.
29026 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29028         [BZ #17195]
29029         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29030         as is similarly done in systrim and _int_free already.
29032 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29034         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29036 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29038         [BZ #19088]
29039         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29040         <limits.h>.
29041         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29042         overflows but exception would not result from cast.
29043         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29044         and <limits.h>.
29045         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29046         overflows but exception would not result from cast.
29047         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29048         <limits.h>.
29049         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29050         overflows but exception would not result from cast.
29051         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29052         <limits.h>.
29053         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29054         overflows but exception would not result from cast.
29055         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29056         <limits.h>.
29057         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29058         overflows but exception would not result from cast.
29059         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29060         <limits.h>.
29061         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29062         overflows but exception would not result from cast.
29063         * math/libm-test.inc (lround_test_data): Add more tests.
29064         (llround_test_data): Likewise.
29066 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29068         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29069         (CFLAGS-ialloc.c): Ditto.
29070         (CFLAGS-scheck.c): Ditto.
29072 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29074         [BZ #19086]
29075         * manual/filesys.texi (Storage Allocation): Fix argument order for
29076         posix_fallocate64.
29078 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29080         [BZ #19085]
29081         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29082         exponent below 48 inside case for non-overflowing exponent.
29083         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29085 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29087         * iconvdata/cp737.h (from_idx): Add const.
29088         * iconvdata/cp775.h (from_idx): Likewise.
29090 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29092         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29093         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29094         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29096         [BZ #19079]
29097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29098         file, conditioned on [!_LP64].
29099         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29100         [!_LP64] (__lround): Do not define as function or alias.
29101         [!_LP64] (lround): Likewise.
29102         [!_LP64] (__lroundl): Likewise.
29103         [!_LP64] (lroundl): Likewise.
29104         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29105         macro.
29106         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29107         Likewise.
29109 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29111         * math/libm-test.inc (lrint_test_data): Add more tests.
29112         (llrint_test_data): Likewise.
29113         (lround_test_data): Likewise.
29114         (llround_test_data): Likewise.
29116         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29117         (llrint_test_data): Add tests used for lrint.
29119         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29120         test.
29121         * sysdeps/i386/configure: Regenerated.
29122         * sysdeps/i386/i686/multiarch/Makefile
29123         [$(config-cflags-sse4) = yes]: Make code unconditional.
29124         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29125         Likewise.
29126         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29127         Likewise.
29128         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29129         test.
29130         * sysdeps/x86_64/configure: Regenerated.
29131         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29132         Make code unconditional.
29133         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29134         Likewise.
29135         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29136         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29138         * scripts/rpm2dynsym.sh: Remove file.
29140 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29142         * configure.ac (libc_cv_cxx_thread_local): Define.
29143         * configure: Regenerate.
29144         * config.make.in (have-cxx-thread_local): Define.
29145         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29146         (LDLIBS-tst-thread_local1): Define.
29147         (tests): Add tst-thread_local1.
29148         [have-cxx-thread_local != yes] (tests-unsupported): Add
29149         tst-thread_local1.
29150         * nptl/tst-thread_local1.cc: New file.
29152 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29154         [BZ #19078]
29155         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29156         (u_thres): Likewise.
29157         (__expl): Determine whether to call __kernel_standard_l based on
29158         value of result, not argument.
29160         * math/libm-test.inc (scalb_test_data): Add more expectations for
29161         the "inexact" exception.
29163         [BZ #19077]
29164         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29165         0.0L for argument 1.0L.
29167         [BZ #19076]
29168         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29169         constant 0.0L when computing infinite result.
29171 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29173         [BZ #10432]
29174         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29175         malloc_usable_size.
29177 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29179         [BZ #19018]
29180         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29181         Mangle function pointer before storing it.
29182         (__call_tls_dtors): Demangle function pointer before calling it.
29184 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29186         [BZ #19012]
29187         * iconv/gconv_db.c (gen_steps): Check for additional errors.
29188         Clean up on failure.
29190 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
29192         [BZ #19071]
29193         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29194         long int variable to store possibly incremented high part of
29195         mantissa.
29196         * math/libm-test.inc (lround_test_data): Add tests used for
29197         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
29198         for tests requiring 64-bit long.  Do not condition tests on
29199         [TEST_FLOAT] unnecessarily.
29200         (llround_test_data): Add tests used for lround.  Add another
29201         expectation for the "inexact" exception.  Do not condition tests
29202         on [TEST_FLOAT] unnecessarily.
29204         [BZ #887]
29205         [BZ #19049]
29206         [BZ #19050]
29207         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29208         * sysdeps/ieee754/dbl-64/e_log10.c: Include
29209         <fix-int-fp-convert-zero.h>.
29210         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29211         * sysdeps/ieee754/dbl-64/e_log2.c: Include
29212         <fix-int-fp-convert-zero.h>.
29213         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29214         * sysdeps/ieee754/dbl-64/s_erf.c: Include
29215         <fix-int-fp-convert-zero.h>.
29216         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29217         * sysdeps/ieee754/dbl-64/s_logb.c: Include
29218         <fix-int-fp-convert-zero.h>.
29219         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29220         * sysdeps/ieee754/flt-32/e_log10f.c: Include
29221         <fix-int-fp-convert-zero.h>.
29222         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29223         * sysdeps/ieee754/flt-32/e_log2f.c: Include
29224         <fix-int-fp-convert-zero.h>.
29225         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29226         * sysdeps/ieee754/flt-32/s_erff.c: Include
29227         <fix-int-fp-convert-zero.h>.
29228         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29229         * sysdeps/ieee754/flt-32/s_logbf.c: Include
29230         <fix-int-fp-convert-zero.h>.
29231         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29233         <fix-int-fp-convert-zero.h>.
29234         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29236         <fix-int-fp-convert-zero.h>.
29237         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29238         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29239         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29240         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29241         file.
29242         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29244 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
29246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29248 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #19059]
29251         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29252         overflowing computation.
29253         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29254         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29256         Likewise.
29257         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29258         Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29260         Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29262         Likewise.
29263         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29264         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29265         Likewise.
29266         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29267         Likewise.
29268         * math/libm-test.inc (nexttoward_test_data): Add more tests.
29270         * nss/rewrite_field.c (__nss_rewrite_field): Use
29271         internal_function.
29272         * nss/valid_field.c (__nss_valid_field): Likewise.
29273         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29275 2015-10-02  Florian Weimer  <fweimer@redhat.com>
29277         [BZ #18724]
29278         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29279         (__nss_invalid_field_characters, __nss_valid_field)
29280         (__nss_valid_list_field, __nss_rewrite_field): Declare.
29281         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29282         tst-field.c: New file.
29283         * nss/Makefile (routines): Add valid_field, rewrite_field.
29284         (tests-static): Define unconditionally.
29285         (tests): Include tests-static.
29286         [build-static-nss] (tests-static): Use append.
29287         [build-static-nss] (tests): Remove modification.
29288         * nss/getent.c (print_group): Call putgrent.  Report error.
29289         (print_gshadow): Call putsgent.  Report error.
29290         (print_passwd): Call putpwent.  Report error.
29291         (print_shadow): Call putspent.  Report error.
29292         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29293         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29294         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
29295         name, password, directory, shell fields for valid syntax.  Rewrite
29296         GECOS field to match syntax.
29297         * pwd/Makefile (tests): Add tst-putpwent.
29298         * pwd/tst-putpwent.c: New file.
29299         * grp/putgrent.c (putgrent): Convert to ISO function definition.
29300         Check grName, grpasswd, gr_mem fields for valid syntax.
29301         Change loop variable i to size_t.
29302         * grp/Makefile (tests): Add tst-putgrent.
29303         * grp/tst-putgrent.c: New file.
29304         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29305         valid syntax.
29306         * shadow/Makefile (tests): Add tst-putspent.
29307         * shadow/tst-putspent.c: New file.
29308         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29309         sg_mem fields for valid syntax.
29310         * gshadow/Makefile (tests): Add tst-putsgent.
29311         * gshadow/tst-putsgent.c: New file.
29313 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29315         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29316         assembly instructions.
29318 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29320         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29321         prefix from operands.
29323 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
29325         [BZ #16347]
29326         [BZ #19046]
29327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29328         <libc-internal.h>.
29329         (MAXLGM): Do not use diagnostic control macros.
29330         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29331         threshold for ldbl-128ibm.
29332         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29333         instead of multiplying by log then subtracting.
29334         * math/auto-libm-test-in: Add more tests of lgamma.
29335         * math/auto-libm-test-out: Regenerated.
29337         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29338         (TYPE_HEX_DIG): Likewise.
29339         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29340         precisions when printing floating-point numbers.
29341         (check_float_internal): Likewise.
29343 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29345         [BZ #16620]
29346         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29347         of log (10) rounded downward to 48 bits.
29348         (log10_low): Use corresponding low part of log (10).
29350         [BZ #19032]
29351         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29352         compute result as (x - x) / (x - x) not as 0 / 0.
29353         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29354         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29356         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29357         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29358         and expm1.
29359         * math/auto-libm-test-out: Regenerated.
29360         * math/libm-test.inc (acos_test_data): Add more tests.
29361         (asin_test_data): Likewise.
29362         (asinh_test_data): Likewise.
29363         (atan_test_data): Likewise.
29364         (atanh_test_data): Likewise.
29365         (atan2_test_data): Likewise.
29366         (cbrt_test_data): Likewise.
29367         (ceil_test_data): Likewise.
29368         (copysign_test_data): Likewise.
29369         (cos_test_data): Likewise.
29370         (cosh_test_data): Likewise.
29371         (erf_test_data): Likewise.
29372         (erfc_test_data): Likewise.
29373         (exp_test_data): Likewise.
29374         (exp10_test_data): Likewise.
29375         (exp2_test_data): Likewise.
29376         (expm1_test_data): Likewise.
29377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29379 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
29381         [BZ #19006]
29382         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29383         to ...
29384         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29385         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29386         to ...
29387         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29388         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29389         to ...
29390         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29391         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29392         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29393         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29394         to ...
29395         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29396         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29397         Moved to ...
29398         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
29399         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29400         Moved to ...
29401         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
29402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
29403         to ...
29404         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
29405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29406         Moved to ...
29407         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
29408         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
29409         to ...
29410         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29411         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29412         Removed.
29413         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29414         Likewise.
29415         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29416         Likewise.
29417         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29418         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29419         Likewise.
29420         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29421         Likewise.
29422         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29423         Likewise.
29424         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29425         Likewise.
29426         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29427         Likewise.
29428         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29429         Likewise.
29430         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29431         Likewise.
29432         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29433         Likewise.
29434         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29435         Likewise.
29436         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29437         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29438         Likewise.
29439         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29440         Likewise.
29441         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29442         Likewise.
29443         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29444         Likewise.
29445         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29446         Likewise.
29447         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29448         Replace ../i486/pthread_cond_timedwait.S with
29449         ../pthread_cond_timedwait.S.
29451 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29453         * math/libm-test.inc (acos_test_data): Refine expectations for
29454         errno and "inexact" exceptions.
29455         (acosh_test_data): Likewise.
29456         (asin_test_data): Likewise.
29457         (asinh_test_data): Likewise.
29458         (atan_test_data): Likewise.
29459         (atanh_test_data): Likewise.
29460         (atan2_test_data): Likewise.
29461         (cbrt_test_data): Likewise.
29462         (ceil_test_data): Likewise.
29463         (copysign_test_data): Likewise.
29464         (cosh_test_data): Likewise.
29465         (erf_test_data): Likewise.
29466         (erfc_test_data): Likewise.
29467         (exp_test_data): Likewise.
29468         (exp10_test_data): Likewise.
29469         (exp2_test_data): Likewise.
29470         (expm1_test_data): Likewise.
29471         (fabs_test_data): Likewise.
29472         (floor_test_data): Likewise.
29473         (fma_test_data): Likewise.
29474         (fmax_test_data): Likewise.
29475         (fmin_test_data): Likewise.
29476         (fmod_test_data): Likewise.
29477         (fpclassify_test_data): Likewise.
29478         (frexp_test_data): Likewise.
29479         (hypot_test_data): Likewise.
29480         (ilogb_test_data): Likewise.
29481         (isgreater_test_data): Likewise.
29482         (isgreaterequal_test_data): Likewise.
29483         (isinf_test_data): Likewise.
29484         (isless_test_data): Likewise.
29485         (islessequal_test_data): Likewise.
29486         (islessgreater_test_data): Likewise.
29487         (isnan_test_data): Likewise.
29488         (isnormal_test_data): Likewise.
29489         (issignaling_test_data): Likewise.
29490         (isunordered_test_data): Likewise.
29491         (j0_test_data): Likewise.
29492         (j1_test_data): Likewise.
29493         (jn_test_data): Likewise.
29494         (lgamma_test_data): Likewise.
29495         (lrint_test_data): Likewise.
29496         (llrint_test_data): Likewise.
29497         (log_test_data): Likewise.
29498         (log10_test_data): Likewise.
29499         (log1p_test_data): Likewise.
29500         (log2_test_data): Likewise.
29501         (logb_test_data): Likewise.
29502         (lround_test_data): Likewise.
29503         (llround_test_data): Likewise.
29504         (modf_test_data): Likewise.
29505         (nearbyint_test_data): Likewise.
29506         (nextafter_test_data): Likewise.
29507         (nexttoward_test_data): Likewise.
29508         (pow_test_data): Likewise.
29509         (remainder_test_data): Likewise.
29510         (remquo_test_data): Likewise.
29511         (rint_test_data): Likewise.
29512         (round_test_data): Likewise.
29513         (signbit_test_data): Likewise.
29514         (sinh_test_data): Likewise.
29515         (sqrt_test_data): Likewise.
29516         (tanh_test_data): Likewise.
29517         (tgamma_test_data): Likewise.
29518         (trunc_test_data): Likewise.
29519         (y0_test_data): Likewise.
29520         (y1_test_data): Likewise.
29521         (yn_test_data): Likewise.
29522         (significand_test_data): Likewise.
29524 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
29526         * manual/filesys.texi (Storage Allocation): Document that
29527         posix_fallocate emulation fails when fd is open with O_WRONLY.
29529 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #19016]
29532         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29533         allow more cases with X^2 + Y^2 >= 0.5.
29534         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
29535         normal element in sum instead of special-casing based on values of
29536         arguments.
29537         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29538         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
29539         -1 as normal element in sum instead of special-casing based on
29540         values of arguments.
29541         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29542         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29543         (__x2y2m1): Update comment.
29544         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
29545         as normal element in sum instead of special-casing based on values
29546         of arguments.
29547         * math/s_clog.c (__clog): Handle more cases using log1p without
29548         hypot.
29549         * math/s_clog10.c (__clog10): Likewise.
29550         * math/s_clog10f.c (__clog10f): Likewise.
29551         * math/s_clog10l.c (__clog10l): Likewise.
29552         * math/s_clogf.c (__clogf): Likewise.
29553         * math/s_clogl.c (__clogl): Likewise.
29554         * math/auto-libm-test-in: Add more tests of clog and clog10.
29555         * math/auto-libm-test-out: Regenerated.
29556         * sysdeps/i386/fpu/libm-test-ulps: Update.
29557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29559 2015-09-28  Martin Sebor  <msebor@redhat.com>
29561         [BZ #18969]
29562         * string/Makefile (LOCALES): Define.
29563         (gen-locales.mk): Include.
29564         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29565         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29566         * string/tst-strxfrm2.c (do_test): Print the name of the locale
29567         on setlocale failure.
29569 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29571         [BZ #18985]
29572         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29573         (__strftime_internal): Likewise.
29574         * time/tst-strftime.c (do_bz18985): New test.
29575         (do_test): Call it.
29577 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
29579         [BZ #18956]
29580         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29581         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
29582         extracting high part.
29583         * math/auto-libm-test-in: Add another test of pow.
29584         * math/auto-libm-test-out: Regenerated.
29585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29587 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29589         [BZ #18825]
29590         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29591         New macro.
29592         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29593         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29594         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29595         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29596         DBL_NARROW_EVAL, reloading the PIC register as needed.
29597         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29598         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29599         FLT_NARROW_EVAL.  Use separate return path for case when first
29600         argument is NaN.
29601         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
29602         DEFINE_LDBL_MIN.
29603         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29604         PIC register.
29605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29606         math_check_force_underflow_nonneg.
29607         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29608         underflow for subnormal result.
29609         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29610         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29611         math_check_force_underflow_nonneg.
29612         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29613         math_check_force_underflow.
29614         * sysdeps/x86_64/fpu/x86_64-math-asm.h
29615         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29616         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
29617         DEFINE_LDBL_MIN.
29618         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29619         * math/auto-libm-test-in: Add more tests of pow.
29620         * math/auto-libm-test-out: Regenerated.
29622 2015-09-25  Florian Weimer  <fweimer@redhat.com>
29624         * nss/bug17079.c (init_test_items): Add diagnostic for
29625         inconsistent entries.
29626         (test_buffer_size): Skip inconsistent entries.
29628 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29630         [BZ #13304]
29631         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29632         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29633         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29635         [BZ #13304]
29636         * sysdeps/microblaze/s_fma.c: New file.
29637         * sysdeps/microblaze/s_fmaf.c: Likewise.
29638         * sysdeps/microblaze/sfp-machine.h: Likewise.
29640 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29642         [BZ #17250]
29643         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29644         member.
29646 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29648         [BZ #18803]
29649         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29650         (MO): New macro.
29651         (__ieee754_hypot) [PIC]: Load PIC register.
29652         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29653         DBL_NARROW_EVAL.
29654         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29655         math_check_force_underflow_nonneg in case where result might be
29656         tiny.
29657         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29658         Likewise.
29659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29660         Likewise.
29661         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29662         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29663         * math/auto-libm-test-in: Add more tests of hypot.
29664         * math/auto-libm-test-out: Regenerated.
29666 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29668         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29670 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29672         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29673         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29674         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29675         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29676         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29677         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29678         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29680         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29681         LOAD_PIC_REG.
29683         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29684         (FLT_CHECK_FORCE_UFLOW): Likewise.
29685         (DBL_CHECK_FORCE_UFLOW): Likewise.
29686         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29687         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29688         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29689         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29690         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29691         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29692         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29693         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29694         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29696         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29697         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29698         (flt_min): Replace with use of DEFINE_FLT_MIN.
29699         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29700         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29701         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29702         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29703         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29704         (flt_min): Replace with use of DEFINE_FLT_MIN.
29705         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29706         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29707         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29708         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29709         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29710         (flt_min): Replace with use of DEFINE_FLT_MIN.
29711         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29712         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29713         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29714         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29715         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29716         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29717         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29718         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29719         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29720         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29721         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29722         (flt_min): Replace with use of DEFINE_FLT_MIN.
29723         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29724         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29725         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29726         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29727         main computation.
29728         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29729         (flt_min): Replace with use of DEFINE_FLT_MIN.
29730         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29731         main computation.
29732         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29733         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29734         (MO): New macro.
29735         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29736         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29737         (flt_min): Replace with use of DEFINE_FLT_MIN.
29738         (MO): New macro.
29739         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29740         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29741         (__log1pl): Use MO.
29743         [BZ #19003]
29744         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29745         $(config-cflags-nofma).
29747 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29749         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29751 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29753         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29754         (TWO127): Likewise.
29756         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29757         (min_of_type): Likewise.
29758         (math_check_force_underflow): Likewise.
29759         (math_check_force_underflow_nonneg): Likewise.
29760         (math_check_force_underflow_complex): Likewise.
29761         * math/e_exp2l.c (__ieee754_exp2l): Use
29762         math_check_force_underflow_nonneg.
29763         * math/k_casinh.c (__kernel_casinh): Likewise.
29764         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29765         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29766         * math/s_catan.c (__catan): Use
29767         math_check_force_underflow_complex.
29768         * math/s_catanf.c (__catanf): Likewise.
29769         * math/s_catanh.c (__catanh): Likewise.
29770         * math/s_catanhf.c (__catanhf): Likewise.
29771         * math/s_catanhl.c (__catanhl): Likewise.
29772         * math/s_catanl.c (__catanl): Likewise.
29773         * math/s_ccosh.c (__ccosh): Likewise.
29774         * math/s_ccoshf.c (__ccoshf): Likewise.
29775         * math/s_ccoshl.c (__ccoshl): Likewise.
29776         * math/s_cexp.c (__cexp): Likewise.
29777         * math/s_cexpf.c (__cexpf): Likewise.
29778         * math/s_cexpl.c (__cexpl): Likewise.
29779         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29780         * math/s_clog10.c (__clog10): Likewise.
29781         * math/s_clog10f.c (__clog10f): Likewise.
29782         * math/s_clog10l.c (__clog10l): Likewise.
29783         * math/s_clogf.c (__clogf): Likewise.
29784         * math/s_clogl.c (__clogl): Likewise.
29785         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29786         * math/s_csinf.c (__csinf): Likewise.
29787         * math/s_csinh.c (__csinh): Likewise.
29788         * math/s_csinhf.c (__csinhf): Likewise.
29789         * math/s_csinhl.c (__csinhl): Likewise.
29790         * math/s_csinl.c (__csinl): Likewise.
29791         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29792         * math/s_csqrtf.c (__csqrtf): Likewise.
29793         * math/s_csqrtl.c (__csqrtl): Likewise.
29794         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29795         * math/s_ctanf.c (__ctanf): Likewise.
29796         * math/s_ctanh.c (__ctanh): Likewise.
29797         * math/s_ctanhf.c (__ctanhf): Likewise.
29798         * math/s_ctanhl.c (__ctanhl): Likewise.
29799         * math/s_ctanl.c (__ctanl): Likewise.
29800         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29801         instead of volatile.
29802         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29803         math_check_force_underflow.
29804         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29805         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29806         volatile when forcing underflow.
29807         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29808         math_check_force_underflow_nonneg.
29809         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29810         Likewise.
29811         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29812         math_check_force_underflow.
29813         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29814         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29815         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29817         math_check_force_underflow_nonneg.
29818         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29819         math_check_force_underflow.
29820         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29822         instead of volatile.
29823         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29824         math_check_force_underflow.
29825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29826         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29827         math_check_force_underflow_nonneg.
29828         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29829         math_check_force_underflow.
29830         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29831         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29832         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29833         math_check_force_underflow_nonneg.
29834         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29835         Likewise.
29836         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29837         math_check_force_underflow.
29838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29839         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29840         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29841         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29842         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29843         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29844         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29845         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29846         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29847         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29848         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29849         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29850         Likewise.
29851         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29852         math_check_force_underflow_nonneg.
29853         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29854         Likewise.
29855         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29856         math_check_force_underflow.
29857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29858         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29859         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29860         Likewise.
29861         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29862         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29863         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29864         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29865         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29866         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29868         instead of volatile.
29869         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29870         math_check_force_underflow.
29871         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29872         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29873         math_check_force_underflow.
29874         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29875         Likewise.
29876         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29877         Use math_check_force_underflow_nonneg.
29878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29879         math_check_force_underflow.
29880         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29881         Likewise.
29882         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29883         Likewise.
29884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29887         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29888         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29890         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29891         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29892         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29893         math_check_force_underflow_nonneg.
29894         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29895         math_check_force_underflow.
29896         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29897         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29898         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29899         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29900         math_check_force_underflow_nonneg.
29901         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29902         math_check_force_underflow.
29903         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29905         instead of volatile.
29906         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29907         math_check_force_underflow.
29909         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29910         * stdlib/strtod_l.c: Include <math_private.h>.
29911         (overflow_value): Use math_narrow_eval.
29912         (underflow_value): Likewise.
29913         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29914         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29915         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29916         (__ieee754_gamma_r): Likewise.
29917         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29918         Likewise.
29919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29920         Likewise.
29921         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29922         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29923         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29924         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29925         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29926         (__ieee754_gammaf_r): Likewise.
29927         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29928         Likewise.
29929         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29930         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29931         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29932         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29933         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29934         volatile.
29935         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29936         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29937         math_narrow_eval.
29938         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29939         Likewise.
29940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29941         Likewise.
29942         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29943         Likewise.
29944         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29945         volatile.
29946         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29947         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29948         math_narrow_eval.
29949         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29950         Likewise.
29951         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29952         Likewise.
29954 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29956         * nptl/Versions: Remove ignored symbols.
29958 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29960         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29961         * nss/Makefile (tests): Update.
29963 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29965         * nss/bug18287.c: New file.
29966         * nss/Makefile (tests): Add bug18287.
29968 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29970         * mach/Versions (__mach_host_self_): Add symbol.
29972 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29974         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29975         vm_page_size.
29977 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29979         Really fix sysdeps/i386/fpu/s_scalbn.S build
29981         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29982         (libc: GLIBC_2_22): Remove unused version set.
29984 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29986         * config.make.in (enable-timezone-tools): New variable.
29987         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29988         (enable_timezone_tools): Export to generated files.
29989         * configure: Regenerate.
29990         * INSTALL: Regenerate.
29991         * manual/install.texi (--disable-timezone-tools): Document new flag.
29992         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29993         ifeq ($(enable-timezone-tools),yes) check.
29995 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29997         * timezone/Makefile: Revert previous change.
29999         [BZ #18980]
30000         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30001         (DEFINE_DBL_MIN): Likewise.
30002         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30003         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30004         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30005         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30006         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30007         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30008         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30009         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30010         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30011         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30012         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30013         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30014         (flt_min): Replace with use of DEFINE_FLT_MIN.
30015         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30016         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30017         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30018         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30019         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30020         (flt_min): Replace with use of DEFINE_FLT_MIN.
30021         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30022         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30023         (flt_min): Replace with use of DEFINE_FLT_MIN.
30024         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30025         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30026         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30027         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30028         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30029         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30030         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30031         (__ieee754_pow): Use DBL_NARROW_EVAL.
30032         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30033         (__ieee754_powf): Use FLT_NARROW_EVAL.
30034         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30035         (__ieee754_expf_sse2): Convert double-precision result to single
30036         precision.
30037         * sysdeps/i386/fpu/libm-test-ulps: Update.
30039 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30041         * timezone/Makefile: Ignore unused variable errors due to private.h
30042         (time_t_min) and (time_t_max).
30043         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30044         Likewise.
30046 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30048         [BZ #18981]
30049         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30050         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30051         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30052         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30053         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30054         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30055         (__scalbn): Use DBL_NARROW_EVAL.
30056         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30057         (__scalbnf): Use FLT_NARROW_EVAL.
30059 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30061         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30062         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30063         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30064         * stdio-common/printf_fp.c (___printf_fp):
30065         Use signbit to get the sign. Use isinf macro to allow inlining.
30066         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30067         * stdio-common/printf_size.c (__printf_size): Likewise.
30069 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30071         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30073 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30075         [BZ #18980]
30076         * sysdeps/generic/math_private.h: Include <float.h>.
30077         (math_narrow_eval): New macro.
30078         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30079         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30080         math_narrow_eval on overflowing return value.
30081         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30082         Likewise.
30083         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30084         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30086         Likewise.
30087         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30089 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30091         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30092         * math/Makefile: Remove isinf_ns.c.
30093         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30094         * math/multc3.c (__multc3): Likewise.
30095         * math/s_casin.c (__casin): Likewise.
30096         * math/s_casinf.c (__casinf): Likewise.
30097         * math/s_casinl.c (__casinl): Likewise.
30098         * math/s_cproj.c (__cproj): Likewise.
30099         * math/s_cprojf.c (__cprojf): Likewise.
30100         * math/s_cprojl.c (__cprofl): Likewise.
30101         * math/s_ctan.c (__ctan): Likewise.
30102         * math/s_ctanf.c (__ctanf): Likewise.
30103         * math/s_ctanh.c (__ctanh): Likewise.
30104         * math/s_ctanhf.c (__ctanhf): Likewise.
30105         * math/s_ctanhl.c (__ctanhl): Likewise.
30106         * math/s_ctanl.c (__ctanl): Likewise.
30107         * math/w_fmod.c (__fmod): Likewise.
30108         * math/w_fmodf.c (__fmodf): Likewise.
30109         * math/w_fmodl.c (_fmodl): Likewise.
30110         * math/w_remainder.c (__remainder): Likewise.
30111         * math/w_remainderf.c (__remainderf): Likewise.
30112         * math/w_remainderl.c (__remainderl): Likewise.
30113         * math/w_scalb.c (__scalb): Likewise.
30114         * math/w_scalbf.c (__scalbf): Likewise.
30115         * math/w_scalbl.c (__scalbl): Likewise.
30116         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30117         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30118         with isinf.
30119         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30121         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30122         __isinf_nsf with isinf.
30123         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30124         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30125         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30126         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30127         with isinf.
30128         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30129         __isinf_nsl with isinf.
30130         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30131         with isinf.
30132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30133         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30134         __isinf_nsl with isinf.
30135         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30136         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30137         with isinf.
30139 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30141         * resolv/base64.c (rcsid): Remove unused static.
30142         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30143         static.  (tqpi1): Likewise.
30144         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30145         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30146         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30147         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30148         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30149         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30150         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30151         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
30152         Likewise.
30154 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
30156         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30157         <nptl/pthreadP.h>.
30158         (_longjmp_unwind): Use __libc_ptf_call.
30159         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30161 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
30163         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30164         * sysdeps/arm/__longjmp.S: Likewise.
30166 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30168         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30169         Use __builtin_signbit.
30170         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30171         Use __builtin_signbitf.
30172         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30173         Use __builtin_signbitl.
30174         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30175         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30177 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30179         [BZ #15367]
30180         [BZ #17441]
30182         * math/Makefile: Build test-snan.c with -fsignaling-nans.
30183         * math/math.h (fpclassify): Use __builtin_fpclassify when
30184         available.  (signbit): Use __builtin_signbit(f/l).
30185         (isfinite): Use__builtin_isfinite.  (isnormal): Use
30186         __builtin_isnormal.  (isnan): Use __builtin_isnan.
30187         (isinf): Use __builtin_isinf_sign.
30189 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30191         * benchtests/Makefile: Add bench-math-inlines, link with libm.
30192         * benchtests/bench-math-inlines.c: New benchmark.
30193         * benchtests/bench-util.h: New file.
30194         * benchtests/bench-util.c: New file.
30195         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30197 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
30199         * elf/tst-dlmopen1.c: Define TEST_SO.
30200         (do_test): Use TEST_SO.
30202         * elf/dl-load.c: Include libc-internal.h.
30203         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30205 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30207         [BZ #17887]
30208         * time/strptime_l.c (__strptime_internal): Make %z accept
30209         [+-]HH:MM time zones.
30211 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30213         [BZ #17886]
30214         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30215         valid time zone.
30217 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
30219         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30220         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30222         (__ASSUME_FDATASYNC): Delete.
30224 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30226         * conform/linknamespace.pl: Require weak undefined symbols to be
30227         in the standard namespace.
30228         (%strong_syms): Rename to %seen_syms.
30229         (%strong_seen): Rename to %seen_where.
30231 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
30233         [BZ #18970]
30234         * misc/error.c (error): Replace pthread_setcancelstate with
30235         __pthread_setcancelstate.
30236         (error_at_line): Likewise.
30237         * posix/wordexp.c (parse_comm): Likewise.
30238         * stdlib/fmtmsg.c (fmtmsg): Likewise.
30239         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30240         (__pthread_setcancelstate): This.
30241         (pthread_setcancelstate): Add an alias.
30242         * nptl/nptl-init.c (pthread_functions): Replace
30243         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30244         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30245         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30246         hidden_proto.
30247         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30248         it with hidden_def.
30249         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30250         (pthread_setcancelstate): Renamed to ...
30251         (__pthread_setcancelstate): This.
30252         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30253         __libc_ptf_call with __pthread_setcancelstate.
30255 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30256             Andreas Schwab  <schwab@suse.de>
30258         [BZ #17118]
30259         * math/s_ctan.c (__ctan): Determine sign of zero real part of
30260         result when imaginary part of argument is infinite using sine and
30261         cosine.
30262         * math/s_ctanf.c (__ctanf): Likewise.
30263         * math/s_ctanl.c (__ctanl): Likewise.
30264         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30265         of result when real part of argument is infinite using sine and
30266         cosine.
30267         * math/s_ctanhf.c (__ctanhf): Likewise.
30268         * math/s_ctanhl.c (__ctanhl): Likewise.
30269         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30270         (ctanh_test_data): Add more tests of ctanh.
30272 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30274         [BZ #15384]
30275         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30276         bit-mask as in subtraction.
30277         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30278         Likewise.
30279         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30280         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30281         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30283         [BZ #18951]
30284         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30285         underflow exception for small results.
30286         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30287         Likewise.
30288         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30289         Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30291         Likewise.
30292         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30293         Likewise.
30294         * math/auto-libm-test-in: Add more tests of tgamma.
30295         * math/auto-libm-test-out: Regenerated.
30297 2015-09-17  Andreas Schwab  <schwab@suse.de>
30299         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30301 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30303         [BZ #18977]
30304         * math/bits/mathcalls.h
30305         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30306         not declare.
30307         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30308         Likewise.
30309         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30310         Likewise.
30311         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30312         Likewise.
30313         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30314         Likewise.
30315         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30316         Likewise.
30317         * conform/data/math.h-data
30318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30319         function.
30320         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30322         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30323         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30324         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30325         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30326         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30327         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30328         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30329         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30330         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30332         [BZ #6803]
30333         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30334         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30335         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30336         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30337         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30338         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30339         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30340         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30341         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30343         Likewise.
30344         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30345         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30346         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30347         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30348         long_double_symbol calls.
30349         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30350         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30351         strong alias of __ldexpl.
30352         (scalbnl): Define using long_double_symbol.
30353         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30354         Remove alias.
30355         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30356         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30357         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30358         (scalbln_test_data): Add more errno expectations.
30360 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
30362         Cache the host port like we cache the task port.  This way we do not
30363         need to call the kernel just to get the port.  Furthermore, we no
30364         longer increase the reference count on every invocation of
30365         `mach_host_self'.
30367         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30368         Protect declarations against the macro expansion.
30369         * mach/mach_init.c (__mach_host_self_): New variable.
30370         (mach_init): Initialize `__mach_host_self_'.
30371         * mach/mach_init.h (__mach_host_self_): New declaration.
30372         (__mach_host_self, mach_host_self): New macros.
30373         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30374         Release reference.
30376 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30378         [BZ #4404]
30379         * po/de.po: Update from Translation Project.
30381         [BZ #16415]
30382         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30383         (__expm1l): Remove code to handle positive infinity and overflow.
30384         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30385         variable.
30386         (__expm1l): Remove code to handle positive infinity and overflow.
30388 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
30389             Paul Pluzhnikov  <ppluzhnikov@google.com>
30391         [BZ #18872]
30392         * stdio-common/Makefile (tst-printf-bz18872): New test.
30393         (tst-printf-bz18872-mem.out): Likewise.
30394         * stdio-common/tst-printf-bz18872.sh: Generate new test.
30395         * stdio-common/vfprintf.c: Fix memory leaks.
30397 2015-09-16  Andreas Schwab  <schwab@suse.de>
30399         [BZ #17244]
30400         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
30401         Remove extra va_start/va_end calls.
30403         [BZ #17243]
30404         * posix/execl.c (execl): Add missing va_end.
30405         * posix/execle.c (execle): Likewise.
30406         * posix/execlp.c (execlp): Likewise.
30408 2015-09-15  Roland McGrath  <roland@hack.frob.com>
30410         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30411         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30413 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
30415         [BZ #18967]
30416         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
30417         undefine around includes of <bits/mathcalls.h>.
30418         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30419         not declare function.
30420         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30421         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30422         (scalb): Likewise.
30423         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30424         not define macro.
30425         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30426         variable.
30427         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30428         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30429         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30431         [BZ #18857]
30432         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30433         return non-finite argument without doing ordered comparisons on
30434         it.
30436         [BZ #16296]
30437         * math/fenv.h (fegetround): Use __attribute_pure__.
30438         * include/fenv.h (__fegetround): Likewise.
30440         [BZ #18595]
30441         * math/s_ctan.c (__ctan): Force underflow exception for results
30442         whose real or imaginary part has small absolute value.
30443         * math/s_ctanf.c (__ctanf): Likewise.
30444         * math/s_ctanh.c (__ctanh): Likewise.
30445         * math/s_ctanhf.c (__ctanhf): Likewise.
30446         * math/s_ctanhl.c (__ctanhl): Likewise.
30447         * math/s_ctanl.c (__ctanl): Likewise.
30448         * math/auto-libm-test-in: Do not allow missing underflow for ctan
30449         and ctanh.  Add more tests of ctan and ctanh.
30451         [BZ #15918]
30452         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30453         handling of cases where one argument is an infinity.
30455         [BZ #18875]
30456         [BZ #18966]
30457         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30458         (MO): New macro.
30459         (__ieee754_exp10): For small results, force underflow exception
30460         and remove excess range and precision from return value.
30461         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30462         (MO): New macro.
30463         (__ieee754_exp10f): For small results, force underflow exception
30464         and remove excess range and precision from return value.
30465         * math/auto-libm-test-in: Add more tests of exp10.
30466         * math/auto-libm-test-out: Regenerated.
30468 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
30470         [BZ #18875]
30471         [BZ #18961]
30472         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30473         (MO): New macro.
30474         (__ieee754_exp): For small results, force underflow exception and
30475         remove excess range and precision from return value.
30476         (__exp_finite): Likewise.
30477         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30478         (MO): New macro.
30479         (__ieee754_expf): For small results, force underflow exception and
30480         remove excess range and precision from return value.
30481         (__expf_finite): Likewise.
30482         * math/auto-libm-test-in: Add more tests of exp.
30483         * math/auto-libm-test-out: Regenerated.
30485         [BZ #16521]
30486         [BZ #18875]
30487         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30488         small results.
30489         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30490         (MO): New macro.
30491         (__ieee754_exp2): For small results, force underflow exception and
30492         remove excess range and precision from return value.
30493         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30494         (MO): New macro.
30495         (__ieee754_exp2f): For small results, force underflow exception
30496         and remove excess range and precision from return value.
30497         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30498         (MO): New macro.
30499         (__ieee754_exp2l): Force underflow exception for small results.
30500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30501         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30502         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30503         (MO): New macro.
30504         (__ieee754_exp2l): Force underflow exception for small results.
30505         * math/auto-libm-test-in: Add more tests or exp2.
30506         * math/auto-libm-test-out: Regenerated.
30508 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
30510         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30512         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30513         /dev/null.
30515 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30517         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30518         io fs process)): Drop spurious backslash.
30520 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30522         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30523         Use sysinfo system call instead of parsing /proc/meminfo.
30524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30525         Likewise.
30527 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
30529         [BZ #16985]
30530         * programs/localedef.c (main): Display argv[remaining] when
30531         output_path is NULL.
30533 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30535         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30536         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30537         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30538         tanh.
30539         * math/auto-libm-test-out: Regenerated.
30540         * sysdeps/i386/fpu/libm-test-ulps: Update.
30541         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30542         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30545 2015-09-11  Roland McGrath  <roland@hack.frob.com>
30547         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30548         Use 'override' keyword to freeze the value here, preventing
30549         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30551 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #14912]
30554         * sysdeps/aarch64/bits/atomic.h: Move to ...
30555         * sysdeps/aarch64/atomic-machine.h: ...here.
30556         (_AARCH64_BITS_ATOMIC_H): Rename macro to
30557         _AARCH64_ATOMIC_MACHINE_H.
30558         * sysdeps/alpha/bits/atomic.h: Move to ...
30559         * sysdeps/alpha/atomic-machine.h: ...here.
30560         * sysdeps/arm/bits/atomic.h: Move to ...
30561         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
30562         * bits/atomic.h: Move to ...
30563         * sysdeps/generic/atomic-machine.h: ...here.
30564         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30565         * sysdeps/i386/bits/atomic.h: Move to ...
30566         * sysdeps/i386/atomic-machine.h: ...here.
30567         * sysdeps/ia64/bits/atomic.h: Move to ...
30568         * sysdeps/ia64/atomic-machine.h: ...here.
30569         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30570         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30571         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30572         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30573         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30574         * sysdeps/microblaze/bits/atomic.h: Move to ...
30575         * sysdeps/microblaze/atomic-machine.h: ...here.
30576         * sysdeps/mips/bits/atomic.h: Move to ...
30577         * sysdeps/mips/atomic-machine.h: ...here.
30578         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30579         * sysdeps/powerpc/bits/atomic.h: Move to ...
30580         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
30581         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30582         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
30583         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
30584         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30585         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
30586         <atomic-machine.h> instead of <bits/atomic.h>.
30587         * sysdeps/s390/bits/atomic.h: Move to ...
30588         * sysdeps/s390/atomic-machine.h: ...here.
30589         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30590         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30591         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30592         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30593         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30594         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30595         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30596         * sysdeps/tile/bits/atomic.h: Move to ...
30597         * sysdeps/tile/atomic-machine.h: ...here.
30598         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30599         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
30600         <sysdeps/tile/atomic-machine.h> instead of
30601         <sysdeps/tile/bits/atomic.h>.
30602         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30603         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30604         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
30605         <sysdeps/tile/atomic-machine.h> instead of
30606         <sysdeps/tile/bits/atomic.h>.
30607         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30608         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30609         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
30610         <sysdeps/arm/atomic-machine.h> instead of
30611         <sysdeps/arm/bits/atomic.h>.
30612         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30613         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30614         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30615         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30616         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30617         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30618         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30619         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30620         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30621         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30622         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30623         * sysdeps/x86_64/bits/atomic.h: Move to ...
30624         * sysdeps/x86_64/atomic-machine.h: ...here.
30625         * include/atomic.h: Include <atomic-machine.h> instead of
30626         <bits/atomic.h>.
30628         * sysdeps/mips/mips32/libm-test-ulps: Update.
30629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30631         [BZ #18952]
30632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30633         not convert non-integer negative arguments to int to determine the
30634         value of signgam.
30635         * math/auto-libm-test-in: Add more tests of lgamma.
30636         * math/auto-libm-test-out: Regenerated.
30638         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30639         cosh, csqrt, erfc, expm1 and lgamma.
30640         * math/auto-libm-test-out: Regenerated.
30641         * sysdeps/i386/fpu/libm-test-ulps: Update.
30642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30644 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30646         [BZ #2542]
30647         [BZ #2543]
30648         [BZ #2558]
30649         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30650         __lgamma_neg for arguments from -28.0 to -2.0.
30651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30652         __lgamma_negf for arguments from -15.0 to -2.0.
30653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30654         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30655         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30656         Call __lgamma_negl for arguments from -33.0 to -2.0.
30657         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30658         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30659         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30660         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30667         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30668         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30669         (__lgamma_neg): Likewise.
30670         (__lgamma_negl): Likewise.
30671         (__lgamma_product): Likewise.
30672         (__lgamma_productl): Likewise.
30673         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30674         * math/auto-libm-test-in: Add more tests of lgamma.
30675         * math/auto-libm-test-out: Regenerated.
30676         * sysdeps/i386/fpu/libm-test-ulps: Update.
30677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30681         [BZ #18675]
30682         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30684 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30686         [BZ #14912]
30687         * bits/libc-lock.h: Move to ...
30688         * sysdeps/generic/libc-lock.h: ...here.
30689         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30690         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30691         * sysdeps/mach/hurd/libc-lock.h: ...here.
30692         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30693         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30694         * sysdeps/mach/bits/libc-lock.h: Move to ...
30695         * sysdeps/mach/libc-lock.h: ...here.
30696         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30697         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30698         * sysdeps/nptl/libc-lock.h: ...here.
30699         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30700         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30701         * sysdeps/nptl/libc-lockP.h: ...here.
30702         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30703         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30704         <bits/libc-lock.h>.
30705         * dirent/scandir-tail.c: Likewise.
30706         * dlfcn/dlerror.c: Likewise.
30707         * elf/dl-close.c: Likewise.
30708         * elf/dl-iteratephdr.c: Likewise.
30709         * elf/dl-lookup.c: Likewise.
30710         * elf/dl-open.c: Likewise.
30711         * elf/dl-support.c: Likewise.
30712         * elf/dl-writev.h: Likewise.
30713         * elf/rtld.c: Likewise.
30714         * grp/fgetgrent.c: Likewise.
30715         * gshadow/fgetsgent.c: Likewise.
30716         * gshadow/sgetsgent.c: Likewise.
30717         * iconv/gconv_conf.c: Likewise.
30718         * iconv/gconv_db.c: Likewise.
30719         * iconv/gconv_dl.c: Likewise.
30720         * iconv/gconv_int.h: Likewise.
30721         * iconv/gconv_trans.c: Likewise.
30722         * include/link.h: Likewise.
30723         * inet/getnameinfo.c: Likewise.
30724         * inet/getnetgrent.c: Likewise.
30725         * inet/getnetgrent_r.c: Likewise.
30726         * intl/bindtextdom.c: Likewise.
30727         * intl/dcigettext.c: Likewise.
30728         * intl/finddomain.c: Likewise.
30729         * intl/gettextP.h: Likewise.
30730         * intl/loadmsgcat.c: Likewise.
30731         * intl/localealias.c: Likewise.
30732         * intl/textdomain.c: Likewise.
30733         * libidn/idn-stub.c: Likewise.
30734         * libio/libioP.h: Likewise.
30735         * locale/duplocale.c: Likewise.
30736         * locale/freelocale.c: Likewise.
30737         * locale/newlocale.c: Likewise.
30738         * locale/setlocale.c: Likewise.
30739         * login/getutent_r.c: Likewise.
30740         * login/getutid_r.c: Likewise.
30741         * login/getutline_r.c: Likewise.
30742         * login/utmp-private.h: Likewise.
30743         * login/utmpname.c: Likewise.
30744         * malloc/mtrace.c: Likewise.
30745         * misc/efgcvt.c: Likewise.
30746         * misc/error.c: Likewise.
30747         * misc/fstab.c: Likewise.
30748         * misc/getpass.c: Likewise.
30749         * misc/mntent.c: Likewise.
30750         * misc/syslog.c: Likewise.
30751         * nis/nis_call.c: Likewise.
30752         * nis/nis_callback.c: Likewise.
30753         * nis/nss-default.c: Likewise.
30754         * nis/nss_compat/compat-grp.c: Likewise.
30755         * nis/nss_compat/compat-initgroups.c: Likewise.
30756         * nis/nss_compat/compat-pwd.c: Likewise.
30757         * nis/nss_compat/compat-spwd.c: Likewise.
30758         * nis/nss_nis/nis-alias.c: Likewise.
30759         * nis/nss_nis/nis-ethers.c: Likewise.
30760         * nis/nss_nis/nis-grp.c: Likewise.
30761         * nis/nss_nis/nis-hosts.c: Likewise.
30762         * nis/nss_nis/nis-network.c: Likewise.
30763         * nis/nss_nis/nis-proto.c: Likewise.
30764         * nis/nss_nis/nis-pwd.c: Likewise.
30765         * nis/nss_nis/nis-rpc.c: Likewise.
30766         * nis/nss_nis/nis-service.c: Likewise.
30767         * nis/nss_nis/nis-spwd.c: Likewise.
30768         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30769         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30770         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30771         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30772         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30773         * nis/nss_nisplus/nisplus-network.c: Likewise.
30774         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30775         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30776         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30777         * nis/nss_nisplus/nisplus-service.c: Likewise.
30778         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30779         * nis/ypclnt.c: Likewise.
30780         * nptl/libc_pthread_init.c: Likewise.
30781         * nss/getXXbyYY.c: Likewise.
30782         * nss/getXXent.c: Likewise.
30783         * nss/getXXent_r.c: Likewise.
30784         * nss/nss_db/db-XXX.c: Likewise.
30785         * nss/nss_db/db-netgrp.c: Likewise.
30786         * nss/nss_db/nss_db.h: Likewise.
30787         * nss/nss_files/files-XXX.c: Likewise.
30788         * nss/nss_files/files-alias.c: Likewise.
30789         * nss/nsswitch.c: Likewise.
30790         * posix/regex_internal.h: Likewise.
30791         * posix/wordexp.c: Likewise.
30792         * pwd/fgetpwent.c: Likewise.
30793         * resolv/res_hconf.c: Likewise.
30794         * resolv/res_libc.c: Likewise.
30795         * shadow/fgetspent.c: Likewise.
30796         * shadow/lckpwdf.c: Likewise.
30797         * shadow/sgetspent.c: Likewise.
30798         * socket/opensock.c: Likewise.
30799         * stdio-common/reg-modifier.c: Likewise.
30800         * stdio-common/reg-printf.c: Likewise.
30801         * stdio-common/reg-type.c: Likewise.
30802         * stdio-common/vfprintf.c: Likewise.
30803         * stdio-common/vfscanf.c: Likewise.
30804         * stdlib/abort.c: Likewise.
30805         * stdlib/cxa_atexit.c: Likewise.
30806         * stdlib/fmtmsg.c: Likewise.
30807         * stdlib/random.c: Likewise.
30808         * stdlib/setenv.c: Likewise.
30809         * string/strsignal.c: Likewise.
30810         * sunrpc/auth_none.c: Likewise.
30811         * sunrpc/bindrsvprt.c: Likewise.
30812         * sunrpc/create_xid.c: Likewise.
30813         * sunrpc/key_call.c: Likewise.
30814         * sunrpc/rpc_thread.c: Likewise.
30815         * sysdeps/arm/backtrace.c: Likewise.
30816         * sysdeps/generic/ldsodefs.h: Likewise.
30817         * sysdeps/generic/stdio-lock.h: Likewise.
30818         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30819         * sysdeps/i386/backtrace.c: Likewise.
30820         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30821         * sysdeps/m68k/backtrace.c: Likewise.
30822         * sysdeps/mach/hurd/cthreads.c: Likewise.
30823         * sysdeps/mach/hurd/dirstream.h: Likewise.
30824         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30825         * sysdeps/nptl/malloc-machine.h: Likewise.
30826         * sysdeps/nptl/stdio-lock.h: Likewise.
30827         * sysdeps/posix/dirstream.h: Likewise.
30828         * sysdeps/posix/getaddrinfo.c: Likewise.
30829         * sysdeps/posix/system.c: Likewise.
30830         * sysdeps/pthread/aio_suspend.c: Likewise.
30831         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30832         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30833         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30834         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30835         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30836         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30837         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30838         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30839         * sysdeps/unix/sysv/linux/system.c: Likewise.
30840         * sysdeps/x86_64/backtrace.c: Likewise.
30841         * time/alt_digit.c: Likewise.
30842         * time/era.c: Likewise.
30843         * time/tzset.c: Likewise.
30844         * wcsmbs/wcsmbsload.c: Likewise.
30845         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30846         instead of <bits/libc-lock.h> in comment.
30848 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30850         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30851         Only use .set mips2 if the current ISA is below mips2.
30852         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30853         Likewise.
30854         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30855         mips32r2 if the current ISA is below mips32r2.
30856         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30857         (TLS_IE): Updated to use the TLD_RDHWR macro.
30858         (TLS_LE): Likewise.
30859         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30860         __ASSEMBLER__ condition.
30862 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30864         Fix parallel build of before-compile targets.
30866         * sysdeps/mach/Makefile ($(patsubst
30867         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30868         mach-before-compile target.
30869         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30870         io fs process)): Move rule to dedicated hurd-before-compile target.
30872 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30874         Fix rules generating headers in hurd/ and mach/ when initial make call
30875         has subdir= explicitly set.
30877         * sysdeps/mach/Makefile ($(patsubst
30878         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30879         calling $(MAKE).
30880         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30881         io fs process)): Force subdir to hurd when calling $(MAKE).
30882         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30883         subdir to mach when calling $(MAKE).
30885 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30887         Check sysheaders when looking for Mach and Hurd headers
30889         * sysdeps/mach/configure.ac: Add sysheaders check.
30890         * sysdeps/mach/configure: Regenerate.
30891         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30892         * sysdeps/mach/hurd/configure: Regenerate.
30894 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30896         [BZ #18921]
30897         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30898         Fix inverted sense of test of 'o_directory_works' value.
30899         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30900         Bernhard Voelker <mail@bernhard-voelker.de>.
30902 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30904         [BZ #14912]
30905         * bits/linkmap.h: Move to ...
30906         * sysdeps/generic/linkmap.h: ...here.
30907         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30908         * sysdeps/aarch64/linkmap.h: ...here.
30909         * sysdeps/arm/bits/linkmap.h: Move to ...
30910         * sysdeps/arm/linkmap.h: ...here.
30911         * sysdeps/hppa/bits/linkmap.h: Move to ...
30912         * sysdeps/hppa/linkmap.h: ...here.
30913         * sysdeps/ia64/bits/linkmap.h: Move to ...
30914         * sysdeps/ia64/linkmap.h: ...here.
30915         * sysdeps/mips/bits/linkmap.h: Move to ...
30916         * sysdeps/mips/linkmap.h: ...here.
30917         * sysdeps/s390/bits/linkmap.h: Move to ...
30918         * sysdeps/s390/linkmap.h: ...here.
30919         * sysdeps/sh/bits/linkmap.h: Move to ...
30920         * sysdeps/sh/linkmap.h: ...here.
30921         * sysdeps/x86/bits/linkmap.h: Move to ...
30922         * sysdeps/x86/linkmap.h: ...here.
30923         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30925 2015-09-04  Andreas Schwab  <schwab@suse.de>
30927         [BZ #18635]
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30929         (__makecontext): Terminate FDE before return label.
30930         (__novec_makecontext): Likewise.
30932 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30934         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30935         first member of struct sv in syscall macro.
30937 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30939         [BZ #14912]
30940         * bits/stdio-lock.h: Move to ...
30941         * sysdeps/generic/stdio-lock.h: ...here.
30942         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30943         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30944         * sysdeps/nptl/stdio-lock.h: ...here.
30945         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30946         * include/libio.h: Include <stdio-lock.h> instead of
30947         <bits/stdio-lock.h>.
30948         * sysdeps/nptl/fork.c: Likewise.
30949         * sysdeps/pthread/flockfile.c: Likewise.
30950         * sysdeps/pthread/ftrylockfile.c: Likewise.
30951         * sysdeps/pthread/funlockfile.c: Likewise.
30953         [BZ #14912]
30954         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30955         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30956         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30957         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30958         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30959         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30960         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30962 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30964         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30965         (test-xfail-tst-protected1b): New variable.
30967 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30969         [BZ #14912]
30970         * bits/libc-tsd.h: Move to ...
30971         * sysdeps/generic/libc-tsd.h: ...here.
30972         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30973         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30974         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30975         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30976         * include/ctype.h: Include <libc-tsd.h> instead of
30977         <bits/libc-tsd.h>.
30978         * include/rpc/rpc.h: Likewise.
30979         * locale/localeinfo.h: Likewise.
30980         * sunrpc/rpc_thread.c: Likewise.
30981         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30982         * sysdeps/nptl/malloc-machine.h: Likewise.
30984         * Makefile (headers): Remove bits/libc-lock.h.
30985         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30987         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30988         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30989         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30990         <bits/stdio-lock.h>.
30991         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30992         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30994 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30996         [BZ #18757]
30997         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30998         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30999         BZ #18757.
31001 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31003         * malloc/mtrace.pl: Filter out NULL entries.
31005 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31007         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31008         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31009         macro.
31011         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31012         (TCP_CC_INFO): Likewise.
31013         (TCP_SAVE_SYN): Likewise.
31014         (TCP_SAVED_SYN): Likewise.
31016 2015-08-31  Brett Neumeier <brett@neumeier.us>
31018         [BZ #18870]
31019         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31021 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31023         [BZ #18873]
31024         Fix broken overflow check in posix_fallocate
31025         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31026         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31027         Fix parenthesization typo.
31029 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31031         [BZ #18887]
31032         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31033         tst-mntent-blank-passno.
31034         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31035         * misc/tst-mntent-blank-corrupt.c: New test.
31036         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31037         * misc/tst-mntent.c (do_test): ... here.
31039 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31041         [BZ #4404]
31042         * po/de.po: Fix SIGALRM typo.
31044 2015-08-28  James Perkins  <james@loowit.net>
31046         * time/tst-strptime2.c (tests): Replace short list of test
31047         strings for strptime %z specifier with code which exhaustively
31048         tests every combination of sign and 0 to 5 digits. Tests for
31049         rejection of invalid strings.
31051 2015-08-28  James Perkins  <james@loowit.net>
31053         [BZ #16141]
31054         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31055         calculation, removing incorrect decimal time rounding, so that
31056         all minute values result in a valid seconds value.
31057         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31058         offset range limits to UTC-99:59 through UTC+99:59 to parse
31059         current and historical use cases.
31060         * time/tst-strptime2.c (tests): Modify and add tests for the
31061         strptime %z input field descriptor, specifically conversion of
31062         minutes to seconds and validating an offset range of -9959 to
31063         +9959.
31065 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31066             Dmitry V. Levin  <ldv@altlinux.org>
31068         [BZ #18877]
31069         * posix/Makefile (tests): Add tst-mmap-offset.
31070         * posix/tst-mmap.c: New file.
31071         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31072         offset calculation for negative values.
31074 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31076         * sysdeps/i386/init-arch.h: New file.
31077         * sysdeps/i386/i586/init-arch.h: Likewise.
31078         * sysdeps/i386/i686/init-arch.h: Likewise.
31079         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31080         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31081         * sysdeps/x86/cpu-features.h (bit_I586): New.
31082         (bit_I686): Likewise.
31083         (bit_CX8): Likewise.
31084         (bit_CMOV): Likewise.
31085         (index_CX8): Likewise.
31086         (index_CMOV): Likewise.
31087         (index_I586): Likewise.
31088         (index_I686): Likewise.
31089         (reg_CX8): Likewise.
31090         (reg_CMOV): Likewise.
31091         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31092         available at compile-time.
31093         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31094         available at compile-time.
31095         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31096         (USE_I686): Likewise.
31098 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31100         * sysdeps/i386/bcopy.S: New file.
31101         * sysdeps/i386/bzero.S: Likewise.
31102         * sysdeps/i386/memcpy.S: Likewise.
31103         * sysdeps/i386/memmove.S: Likewise.
31104         * sysdeps/i386/mempcpy.S: Likewise.
31105         * sysdeps/i386/memset.S: Likewise.
31106         * sysdeps/i386/bzero.c: Removed.
31107         * sysdeps/i386/memset.c: Likewise.
31108         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31109         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31110         * sysdeps/i386/i586/memset_chk.S: Likewise.
31111         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31112         * sysdeps/i386/memcpy_chk.S: Here.
31113         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31114         * sysdeps/i386/memmove_chk.S: Here.
31115         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31116         * sysdeps/i386/mempcpy_chk.S: Likewise.
31117         * sysdeps/i386/i686/memset_chk.S: Moved to ...
31118         * sysdeps/i386/memset_chk.S: Likewise.
31120 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
31122         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31123         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31124         file, move DIAG_POP_NEEDS_COMMENT to end of file.
31125         * soft-fp/fmadf4.c: Ditto.
31126         * soft-fp/fmatf4.c: Ditto.
31128 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31130         * sysdeps/i386/i586/Implies: Removed.
31131         * sysdeps/i386/i686/Implies: Likewise.
31133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31135         * sysdeps/i386/i486/strlen.S: Moved to ...
31136         * sysdeps/i386/strlen.S: Here.
31138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31140         * sysdeps/i386/i486/strcat.S: Moved to ...
31141         * sysdeps/i386/strcat.S: Here.
31143 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31145         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31146         * sysdeps/i386/pthread_spin_trylock.S: Here.
31147         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31148         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31150 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31152         * sysdeps/i386/i486/string-inlines.c: Moved to ...
31153         * sysdeps/i386/string-inlines.c: Here.
31155 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31157         * sysdeps/i386/i486/htonl.S: Moved ...
31158         * sysdeps/i386/htonl.S: here.
31160 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31162         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31163         * sysdeps/i386/bits/atomic.h: Here.
31165 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31167         * sysdeps/i386/i486/Versions: Removed.
31169 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31171         [BZ #2898]
31172         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31173         Based on patch by Aurelien Jarno.
31175 2015-08-26  Stan Shebs  <stanshebs@google.com>
31177         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31178         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31180 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31182         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31183         * sysdeps/powerpc/dl-procinfo.c:
31184         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31185         feature so it shows when LD_SHOW_AUXV=1.
31187 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31190         (__arch_compare_and_exchange_val_32_acq): Remove and use common
31191         definition.  ISA 2.07B no longer requires full sync.
31193 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
31195         [BZ #18863]
31196         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31197         (si_call_addr): Define.
31198         (si_syscall): Define.
31199         (si_arch): Define.
31201 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31203         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31204         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31205         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31206         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31207         (__memset_zero_constant_len_parameter): New.
31208         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31209         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31210         (__memset_zero_constant_len_parameter): Don't define if
31211         __memset_chk or USE_AS_BZERO are defined.
31213         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31214         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31215         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31217         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31218         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31219         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31220         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
31221         comments.
31222         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31223         -mno-mmx for $(all-rtld-routines).
31224         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31225         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
31226         i386.
31228 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31230         * sysdeps/generic/unwind.h
31231         (_Unwind_Word): Use __mode__(__unwind_word__)
31232         instead of __mode__(__word__).
31233         (_Unwind_Sword): Likewise.
31235         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31236         (MAX_NEEDED_INPUT): New define.
31237         (MAX_NEEDED_OUTPUT): New define.
31239         * NEWS: New item for IBM z13 string optimizations.
31241         * sysdeps/s390/multiarch/memrchr-c.c: New File.
31242         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31243         * sysdeps/s390/multiarch/memrchr.c: Likewise.
31244         * sysdeps/s390/multiarch/Makefile
31245         (sysdep_routines): Add memrchr functions.
31246         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31247         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31249         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31250         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31251         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31252         * sysdeps/s390/multiarch/Makefile
31253         (sysdep_routines): Add wmemcmp functions.
31254         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31255         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31256         * benchtests/bench-wmemcmp.c: New File.
31257         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31259         * sysdeps/s390/multiarch/wmemset-c.c: New File.
31260         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31261         * sysdeps/s390/multiarch/wmemset.c: Likewise.
31262         * sysdeps/s390/multiarch/Makefile
31263         (sysdep_routines): Add wmemset functions.
31264         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31265         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31266         * wcsmbs/wmemset.c: Use WMEMSET if defined.
31267         * string/test-memset.c: Add wmemset support.
31268         * wcsmbs/test-wmemset.c: New File.
31269         * wcsmbs/Makefile (strop-tests): Add wmemset.
31270         * benchtests/bench-memset.c: Add wmemset support.
31271         * benchtests/bench-wmemset.c: New File.
31272         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31274         * sysdeps/s390/multiarch/memccpy-c.c: New File.
31275         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31276         * sysdeps/s390/multiarch/memccpy.c: Likewise.
31277         * sysdeps/s390/multiarch/Makefile
31278         (sysdep_routines): Add memccpy functions.
31279         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31280         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31281         * string/memccpy.c: Use MEMCCPY if defined.
31283         * sysdeps/s390/multiarch/memchr-vx.S: New File.
31284         * sysdeps/s390/multiarch/memchr.c: Likewise.
31285         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31286         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31287         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31288         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31289         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31290         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31291         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31292         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31294         and rawmemchr functions.
31295         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31296         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31297         and wmemchr.
31298         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31299         * string/test-memchr.c: Add wmemchr support.
31300         * wcsmbs/test-wmemchr.c: New File.
31301         * wcsmbs/Makefile (strop-tests): Add wmemchr.
31302         * benchtests/bench-memchr.c: Add wmemchr support.
31303         * benchtests/bench-wmemchr.c: New File.
31304         * benchtests/Makefile (wcsmbs-bench): wmemchr.
31306         * sysdeps/s390/multiarch/strcspn-c.c: New File.
31307         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31308         * sysdeps/s390/multiarch/strcspn.c: Likewise.
31309         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31310         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31311         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31313         wcscspn functions.
31314         * sysdeps/s390/multiarch/ifunc-impl-list.c
31315         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31316         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31317         * string/test-strcspn.c: Add wcscspn support.
31318         * wcsmbs/test-wcscspn.c: New File.
31319         * wcsmbs/Makefile (strop-tests): Add wcscspn.
31320         * benchtests/bench-strcspn.c: Add wcscspn support.
31321         * benchtests/bench-wcscspn.c: New File.
31322         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31324         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31325         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31326         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31327         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31328         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31329         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31330         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31331         wcspbrk functions.
31332         * sysdeps/s390/multiarch/ifunc-impl-list.c
31333         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31334         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31335         * string/test-strpbrk.c: Add wcspbrk support.
31336         * wcsmbs/test-wcspbrk.c: New File.
31337         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31338         * benchtests/bench-strpbrk.c: Add wcspbrk support.
31339         * benchtests/bench-wcspbrk.c: New File.
31340         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31342         * sysdeps/s390/multiarch/strspn-c.c: New File.
31343         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31344         * sysdeps/s390/multiarch/strspn.c: Likewise.
31345         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31346         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31347         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31348         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31350         wcsspn functions.
31351         * sysdeps/s390/multiarch/ifunc-impl-list.c
31352         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31353         * string/test-strspn.c: Add wcsspn support.
31354         * wcsmbs/test-wcsspn.c: New File.
31355         * wcsmbs/Makefile (strop-tests): Add wcsspn.
31356         * benchtests/bench-strspn.c: Add wcsspn support.
31357         * benchtests/bench-wcsspn.c: New File.
31358         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31360         * sysdeps/s390/multiarch/strrchr-c.c: New File.
31361         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31362         * sysdeps/s390/multiarch/strrchr.c: Likewise.
31363         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31364         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31365         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31367         wcsrchr functions.
31368         * sysdeps/s390/multiarch/ifunc-impl-list.c
31369         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31370         * benchtests/bench-wcsrchr.c: New File.
31371         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31373         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31374         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31375         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31376         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31377         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31378         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31380         wcschrnul functions.
31381         * sysdeps/s390/multiarch/ifunc-impl-list.c
31382         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31383         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31384         * string/test-strchr.c: Add wcschrnul support.
31385         * wcsmbs/test-wcschrnul.c: New File.
31386         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31387         * benchtests/bench-strchr.c: Add wcschrnul support.
31388         * benchtests/bench-wcschrnul.c: New File.
31389         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31391         * sysdeps/s390/multiarch/strchr-c.c: New File.
31392         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31393         * sysdeps/s390/multiarch/strchr.c: Likewise.
31394         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31395         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31396         * sysdeps/s390/multiarch/wcschr.c: Likewise.
31397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31398         wcschr functions.
31399         * sysdeps/s390/multiarch/ifunc-impl-list.c
31400         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
31401         * string/strchr.c (STRCHR): Define and use macro.
31402         * benchtests/bench-wcschr.c: New File.
31403         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
31405         * sysdeps/s390/multiarch/strncmp-c.c: New File.
31406         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
31407         * sysdeps/s390/multiarch/strncmp.c: Likewise.
31408         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
31409         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
31410         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31411         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31412         wcsncmp functions.
31413         * sysdeps/s390/multiarch/ifunc-impl-list.c
31414         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31415         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31416         * benchtests/bench-strncmp.c: Add wcsncmp support.
31417         * benchtests/bench-wcsncmp.c: New File.
31418         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31420         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31421         * sysdeps/s390/multiarch/strcmp.c: Likewise.
31422         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31423         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31424         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31425         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31426         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31427         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31428         wcscmp functions.
31429         * sysdeps/s390/multiarch/ifunc-impl-list.c
31430         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31431         * string/strcmp.c (STRCMP): Define and use macro.
31432         * benchtests/bench-wcscmp.c: New File.
31433         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31434         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31435         instead of _HAVE_STRING_ARCH_memchr.
31437         * sysdeps/s390/multiarch/strncat-c.c: New File.
31438         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31439         * sysdeps/s390/multiarch/strncat.c: Likewise.
31440         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31441         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31442         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31443         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31444         wcsncat functions.
31445         * sysdeps/s390/multiarch/ifunc-impl-list.c
31446         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31447         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31448         * string/test-strncat.c: Add wcsncat support.
31449         * wcsmbs/test-wcsncat.c: New File.
31450         * wcsmbs/Makefile (strop-tests): Add wcsncat.
31451         * benchtests/bench-strncat.c: Add wcsncat support.
31452         * benchtests/bench-wcsncat.c: New File.
31453         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31455         * sysdeps/s390/multiarch/strcat-c.c: New File.
31456         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31457         * sysdeps/s390/multiarch/strcat.c: Likewise.
31458         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31459         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31460         * sysdeps/s390/multiarch/wcscat.c: Likewise.
31461         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31462         wcscat functions.
31463         * sysdeps/s390/multiarch/ifunc-impl-list.c
31464         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31465         * string/strcat.c (STRCAT): Define and use macro.
31466         * wcsmbs/wcscat.c: Use WCSCAT if defined.
31467         * string/test-strcat.c: Add wcscat support.
31468         * wcsmbs/test-wcscat.c: New File.
31469         * wcsmbs/Makefile (strop-tests): Add wcscat.
31470         * benchtests/bench-strcat.c: Add wcscat support.
31471         * benchtests/bench-wcscat.c: New File.
31472         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31474         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31475         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31476         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31477         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31478         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31479         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31481         wcpncpy functions.
31482         * sysdeps/s390/multiarch/ifunc-impl-list.c
31483         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31484         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31485         * string/test-stpncpy.c: Add wcpncpy support.
31486         * wcsmbs/test-wcpncpy.c: New File.
31487         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31488         * benchtests/bench-stpncpy.c: Add wcpncpy support.
31489         * benchtests/bench-wcpncpy.c: New File.
31490         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31492         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31493         * sysdeps/s390/multiarch/strncpy.c: Likewise.
31494         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31495         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31496         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31497         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31498         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31499         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31500         wcsncpy functions.
31501         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31502         * sysdeps/s390/multiarch/ifunc-impl-list.c
31503         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31504         * string/test-strncpy.c: Add wcsncpy support.
31505         * wcsmbs/test-wcsncpy.c: New File.
31506         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31507         * benchtests/bench-strncpy.c: Add wcsncpy support.
31508         * benchtests/bench-wcsncpy.c: New File.
31509         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31511         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31512         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31513         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31514         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31515         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31516         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31517         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31518         wcpcpy functions.
31519         * string/stpcpy.c: Use STPCPY if defined.
31520         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31521         * sysdeps/s390/multiarch/ifunc-impl-list.c
31522         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31523         * string/test-stpcpy.c: Add wcpcpy support.
31524         * wcsmbs/test-wcpcpy.c: New File.
31525         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31526         * benchtests/bench-stpcpy.c: Add wcpcpy support.
31527         * benchtests/bench-wcpcpy.c: New File.
31528         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31530         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31531         * sysdeps/s390/multiarch/strcpy.c: Likewise.
31532         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31533         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31534         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31535         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31536         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31537         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31538         wcscpy functions.
31539         * sysdeps/s390/multiarch/ifunc-impl-list.c
31540         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31541         * benchtests/bench-wcscpy.c: New File.
31542         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31544         * sysdeps/s390/multiarch/strnlen-c.c: New File.
31545         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31546         * sysdeps/s390/multiarch/strnlen.c: Likewise.
31547         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31548         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31549         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31551         wcsnlen functions.
31552         * sysdeps/s390/multiarch/ifunc-impl-list.c
31553         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31554         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31555         * string/test-strnlen.c: Add wcsnlen support.
31556         * wcsmbs/test-wcsnlen.c: New File.
31557         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31558         * benchtests/bench-strnlen.c: Add wcsnlen support.
31559         * benchtests/bench-wcsnlen.c: New File.
31560         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31562         * sysdeps/s390/multiarch/Makefile: New File.
31563         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31564         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31565         * sysdeps/s390/multiarch/strlen.c: Likewise.
31566         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31567         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31568         * sysdeps/s390/multiarch/wcslen.c: Likewise.
31569         * string/strlen.c (STRLEN): Define and use macro.
31570         * sysdeps/s390/multiarch/ifunc-impl-list.c
31571         (IFUNC_VX_IMPL): New macro function.
31572         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31573         * benchtests/Makefile (wcsmbs-bench): New variable.
31574         (string-bench-all): Added wcsmbs-bench.
31575         * benchtests/bench-wcslen.c: New File.
31577         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31578         s390_vx_libc_ifunc2): New macro function.
31580         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31581         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31582         assembler support.
31583         * sysdeps/s390/configure: Regenerated.
31585         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31586         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31588         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31589         * sysdeps/s390/dl-procinfo.h: Add vector capability.
31590         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31592         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31593         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31595         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31596         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31597         (memcmp, bcmp): Use __memcmp_default as alias source.
31598         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31599         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31600         Rename to __memcmp_default.
31601         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31602         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31603         (memcpy): Use __memcpy_default as alias source.
31604         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31605         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31606         Rename to __memcpy_default.
31607         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31608         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31609         (memset): Use __memset_default as alias source.
31610         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31611         * sysdeps/s390/s390-32/memset.S (__memset_g5):
31612         Rename to __memset_default.
31613         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31614         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31615         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31616         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31617         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31618         (memcmp, bcmp): Use __memcmp_default as alias source.
31619         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31620         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31621         Rename to __memcmp_default.
31622         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31623         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31624         (memcpy): Use __memcpy_default as alias source.
31625         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31626         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31627         Rename to __memcpy_default.
31628         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31629         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31630         (memset): Use __memset_default as alias source.
31631         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31632         * sysdeps/s390/s390-64/memset.S (__memset_z900):
31633         Rename to __memset_default.
31634         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31635         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31637         [BZ #18610]
31638         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31639         __ieee_instruction_pointer to __unused.
31640         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31641         __ieee_instruction_pointer.
31642         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31643         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31644         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31645         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31646         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31647         Mark dxc-field as reserved.
31649 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31651         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31652         if the weak reference is not null.
31654 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31656         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31658         [BZ #11214]
31659         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31661 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31663         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31664         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31665         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31666         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31667         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31668         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31669         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31670         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31671         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31672         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31673         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31674         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31675         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31676         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31677         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31678         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31679         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31680         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31682 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31684         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31685         register other than r0 for tabort, it has special meaning.
31686         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31687         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31688         transaction before starting syscall.
31690 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31692         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31694 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31696         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31698         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31699         * sysdeps/x86_64/rtld-memset.S: Likewise.
31700         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31701         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31702         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31703         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31705         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31707 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31709         * debug/strcpy_chk.c: Improve performance.
31710         * debug/stpcpy_chk.c: Likewise.
31711         * sysdeps/x86_64/strcpy_chk.S: Remove.
31712         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31714         [BZ #18240]
31715         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31717 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31719         [BZ #15128]
31720         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31721         ifuncmain8.
31722         (modules-names): Add ifuncmod8.
31723         ($(objpfx)ifuncmain8): New rule.
31724         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31725         <cpuid.h>.
31726         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31727         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31728         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31729         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31730         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31731         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31732         * sysdeps/x86_64/ifuncmain8.c: New file.
31733         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31734         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31735         Removed.
31736         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31737         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31738         Change rtld_savespace_sse to __glibc_unused2.
31739         (RTLD_CHECK_FOREIGN_CALL): Removed.
31740         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31741         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31742         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31744 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31746         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31748 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31750         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31751         Unconditionally set __fpcr to avoid uninialized warning.
31752         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31754 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31756         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31757         is corrupt.
31759         * malloc/arena.c (arena_get2): Drop unused argument.
31760         (arena_lock): Adjust.
31761         (arena_get_retry): Likewise.
31763 2015-08-24  Andreas Schwab  <schwab@suse.de>
31765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31766         Don't define.
31767         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31768         (__ASSUME_IPC64): Don't undef.
31769         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31770         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31771         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31772         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31773         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31775         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31776         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31777         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31778         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31779         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31780         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31781         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31782         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31783         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31784         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31785         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31786         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31787         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31788         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31789         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31791 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31793         * manual/Makefile (install): Only build manual when perl is available.
31795 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31798         '#undef memcpy' by '#undef memchr'.
31800 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31802         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31803         memchr not point to the internal __GI_memchr implementation.
31805 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31807         * timezone/Makefile (CFLAGS-zdump.c): Remove
31808         -Wno-strict-prototypes.
31809         (CFLAGS-zic.c): Likewise.
31810         (CFLAGS-ialloc.c): Likewise.
31811         (CFLAGS-scheck.c): Likewise.
31813         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31814         -Wno-error=undef.
31816 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31818         * i386/i686/multiarch/strcasestr-c.c: Removed.
31819         * x86_64/multiarch/strcasestr.c: Likewise.
31820         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31821         Remove strcasestr.
31823 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31825         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31828         variables for high and low parts before possibly modifying them.
31830 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31832         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31833         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31834         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31835         of "multiarch/init-arch.h".
31836         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31837         * sysdeps/x86/init-arch.h: This.
31839 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31841         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31842         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31844 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31846         [BZ #17787]
31847         * manual/macros.texi: Add twoexp macro.
31848         * manual/filesys.texi: Fix exponents.
31849         * manual/llio.texi: Likewise.
31850         * manual/stdio.texi: Likewise.
31852 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31854         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31855         incorrect use.
31857 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31859         [BZ #18370]
31860         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31861         whose real or imaginary part has small absolute value.
31862         * math/s_csqrtf.c (__csqrtf): Likewise.
31863         * math/s_csqrtl.c (__csqrtl): Likewise.
31864         * math/auto-libm-test-in: Add more tests of csqrt.
31865         * math/auto-libm-test-out: Regenerated.
31866         * sysdeps/i386/fpu/libm-test-ulps: Update.
31868 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31870         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31871         __ppc_set_ppr_very_low): New functions.
31872         * manual/platform.texi: Add documentation about
31873         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31875 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31877         * string/stpncpy.c (stpncpy): Improve performance using
31878         __strnlen/memcpy/memset.
31880 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31882         [BZ #18796]
31883         * scripts/test-installation.pl: Don't add -lmvec to build options if
31884         libmvec wasn't built.
31886 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31888         [BZ #14341]
31889         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31890         case when there is a gap between DT_REL and DT_JMPREL sections.
31891         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31892         (LDFLAGS-tst-split-dynreloc): New.
31893         (tst-split-dynreloc-ENV): Likewise.
31894         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31895         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31897 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31899         [BZ #18822]
31900         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31901         attribute_hidden.
31902         (__xstat64_conv): Likewise.
31903         (__xstat32_conv): Likewise.
31905 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31907         [BZ #18822]
31908         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31909         Don't load %ebx when calling __setcontext.  Call __setcontext
31910         with HIDDEN_JUMPTARGET.
31911         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31912         libc_hidden_def.
31914 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31916         * sysdeps/i386/i686/Makefile
31917         [$(subdir) == string] (sysdep_routines): Moved to ...
31918         * sysdeps/i386/Makefile: Here.
31919         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31920         * sysdeps/i386/cacheinfo.c: Here.
31921         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31922         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31923         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31924         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31926 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31928         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31929         __i586__ is defined.
31930         (HAS_I686): Defined to 1 if __i686__ is defined.
31932 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31934         * elf/Makefile [$(have-z-execstack) = yes]
31935         (CPPFLAGS-tst-execstack.c): New variable.
31937         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31938         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31939         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31940         UTMPX || _HAVE_UT_TV].
31941         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31942         UTMPX || _HAVE_UT_TV - 0].
31944 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31946         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31947         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31948         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31950 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31952         * sysdeps/powerpc/dl-procinfo.c:
31953         (_dl_powerpc_cap_flags): Added missing strings for some
31954         hwcap features.
31955         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31957 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31959         Port the 0x7efe...feff pattern to GCC 6.
31960         See Steve Ellcey's bug report in:
31961         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31962         * string/memrchr.c (MEMRCHR):
31963         * string/rawmemchr.c (RAWMEMCHR):
31964         * string/strchr.c (strchr):
31965         * string/strchrnul.c (STRCHRNUL):
31966         Rewrite code to avoid issues with signed shift overflow.
31968 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31970         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31971         whether cpuid is available only if HAS_CPUID is 0.
31972         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31973         (HAS_I586): Likewise.
31974         (HAS_I686): Likewise.
31976 2015-08-18  Zack Weinberg  <zackw@panix.com>
31978         * misc/Versions (libc): Add GLIBC_2.23.
31980 2015-08-18  Alan Modra  <amodra@gmail.com>
31982         [BZ #18421]
31983         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31984         .Lp__global.
31985         (_start): Load %dp via .Lp__global.
31986         [!SHARED]: Use .section .rodata.
31988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31990         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31991         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31995         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31996         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31998 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32000         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32001         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32003 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32005         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32006         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32008 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32010         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32011         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32013 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32015         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32016         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32018 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32020         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32022 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32024         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32025         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32026         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32027         (__ASSUME_LWS_CAS): Delete.
32029 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32031         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32032         * sysdeps/hppa/configure: Regenerated.
32033         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32034         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32035         * sysdeps/hppa/nptl/tls.h: Likewise.
32037 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32039         [BZ #18823]
32040         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32041         for scaling up small arguments.
32042         * math/s_csqrtf.c (__csqrtf): Likewise.
32043         * math/s_csqrtl.c (__csqrtl): Likewise.
32044         * math/auto-libm-test-in: Add more tests of csqrt.
32045         * math/auto-libm-test-out: Regenerated.
32047 2015-08-17  Andreas Schwab  <schwab@suse.de>
32049         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32050         version set GLIBC_2.19.
32052 2015-08-16  Zack Weinberg  <zackw@panix.com>
32054         [BZ #18681]
32055         * misc/regexp.h: This interface is no longer supported.
32056         Remove all contents, leaving only an #error directive.
32057         * misc/regexp.c (loc1, loc2, locs, step, advance):
32058         Demote to compatibility symbols.
32060 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32062         [BZ #18084]
32063         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32064         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32065         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32066         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32067         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32068         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32069         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32070         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32071         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32073 2015-08-15  Zack Weinberg  <zackw@panix.com>
32075         [BZ #18795]
32076         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32077         buffer length is known to be too large, not if it's known to be
32078         small enough.
32079         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32080         overflow at runtime, involving a length parameter, twice: once
32081         with a compile-time constant length parameter, once without.
32083 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32085         [BZ #18824]
32086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32087         scaling x * y up instead of down.
32088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32090         * math/auto-libm-test-in: Add more tests of fma.
32091         * math/auto-libm-test-out: Regenerated.
32093 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32097 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32099         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32100         unnecessary movq.
32101         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32102         Likewise.
32104 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
32106         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32107         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32108         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32109         and tgamma.
32110         * math/auto-libm-test-out: Regenerated.
32111         * sysdeps/i386/fpu/libm-test-ulps: Update.
32112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32114         [BZ #16520]
32115         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32116         (__tanh): Force underflow exception for arguments with small
32117         absolute value.
32118         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32119         (__tanhf): Force underflow exception for arguments with small
32120         absolute value.
32121         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32122         (__tanhl): Force underflow exception for arguments with small
32123         absolute value.
32124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32125         (__tanhl): Force underflow exception for arguments with small
32126         absolute value.
32127         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32128         (__tanhl): Force underflow exception for arguments with small
32129         absolute value.
32130         * math/auto-libm-test-in: Add more tests of tanh.
32131         * math/auto-libm-test-out: Regenerated.
32132         * sysdeps/i386/fpu/libm-test-ulps: Update.
32134 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32136         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32137         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32141         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32142         <cpuid.h>.
32144 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32146         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32147         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32149 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32151         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32152         Remove $(objpfx)init-arch.o.
32153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32154         init-arch.
32155         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32156         (INIT_ARCH_EXT): Defined as empty.
32157         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32159         __init_cpu_features call.  Replace HAS_XXX with
32160         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32166         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32167         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32168         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32169         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32177         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32181         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32182         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32183         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32184         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32185         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32186         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32188         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32189         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32199         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32200         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32201         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32202         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32203         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32204         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32205         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32206         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32207         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32208         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32209         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32210         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
32211         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32212         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32213         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32214         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32215         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32216         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32217         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32218         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32219         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32220         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32221         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32222         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32223         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32224         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32225         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32227         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32229         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32230         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32231         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32232         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32233         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32234         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32235         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32236         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32237         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32238         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32239         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32240         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32241         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32243 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32245         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32246         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32247         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32248         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32249         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32250         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32251         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32252         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32253         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32254         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32255         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32256         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32257         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32258         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32259         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32260         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32262         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32263         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32264         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32266         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32267         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32268         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32269         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32270         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32271         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32272         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
32273         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32274         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32275         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32276         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32277         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32278         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32280         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32281         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32282         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32283         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32284         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32285         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32286         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32287         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32289 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32291         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32292         (dl_platform_init): Call init_cpu_features.
32293         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32294         * sysdeps/i386/i686/cacheinfo.c
32295         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32296         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32297         * sysdeps/i386/i686/multiarch/Versions: Removed.
32298         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32299         Removed.
32300         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32301         * sysdeps/unix/sysv/linux/x86/Makefile
32302         (libpthread-sysdep_routines): Remove init-arch.
32303         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32304         <sysdeps/x86_64/dl-procinfo.c> instead of
32305         sysdeps/generic/dl-procinfo.c>.
32306         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32307         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32308         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32309         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32310         [$(subdir) == elf] (tests-static): Add
32311         tst-get-cpu-features-static.
32312         * sysdeps/x86/Versions: New file.
32313         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32314         * sysdeps/x86/cpu-features.c: Likewise.
32315         * sysdeps/x86/cpu-features.h: Likewise.
32316         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32317         * sysdeps/x86/libc-start.c: Likewise.
32318         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32319         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32320         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32321         * sysdeps/x86_64/dl-procinfo.c: Likewise.
32322         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32323         Assume USE_MULTIARCH is defined and don't check it.
32324         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32325         (is_amd): Likewise.
32326         (max_cpuid): Likewise.
32327         (intel_check_word): Likewise.
32328         (__cache_sysconf): Don't call __init_cpu_features.
32329         (__x86_preferred_memory_instruction): Removed.
32330         (init_cacheinfo): Don't call __init_cpu_features. Replace
32331         __cpu_features with GLRO(dl_x86_cpu_features).
32332         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32333         (dl_platform_init): Call init_cpu_features.
32334         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32335         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32336         * sysdeps/x86_64/multiarch/Versions: Removed.
32337         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32338         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32339         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32340         Removed.
32341         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32343 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32345         [BZ #18820]
32346         * libio/Makefile (test-fmemopen-mem): New test.
32347         * libio/test-fmemopen.c (do_bz18820): New test.
32348         * libio/fmemopen.c (__fmemopen): Fix memory leak.
32349         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32351 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32353         [BZ #16734]
32354         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32355         (FREE_BUF): Delete.
32356         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32357         * libio/genops.c (_IO_setb): Use malloc and free directly.
32358         (_IO_default_doallocate, _IO_default_finish): Likewise.
32359         ( _IO_unbuffer_all): Likewise.
32360         ( libc_freeres_fn): Likewise.
32361         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32362         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32363         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32364         (_IO_wdefault_doallocate): Likewise.
32366 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32368         [BZ #18086]
32369         * sysdeps/posix/nice.c (nice): Restore old errno.
32370         * posix/tst-nice.c (do_test): Add test for BZ #18086.
32372 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
32374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32376 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32378         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32379         __bcopy and add a weak_alias to bcopy.
32380         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32381         for static build.
32383         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32384         cleanup macro usage.
32385         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32389         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32390         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32391         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32392         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32393         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32394         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32396         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32398         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
32399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
32401         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
32402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
32403         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32405         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
32406         libc_hidden_def.
32407         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
32409         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
32410         (sysdep_routines): Add strstr-ppc64.
32411         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32413 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
32415         [BZ #18778]
32416         * elf/Makefile (tests): Add Add tst-nodelete2.
32417         (modules-names): Add tst-nodelete2mod.
32418         (tst-nodelete2mod.so-no-z-defs): New.
32419         ($(objpfx)tst-nodelete2): Likewise.
32420         ($(objpfx)tst-nodelete2.out): Likewise.
32421         (LDFLAGS-tst-nodelete2): Likewise.
32422         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32423         out of loop through all loaded libraries.
32424         * elf/tst-nodelete2.c: New file.
32425         * elf/tst-nodelete2mod.c: Likewise.
32426         * elf/tst-znodelete-zlib.cc: Delete.
32428 2015-08-11  Andreas Schwab  <schwab@suse.de>
32430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32431         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32432         (__openat64_nocancel): Likewise.
32434 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
32436         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32437         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32438         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32439         * math/auto-libm-test-out: Regenerated.
32440         * sysdeps/i386/fpu/libm-test-ulps: Update.
32441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32443 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32445         [BZ #18790]
32446         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32447         threshold for returning +/- 1.
32448         * math/auto-libm-test-in: Add more tests of tanh.
32449         * math/auto-libm-test-out: Regenerated.
32450         * sysdeps/i386/fpu/libm-test-ulps: Update.
32452 2015-08-10  Andreas Schwab  <schwab@suse.de>
32454         [BZ #18781]
32455         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32456         MORE_OFLAGS to oflag.
32457         * io/test-lfs.c (do_test): Test openat64.
32459 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32461         [BZ #18789]
32462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32463         smaller threshold for returning the argument.
32464         * math/auto-libm-test-in: Add more tests of sinh.
32465         * math/auto-libm-test-out: Regenerated.
32466         * sysdeps/i386/fpu/libm-test-ulps: Update.
32468 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32470         [BZ #18674]
32471         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32472         break.
32474 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
32476         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32477         (generated): Don't add $(addprefix z.,$(tzfiles)).
32479 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32481         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32482         * scripts/sysd-rules.awk: Likewise.
32484 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32486         * iconvdata/tst-tables.sh: Change echo -n to printf.
32487         * nss/db-Makefile: Likewise.
32488         * posix/tst-getconf.sh: Likewise.
32489         * stdio-common/tst-unbputc.sh: Likewise.
32491 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32493         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32494         MADV_*_PAGES defines behind this feature check.
32496 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
32498         [BZ #18480]
32499         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32500         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32501         Define.
32502         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32503         LOAD_REGS_5, LOAD_REGS_6): Update.
32504         (INTERNAL_SYSCALL): Update using new LOAD defines.
32505         (INTERNAL_SYSCALL_NCS): Likewise.
32506         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32508 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32510         [BZ #16734]
32511         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32513 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32515         [BZ #17905]
32516         * catgets/Makefile (tst-catgets-mem): New test.
32517         * catgets/catgets.c (catopen): Don't use unbounded alloca.
32518         * catgets/open_catalog.c (__open_catalog): Likewise.
32519         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32521 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
32523         [BZ #18787]
32524         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32525         clobber registers.
32526         (atomic_compare_and_exchange_val_acq): Use register asms to assign
32527         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
32528         Cast return to __typeof (oldval).
32530 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
32532         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32533         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
32534         and delete sys/syscall.h include.
32536 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
32538         [BZ #16517]
32539         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32540         (tan): Force underflow exception for arguments with small absolute
32541         value.
32542         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32543         (__kernel_tanf): Force underflow exception for arguments with
32544         small absolute value.
32545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32546         (__kernel_tanl): Force underflow exception for arguments with
32547         small absolute value.
32548         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32549         (__kernel_tanl): Force underflow exception for arguments with
32550         small absolute value.
32551         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32552         (__kernel_tanl): Force underflow exception for arguments with
32553         small absolute value.
32554         * math/auto-libm-test-in: Add more tests of tan.
32555         * math/auto-libm-test-out: Regenerated.
32557 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32559         Fix sysdeps/i386/fpu/s_scalbn.S build
32561         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32563 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
32565         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32567 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32569         Fix gcrt0.o compilation
32571         When static-start-installed-name is different from
32572         start-installed-name, we must not use the shared objects.
32574         * csu/Makefile
32575         (extra-objs): Add gmon-start.o when building shared library and
32576         $(static-start-installed-name) is different from
32577         $(start-installed-name).
32578         $(objpfx)g$(static-start-installed-name): When building shared
32579         library and $(static-start-installed-name) is different from
32580         $(static-start-installed-name), revert to non-shared rule,
32581         i.e. using $(objpfx)% and gmon-start.o.
32583 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
32585         [BZ #16519]
32586         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32587         (__ieee754_sinh): Force underflow exception for arguments with
32588         small absolute value.
32589         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32590         (__ieee754_sinhf): Force underflow exception for arguments with
32591         small absolute value.
32592         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32593         (__ieee754_sinhl): Force underflow exception for arguments with
32594         small absolute value.
32595         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32596         (__ieee754_sinhl): Force underflow exception for arguments with
32597         small absolute value.
32598         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32599         (__ieee754_sinhl): Force underflow exception for arguments with
32600         small absolute value.
32601         * math/auto-libm-test-in: Add more tests of sinh.
32602         * math/auto-libm-test-out: Regenerated.
32603         * sysdeps/i386/fpu/libm-test-ulps: Update.
32605 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32607         * libio/oldfileops.c: Include unistd.h.
32609 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
32611         * stdlib/isomac.c: Include ctype.h.
32613 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
32615         * dirent/tst-seekdir.c (main): Converted to ...
32616         (do_test): ... this.
32617         (TEST_FUNCTION): New macro.
32618         Include test-skeleton.c.
32619         * elf/tst-dlmodcount.c (main): Converted to ...
32620         (do_test): ... this.
32621         (TEST_FUNCTION): New macro.
32622         Include test-skeleton.c.
32623         * elf/tst-order-main.c (main): Converted to ...
32624         (do_test): ... this.
32625         (TEST_FUNCTION): New macro.
32626         Include test-skeleton.c.
32627         * elf/tst-pie2.c (main): Converted to ...
32628         (do_test): ... this.
32629         (TEST_FUNCTION): New macro.
32630         Include test-skeleton.c.
32631         * inet/tst-ether_aton.c (main): Converted to ...
32632         (do_test): ... this.
32633         (TEST_FUNCTION): New macro.
32634         Include test-skeleton.c.
32635         * misc/tst-mntent.c (main): Converted to ...
32636         (do_test): ... this.
32637         (TEST_FUNCTION): New macro.
32638         Include test-skeleton.c.
32639         * misc/tst-tsearch.c (main): Converted to ...
32640         (do_test): ... this.
32641         (TEST_FUNCTION): New macro.
32642         Include test-skeleton.c.
32643         * posix/tst-regexloc.c (main): Converted to ...
32644         (do_test): ... this.
32645         (TEST_FUNCTION): New macro.
32646         Include test-skeleton.c.
32647         * resolv/tst-aton.c (main): Converted to ...
32648         (do_test): ... this.
32649         (TEST_FUNCTION): New macro.
32650         Include test-skeleton.c.
32651         * stdio-common/test-fwrite.c (main): Converted to ...
32652         (do_test): ... this.
32653         (TEST_FUNCTION): New macro.
32654         Include test-skeleton.c.
32655         * stdio-common/tst-ferror.c (main): Converted to ...
32656         (do_test): ... this.
32657         (TEST_FUNCTION): New macro.
32658         Include test-skeleton.c.
32659         * stdio-common/tst-printf.c (main): Converted to ...
32660         (do_test): ... this.
32661         (TEST_FUNCTION): New macro.
32662         Include test-skeleton.c.
32663         * stdio-common/tst-printfsz.c (main): Converted to ...
32664         (do_test): ... this.
32665         (TEST_FUNCTION): New macro.
32666         Include test-skeleton.c.
32667         * stdlib/tst-strtod.c (main): Converted to ...
32668         (do_test): ... this.
32669         (TEST_FUNCTION): New macro.
32670         Include test-skeleton.c.
32671         * string/tst-strlen.c (main): Converted to ...
32672         (do_test): ... this.
32673         (TEST_FUNCTION): New macro.
32674         Include test-skeleton.c.
32675         * string/tst-svc.c (main): Converted to ...
32676         (do_test): ... this.
32677         (TEST_FUNCTION): New macro.
32678         Include test-skeleton.c.
32679         * time/tst-strptime.c (main): Converted to ...
32680         (do_test): ... this.
32681         (TEST_FUNCTION): New macro.
32682         Include test-skeleton.c.
32683         * timezone/tst-timezone.c (main): Converted to ...
32684         (do_test): ... this.
32685         (TEST_FUNCTION): New macro.
32686         Include test-skeleton.c.
32688 2015-08-05  Zack Weinberg  <zackw@panix.com>
32690         * misc/regexp.h: Update comments.
32692 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32694         [BZ #18635]
32695         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32696         before return label.
32698 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32700         [BZ #18661]
32701         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32702         when calling __errno_location.
32703         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32704         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32706 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32708         [BZ #18661]
32709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32710         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32711         __gettimeofday.
32713 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32715         [BZ #18661]
32716         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32717         (__start_context): Don't use pop to restore %rdi so that stack
32718         is aligned to 16 bytes when calling __setcontext.
32720 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32722         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32723         only for libc.
32724         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32726 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32728         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32729         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32730         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32732 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32734         * string/memccpy.c (memccpy):
32735         Improve performance by using memchr/memcpy/__mempcpy.
32737 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32739         * string/strncpy.c (strncpy):
32740         Improve performance by using __strnlen/memcpy.
32742 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32744         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32745         Optimize to avoid an unnecessary FPCR read.
32747 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32749         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32750         Optimize to reduce FPCR/FPSR accesses.
32752 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32754         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32755         dead->data[category] != NULL.
32757 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32759         [BZ #18647]
32760         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32761         and |x| close to 1, use absolute value of x when computing log.
32762         * math/auto-libm-test-in: Add more tests of pow.
32763         * math/auto-libm-test-out: Regenerated.
32765 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32767         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32768         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32769         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32771 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32773         [BZ #18525]
32774         * locales/km_KH: Remove timezone definition.
32775         * locales/lo_LA: Likewise.
32776         * locales/my_MM: Likewise.
32777         * locales/nan_TW@latin: Likewise.
32778         * locales/th_TH: Likewise.
32779         * locales/uk_UA: Likewise.
32781 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32783         [BZ #18265]
32784         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32785         (wcsncat): Likewise.
32786         (wcscmp): Likewise.
32787         (wcsncmp): Likewise.
32789 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32791         * test-skeleton.c (usage): New function.
32792         (main): Call usage when opt is '?'.
32794 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32796         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32797         before first use.
32799 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32801         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32802         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32803         in there too.
32805 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32807         * version.h (RELEASE): Set to "development".
32808         (VERSION): Set to "2.22.90"
32810         * version.h (RELEASE): Set to "stable".
32811         (VERSION): Set to "2.22"
32812         * include/features.h (__GLIBC_MINOR__): Set to 22.
32814 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32816         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32817         Restructure macro to avoid "value computed is not used" warning.
32818         (atomic_compare_and_exchange_val_acq): Likewise.
32820 2015-08-04  Andreas Schwab  <schwab@suse.de>
32822         [BZ #18635]
32823         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32824         ret.
32825         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32827 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32829         * po/pl.po: Updated translation.
32830         * po/uk.po: Likewise.
32831         * po/fi.po: Likewise.
32832         * po/ko.po: Likewise.
32833         * po/ru.po: Likewise.
32834         * po/vi.po: Likewise.
32836 2015-07-31  Zack Weinberg  <zackw@panix.com>
32838         [BZ #18681]
32839         * regexp.h: Add unconditional #warning stating that this header
32840         will be removed soon.  Revise banner comment to match.
32841         (compile): Consistently use ERROR instead of RETURN to report
32842         errors (partial fix for BZ #18681).
32843         * regexp.c: Don't include regexp.h. Remove some unnecessary
32844         declarations.
32846 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32848         * po/libc.pot: Regenerated.
32850 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32852         [BZ #18740]
32853         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32854         float-vlen4-arch-ext-cflags): Removed.
32855         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32856         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32858 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32860         [BZ #14113]
32861         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32862         aligned to __aligned__.
32863         (pthread_cond_t, pthread_rwlock_t): Likewise.
32865 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32867         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32869 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32871         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32872         (struct sigaction): Change sa_flags from a long to an int, and add
32873         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32875 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32877         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32878         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32879         sysdeps/generic/sysdep.h include.
32880         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32881         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32882         sysdeps/hppa/sysdep.h.
32883         (ENTRY, PSEUDO): Undefine before defining.
32885 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32887         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32888         from scratch to use INTERNAL_SYSCALL.
32890 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32892         [BZ #18078]
32893         * scripts/check-localplt.awk: Support alternate relocations.
32894         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32895         sections.
32896         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32897         malloc entries with + REL R_386_GLOB_DAT.
32898         * sysdeps/x86_64/localplt.data: New file.
32900 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32902         [BZ #18731]
32903         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32904         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32905         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32907 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32909         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32911 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32913         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32914         directly in terms of __sync_fetch_and_add and delete (int) cast.
32916 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32918         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32919         the -D_ASM_IA64_CURRENT_H flag.
32921 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32923         [BZ #18641]
32924         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32926 2015-07-27  Andreas Schwab  <schwab@suse.de>
32928         * conform/conformtest.pl (checknamespace): Filter out string
32929         literals while tokenizing.
32931 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32933         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32934         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32935         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32937 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32939         * nptl/tst-join7mod.c: Add #include <string.h>.
32941 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32943         * sysdeps/nios2/libm-test-ulps: Update.
32945 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32947         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32948         Fix order of arguments to the rt_sigprocmask syscall.
32949         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32950         Likewise.
32952 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32954         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32956 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32958         [BZ #18457]
32959         * nptl/Makefile (tests): New test case tst-join7.
32960         (modules-names): New test case module tst-join7mod.
32961         * nptl/tst-join7.c: New file.
32962         * nptl/tst-join7mod.c: New file.
32963         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32964         all translation units in libc.so, libpthread.so and rtld.
32966 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32970 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32973         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32974         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32978         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32979         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32981         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32982         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32983         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32984         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32985         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32987         implementation.
32989 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32991         [BZ #17711]
32992         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32993         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32994         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32995         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32996         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32997         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32999 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33001         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33002         instead of just saying load lock in the comments.
33004 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33006         * sysdeps/unix/Subdirs: Moved ...
33007         * sysdeps/posix/Subdirs: ... here.
33008         * login/pty.h (struct termios, struct winsize): Add forward decls.
33009         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33010         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33011         * sysdeps/arm/nacl/libc.abilist: Updated.
33012         * sysdeps/nacl/libutil.abilist: New file.
33014         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33015         (SIGWINCH): New macro.
33017         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33018         * sysdeps/arm/nacl/libc.abilist: Add it.
33020 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33022         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33024 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33026         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33027         Swap __glibc_reserved0 and sa_flags order.
33029 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33031         [BZ #18657]
33032         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33033         are pending TLS destructor calls.
33034         * include/link.h (struct link_map): Add concurrency note for
33035         L_TLS_DTOR_COUNT.
33036         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33037         Don't touch the link map flag.  Atomically increment
33038         l_tls_dtor_count.
33039         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33040         Avoid taking the load lock and don't touch the link map flag.
33041         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33042         * stdlib/Makefile (tests): Use it.
33043         * stdlib/tst-tls-atexit.c (do_test): dlopen
33044         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33045         to allow tst-tls-atexit-nodelete test case to use it.
33047 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33049         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33050         to bits/types.h.
33051         (msgqnum_t): New typedef.
33052         (msglen_t): Likewise.
33053         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33054         and msg_qbytes type to msglen_t.
33056 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33058         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33059         pad0 to __glibc_reserved0.
33060         (struct stat64): Likewise.
33062 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33064         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33065         Change sa_flags from a long to an int and add __glibc_reserved0 before
33066         it for padding.
33068 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33070         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33071         anonymous by deleting "siginfo" name.
33073 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33075         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33076         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33077         rather than __nacl_irt_filename.
33078         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33080         * NEWS: New item for arm-nacl port.
33081         * sysdeps/arm/nacl/libc.abilist: New file.
33082         * sysdeps/nacl/ld.abilist: New file.
33083         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33084         * sysdeps/nacl/libanl.abilist: New file.
33085         * sysdeps/nacl/libcrypt.abilist: New file.
33086         * sysdeps/nacl/libdl.abilist: New file.
33087         * sysdeps/nacl/libm.abilist: New file.
33088         * sysdeps/nacl/libpthread.abilist: New file.
33089         * sysdeps/nacl/libresolv.abilist: New file.
33090         * sysdeps/nacl/librt.abilist: New file.
33092 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33094         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33095         __startcontext to initialize the new context.
33096         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33097         up CFI directive to forbid further backtracing.
33099 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33101         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33102         reference.
33103         * charmaps/ANSI_X3.4-1968: Likewise.
33104         * charmaps/BS_4730: Likewise.
33105         * charmaps/BS_VIEWDATA: Likewise.
33106         * charmaps/CP1250: Likewise.
33107         * charmaps/CP1251: Likewise.
33108         * charmaps/CP1252: Likewise.
33109         * charmaps/CP1253: Likewise.
33110         * charmaps/CP1254: Likewise.
33111         * charmaps/CP1255: Likewise.
33112         * charmaps/CP1256: Likewise.
33113         * charmaps/CSN_369103: Likewise.
33114         * charmaps/EBCDIC-DK-NO: Likewise.
33115         * charmaps/GB_1988-80: Likewise.
33116         * charmaps/GREEK-CCITT: Likewise.
33117         * charmaps/GREEK7: Likewise.
33118         * charmaps/INIS-8: Likewise.
33119         * charmaps/ISIRI-3342: Likewise.
33120         * charmaps/ISO_2033-1983: Likewise.
33121         * charmaps/ISO_5427-EXT: Likewise.
33122         * locales/POSIX: Likewise.
33123         * locales/ar_SA: Likewise.
33124         * locales/be_BY: Likewise.
33125         * locales/be_BY@latin: Likewise.
33126         * locales/ca_ES: Likewise.
33127         * locales/cs_CZ: Likewise.
33128         * locales/da_DK: Likewise.
33129         * locales/de_BE: Likewise.
33130         * locales/de_CH: Likewise.
33131         * locales/de_LU: Likewise.
33132         * locales/en_AU: Likewise.
33133         * locales/en_BW: Likewise.
33134         * locales/en_CA: Likewise.
33135         * locales/en_DK: Likewise.
33136         * locales/en_GB: Likewise.
33137         * locales/en_IE: Likewise.
33138         * locales/en_NZ: Likewise.
33139         * locales/en_ZA: Likewise.
33140         * locales/en_ZW: Likewise.
33141         * locales/es_AR: Likewise.
33142         * locales/es_BO: Likewise.
33143         * locales/es_CL: Likewise.
33144         * locales/es_CO: Likewise.
33145         * locales/es_DO: Likewise.
33146         * locales/es_EC: Likewise.
33147         * locales/es_ES: Likewise.
33148         * locales/es_HN: Likewise.
33149         * locales/es_MX: Likewise.
33150         * locales/es_PA: Likewise.
33151         * locales/es_PE: Likewise.
33152         * locales/es_PY: Likewise.
33153         * locales/es_SV: Likewise.
33154         * locales/es_US: Likewise.
33155         * locales/es_UY: Likewise.
33156         * locales/es_VE: Likewise.
33157         * locales/et_EE: Likewise.
33158         * locales/fa_IR: Likewise.
33159         * locales/fo_FO: Likewise.
33160         * locales/fr_CA: Likewise.
33161         * locales/fr_CH: Likewise.
33162         * locales/gv_GB: Likewise.
33163         * locales/he_IL: Likewise.
33164         * locales/hr_HR: Likewise.
33165         * locales/id_ID: Likewise.
33166         * locales/is_IS: Likewise.
33167         * locales/it_CH: Likewise.
33168         * locales/iw_IL: Likewise.
33169         * locales/kl_GL: Likewise.
33170         * locales/ko_KR: Likewise.
33171         * locales/kw_GB: Likewise.
33172         * locales/lg_UG: Likewise.
33173         * locales/lt_LT: Likewise.
33174         * locales/lv_LV: Likewise.
33175         * locales/mi_NZ: Likewise.
33176         * locales/nhn_MX: Likewise.
33177         * locales/nl_BE: Likewise.
33178         * locales/pl_PL: Likewise.
33179         * locales/sk_SK: Likewise.
33180         * locales/sl_SI: Likewise.
33181         * locales/sv_FI: Likewise.
33182         * locales/tl_PH: Likewise.
33183         * locales/tr_TR: Likewise.
33184         * locales/vi_VN: Likewise.
33186 2015-07-21  Khem Raj  <raj.khem@gmail.com>
33188         [BZ #17475]
33189         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33190         of tu_IN and bh_IN.
33192 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
33194         [BZ #18694]
33195         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33196         bits/wordsize.h.
33197         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33199 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33201         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33202         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33203         (spawn_thread): New function.
33204         (load): Rename to reg_dtor_and_close.  Move dlopen to...
33205         (do_test): ... here.  Use IS_LOADED to test for its
33206         availability.
33208 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
33210         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33212 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
33214         [BZ #18696]
33215         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33216         si_addr_bnd.
33217         (si_lower): New.
33218         (si_upper): Likewise.
33220 2015-07-16  David S. Miller  <davem@davemloft.net>
33222         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33224 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33226         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33227         buffer.
33228         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33229         fail output information.
33231 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33234         and strstr-ppc64..
33235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33236         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33237         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33238         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33239         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33241 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33243         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33244         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33245         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33246         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33248 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33250         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33251         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33252         rtld_hidden_proto.
33253         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33255 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33257         * tst-nodelete-opened.c (do_test): Add comment to clarify how
33258         the test can fail.
33260         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33262         [BZ #18676]
33263         * elf/tst-nodelete-opened.c: New test case.
33264         * elf/tst-nodelete-opened-lib.c: New test case module.
33265         * elf/Makefile (tests, modules-names): Use them.
33266         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33267         early.
33269 2015-07-15  David S. Miller  <davem@davemloft.net>
33271         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33272         futex-intenal.h
33273         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33274         * sysdeps/sparc/sparc64/Makefile: Likewise.
33275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33276         Remove space from macro define.
33277         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33279 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
33281         [BZ #17475]
33282         * locale/iso-639.def: Update Bhili and Tulu language codes as
33283         per iso639-3.
33285 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
33287         * elf/tst-leaks1.c (main): Converted to ...
33288         (do_test): ... this.
33289         (TEST_FUNCTION): New macro.
33290         Include test-skeleton.c.
33291         * localedata/tst-langinfo.c (main): Converted to ...
33292         (do_test): ... this.
33293         (TEST_FUNCTION): New macro.
33294         Include test-skeleton.c.
33295         * math/test-fpucw.c (main): Converted to ...
33296         (do_test): ... this.
33297         (TEST_FUNCTION): New macro.
33298         Include test-skeleton.c.
33299         * math/test-tgmath.c (main): Converted to ...
33300         (do_test): ... this.
33301         (TEST_FUNCTION): New macro.
33302         Include test-skeleton.c.
33303         * math/test-tgmath2.c (main): Converted to ...
33304         (do_test): ... this.
33305         (TEST_FUNCTION): New macro.
33306         Include test-skeleton.c.
33307         * setjmp/tst-setjmp.c (main): Converted to ...
33308         (do_test): ... this.
33309         (TEST_FUNCTION): New macro.
33310         Include test-skeleton.c.
33311         * stdio-common/tst-sscanf.c (main): Converted to ...
33312         (do_test): ... this.
33313         (TEST_FUNCTION): New macro.
33314         Include test-skeleton.c.
33315         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33316         (do_test): ... this.
33317         (TEST_FUNCTION): New macro.
33318         Include test-skeleton.c.
33320         * elf/tst-audit9.c (main): Converted to ...
33321         (do_test): ... this.
33322         (TEST_FUNCTION): New macro.
33323         Include test-skeleton.c.
33325 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
33327         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33329 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33331         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33332         New variable.
33334 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33336         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33338 2015-07-14  Roland McGrath  <roland@hack.frob.com>
33340         * sysdeps/generic/dl-fileid.h: New file.
33341         * sysdeps/posix/dl-fileid.h: New file.
33342         * sysdeps/nacl/dl-fileid.h: New file.
33343         * include/link.h: Include <dl-fileid.h>.
33344         (struct link_map): Replace l_dev and l_ino with l_file_id.
33345         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33346         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
33347         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
33349 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33351         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33353 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33355         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33356         Add iff $CXX is set.
33357         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33358         Likewise.
33359         (tst-nodelete-zmodiff): Likewise.
33360         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33362 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33364         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33366 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33368         * sysdeps/aarch64/fpu/math_private.h
33369         (define math_opt_barrier): Add AArch64 version.
33370         (math_force_eval): Likewise.
33372 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33374         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33376 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
33378         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33379         %ld with %jd and cast to intmax_t.
33380         (do_test_length_zero): Likewise.
33382 2015-07-10  Roland McGrath  <roland@hack.frob.com>
33384         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33386 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
33388         * sysdeps/tile/libm-test-ulps: Regenerated.
33390         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33391         Comment out the whole function, not just its body.
33393 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33395         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33396         locks.
33398         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
33400 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33402         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
33403         (sem_assume_only_signals_cause_futex_EINTR): Remove.
33405 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33407         * sysdeps/nptl/futex-internal.h: New file.
33408         * sysdeps/nacl/futex-internal.h: New file.
33409         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
33410         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33411         error checking.
33412         (setxid_unmark_thread): Likewise.
33413         (__nptl_setxid): Likewise.
33414         (__wait_lookup_done): Likewise.
33415         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33416         * nptl/nptl-init.c (sighandler_setxid): Likewise.
33417         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33418         * nptl/pthread_once.c (clear_once_control): Likewise.
33419         (__pthread_once_slow): Likewise.
33420         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33421         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33422         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33423         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33424         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33425         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33426         Likewise.
33427         (__pthread_rwlock_rdlock): Likewise.
33428         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33429         Likewise.
33430         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33431         Likewise.
33432         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33433         Likewise.
33434         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33435         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33436         Likewise.
33437         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33438         __ASSUME_PRIVATE_FUTEX check.
33439         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33440         Check that shared futexes are supported.
33441         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33442         wrappers with error checking.
33443         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33444         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33445         * nptl/pthread_barrierattr_setpshared.c
33446         (pthread_barrierattr_setpshared): Check that shared futexes are
33447         supported.
33448         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33449         Likewise.
33450         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33451         Likewise.
33452         * nptl/sem_init.c (futex_private_if_supported): Remove.
33453         (__new_sem_init): Adapt and check that shared futexes are supported.
33454         * nptl/sem_open.c (sem_open): Likewise.
33455         * nptl/sem_post.c (futex_wake): Remove.
33456         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33457         (do_futex_wait): Use futex wrappers with error checking.
33458         * nptl/sem_wait.c: Include lowlevellock.h.
33459         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33460         Use futex_supports_pshared.
33461         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33462         Use futex wrappers with error checking.
33463         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33464         Likewise.
33465         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33466         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33467         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33468         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33469         (futex_wake): Likewise.
33470         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33471         (do_futex_wait): Use futex wrappers with error checking.
33472         (__new_sem_wait_slow): Update EINTR handling.
33473         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33475 2015-07-09  Martin Sebor  <msebor@redhat.com>
33477         [BZ #18435]
33478         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33479         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33480         * nptl/Makefile (test-xfail-tst-once5): Define.
33482 2015-07-09  Roland McGrath  <roland@hack.frob.com>
33484         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33485         * elf/dl-minimal.c: For readability, reorder some definitions and
33486         introduce more page breaks.  Include <stdio.h>.
33487         (__libc_fatal): New function.
33489         * include/unistd.h: Add rtld_hidden_proto for _exit.
33490         * posix/_exit.c: Add rtld_hidden_def.
33491         * sysdeps/mach/hurd/_exit.c: Likewise.
33492         * sysdeps/nacl/_exit.c: Likewise.
33493         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33494         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33496 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
33498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33499         bndmov encoding with zero displacement.
33501 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33502             H.J. Lu  <hongjiu.lu@intel.com>
33504         [BZ #18134]
33505         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33506         * sysdeps/i386/configure: Regenerated.
33507         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33508         (_dl_runtime_profile): Save and restore Intel MPX return bound
33509         registers when calling _dl_call_pltexit.  Add
33510         PRESERVE_BND_REGS_PREFIX before return.
33511         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33512         (LRV_BND1_OFFSET): Likewise.
33513         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33514         lrv_bnd1.
33515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33516         typo in bndmov encoding.
33517         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33518         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33519         branch instructions to preserve bounds.
33521 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33524         [GLIBC_2.22]: Add fmemopen.
33526 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33528         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33529         returns an error, also try to use host port from __mach_host_self for
33530         the __vm_wire call.
33531         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33533 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33535         [BZ #18400]
33536         [BZ #18648]
33537         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33538         Fix pr_uid and pr_gid members.
33539         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33540         definition to elf_greg_t.
33542 2015-07-08  Roland McGrath  <roland@hack.frob.com>
33544         [BZ #18383]
33545         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33546         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33547         * sysdeps/arm/configure: Regenerated.
33548         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33549         (test-xfail-tst-tlsalign-static): Variable removed.
33551         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33552         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33553         rather than explicit 'ln -s'.
33555         * resolv/rpc/netdb.h: New file.
33556         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33558 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33560         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33561         length buffers.
33562         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33563         test-skeleton.c.
33565         [BZ #6544]
33566         [BZ #11216]
33567         [BZ #12836]
33568         [BZ #13151]
33569         [BZ #13152]
33570         [BZ #14292]
33571         * include/stdio.h (fmemopen): Remove hidden prototype.
33572         (__fmemopen): Add new hidden prototype.
33573         * libio/Makefile: Add oldfmemopen object.
33574         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33575         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33576         compliance.
33577         * libio/oldfmemopen.c: New file: old fmemopen implementation for
33578         symbol compatibility.
33579         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33580         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33581         fmemopen.
33582         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33583         on append and read mode.
33584         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33585         fmemopen.
33586         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33587         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33588         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33589         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33590         Likewise.
33591         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33592         [GLIBC_2.22]: Likewise.
33593         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33594         Likewise.
33595         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33596         Likewise.
33597         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33598         [GLIBC_2.22]: Likewise.
33599         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33600         [GLIBC_2.22]: Likewise.
33601         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33602         [GLIBC_2.22]: Likewise.
33603         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33604         [GLIBC_2.22]: Likewise.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33606         [GLIBC_2.22]: Likewise.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33608         [GLIBC_2.22]: Likewise.
33609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33610         [GLIBC_2.22]: Likewise.
33611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33612         Likewise.
33613         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33614         Likewise.
33615         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33616         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33617         [GLIBC_2.22]: Likewise.
33618         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33619         [GLIBC_2.22]: Likewise.
33620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33621         [GLIBC_2.22]: Likewise.
33622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33623         [GLIBC_2.22]: Likewise.
33624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33625         Likewise.
33626         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33627         Likewise.
33628         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33629         Likewise.
33630         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33631         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33633 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33635         [BZ #18643]
33636         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33637         IPV6_PATHMTU, and IPV6_DONTFRAG.
33639 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33641         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33642         and _IO_UNBUFFERED.
33643         * libio/oldfileops.c: Likewise.
33644         * libio/wfileops.c: Likewise.
33646 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33648         * nscd/selinux.c: Delete selinux/flask.h include.
33650 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33652         [BZ #18641]
33653         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33654         (putpwent): Likewise.
33655         (getpwnam): Likewise.
33656         (getpwent_r): Likewise.
33657         (getpwuid_r): Likewise.
33658         (getpwnam_r): Likewise.
33659         (fgetpwent_r): Likewise.
33661 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33663         [BZ #18557]
33664         * inet/rcmd.c (__validuser2_sa): Check user first to
33665         short-circuit host check.
33667 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33668             Mikhail Ilin  <m.ilin@samsung.com>
33670         [BZ #17833]
33671         * elf/Makefile (tests): Add tst-nodelete.
33672         (modules-names): Add tst-nodelete-uniquemod.
33673         (tst-nodelete-uniquemod.so-no-z-defs): New.
33674         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33675         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33676         ($(objpfx)tst-nodelete): Likewise.
33677         ($(objpfx)tst-nodelete.out): Likewise.
33678         (LDFLAGS-tst-nodelete): Likewise.
33679         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33680         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33681         implement forced object deletion.
33682         (_dl_close): Pass false to _dl_close_worker.
33683         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33684         * elf/tst-nodelete.cc: New file.
33685         * elf/tst-nodeletelib.cc: Likewise.
33686         * elf/tst-znodeletelib.cc: Likewise.
33687         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33689 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33691         [BZ #18508]
33692         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33693         Depend on $(libdl).
33694         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33695         is not called infinitely times.
33696         (backtrace_helper): New function.
33697         (trace_arg): New struct.
33698         (st1): Enlarge stack size.
33699         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33700         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33701         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33702         Likewise.
33704 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33706         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33708 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33710         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33711         Include sys/types.h instead of bits/types.h.
33712         Remove inclusion of bits/wordsize.h.
33714 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33716         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33717         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33718         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33719         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33720         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33721         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33723 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33725         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33726         link-defines.sym.
33727         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33728         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33729         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33730         and LR_SIZE.
33731         * sysdeps/i386/link-defines.sym: New file.
33733 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33735         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33736         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33737         ($(objpfx)tst-audit3): New rule.
33738         ($(objpfx)tst-audit3.out): Likewise.
33739         * sysdeps/i386/tst-audit3.c: New file.
33740         * sysdeps/i386/tst-audit3.h: Likewise.
33741         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33742         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33744 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33746         [BZ #18633]
33747         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33748         pointer in C code.
33749         (__strcat_c): Likewise.
33750         (__strcat_g): Likewise.
33752 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33754         [BZ #18592]
33755         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33757 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33759         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33760         New function.  (__ieee754_sqrtf): New function.
33761         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33762         New function.
33763         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33764         New function.
33766 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33768         * sysdeps/ieee754/support.c: Remove unused file.
33770 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33772         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33773         registers instead of d ones so the layout is kernel abi compatible.
33774         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33775         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33776         Likewise.
33778 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33780         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33782 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33784         [BZ #18619]
33785         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33786         and return argument in case of subnormal argument.
33788 2015-07-01  Martin Sebor  <msebor@redhat.com>
33790         [BZ #18435]
33791         * nptl/Makefile: Add tst-once5.cc.
33792         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33793         Remove macro redefinitions.
33794         * nptl/tst-once5.cc: New test.
33796 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33798         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33800         * sysdeps/arm/libm-test-ulps: Regenerated.
33802         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33803         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33805 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33807         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33808         lll_lock_wait_private and lll_futex_wake probes.
33810         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33812         Likewise.
33813         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33814         atomic_spin_nop.
33815         * sysdeps/x86_64/bits/atomic.h: Likewise.
33816         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33817         to atomic_spin_nop and move ...
33818         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33819         ... here and ...
33820         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33821         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33822         atomic_spin_nop instead of BUSY_WAIT_NOP.
33823         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33824         Likewise.
33825         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33826         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33827         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33828         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33829         instead of atomic_delay.
33831 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33833         [BZ #18613]
33834         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33835         X_ADJ not X when adjusting exponent.
33836         (__ieee754_gamma_r): Do intermediate computations in
33837         round-to-nearest then adjust overflowing and underflowing results
33838         as needed.
33839         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33840         of X_ADJ not X when adjusting exponent.
33841         (__ieee754_gammaf_r): Do intermediate computations in
33842         round-to-nearest then adjust overflowing and underflowing results
33843         as needed.
33844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33845         log of X_ADJ not X when adjusting exponent.
33846         (__ieee754_gammal_r): Do intermediate computations in
33847         round-to-nearest then adjust overflowing and underflowing results
33848         as needed.  Use 1.0L not 1.0f as numerator of division.
33849         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33850         log of X_ADJ not X when adjusting exponent.
33851         (__ieee754_gammal_r): Do intermediate computations in
33852         round-to-nearest then adjust overflowing and underflowing results
33853         as needed.  Use 1.0L not 1.0f as numerator of division.
33854         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33855         of X_ADJ not X when adjusting exponent.
33856         (__ieee754_gammal_r): Do intermediate computations in
33857         round-to-nearest then adjust overflowing and underflowing results
33858         as needed.  Use 1.0L not 1.0f as numerator of division.
33859         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33860         to auto-libm-test-in.
33861         (tgamma_test): Use ALL_RM_TEST.
33862         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33863         tests of tgamma with spurious-overflow.
33864         * math/auto-libm-test-out: Regenerated.
33865         * math/gen-libm-have-vector-test.sh: Do not check for START.
33866         * sysdeps/i386/fpu/libm-test-ulps: Update.
33867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33869         [BZ #18612]
33870         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33871         arguments, just return 0.5 times the argument, with underflow
33872         forced as needed.
33873         * math/auto-libm-test-in: Add more tests of j1.
33874         * math/auto-libm-test-out: Regenerated.
33876         [BZ #16559]
33877         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33878         (__ieee754_j1): Force underflow exception for small results.
33879         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33880         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33881         (__ieee754_j1f): Force underflow exception for small results.
33882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33883         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33885         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33886         (__ieee754_j1l): Force underflow exception for small results.
33887         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33888         * math/auto-libm-test-in: Add more tests of j1 and jn.
33889         * math/auto-libm-test-out: Regenerated.
33891         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33892         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33893         (PF_MPLS): Likewise.
33894         (AF_IB): Likewise.
33895         (AF_MPLS): Likewise.
33896         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33897         value and macro.
33898         (MS_RMT_MASK): Include MS_LAZYTIME.
33900 2015-06-26  Mel Gorman  <mgorman@suse.de>
33902         [BZ #18502]
33903         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33904         already minimal.
33906 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33908         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33909         (DT_MIPS_NUM): Update.
33910         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33911         DT_MIPS_RLD_MAP_REL.
33913 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33915         [BZ #16559]
33916         [BZ #18602]
33917         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33918         round-to-nearest internally then recompute results that
33919         underflowed to zero in the original rounding mode.
33920         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33921         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33923         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33924         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33925         * sysdeps/i386/fpu/libm-test-ulps: Update.
33926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33928 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33930         * NEWS: Fixed description of link with vector math library.
33932 2015-06-25  Andreas Schwab  <schwab@suse.de>
33934         [BZ #18549]
33935         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33936         * libio/test-fmemopen.c (do_test): Add test for it.
33938 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33940         [BZ #17841]
33941         * Makeconfig (no-pie-ldflag): New.
33942         (+link): Set to $(+link-pie) if default to PIE.
33943         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33944         * config.make.in (build-pie-default): New.
33945         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33946         is default.  AC_SUBST.
33947         * configure: Regenerated.
33948         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33950 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33952         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33953         to 'unsigned int'.
33955         * resolv/gai_misc.h (struct waitlist): Change type of field
33956         counterp to 'volatile unsigned int *'.
33957         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33958         FUTEXADDR and OLDVAL.
33959         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33960         Give local variable TOTAL type 'volatile unsigned int'.
33961         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33962         * resolv/gai_suspend.c (gai_suspend):
33963         Give local variable CNTR type 'unsigned int'.
33965         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33966         counterp to 'volatile unsigned int *'.
33967         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33968         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33969         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33970         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33971         Give local variable TOTAL type 'volatile unsigned int'.
33972         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33974 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33976         [BZ #18383]
33977         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33978         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33979         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33980         comment for i386/x86-64.
33981         (test-xfail-tst-tlsalign-extern-static): Removed.
33983 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33985         * math/test-double.h: New file.
33986         * math/test-float.h: Likewise.
33987         * math/test-ldouble.h: Likewise.
33988         * math/test-math-inline.h: Likewise.
33989         * math/test-math-no-inline.h: Likewise.
33990         * math/test-math-scalar.h: Likewise.
33991         * math/test-math-vector.h: Likewise.
33992         * math/test-vec-loop.h: Remove file.  Contents moved into
33993         test-math-vector.h.
33994         * math/libm-test.inc (MATHCONST): Do not document macro.
33995         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33996         and test-math-scalar.h.
33997         (FUNC): Remove macro.
33998         (FUNC_TEST): Likewise.
33999         (FLOAT): Likewise.
34000         (MATHCONST): Likewise.
34001         (PRINTF_EXPR): Likewise.
34002         (PRINTF_XEXPR): Likewise.
34003         (PRINTF_NEXPR): Likewise.
34004         (TEST_DOUBLE): Likewise.
34005         (TEST_MATHVEC): Likewise.
34006         (__NO_MATH_INLINES): Likewise.
34007         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34008         and test-math-scalar.h.
34009         (FUNC): Remove macro.
34010         (FUNC_TEST): Likewise.
34011         (FLOAT): Likewise.
34012         (MATHCONST): Likewise.
34013         (PRINTF_EXPR): Likewise.
34014         (PRINTF_XEXPR): Likewise.
34015         (PRINTF_NEXPR): Likewise.
34016         (TEST_FLOAT): Likewise.
34017         (TEST_MATHVEC): Likewise.
34018         (__NO_MATH_INLINES): Likewise.
34019         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34020         and test-math-scalar.h.
34021         (FUNC): Remove macro.
34022         (FUNC_TEST): Likewise.
34023         (FLOAT): Likewise.
34024         (MATHCONST): Likewise.
34025         (PRINTF_EXPR): Likewise.
34026         (PRINTF_XEXPR): Likewise.
34027         (PRINTF_NEXPR): Likewise.
34028         (TEST_DOUBLE): Likewise.
34029         (TEST_MATHVEC): Likewise.
34030         (TEST_INLINE): Likewise.
34031         (__NO_MATH_INLINES): Likewise.
34032         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34033         test-math-scalar.h.
34034         (FUNC): Remove macro.
34035         (FUNC_TEST): Likewise.
34036         (FLOAT): Likewise.
34037         (MATHCONST): Likewise.
34038         (PRINTF_EXPR): Likewise.
34039         (PRINTF_XEXPR): Likewise.
34040         (PRINTF_NEXPR): Likewise.
34041         (TEST_FLOAT): Likewise.
34042         (TEST_MATHVEC): Likewise.
34043         (TEST_INLINE): Likewise.
34044         (__NO_MATH_INLINES): Likewise.
34045         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34046         and test-math-scalar.h.
34047         (FUNC): Remove macro.
34048         (FUNC_TEST): Likewise.
34049         (FLOAT): Likewise.
34050         (MATHCONST): Likewise.
34051         (PRINTF_EXPR): Likewise.
34052         (PRINTF_XEXPR): Likewise.
34053         (PRINTF_NEXPR): Likewise.
34054         (TEST_LDOUBLE): Likewise.
34055         (TEST_MATHVEC): Likewise.
34056         (TEST_INLINE): Likewise.
34057         (__NO_MATH_INLINES): Likewise.
34058         * math/test-ldouble.c: Include test-ldouble.h,
34059         test-math-no-inline.h and test-math-scalar.h.
34060         (FUNC): Remove macro.
34061         (FUNC_TEST): Likewise.
34062         (FLOAT): Likewise.
34063         (MATHCONST): Likewise.
34064         (PRINTF_EXPR): Likewise.
34065         (PRINTF_XEXPR): Likewise.
34066         (PRINTF_NEXPR): Likewise.
34067         (TEST_LDOUBLE): Likewise.
34068         (TEST_MATHVEC): Likewise.
34069         (__NO_MATH_INLINES): Likewise.
34070         * math/test-double-vlen2.h: Include test-double.h,
34071         test-math-no-inline.h and test-math-vector.h.
34072         (FLOAT): Remove macro.
34073         (FUNC): Likewise.
34074         (MATHCONST): Likewise.
34075         (PRINTF_EXPR): Likewise.
34076         (PRINTF_XEXPR): Likewise.
34077         (PRINTF_NEXPR): Likewise.
34078         (TEST_DOUBLE): Likewise.
34079         (TEST_MATHVEC): Likewise.
34080         (__NO_MATH_INLINES): Likewise.
34081         (CNCT): Likewise.
34082         (CONCAT): Likewise.
34083         (WRAPPER_NAME): Likewise.
34084         (WRAPPER_DECL): Likewise.
34085         (WRAPPER_DECL_ff): Likewise.
34086         (WRAPPER_DECL_fFF): Likewise.
34087         (VECTOR_WRAPPER): Likewise.
34088         (VECTOR_WRAPPER_ff): Likewise.
34089         (VECTOR_WRAPPER_fFF): Likewise.
34090         (VEC_LEN): New macro.
34091         * math/test-double-vlen4.h: Include test-double.h,
34092         test-math-no-inline.h and test-math-vector.h.
34093         (FLOAT): Remove macro.
34094         (FUNC): Likewise.
34095         (MATHCONST): Likewise.
34096         (PRINTF_EXPR): Likewise.
34097         (PRINTF_XEXPR): Likewise.
34098         (PRINTF_NEXPR): Likewise.
34099         (TEST_DOUBLE): Likewise.
34100         (TEST_MATHVEC): Likewise.
34101         (__NO_MATH_INLINES): Likewise.
34102         (CNCT): Likewise.
34103         (CONCAT): Likewise.
34104         (WRAPPER_NAME): Likewise.
34105         (WRAPPER_DECL): Likewise.
34106         (WRAPPER_DECL_ff): Likewise.
34107         (WRAPPER_DECL_fFF): Likewise.
34108         (VECTOR_WRAPPER): Likewise.
34109         (VECTOR_WRAPPER_ff): Likewise.
34110         (VECTOR_WRAPPER_fFF): Likewise.
34111         (VEC_LEN): New macro.
34112         * math/test-double-vlen8.h: Include test-double.h,
34113         test-math-no-inline.h and test-math-vector.h.
34114         (FLOAT): Remove macro.
34115         (FUNC): Likewise.
34116         (MATHCONST): Likewise.
34117         (PRINTF_EXPR): Likewise.
34118         (PRINTF_XEXPR): Likewise.
34119         (PRINTF_NEXPR): Likewise.
34120         (TEST_DOUBLE): Likewise.
34121         (TEST_MATHVEC): Likewise.
34122         (__NO_MATH_INLINES): Likewise.
34123         (CNCT): Likewise.
34124         (CONCAT): Likewise.
34125         (WRAPPER_NAME): Likewise.
34126         (WRAPPER_DECL): Likewise.
34127         (WRAPPER_DECL_ff): Likewise.
34128         (WRAPPER_DECL_fFF): Likewise.
34129         (VECTOR_WRAPPER): Likewise.
34130         (VECTOR_WRAPPER_ff): Likewise.
34131         (VECTOR_WRAPPER_fFF): Likewise.
34132         (VEC_LEN): New macro.
34133         * math/test-float-vlen4.h: Include test-float.h,
34134         test-math-no-inline.h and test-math-vector.h.
34135         (FLOAT): Remove macro.
34136         (FUNC): Likewise.
34137         (MATHCONST): Likewise.
34138         (PRINTF_EXPR): Likewise.
34139         (PRINTF_XEXPR): Likewise.
34140         (PRINTF_NEXPR): Likewise.
34141         (TEST_FLOAT): Likewise.
34142         (TEST_MATHVEC): Likewise.
34143         (__NO_MATH_INLINES): Likewise.
34144         (CNCT): Likewise.
34145         (CONCAT): Likewise.
34146         (WRAPPER_NAME): Likewise.
34147         (WRAPPER_DECL): Likewise.
34148         (WRAPPER_DECL_ff): Likewise.
34149         (WRAPPER_DECL_fFF): Likewise.
34150         (VECTOR_WRAPPER): Likewise.
34151         (VECTOR_WRAPPER_ff): Likewise.
34152         (VECTOR_WRAPPER_fFF): Likewise.
34153         (VEC_LEN): New macro.
34154         * math/test-float-vlen8.h: Include test-float.h,
34155         test-math-no-inline.h and test-math-vector.h.
34156         (FLOAT): Remove macro.
34157         (FUNC): Likewise.
34158         (MATHCONST): Likewise.
34159         (PRINTF_EXPR): Likewise.
34160         (PRINTF_XEXPR): Likewise.
34161         (PRINTF_NEXPR): Likewise.
34162         (TEST_FLOAT): Likewise.
34163         (TEST_MATHVEC): Likewise.
34164         (__NO_MATH_INLINES): Likewise.
34165         (CNCT): Likewise.
34166         (CONCAT): Likewise.
34167         (WRAPPER_NAME): Likewise.
34168         (WRAPPER_DECL): Likewise.
34169         (WRAPPER_DECL_ff): Likewise.
34170         (WRAPPER_DECL_fFF): Likewise.
34171         (VECTOR_WRAPPER): Likewise.
34172         (VECTOR_WRAPPER_ff): Likewise.
34173         (VECTOR_WRAPPER_fFF): Likewise.
34174         (VEC_LEN): New macro.
34175         * math/test-float-vlen16.h: Include test-float.h,
34176         test-math-no-inline.h and test-math-vector.h.
34177         (FLOAT): Remove macro.
34178         (FUNC): Likewise.
34179         (MATHCONST): Likewise.
34180         (PRINTF_EXPR): Likewise.
34181         (PRINTF_XEXPR): Likewise.
34182         (PRINTF_NEXPR): Likewise.
34183         (TEST_FLOAT): Likewise.
34184         (TEST_MATHVEC): Likewise.
34185         (__NO_MATH_INLINES): Likewise.
34186         (CNCT): Likewise.
34187         (CONCAT): Likewise.
34188         (WRAPPER_NAME): Likewise.
34189         (WRAPPER_DECL): Likewise.
34190         (WRAPPER_DECL_ff): Likewise.
34191         (WRAPPER_DECL_fFF): Likewise.
34192         (VECTOR_WRAPPER): Likewise.
34193         (VECTOR_WRAPPER_ff): Likewise.
34194         (VECTOR_WRAPPER_fFF): Likewise.
34195         (VEC_LEN): New macro.
34196         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34197         test-vec-loop.h.
34198         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34199         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34200         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34201         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34202         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34204         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34206 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34208         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34209         (__getlogin_r): ... this.
34211 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34213         [BZ #18594]
34214         * math/s_ccosh.c (__ccosh): Compare with least normal value
34215         instead of comparing class with FP_SUBNORMAL.
34216         * math/s_ccoshf.c (__ccoshf): Likewise.
34217         * math/s_ccoshl.c (__ccoshl): Likewise.
34218         * math/s_cexp.c (__cexp): Likewise.
34219         * math/s_cexpf.c (__cexpf): Likewise.
34220         * math/s_cexpl.c (__cexpl): Likewise.
34221         * math/s_csin.c (__csin): Likewise.
34222         * math/s_csinf.c (__csinf): Likewise.
34223         * math/s_csinh.c (__csinh): Likewise.
34224         * math/s_csinhf.c (__csinhf): Likewise.
34225         * math/s_csinhl.c (__csinhl): Likewise.
34226         * math/s_csinl.c (__csinl): Likewise.
34227         * math/s_ctan.c (__ctan): Likewise.
34228         * math/s_ctanf.c (__ctanf): Likewise.
34229         * math/s_ctanh.c (__ctanh): Likewise.
34230         * math/s_ctanhf.c (__ctanhf): Likewise.
34231         * math/s_ctanhl.c (__ctanhl): Likewise.
34232         * math/s_ctanl.c (__ctanl): Likewise.
34233         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34234         csin, csinh, ctan and ctanh.
34235         * math/auto-libm-test-out: Regenerated.
34236         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34237         * sysdeps/i386/fpu/libm-test-ulps: Update.
34238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34240 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34242         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34243         return value is wrong, print the expected value too.
34245 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34247         [BZ #18585]
34248         * elf/readlib.c (is_gdb_python_file): New.
34249         (process_file): Don't issue errors on filenames with -gdb.py
34250         suffix.
34252 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34254         * math/auto-libm-test-in: Add more tests of csin and csinh.
34255         * math/auto-libm-test-out: Regenerated.
34256         * math/libm-test.inc (csin_test_data): Remove tests moved to
34257         auto-libm-test-in.
34258         (csinh_test_data): Likewise.
34260         [BZ #18593]
34261         * math/s_csin.c (__csin): Negate before rather than after possibly
34262         overflowing multiplication.
34263         * math/s_csinf.c (__csinf): Likewise.
34264         * math/s_csinh.c (__csinh): Likewise.
34265         * math/s_csinhf.c (__csinhf): Likewise.
34266         * math/s_csinhl.c (__csinhl): Likewise.
34267         * math/s_csinl.c (__csinl): Likewise.
34268         * math/auto-libm-test-in: Add some tests of csin and csinh.
34269         * math/auto-libm-test-out: Regenerated.
34270         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34271         (csinh_test_data): Likewise.
34272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34274         [BZ #18586]
34275         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34276         underflow exception for small results.
34278 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34280         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34282         variable and included header.
34283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34284         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34285         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34286         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34288         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34290         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34291         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34292         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34293         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34294         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34295         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34296         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34297         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34298         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34300 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #16526]
34303         [BZ #16538]
34304         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34305         (__sin): Force underflow exception for arguments with small
34306         absolute value.
34307         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34308         (__kernel_sinf): Force underflow exception for arguments with
34309         small absolute value.
34310         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34311         (__kernel_sincosl): Force underflow exception for arguments with
34312         small absolute value.
34313         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34314         (__kernel_sinl): Force underflow exception for arguments with
34315         small absolute value.
34316         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34317         (__kernel_sincosl): Force underflow exception for arguments with
34318         small absolute value.
34319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34320         (__kernel_sinl): Force underflow exception for arguments with
34321         small absolute value.
34322         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34323         (__kernel_sinl): Force underflow exception for arguments with
34324         small absolute value.
34325         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34326         (__kernel_sinf): Force underflow exception for arguments with
34327         small absolute value.
34328         * math/auto-libm-test-in: Add more tests of sin and sincos.
34329         * math/auto-libm-test-out: Regenerated.
34331         [BZ #18245]
34332         [BZ #18583]
34333         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34334         (__kernel_standard_l): Use feholdexcept and fesetenv around
34335         conversion to double instead of special-casing overflow and
34336         underflow.
34337         * math/libm-test.inc (fmod_test_data): Add more tests.
34338         (remainder_test_data): Likewise.
34339         (sqrt_test_data): Likewise.
34341 2015-06-23  Torvald Riegel  <triegel@redhat.com>
34343         [BZ #17403]
34344         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34345         atomic_read_barrier, atomic_write_barrier): Define.
34346         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34347         atomic_read_barrier, atomic_write_barrier): Define.
34349 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34351         * math/Makefile [$(PERL) != no]
34352         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34353         dependency on libm-test.stmp below the inclusion of Rules.
34355 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
34357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34359         and included header.
34360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34368         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34369         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34370         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34371         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34372         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34373         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34374         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34375         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34376         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34377         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34378         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34380 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34382         [BZ #18371]
34383         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34384         intermediate but not final result might underflow.
34385         * math/s_csqrtf.c (__csqrtf): Likewise.
34386         * math/s_csqrtl.c (__csqrtl): Likewise.
34387         * math/auto-libm-test-in: Add more tests of csqrt.
34388         * math/auto-libm-test-out: Regenerated.
34389         * sysdeps/i386/fpu/libm-test-ulps: Update.
34391         [BZ #18219]
34392         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34393         threshold on absolute value of exponent for which scaling is used.
34394         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34395         * math/auto-libm-test-in: Add more tests of exp2.
34396         * math/auto-libm-test-out: Regenerated.
34398 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
34400         [BZ #17977]
34401         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
34402         when initializing interface list, based on the bug analysis
34403         and the patch proposed by Eric Newton.
34404         * resolv/tst-res_hconf_reorder.c: New test.
34405         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
34406         tst-res_hconf_reorder.
34407         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
34408         and $(shared-thread-library).
34409         (tst-res_hconf_reorder-ENV): New variable.
34411         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34412         in comment.
34414 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
34416         [BZ #16353]
34417         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34418         (__expm1): Force underflow exception for arguments with small
34419         absolute value.
34420         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34421         (__expm1f): Force underflow exception for arguments with small
34422         absolute value.
34423         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34424         (__expm1): Force underflow exception for arguments with small
34425         absolute value.
34426         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34427         (__expm1f): Force underflow exception for arguments with small
34428         absolute value.
34429         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34430         Check for small arguments before calling __expm1.
34431         * math/auto-libm-test-in: Do not mark underflow exceptions as
34432         possibly missing for bug 16353.
34433         * math/auto-libm-test-out: Regenerated.
34435 2015-06-22  Andreas Schwab  <schwab@suse.de>
34437         [BZ #18513]
34438         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34439         PTR queries.
34441 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
34443         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34445         * string/strcoll_l.c: Remove unused struct element idxnow.
34447 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
34449         [BZ #18569]
34450         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34451         underflow and return argument in case of subnormal argument.
34452         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34453         Likewise.
34454         * math/auto-libm-test-in: Add more tests of expm1.
34455         * math/auto-libm-test-out: Regenerated.
34457         [BZ #16361]
34458         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34459         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34460         tiny results.
34461         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34462         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34463         tiny results.
34464         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
34465         mark underflow exceptions as possibly missing for bug 16361.
34466         * math/auto-libm-test-out: Regenerated.
34468 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
34470         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34471         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34472         Remove variable.
34473         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34474         (test-xfail-XOPEN2K8/utmpx.h/conform).
34476         * conform/conformtest.pl ($xerrors): New variable.
34477         (note_error): New function.
34478         (compiletest): New argument $xfail.  Use not_error.
34479         (runtest): Likewise.
34480         (top level): Handle xfail- lines.  Update calls to compiletest and
34481         runtest.  Handle xfail- and optional- in headers listed with
34482         allow-header.
34483         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34484         (O_EXEC): Likewise.
34485         (O_SEARCH): Likewise.
34486         * conform/data/stropts.h-data (ioctl): Likewise.
34487         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34488         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34489         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34490         (msghdr.msg_controllen): Likewise.
34491         (cmsghdr.cmsg_len): Likewise.
34492         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34493         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34494         variable.
34495         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34496         (test-xfail-XPG4/stropts.h/conform): Likewise.
34497         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34498         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34499         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34500         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34501         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34502         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34503         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34504         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34505         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34506         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34507         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34508         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34509         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34510         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34511         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34512         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34513         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34514         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34515         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34517 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
34519         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34520         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34521         definitions for proper unfolding of __MATHDECL_VEC.
34523 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34525         * benchtests/bench-strcoll.c:
34526         Include string.h.
34527         (main): Remove unused variable res.
34529 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34531         * timezone/Makefile (%/UTC %/Universal):
34532         Generate test-result files for UTC and Universal.
34534 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34536         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34538 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
34540         [BZ #16350]
34541         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34542         for arguments with small absolute value.
34543         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34544         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34545         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34546         (__asinh): Force underflow exception for arguments with small
34547         absolute value.
34548         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34549         (__asinhf): Force underflow exception for arguments with small
34550         absolute value.
34551         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34552         (__asinhl): Force underflow exception for arguments with small
34553         absolute value.
34554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34555         (__asinhl): Force underflow exception for arguments with small
34556         absolute value.
34557         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34558         (__asinhl): Force underflow exception for arguments with small
34559         absolute value.
34560         * math/auto-libm-test-in: Do not mark underflow exceptions as
34561         possibly missing for bug 16350.
34562         * math/auto-libm-test-out: Regenerated.
34564         * include/bits/ipc.h: Remove file.
34565         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34566         variable.
34567         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34568         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34569         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34570         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34571         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34572         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34573         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34574         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34575         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34577         * math/auto-libm-test-in: Remove spurious underflow allowance for
34578         tests of cexp.
34579         * math/auto-libm-test-out: Regenerated.
34581         [BZ #18558]
34582         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34583         unconditional definition.
34584         (MCAST_BLOCK_SOURCE): Likewise.
34585         (MCAST_UNBLOCK_SOURCE): Likewise.
34586         (MCAST_LEAVE_GROUP): Likewise.
34587         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34588         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34589         (MCAST_MSFILTER): Likewise.
34590         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34591         Remove variable.
34592         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34593         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34594         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34595         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34596         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34598 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
34600         * NEWS: Mention addition of x86_64 vector sincosf.
34601         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34602         * math/test-float-vlen4.h: Likewise.
34603         * math/test-float-vlen8.h: Likewise.
34604         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34605         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34607         * sysdeps/x86_64/fpu/Versions: New versions added.
34608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34610         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34613         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34614         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34617         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34618         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34619         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34620         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34621         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34622         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34623         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34624         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34625         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34626         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34627         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34630         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34631         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34633         * NEWS: Mention addition of x86_64 vector sincos.
34634         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34635         * math/math.h (__MATHDECL_VEC): New macro.
34636         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34637         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34638         declaration under condition.
34639         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34640         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34641         TEST_VEC_LOOP change.
34642         * math/test-double-vlen4.h: Likewise.
34643         * math/test-double-vlen8.h: Likewise.
34644         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34645         * math/test-float-vlen4.h: Likewise.
34646         * math/test-float-vlen8.h: Likewise.
34647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34648         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34650         * sysdeps/x86_64/fpu/Versions: New versions added.
34651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34652         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34653         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34660         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34661         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34662         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34663         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34664         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34665         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34666         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34667         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34668         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34669         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34671         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34672         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34673         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34674         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34677         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34678         redirections for powf.
34679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34680         * sysdeps/x86_64/fpu/Versions: New versions added.
34681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34682         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34683         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34684         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34686         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34690         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34691         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34692         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34693         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34694         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34695         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34696         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34697         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34698         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34699         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34700         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34701         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34702         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34703         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34704         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34705         * math/test-float-vlen16.h: Fixed 2 argument macro.
34706         * math/test-float-vlen4.h: Likewise.
34707         * math/test-float-vlen8.h: Likewise.
34708         * NEWS: Mention addition of x86_64 vector powf.
34710 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34712         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34713         and redefine.
34714         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34715         and redefine.
34716         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34717         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34718         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34720         [BZ #18553]
34721         * resource/getpriority.c (getpriority): Rename to __getpriority
34722         and define as weak alias of __getpriority.
34723         * resource/setpriority.c (setpriority): Rename to __setpriority
34724         and define as weak alias of __setpriority.
34725         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34726         __getpriority and define as weak alias of __getpriority.
34727         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34728         __setpriority and define as weak alias of __setpriority.
34729         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34730         strong name.
34731         (setpriority): Use __setpriority as strong name.
34732         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34733         __getpriority and define as weak alias of __getpriority.
34734         * include/sys/resource.h (__getpriority): Declare.  Use
34735         libc_hidden_proto.
34736         (__setpriority): Likewise.
34737         (getpriority): Don't use libc_hidden_proto.
34738         (setpriority): Likewise.
34739         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34740         getpriority.  Call __setpriority instead of setpriority.
34741         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34742         Remove variable.
34744         [BZ #18547]
34745         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34746         as weak alias of __getttynam.  Use prototype function definition.
34747         Call __setttyent, __getttyent and __endttyent instead of
34748         setttyent, getttyent and endttyent.
34749         (getttyent): Rename to __getttyent and define as weak alias of
34750         __getttyent.  Call __setttyent instead of setttyent.  Call
34751         __fgets_unlocked instead of fgets_unlocked.
34752         (setttyent): Rename to __setttyent and define as weak alias of
34753         __setttyent.
34754         (endttyent): Rename to __endttyent and define as weak alias of
34755         __endttyent.
34756         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34757         (__setttyent): Likewise.
34758         (__endttyent): Likewise.
34759         (getttyent): Don't use libc_hidden_proto.
34760         (setttyent): Likewise.
34761         (endttyent): Likewise.
34762         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34763         __endttyent instead of setttyent, getttyent and endttyent.
34764         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34765         Remove variable.
34767         [BZ #18546]
34768         * socket/recv.c (__recv): Use libc_hidden_def.
34769         * socket/socket.c (__socket): Likewise.
34770         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34771         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34772         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34773         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34774         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34775         libc_hidden_def.
34776         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34777         libc_hidden_weak.
34778         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34779         Use libc_hidden_proto.
34780         (__recv): Likewise.
34781         * socket/Versions (libc): Export __recv and __socket at version
34782         GLIBC_PRIVATE.
34783         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34784         instead of recv.
34785         (init_mq_netlink): Call __socket instead of socket.
34786         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34787         Remove variable.
34789         [BZ #18545]
34790         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34791         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34792         hidden_weak.
34793         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34794         define as alias of __mq_timedsend.  Use hidden_weak.
34795         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34796         __mq_timedsend as strong name.
34797         (mq_timedreceive): Use __mq_timedreceive as strong name.
34798         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34799         (__mq_timedreceive): Likewise.
34800         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34801         __mq_timedreceive instead of mq_timedreceive.
34802         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34803         instead of mq_timedsend.
34804         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34805         Remove variable.
34807         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34808         hidden_def and hidden_weak instead of libc_hidden_def and
34809         libc_hidden_weak.
34810         (top level): Refer to hidden_def in comment.
34811         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34812         macro.  Use it instead of libc_hidden_def.
34813         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34814         specify __GI_* name explicitly.
34815         (mq_timedreceive): Likewise.
34816         (mq_setattr): Likewise.
34818         [BZ #18544]
34819         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34820         __pthread_barrier_init and define as weak alias of
34821         __pthread_barrier_init.
34822         * sysdeps/sparc/nptl/pthread_barrier_init.c
34823         (pthread_barrier_init): Likewise.
34824         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34825         __pthread_barrier_wait and define as weak alias of
34826         __pthread_barrier_wait.
34827         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34828         (pthread_barrier_wait): Likewise.
34829         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34830         (pthread_barrier_wait): Likewise.
34831         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34832         (pthread_barrier_wait): Likewise.
34833         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34834         (pthread_barrier_wait): Likewise.
34835         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34836         __pthread_barrier_wait at version GLIBC_PRIVATE.
34837         * include/pthread.h (__pthread_barrier_init): Declare.
34838         (__pthread_barrier_wait): Likewise.
34839         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34840         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34841         (helper_thread): Likewise.
34842         (init_mq_netlink): Call __pthread_barrier_init instead of
34843         pthread_barrier_init.
34845         [BZ #18542]
34846         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34847         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34848         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34849         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34850         vswscanf.
34851         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34852         Remove variable.
34854         [BZ #18540]
34855         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34856         strong alias of _IO_fflush.  Use libc_hidden_def.
34857         * libio/iofflush_u.c (fflush_unlocked): Rename to
34858         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34859         Use libc_hidden_weak.
34860         * include/stdio.h (__fflush_unlocked): Declare.  Use
34861         libc_hidden_proto.
34862         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34863         fflush_unlocked.
34864         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34865         Remove variable.
34867         [BZ #18539]
34868         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34869         define as weak alias of __addseverity.
34870         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34871         Remove variable.
34872         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34873         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34874         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34876         [BZ #18536]
34877         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34878         (__tfind): Likewise.
34879         (__tdelete): Likewise.
34880         (__twalk): Likewise.
34881         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34882         __twalk to GLIBC_PRIVATE.
34883         * include/search.h (__tsearch): Use libc_hidden_proto.
34884         (__tfind): Likewise.
34885         (__tdelete): Likewise.
34886         (__twalk): Likewise.
34887         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34888         Call __tdelete instead of tdelete.
34889         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34890         tfind.  Call __tsearch instead of tsearch.
34891         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34892         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34893         Remove variable.
34894         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34896         [BZ #18534]
34897         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34898         (dprintf): Define as a weak alias of __dprintf, not a strong
34899         alias.
34900         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34901         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34902         dprintf.
34903         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34904         Remove variable.
34905         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34906         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34908         [BZ #18533]
34909         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34910         not a strong alias.
34911         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34912         Remove variable.
34914         [BZ #18532]
34915         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34916         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34917         (in6addr_loopback): Rename to __in6addr_loopback and define as
34918         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34919         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34920         libc_hidden_proto.
34921         (__in6addr_any): Likewise.
34922         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34923         in6addr_any.
34924         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34925         variable.
34926         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34928 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34930         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34931         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34933         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34934         redirections for pow.
34935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34936         * sysdeps/x86_64/fpu/Versions: New versions added.
34937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34939         build of SSE, AVX2 and AVX512 IFUNC versions.
34940         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34942         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34943         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34944         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34945         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34946         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34947         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34948         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34949         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34950         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34951         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34952         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34953         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34954         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34956         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34957         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34958         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34959         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34960         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34961         * NEWS: Mention addition of x86_64 vector pow.
34963         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34964         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34965         redirections for expf.
34966         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34967         * sysdeps/x86_64/fpu/Versions: New versions added.
34968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34969         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34970         build of SSE, AVX2 and AVX512 IFUNC versions.
34971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34972         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34973         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34975         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34977         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34978         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34979         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34980         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34981         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34982         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34983         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34984         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34985         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34986         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34988         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34989         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34990         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34991         * NEWS: Mention addition of x86_64 vector expf.
34993         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34994         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34995         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34996         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34997         redirections for exp.
34998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34999         * sysdeps/x86_64/fpu/Versions: New versions added.
35000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35002         build of SSE, AVX2 and AVX512 IFUNC versions.
35003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35006         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35007         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35008         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35009         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35010         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35011         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35012         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35013         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35014         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35015         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35016         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35018         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35019         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35020         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35021         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35022         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35023         * NEWS: Mention addition of x86_64 vector exp.
35025         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35026         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35027         redirections for logf.
35028         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35029         * sysdeps/x86_64/fpu/Versions: New versions added.
35030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35032         build of SSE, AVX2 and AVX512 IFUNC versions.
35033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35035         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35036         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35037         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35038         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35039         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35040         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35041         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35042         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35043         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35044         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35045         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35046         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35047         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35048         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35051         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35052         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35053         * NEWS: Mention addition of x86_64 vector logf.
35055         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35056         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35057         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35058         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35059         redirections for log.
35060         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35061         * sysdeps/x86_64/fpu/Versions: New versions added.
35062         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35063         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35064         build of SSE, AVX2 and AVX512 IFUNC versions.
35065         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35066         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35067         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35068         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35069         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35070         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35071         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35072         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35073         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35074         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35075         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35076         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35077         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35078         test.
35079         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35080         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35081         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35082         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35083         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35084         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35085         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35086         * NEWS: Mention addition of x86_64 vector log.
35088 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35090         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35091         cfi_adjust_cfa_offset argument.
35092         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35093         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35095         [BZ #18034]
35096         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35097         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35098         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35099         ordering using ldar.
35100         (_dl_tlsdesc_dynamic): Likewise.
35101         (_dl_tlsdesc_return_lazy): Likewise.
35102         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35103         relaxed atomics instead of volatile and synchronize with release store.
35104         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35105         volatile.
35106         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35108 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
35110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35112         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35113         * sysdeps/x86_64/fpu/Versions: New versions added.
35114         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35115         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35116         build of SSE, AVX2 and AVX512 IFUNC versions.
35117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35119         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35120         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35122         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35123         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35124         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35125         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35126         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35127         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35128         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35129         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35130         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35131         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35132         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35134         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35135         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35136         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35137         * NEWS: Mention addition of x86_64 vector sinf.
35139 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
35141         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35142         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35143         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35144         Remove variable.
35145         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35146         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35148 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35150         [BZ #18530]
35151         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35152         strong alias of _IO_fputs.  Use libc_hidden_def.
35153         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35154         and define as weak alias of __fputs_unlocked.  Use
35155         libc_hidden_weak.
35156         * include/stdio.h (__fputs_unlocked): Declare.  Use
35157         libc_hidden_proto.
35158         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35159         fputs_unlocked.
35161         [BZ #18529]
35162         * resolv/netdb.h [__USE_POSIX]: Change condition to
35163         [__USE_XOPEN2K].
35164         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35165         not expect.
35166         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35167         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35168         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35169         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35170         [XPG4 || UNIX98] (AI_ALL): Likewise.
35171         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35172         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35173         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35174         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35175         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35176         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35177         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35178         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35179         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35180         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35181         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35182         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35183         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35184         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35185         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35186         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35187         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35188         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35189         [XPG4 || UNIX98] (gai_strerror): Likewise.
35190         [XPG4 || UNIX98] (getaddrinfo): Likewise.
35191         [XPG4 || UNIX98] (getnameinfo): Likewise.
35193         [BZ #18528]
35194         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35195         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35196         __USE_XOPEN2K8].
35197         (getgrent): Likewise.
35198         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35199         expect.
35200         [XPG3 || POSIX2008] (endgrent): Likewise.
35201         [XPG3] (setgrent): Likewise.
35202         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35203         variable.
35204         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35206         [BZ #18527]
35207         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35208         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
35209         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35210         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35211         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35212         * include/unistd.h (__getlogin_r): Declare.  Use
35213         libc_hidden_proto.
35214         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35215         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35216         variable.
35217         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35218         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35219         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35221 2015-06-12  Martin Sebor  <msebor@redhat.com>
35223         [BZ #18512]
35224         * Makerules (check-install-supported): New target.
35225         (install): Add check-install-supported as a dependency.
35226         * manual/install.texi (Installing the C Library): Document
35227         that overriding prefix and exec_prefix is not supported.
35228         Mention DESTDIR.
35229         * INSTALL: Regenerate from the above.
35231 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35233         [BZ #18519]
35234         * posix/Versions (libc): Export __libc_pread at version
35235         GLIBC_PRIVATE.
35236         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35237         instead of pread.
35238         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35239         variable.
35241         [BZ #18522]
35242         * misc/efgcvt_r.c
35243         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35244         (cvt_symbol): Use weak_alias instead of strong_alias.
35245         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35246         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35247         Remove variable.
35248         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35249         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35251         [BZ #18520]
35252         * inet/herrno.c (h_errno): Rename to __h_errno.
35253         (__libc_h_errno): Define as alias of __h_errno not h_errno.
35254         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35255         to __h_errno instead of h_errno.
35256         * nptl/herrno.c (h_errno): Rename to __h_errno.
35257         (__h_errno_location): Refer to __h_errno not h_errno.
35258         * resolv/Versions (h_errno): Rename to __h_errno.
35259         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35260         Remove variable.
35261         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35263 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
35265         * configure.ac: More strict check for AVX512 assembler support.
35266         * configure: Regenerated.
35268         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35269         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35270         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35271         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35272         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35273         * sysdeps/x86_64/fpu/Versions: New versions added.
35274         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35275         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35276         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35283         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35284         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35285         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35286         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35287         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35288         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35289         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35290         test.
35291         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35294         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35295         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35296         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35297         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35298         * NEWS: Mention addition of x86_64 vector sin.
35300 2015-06-11  Florian Weimer  <fweimer@redhat.com>
35302         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35303         comment.
35305 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
35307         [BZ #18479]
35308         * nptl/pt-interp.c: New file.
35309         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35310         Add pt-interp.
35311         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35312         $(common-objpfx)runtime-linker.h.
35314 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
35316         * Makeconfig (+interp): Remove unused variable.
35317         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35318         only.  Depend on $(common-objpfx)runtime-linker.h instead of
35319         $(elf-objpfx)runtime-linker.h.
35320         ($(elf-objpfx)runtime-linker.h): Rename to
35321         $(common-objpfx)runtime-linker.h and move ...
35322         * Makerules [$(build-shared) = yes]: ... here.
35323         * elf/interp.c: Include <runtime-linker.h> instead of
35324         <elf/runtime-linker.h>.
35326 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35328         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35329         (__gettimeofday_syscall): Remove vsyscall fallback.
35330         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35331         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35332         Add syscall fallback function.
35333         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35334         if vDSO is not present.
35335         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35336         fallback function.
35337         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35338         present.
35339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35340         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35342 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
35344         [BZ #18497]
35345         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35346         of wcscmp.
35347         (wcscmp): Define as weak alias of WCSCMP.
35348         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35349         wcscoll.
35350         (USE_HIDDEN_DEF): Define.
35351         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35352         __wcscoll.  Don't use libc_hidden_weak.
35353         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35354         wcscmp.
35355         * sysdeps/i386/i686/multiarch/wcscmp-c.c
35356         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35357         __GI_wcscmp.
35358         (weak_alias): Undefine and redefine.
35359         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35360         __wcscmp and define as weak alias of __wcscmp.
35361         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35362         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
35363         (__wcscoll): Likewise.
35364         (wcscmp): Don't use libc_hidden_proto.
35365         (wcscoll): Likewise.
35366         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35367         wcscoll.
35368         * posix/regexec.c (check_node_accept_bytes): Likewise.
35369         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35370         variable.
35371         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35372         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35374         [BZ #18507]
35375         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35376         __fstatvfs and define as weak alias of __fstatvfs.  Use
35377         libc_hidden_weak.
35378         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35379         and define as weak alias of __statvfs.  Use libc_hidden_weak.
35380         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35381         Define as alias of __fstatvfs, not fstatvfs.
35382         (fstatvfs64): Likewise.
35383         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35384         Define as alias of __statvfs, not statvfs.
35385         (statvfs64): Likewise.
35386         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35387         Remove variable.
35389 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35392         (HAVE_GETCPU_VSYSCALL): Define.
35393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35394         (HAVE_GETCPU_VSYSCALL): Likewise.
35395         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35396         * sysdeps/unix/sysv/linux/sched_getcpu.c
35397         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35398         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
35399         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
35400         prototype.
35401         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35402         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
35403         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
35404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
35405         Define.
35406         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
35407         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35408         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
35409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35411 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
35413         * sysdeps/x86_64/fpu/Makefile: New file.
35414         * sysdeps/x86_64/fpu/Versions: New file.
35415         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35416         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35417         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35418         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35419         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35420         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35421         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35425         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35426         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35428         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35429         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35431         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35432         * sysdeps/x86_64/configure.ac: Options for libmvec build.
35433         * sysdeps/x86_64/configure: Regenerated.
35434         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35435         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35436         * manual/install.texi (Configuring and compiling): Document
35437         --disable-mathvec.
35438         * INSTALL: Regenerated.
35439         * NEWS: Mention addition of libmvec and x86_64 vector cos.
35441         * math/Makefile: Added rules for vector tests.
35442         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35443         declaration under condition.
35444         * math/test-double-vlen2.h: New file.
35445         * math/test-double-vlen4.h: New file.
35446         * math/test-double-vlen8.h: New file.
35447         * math/test-vec-loop.h: Added initialization macro.
35448         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35450         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35452         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35455         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35456         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35457         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35458         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35460         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35461         * sysdeps/x86_64/fpu/Versions: New versions added.
35462         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35465         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35466         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35468         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35469         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35472         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35473         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35474         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35476         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35478         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35479         * NEWS: Mention addition of x86_64 vector cosf.
35481         * math/Makefile: Added CFLAGS for new tests.
35482         * math/test-float-vlen16.h: New file.
35483         * math/test-float-vlen4.h: New file.
35484         * math/test-float-vlen8.h: New file.
35485         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35486         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35488         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35489         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35490         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35491         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35492         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35494         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35495         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35497 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
35499         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35500         * locale/programs/ld-ctype.c: Likewise.
35502 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
35504         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35505         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35506         bit_ZMM16_31_state): New macro.
35507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35508         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35510 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
35512         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35514 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
35516         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35518 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #18498]
35521         * libio/memstream.c (open_memstream): Rename to __open_memstream
35522         and define as weak alias of __open_memstream.
35523         * include/stdio.h (__open_memstream): Declare.  Use
35524         libc_hidden_proto.
35525         (open_memstream): Don't use libc_hidden_proto.
35526         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35527         open_memstream.
35528         * posix/getopt.c (_getopt_internal_r): Likewise.
35529         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35530         variable.
35531         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35532         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35533         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35535         [BZ #18496]
35536         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35537         instead of wcrtomb.
35539         [BZ #18483]
35540         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35541         [__USE_XOPEN2K8].  Remove redundant #endif.
35542         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35543         Remove redundant #if.
35544         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35545         Remove variable.
35546         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35547         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35549         [BZ #18495]
35550         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35551         (__iswlower): Likewise.
35552         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
35553         (__iswlower): Likewise.
35554         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35555         instead of towlower.
35556         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35557         instead of iswlower.  Call __towupper instead of towupper.
35558         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35559         instead of iswalnum.
35561 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35563         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35564         errors to stderr.
35566 2015-06-05  Florian Weimer  <fweimer@redhat.com>
35568         [BZ #15661]
35569         [BZ #17322]
35570         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35571         Check for overflow properly.  Check for O_APPEND.  Ignore large
35572         file system block sizes.  Add comments about problems.
35573         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35574         * manual/filesys.texi (Storage Allocation): New node.
35576 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35578         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35579         cancellable syscalls.
35580         (SYS_ify): Add guard to no redefine it.
35581         (INLINE_SYSCALL): Likewise.
35582         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35583         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35584         SYSCALL_CANCEL instead.
35585         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35586         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35587         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35588         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35589         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35590         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35591         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35592         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35593         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35594         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35595         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35596         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35597         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35598         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35599         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35601         Likewise.
35602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35603         (__libc_pread64): Likewise.
35604         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35605         (__libc_preadv): Likewise.
35606         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35607         (__libc_readv64): Likewise.
35608         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35609         (__libc_pwrite): Likewise.
35610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35611         (__libc_pwrite64): Likewise.
35612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35613         (__libc_pwritev): Likewise.
35614         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35615         (__libc_pwritev64): Likewise.
35616         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35617         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35618         (sync_file_range): Likewise.
35619         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35620         Likewise.
35621         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35622         Likewise.
35623         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35624         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35625         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35626         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35627         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35628         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35629         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35630         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35632         Likewise.
35633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35634         (__libc_read64): Likewise.
35635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35636         Likewise.
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35638         Likewise.
35639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35640         Likewise.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35642         Likewise.
35643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35644         (__libc_pread64): Likewise.
35645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35646         Likewise.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35648         (__libc_pwrite64): Likewise.
35649         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35650         (sync_file_range): Likewise.
35651         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35652         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35653         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35654         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35655         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35656         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35657         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35658         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35659         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35660         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35661         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35662         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35663         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35664         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35665         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35666         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35667         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35668         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35669         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35670         Likewise.
35671         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35672         Likewise.
35673         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35674         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35675         Likewise.
35676         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35677         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35678         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35679         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35680         Likewise.
35681         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35682         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35683         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35684         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35685         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35687 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35689         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35690         Include dl-vdso.
35691         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35692         Use VDSO routines for gettimeofday, clock_gettime if
35693         available.
35694         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35695         Declare VDSO symbols.
35696         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35697         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35698         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35699         * sysdeps/unix/sysv/linux/arm/Versions: Add
35700         __vdso_clock_gettime.
35702 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35704         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35705         be an inline implementation regardless of library is built within.
35706         (open_not_cancel_2): Likewise.
35707         (__read_nocancel): Likewise.
35708         (__write_nocancel): Likewise.
35709         (openat_not_cancel): Likewise.
35710         (openat_not_cancel_3): Likewise.
35711         (openat64_not_cancel): Likewise.
35712         (openat64_not_cancel_3): Likewise.
35713         (__close_nocancel): Likewise.
35714         (pause_not_cancel): Likewise.
35715         (nanosleep_not_cancel): Likewise.
35716         (sigsuspend_not_cancel): Likewise.
35718 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35720         [BZ #14958]
35721         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35722         wake-up.
35723         (__pthread_rwlock_rdlock_slow): Likewise.
35724         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35725         Likewise.
35726         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35727         Likewise.
35728         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35729         * nptl/tst-rwlock16.c: New file.
35730         * nptl/Makefile (tests): Add new test.
35732 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35734         [BZ #18324]
35735         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35736         missing wake-up of readers.
35737         * nptl/tst-rwlock15.c: New file.
35738         * nptl/Makefile (tests): Add new test.
35740 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35742         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35743         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35744         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35745         and __nacl_supply_interface_rtld.
35746         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35747         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35748         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35749         Add __nacl_supply_interface_rtld.
35750         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35752 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35754         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35755         isfinite.
35756         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35757         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35759 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35761         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35762         __signbit* with standard C99 macros.
35763         * math/e_exp10l.c: Likewise.
35764         * math/e_exp2l.c: Likewise.
35765         * math/e_scalb.c: Likewise.
35766         * math/e_scalbf.c: Likewise.
35767         * math/e_scalbl.c: Likewise.
35768         * math/s_ldexp.c: Likewise.
35769         * math/s_ldexpf.c: Likewise.
35770         * math/s_ldexpl.c: Likewise.
35771         * math/w_atan2.c: Likewise.
35772         * math/w_atan2f.c: Likewise.
35773         * math/w_atan2l.c: Likewise.
35774         * math/w_cosh.c: Likewise.
35775         * math/w_coshf.c: Likewise.
35776         * math/w_coshl.c: Likewise.
35777         * math/w_exp10.c: Likewise.
35778         * math/w_exp10f.c: Likewise.
35779         * math/w_exp10l.c: Likewise.
35780         * math/w_exp2.c: Likewise.
35781         * math/w_exp2f.c: Likewise.
35782         * math/w_exp2l.c: Likewise.
35783         * math/w_fmod.c: Likewise.
35784         * math/w_fmodf.c: Likewise.
35785         * math/w_fmodl.c: Likewise.
35786         * math/w_hypot.c: Likewise.
35787         * math/w_hypotf.c: Likewise.
35788         * math/w_hypotl.c: Likewise.
35789         * math/w_jnl.c: Likewise.
35790         * math/w_lgamma.c: Likewise.
35791         * math/w_lgamma_r.c: Likewise.
35792         * math/w_lgammaf.c: Likewise.
35793         * math/w_lgammaf_r.c: Likewise.
35794         * math/w_lgammal.c: Likewise.
35795         * math/w_lgammal_r.c: Likewise.
35796         * math/w_pow.c: Likewise.
35797         * math/w_powf.c: Likewise.
35798         * math/w_powl.c: Likewise.
35799         * math/w_remainder.c: Likewise.
35800         * math/w_remainderf.c: Likewise.
35801         * math/w_remainderl.c: Likewise.
35802         * math/w_scalb.c: Likewise.
35803         * math/w_scalbf.c: Likewise.
35804         * math/w_scalbl.c: Likewise.
35805         * math/w_scalbln.c: Likewise.
35806         * math/w_scalblnf.c: Likewise.
35807         * math/w_scalblnl.c: Likewise.
35808         * math/w_sinh.c: Likewise.
35809         * math/w_sinhf.c: Likewise.
35810         * math/w_sinhl.c: Likewise.
35811         * math/w_tgamma.c: Likewise.
35812         * math/w_tgammaf.c: Likewise.
35813         * math/w_tgammal.c: Likewise.
35814         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35815         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35816         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35817         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35818         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35819         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35820         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35821         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35822         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35823         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35824         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35825         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35826         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35831         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35832         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35834         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35835         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35838         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35839         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35840         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35841         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35842         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35843         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35844         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35845         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35846         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35847         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35848         * stdio-common/printf_fp.c: Likewise.
35849         * stdio-common/printf_fphex.c: Likewise.
35850         * stdio-common/printf_size.c: Likewise.
35852 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35854         [BZ #18470]
35855         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35856         strnlen.
35857         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35858         Remove variable.
35859         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35860         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35861         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35862         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35863         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35864         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35865         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35866         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35867         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35868         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35870         [BZ #18468]
35871         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35872         weak alias of __wmemchr.  Use libc_hidden_weak.
35873         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35874         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35875         instead of wmemchr.
35877 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35879         [BZ #18383]
35880         * elf/tst-tlsalign-extern.c: New file.
35881         * elf/tst-tlsalign-extern-static.c: New file.
35882         * elf/tst-tlsalign-vars.c: New file.
35883         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35884         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35885         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35886         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35887         (test-xfail-tst-tlsalign-extern-static): New variable.
35889 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35891         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35892         Use variable name _sc_err instead of err.
35893         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35894         instead of ret.
35895         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35896         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35897         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35898         (INLINE_SYSCALL): Likewise.
35900         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35901         * include/string.h (__strnlen): Use libc_hidden_proto.
35902         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35903         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35904         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35905         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35906         (libc_hidden_def): Undefine and redefine.
35907         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35908         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35909         __GI_strnlen.
35910         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35911         libc_hidden_def.
35912         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35914         [BZ #18469]
35915         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35916         weak alias of __towlower.  Use libc_hidden_weak.
35917         (towupper): Rename to __towupper and define as weak alias of
35918         __towupper.  Use libc_hidden_weak.
35919         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35920         (__towupper): Likewise.
35921         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35922         __towlower instead of towlower.
35924 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35926         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35927         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35929 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35931         * sysdeps/aarch64/libm-test-ulps: Update.
35933 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35935         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35936         Define.
35937         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35939         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35940         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35941         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35942         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35943         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35945 2015-06-01  Martin Sebor  <msebor@redhat.com>
35947         [BZ #18116]
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35949         (__setcontext): Use extended four-operand version of mtsf whenever
35950         possible.
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35952         (__novec_swapcontext): Likewise.
35954 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35956         * benchtests/scripts/compare_bench.py: New file.
35957         * benchtests/scripts/import_bench.py (mean): New function.
35958         (split_list): Likewise.
35959         (do_for_all_timings): Likewise.
35960         (compress_timings): Likewise.
35962         * benchtests/scripts/import_bench.py: New file.
35963         * benchtests/scripts/validate_benchout.py: Import import_bench
35964         instead of jsonschema.
35965         (validate_bench): Remove function.
35966         (main): Use import_bench.
35968 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35970         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35971         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35973 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35977 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35979         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35980         set THREAD_SELF->tid to a magic value and futex-wake it.
35981         Pass its address to the thread_exit system call.
35982         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35983         bit is clear.
35984         * sysdeps/nacl/lowlevellock.h: New file.
35985         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35987         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35988         Add TIMEOUT to current time, don't subtract it.
35990 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35992         [BZ #2981]
35993         [BZ #18422]
35994         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35995         ($(objpfx)tst-audit2.out): Also depend on
35996         $(objpfx)tst-auditmod9b.so.
35997         * elf/tst-audit2.c: Include <dlfcn.h>.
35998         (calloc_called): New.
35999         (calloc): Allow to be called more than once.
36000         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36002 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36004         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36005         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36007 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36009         * stdlib/monetary.h: Fix comment.
36011 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36013         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36014         Avoid using variables in #defines that might cause shadowing.
36015         (INTERNAL_VSYSCALL_CALL): Likewise.
36017 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36019         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36021         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36022         * nptl/lll_timedlock_wait.c: ... to this new file.
36023         * nptl/Makefile (libpthread-routines): Add it.
36024         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36025         * nptl/lll_timedwait_tid.c: ... to this new file.
36026         * nptl/Makefile (libpthread-routines): Add it.
36027         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36028         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36029         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36030         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36031         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36032         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36033         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36034         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36035         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36036         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36038 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36040         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36041         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36042         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36044         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36046         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36048         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36049         * sysdeps/unix/sysv/linux/tile/sysdep.h
36050         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36051         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36052         using vDSO syscall macro.
36054 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36056         [BZ #17293]
36057         * uk_UA: Fix sorting order for Ukrainian locale
36059 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36061         * stdlib/monetary.h: Fix comment.
36063 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36065         [BZ #18234]
36066         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36067         st_mtim and st_ctim members.
36068         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36069         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36070         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36071         (struct stat64): Likewise.
36072         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36073         (struct stat64): Likewise.
36074         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36075         (struct stat64): Likewise.
36077 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36079         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36080         Define and include sysdep-vdso.h.
36081         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36082         Likewise.
36083         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36084         Likewise.
36085         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36086         Define with VDSO_SYMBOL and use PTR_MANGLE.
36087         (__vdso_clock_gettime): Likewise.
36088         (__vdso_clock_getres): Likewise.
36089         (_libc_vdso_platform_setup): Likewise.
36090         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36091         Likewise.
36092         (_libc_vdso_platform_setup): Likewise.
36093         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36094         Likewise.
36095         (__vdso_clock_gettime): Likewise.
36096         (__vdso_clock_getres): Likewise.
36097         (__vdso_get_tbfreq): Likewise.
36098         (__vdso_getcpu): Likewise.
36099         (__vdso_time): Likewise.
36100         (__vdso_sigtramp_rt64): Likewise.
36101         (__vdso_signtramp32): Likewise.
36102         (__vdso_sigtramp_rt32): Likewise.
36103         (_libc_vdso_platform_setup): Likewise.
36104         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36105         Likewise.
36106         (__vdso_clock_gettime): Likewise.
36107         (__vdso_clock_getres): Likewise.
36108         (_libc_vdso_platform_setup): Likewise.
36109         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36110         Likewise.
36111         (__vdso_clock_gettime): Likewise.
36112         (_libc_vdso_platform_setup): Likewise.
36113         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36114         Likewise.
36115         (__vdso_getcpu): Likewise.
36116         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36117         Use VDSO_SYMBOL macro to define.
36118         (__vdso_clock_gettime): Likewise.
36119         (__vdso_clock_getres): Likewise.
36120         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36121         Likewise.
36122         (__vdso_clock_gettime): Likewise.
36123         (__vdso_clock_getres): Likewise.
36124         (__vdso_get_tbfreq): Likewise.
36125         (__vdso_getcpu): Likewise.
36126         (__vdso_time): Likewise.
36127         (__vdso_sigtramp_rt64): Likewise.
36128         (__vdso_signtramp32): Likewise.
36129         (__vdso_sigtramp_rt32): Likewise.
36130         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36131         Likewise.
36132         (__vdso_clock_gettime): Likewise.
36133         (__vdso_clock_getres): Likewise.
36134         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36135         Likewise.
36136         (__vdso_clock_gettime): Likewise.
36137         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36138         Likewise.
36139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
36140         macro.
36141         (INTERNAL_VSYSCALL): Likewise.
36142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36143         Remove macro.
36144         (INTERNAL_VSYSCALL): Likewise.
36145         (INTERNAL_VSYSCALL_NCS): Likewise.
36146         (INTERNAL_VSYSCALL_CALL): New macro.
36147         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36149         Likewise.
36150         (INTERNAL_VSYSCALL): Likewise.
36151         (INTERNAL_VSYSCALL_NCS): Likewise.
36152         (INTERNAL_VSYSCALL_CALL): New macro.
36153         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36155         (INLINE_VSYSCALL): Remove macro.
36156         (INTERNAL_VSYSCALL): Remove macro.
36157         (INTERNAL_VSYSCALL_NCS): Remove macro.
36158         (INTERNAL_VSYSCALL_CALL): New macro.
36159         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36160         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36161         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36162         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36163         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36165         (INLINE_VSYSCALL): Remove macro.
36166         (INTERNAL_VSYSCALL): Likewise.
36167         (INTERNAL_VSYSCALL_NCS): Likewise.
36168         (INTERNAL_VSYSCALL_CALL): New macro.
36169         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36170         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36171         PTR_DEMANGLE on vDSO pointer.
36172         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36173         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36174         macro.
36175         (INTERNAL_SYSCALL): Likewise.
36176         (INTERNAL_VSYSCALL_NCS): Remove macro.
36177         (INTERNAL_VSYSCALL_CALL): New macro.
36178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36179         Remove macro.
36180         (INTERNAL_VSYSCALL): Likewise.
36181         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36182         sysdep-vdso.h instead of libc-vdso.h.
36183         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36184         definition.
36185         (INLINE_VSYSCALL): Likewise.
36186         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36187         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36188         definition.
36189         (INLINE_VSYSCALL): Likewise.
36190         (INTERNAL_VSYSCALL): Likewise.
36191         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36192         * sysdeps/unix/sysv/linux/timespec_get.c
36193         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36194         (timespec_get): Use ANSI prototype.
36195         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36196         and definition for Linux.
36198 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
36200         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36201         * include/libc-symbols.h: libmvec_hidden_* macro series added.
36203 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36205         [BZ #2981]
36206         [BZ #18410]
36207         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36208         for missing DT_PLTRELSZ.
36210 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36212         Remove obsolete aliases that broke 'locale -a'
36213         [BZ #18412]
36214         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36215         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36216         breaking some applications that use 'locale -a' output.
36217         Change the encoding of this file from Latin-1 to ASCII to avoid
36218         other potential problems with people grepping this file.
36220 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36222         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36223         -fasynchronous-unwind-tables.
36224         (CFLAGS-sendto.c): Likewise.
36225         (CFLAGS-sendmsg.c): Likewise.
36226         (CFLAGS-connect.c): Likewise.
36227         (CFLAGS-recvmsg.c): Likewise.
36228         (CFLAGS-recvfrom.c): Likewise.
36229         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36230         (SOCKETCALL): New macro: non-cancellable socketcall.
36231         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36232         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36233         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36234         * sysdeps/unix/sysv/linux/accept.c: New file.
36235         * sysdeps/unix/sysv/linux/bind.c: Likewise.
36236         * sysdeps/unix/sysv/linux/connect.c: Likewise.
36237         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36238         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36239         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36240         * sysdeps/unix/sysv/linux/listen.c: Likewise.
36241         * sysdeps/unix/sysv/linux/recv.c: Likewise.
36242         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36243         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36244         * sysdeps/unix/sysv/linux/send.c: Likewise.
36245         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36246         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36247         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36248         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36249         * sysdeps/unix/sysv/linux/socket.c: Likewise.
36250         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36251         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36252         prototype.
36253         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36254         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36255         instead of __internal_xxx function.
36256         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36257         prototype.
36258         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36259         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36260         instead of __internal_xxx function.
36261         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36262         prototype.
36263         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36264         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36265         instead of __internal_xxx function.
36266         * sysdeps/unix/sysv/linux/accept.S: Remove file.
36267         * sysdeps/unix/sysv/linux/bind.S: Likewise.
36268         * sysdeps/unix/sysv/linux/connect.S: Likewise.
36269         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36270         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36271         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36272         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36273         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36274         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36275         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36276         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36277         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36278         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36279         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36280         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36281         * sysdeps/unix/sysv/linux/listen.S: Likewise.
36282         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36283         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36284         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36285         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36288         * sysdeps/unix/sysv/linux/recv.S: Likewise.
36289         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36290         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36291         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36292         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36293         * sysdeps/unix/sysv/linux/send.S: Likewise.
36294         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36295         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36296         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36297         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36298         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36299         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36300         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36301         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36302         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36303         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36304         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36305         socketcall is implemented in GLIBC.
36307 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36309         * soft-fp/fmadf4.c: Include <libc-internal.h>.
36310         (__fma): Ignore uninitialized warnings around packing.
36311         * soft-fp/fmasf4.c: Include <libc-internal.h>.
36312         (__fmaf): Ignore uninitialized warnings around packing.
36313         * soft-fp/fmatf4.c: Include <libc-internal.h>.
36314         (__fmal): Ignore uninitialized warnings around packing.
36316         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36317         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36318         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36319         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36321         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36322         switch statement into default case.
36323         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36325         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36326         a conditional in forcing "inexact".
36327         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36328         Likewise.
36330 2015-05-22  Roland McGrath  <roland@hack.frob.com>
36332         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36333         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36334         for each INTERNAL_SYSCALL use.
36336 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36338         [BZ #438]
36339         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36340         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36341         variable.
36343         [BZ #18444]
36344         * string/basename.c (basename): Rename to __basename and define as
36345         weak alias of __basename.  Use libc_hidden_weak.
36346         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
36347         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36348         __basename instead of basename.
36349         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36350         Remove variable.
36351         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36353 2015-05-18  Florian Weimer  <fweimer@redhat.com>
36355         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36356         (_IO_JUMPS_FILE_plus): New.
36357         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36358         _IO_CAST_FIELD_ACCESS.
36359         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36360         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36361         * libio/freopen.c (freopen): Likewise.
36362         * libio/freopen64.c (freopen64): Likewise.
36363         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36364         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36365         * libio/iofwide.c (_IO_fwide): Likewise.
36366         * libio/memstream.c (open_memstream): Likewise.
36367         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36368         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36369         * libio/oldiopopen.c (_IO_old_popen): Likewise.
36371 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
36373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36374         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36375         NADJ.
36376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36377         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36378         NADJ.
36379         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36380         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36381         NADJ.
36383         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36384         (p == 4) case.
36386         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36387         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36388         Remove variable.
36389         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36390         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36391         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36393 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36395         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36396         Adjust jump table label generation macros.
36398 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36400         * stdio-common/vfprintf.c (vfprintf): Move local variables
36401         args_malloced, specs, specs_malloced, and the code after
36402         do_positional to the printf_positional function.
36403         (printf_positional): New function.
36405 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36407         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
36408         function.
36409         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
36410         STEP4_TABLE, process_arg): Move macro definitions
36411         out of the vfprintf function.  (Cosmetic change only.)
36413 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
36415         * benchtests/Makefile (stdio-common-bench): Define.
36416         (benchset): Add stdio-common-bench.
36417         * sprintf-inputs: New file.
36418         * sprintf-source.c: New file.
36420 2015-05-21  Andreas Schwab  <schwab@suse.de>
36422         [BZ #13028]
36423         [BZ #17053]
36424         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36425         of struct __res_state.
36426         * resolv/res_send.c (__libc_res_nsend): Likewise.
36427         (get_nsaddr): New function.
36428         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36429         statp directly.
36431 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
36433         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36434         -D_POSIX_C_SOURCE=199506L.
36436         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36438         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36439         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36440         Do not mention otherwise.
36441         [POSIX] (_XOPEN_VERSION): Do not expect.
36442         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36443         [POSIX] (_POSIX2_C_BIND): Likewise.
36444         [POSIX] (_POSIX2_VERSION): Likewise.
36445         [POSIX] (_XOPEN_XPG2): Likewise.
36446         [POSIX] (_XOPEN_XPG3): Likewise.
36447         [POSIX] (_XOPEN_XPG4): Likewise.
36448         [POSIX] (_XOPEN_UNIX): Likewise.
36449         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36450         [POSIX] (_POSIX_BARRIERS): Likewise.
36451         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36452         [POSIX] (_POSIX_CPUTIME): Likewise.
36453         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36454         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36455         [POSIX] (_POSIX_SHELL): Likewise.
36456         [POSIX] (_POSIX_SPAWN): Likewise.
36457         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36458         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36459         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36460         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36461         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36462         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36463         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36464         [POSIX] (_XBS5_LP64_OFF64): Likewise.
36465         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36466         [POSIX] (_POSIX_TIMEOUTS): Likewise.
36467         [POSIX] (_POSIX2_PBS): Likewise.
36468         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36469         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36470         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36471         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36472         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36473         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36474         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36475         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36476         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36477         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36478         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36479         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36480         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36481         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36482         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36483         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36484         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36485         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36486         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36487         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36488         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36489         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36490         [POSIX] (_SC_2_C_BIND): Likewise.
36491         [POSIX] (_SC_2_C_VERSION): Likewise.
36492         [POSIX] (_SC_2_PBS): Likewise.
36493         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36494         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36495         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36496         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36497         [POSIX] (_SC_2_PBS_TRACK): Likewise.
36498         [POSIX] (_SC_ATEXIT_MAX): Likewise.
36499         [POSIX] (_SC_BARRIERS): Likewise.
36500         [POSIX] (_SC_BASE): Likewise.
36501         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36502         [POSIX] (_SC_DEVICE_IO): Likewise.
36503         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36504         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36505         [POSIX] (_SC_FD_MGMT): Likewise.
36506         [POSIX] (_SC_FIFO): Likewise.
36507         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36508         [POSIX] (_SC_FILE_LOCKING): Likewise.
36509         [POSIX] (_SC_FILE_SYSTEM): Likewise.
36510         [POSIX] (_SC_IOV_MAX): Likewise.
36511         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36512         [POSIX] (_SC_NETWORKING): Likewise.
36513         [POSIX] (_SC_PAGE_SIZE): Likewise.
36514         [POSIX] (_SC_PASS_MAX): Likewise.
36515         [POSIX] (_SC_PIPE): Likewise.
36516         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36517         [POSIX] (_SC_REGEXP): Likewise.
36518         [POSIX] (_SC_SHELL): Likewise.
36519         [POSIX] (_SC_SIGNALS): Likewise.
36520         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36521         [POSIX] (_SC_SPIN_LOCKS): Likewise.
36522         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36523         [POSIX] (_SC_USER_GROUPS): Likewise.
36524         [POSIX] (_SC_USER_GROUPS_R): Likewise.
36525         [POSIX] (_SC_STREAMS): Likewise.
36526         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36527         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36528         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36529         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36530         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36531         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36532         [POSIX] (_PC_FILESIZEBITS): Likewise.
36533         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36534         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36535         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36536         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36537         [POSIX] (uid_t): Likewise.
36538         [POSIX] (gid_t): Likewise.
36539         [POSIX] (off_t): Likewise.
36540         [POSIX] (pid_t): Likewise.
36541         [POSIX] (cuserid): Allow.
36542         (_SC_2_CHAR_TERM): Require constant.
36543         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36544         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36545         variable.
36547 2015-05-20  Roland McGrath  <roland@hack.frob.com>
36549         * sysdeps/nacl/pthread-pids.h: New file.
36550         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36551         (create_thread): Use __nacl_get_tid to initialize PD->tid.
36553         * nptl/pthread-pids.h: New file.
36554         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36555         * nptl/nptl-init.c: Include <pthread-pids.h>.
36556         (__pthread_initialize_minimal_internal):
36557         Call __pthread_initialize_pids instead of set_tid_address syscall.
36559         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36560         * sysdeps/posix/usleep.c: ... here.
36562 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36564         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36565         call_pselect6 object.
36566         [$(subdir) = io]: Remove call_sync_file_range object.
36567         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36568         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36569         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36570         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36572 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
36574         * math/s_cproj.c: Add include "math_private.h".
36575         * math/s_cprojf.c: Likewise.
36576         * math/s_cprojl.c: Likewise.
36578 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
36580         [BZ #18244]
36581         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36582         high mantissa bit when testing whether P is a NaN.
36583         * math/libm-test.inc (remainder_test_data): Add more tests.
36584         (remquo_test_data): Likewise.
36586         [BZ #18049]
36587         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36588         below -32, return the argument, with underflow if subnormal.
36589         * math/auto-libm-test-in: Add more tests of atanh.
36590         * math/auto-libm-test-out: Regenerated.
36592 2015-05-19  Roland McGrath  <roland@hack.frob.com>
36594         [BZ #18434]
36595         * nptl/tst-sem15.c: New file.
36596         * nptl/Makefile (tests): Add it.
36597         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36598         s/<</>>/ to fix typo in EOVERFLOW check.
36599         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36601 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36603         * manual/strings.texi (envz_remove): Fix typo in safety
36604         annotations.
36606 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
36607             Steve Ellcey  <sellcey@imgtec.com>
36609         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36610         in order to avoid strict alias warnings.
36611         (iruserok_af): Ditto for ra.
36613 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
36615         [BZ #17581]
36616         * malloc/hooks.c
36617         (magicbyte): Convert to a function and avoid returning 0x01.
36618         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36619         (mem2chunk_check): Fix unsigned comparisons to zero.
36620         Hoist defs of sz and magic.
36622 2015-05-19  Richard Henderson  <rth@redhat.com>
36624         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36626         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36628 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36630         [BZ #16159]
36631         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36632         * malloc/arena.c (arena_lock): Check if arena is corrupt.
36633         (reused_arena): Find a non-corrupt arena.
36634         (heap_trim): Pass arena to unlink.
36635         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36636         malloc_printerr.
36637         (top_check): Likewise.
36638         (free_check): Likewise.
36639         (realloc_check): Likewise.
36640         * malloc/malloc.c (malloc_printerr): Add arena argument.
36641         (unlink): Likewise.
36642         (munmap_chunk): Adjust.
36643         (ARENA_CORRUPTION_BIT): New macro.
36644         (arena_is_corrupt): Likewise.
36645         (set_arena_corrupt): Likewise.
36646         (sysmalloc): Use mmap if there are no usable arenas.
36647         (_int_malloc): Likewise.
36648         (__libc_malloc): Don't fail if arena_get returns NULL.
36649         (_mid_memalign): Likewise.
36650         (__libc_calloc): Likewise.
36651         (__libc_realloc): Adjust for additional argument to
36652         malloc_printerr.
36653         (_int_free): Likewise.
36654         (malloc_consolidate): Likewise.
36655         (_int_realloc): Likewise.
36656         (_int_memalign): Don't touch corrupt arenas.
36657         * malloc/tst-malloc-backtrace.c: New test case.
36659         * Makefile (summarize-tests): Fix return value on success.
36661         * manual/string.texi (Envz Functions): Add envz_remove.
36663 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36665         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36666         (invalid_name): New function, broken out of ...
36667         (__opendirat): ... here.  Call it.
36668         (need_isdir_precheck): New function, broken out of ...
36669         (__opendirat): ... here.  Call it.
36670         Use __fxstatat64, not __xstatat64.
36671         (opendir_oflags): New function, broken out of ...
36672         (__opendirat): ... here.  Call it.
36673         (opendir_tail): New function, broken out of ...
36674         (__opendirat): ... here.  Call it.
36675         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36676         opendir_tail, rather than punting to __opendirat.
36677         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36679 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681         * .gitignore: Ignore generated *.pyc.
36683 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36685         * include/stdio.h: Define __need_wint_t.
36686         * test-skeleton.c: Avoid `for' loop initial declaration.
36687         * nptl/tst-initializers1.c: Use test-skeleton.c.
36689 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36691         [BZ #18418]
36692         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36694 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36696         [BZ #16352]
36697         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36698         (__ieee754_atanh): Force underflow exception for results with
36699         small absolute value.
36700         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36701         (__ieee754_atanhf): Force underflow exception for results with
36702         small absolute value.
36703         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36704         (__ieee754_atanh): Force underflow exception for results with
36705         small absolute value.
36706         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36707         (__ieee754_atanhf): Force underflow exception for results with
36708         small absolute value.
36709         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36710         (__ieee754_atanhl): Force underflow exception for results with
36711         small absolute value.
36712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36713         (__ieee754_atanhl): Force underflow exception for results with
36714         small absolute value.
36715         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36716         (__ieee754_atanhl): Force underflow exception for results with
36717         small absolute value.
36718         * math/auto-libm-test-in: Do not allow missing underflow
36719         exceptions from atanh.
36720         * math/auto-libm-test-out: Regenerated.
36722         [BZ #18221]
36723         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36724         2**-28 as threshold for returning x or +/- 1/x.
36725         * math/auto-libm-test-in: Add more tests of tan.
36726         * math/auto-libm-test-out: Regenerated.
36728         [BZ #18220]
36729         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36730         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36731         * math/auto-libm-test-in: Add another test of lgamma.
36732         * math/auto-libm-test-out: Regenerated.
36734 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36736         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36737         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36738         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36739         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36740         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36741         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36742         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36745         (log1): Use fabs.  (my_log2): Use fabs.
36746         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36747         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36749         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36751         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36752         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36753         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36754         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36755         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36756         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36758 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36760         [BZ #18217]
36761         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36762         as threshold for returning 1 - x.
36763         * math/auto-libm-test-in: Add more tests of erfc.
36764         * math/auto-libm-test-out: Regenerated.
36766 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36768         [BZ #18196]
36769         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36770         threshold for large arguments.
36771         * math/auto-libm-test-in: Add another test of atan.
36772         * math/auto-libm-test-out: Regenerated.
36774         [BZ #16339]
36775         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36776         (__log1p): Force underflow exception for results with small
36777         absolute value.
36778         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36779         (__log1pf): Force underflow exception for results with small
36780         absolute value.
36781         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36782         (__log1p): Force underflow exception for results with small
36783         absolute value.
36784         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36785         (__log1pf): Force underflow exception for results with small
36786         absolute value.
36787         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36788         (__log1pl): Force underflow exception for results with small
36789         absolute value.
36790         * math/auto-libm-test-in: Do not allow missing underflow
36791         exceptions from log1p.
36792         * math/auto-libm-test-out: Regenerated.
36794 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36795             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36797         [BZ #16704]
36798         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36800 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36802         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36803         (libmvec): New variable.
36804         * configure.ac: Added option for mathvec build.
36805         * configure: Regenerated.
36806         * mathvec/Depend: New file.
36807         * mathvec/Makefile: New file.
36808         * shlib-versions: Added libmvec.
36809         * math/Makefile: Added rule for libm.so installation.
36811         * bits/math-vector.h: New file.
36812         * bits/libm-simd-decl-stubs.h: New header.
36813         * math/Makefile (headers): Added new header
36814         libm-simd-decl-stubs.h.
36815         * math/math.h (__MATHCALL_VEC): New macro.
36817         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36818         for conditions in testing functions.
36819         * math/Makefile: Added call of libm-have-vector-test.sh.
36820         * math/libm-test.inc (HAVE_VECTOR): New macros.
36822         * math/libm-test.inc: START refactored.
36823         * math/test-double.c (TEST_MATHVEC): Add define.
36824         * math/test-float.c: Likewise.
36825         * math/test-idouble.c: Likewise.
36826         * math/test-ifloat.c: Likewise.
36827         * math/test-ildoubl.c: Likewise.
36828         * math/test-ldouble.c: Likewise.
36829         * sysdeps/generic/math-tests-arch.h
36830         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36831         architecture check.
36833         * math/test-double.c (FUNC_TEST): New macro.
36834         * math/test-float.c: Likewise.
36835         * math/test-idouble.c: Likewise.
36836         * math/test-ifloat.c: Likewise.
36837         * math/test-ildoubl.c: Likewise.
36838         * math/test-ldouble.c: Likewise.
36839         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36841 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36843         * sysdeps/nacl/fdopendir.c: New file.
36845         * dirent/scandir-tail.c: New file.
36846         * dirent/scandir64-tail.c: New file.
36847         * dirent/Makefile (routines): Add them.
36848         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36849         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36850         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36851         [!SCANDIR] (SCANDIR_TAIL): New macro.
36852         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36853         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36854         (SCANDIRAT): Macro removed.
36855         (SCANDIR_TAIL): New macro.
36856         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36857         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36858         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36859         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36860         (READDIR): Macro removed.
36861         (SCANDIR_TAIL): New macro.
36862         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36863         (SCANDIR_TAIL): New macro.
36865         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36866         * dirent/scandir-cancel.c: ... to this new file.
36867         * dirent/Makefile (routines): Add it.
36868         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36869         * sysdeps/unix/sysv/linux/i386/scandir64.c
36870         (SKIP_SCANDIR_CANCEL): Macro removed.
36871         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36873         * dirent/tst-scandir.c: New file.
36874         * dirent/tst-scandir64.c: New file.
36875         * dirent/Makefile (tests): Add them.
36877 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36879         [BZ #18409]
36880         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36882 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36884         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36885         list.
36887 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36889         * benchtests/bench-strcoll.c: New benchmark.
36890         * benchtests/Makefile: Generate locales and run benchmark.
36891         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36892         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36893         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36894         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36895         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36896         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36897         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36898         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36899         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36900         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36901         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36902         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36903         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36904         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36905         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36906         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36907         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36908         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36909         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36910         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36911         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36912         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36913         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36914         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36916 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36918         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36919         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36921 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36923         * posix/uname-values.h: New file.
36924         * posix/uname.c: Include that instead of <config-name.h>.
36925         * sysdeps/nacl/uname-values.h: New file.
36926         * sysdeps/arm/nacl/uname-values.h: New file.
36928 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36930         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36931         splitting into fields.
36933 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36935         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36936         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36937         * locale/localeinfo.h: Add enum collation_encoding_type.
36938         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36939         * programs/ld-collate.c (collate_output): Add encoding type info.
36940         * string/strcoll_l.c (STRDIFF): New function.
36941         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36942         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36944 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36946         [BZ #18397]
36947         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36948         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36949         <fpu_control.h> instead of <math/fpu_control.c>.
36950         * sysdeps/mips/mips32/fpu/Makefile: New file.
36952 2015-05-11  Andreas Schwab  <schwab@suse.de>
36954         [BZ #18007]
36955         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36956         nss_endgrent.
36957         (_nss_compat_endgrent): Call nss_endgrent.
36958         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36959         nss_endpwent.
36960         (_nss_compat_endpwent): Call nss_endpwent.
36961         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36962         needent, call nss_setspent only if non-zero.
36963         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36964         (internal_endspent): Don't call nss_endspent.
36965         (_nss_compat_endspent): Call nss_endspent.
36966         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36967         Remove.  All uses removed.
36968         (internal_setent): Remove parameter stayopen, add parameter
36969         stream.  Use it instead of global variable.
36970         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36971         (internal_endent, internal_getent): Add parameter stream.  Use it
36972         instead of global variable.
36973         (CONCAT(_nss_files_end,ENTNAME))
36974         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36975         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36976         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36977         uses removed.
36978         (internal_setent, internal_endent): Add parameter stream.  Use it
36979         instead of global variable.
36980         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36981         stream.
36982         (get_next_alias): Add parameter stream.
36983         (_nss_files_getaliasent_r): Pass global stream.
36984         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36985         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36986         (_nss_files_gethostbyname4_r): Pass local stream to
36987         internal_setent, internal_getent and internal_endent.  Remove
36988         locking.
36990 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36992         * tst-strfmon1.c (tests): Update expected currency symbol.
36994 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36996         * sysdeps/nacl/gethostname.c: New file.
36998 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37000         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37001         and sinh.
37002         * math/auto-libm-test-out: Regenerated.
37003         * sysdeps/i386/fpu/libm-test-ulps: Update.
37004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37006 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37008         [BZ #18125]
37009         * stdlib/tst-setcontext3.c: New file.
37010         * stdlib/tst-setcontext3.sh: New file.
37011         * stdlib/Makefile (tests): Add tst-setcontext3.
37012         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37013         to verify test program created output file.
37014         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37015         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37016         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37017         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37019 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37021         [BZ #18383]
37022         * elf/tst-tlsalign.c: New file.
37023         * elf/tst-tlsalign-static.c: New file.
37024         * elf/tst-tlsalign-lib.c: New file.
37025         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37026         (tests-static): Add tst-tlsalign-static.
37027         (modules-names): Add tst-tlsalign-lib.
37028         (test-xfail-tst-tlsalign): New variable.
37029         (test-xfail-tst-tlsalign-static): New variable.
37031         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37032         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37034 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37036         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37037         csqrt, erfc, sin and sincos.
37038         * math/auto-libm-test-out: Regenerated.
37039         * sysdeps/i386/fpu/libm-test-ulps: Update.
37040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37042 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37044         * sysdeps/aarch64/libm-test-ulps: Update.
37046 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37048         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37049         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37050         * math/auto-libm-test-out: Regenerated.
37051         * sysdeps/i386/fpu/libm-test-ulps: Update.
37052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37054 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
37056         [BZ #18265]
37057         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37058         (wcsncpy): Likewise.
37060 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37062         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37063         Assume __ASSUME_FALLOCATE is always true.
37064         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37065         (__posix_fallocate64_l64): Likewise.
37066         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37067         (posix_fallocate): Likewise.
37068         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37069         (__posix_fallocate64_l64): Likewise.
37070         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37071         [!__ASSUME_FALLOCATE]: Add comment.
37073 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37075         * sysdeps/unix/sysv/linux/i386/Makefile
37076         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37077         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37078         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37079         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37080         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37081         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37082         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37084 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37086         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37087         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37088         tgamma.
37089         * math/auto-libm-test-out: Regenerated.
37090         * sysdeps/i386/fpu/libm-test-ulps: Update.
37091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37093 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37095         * math/auto-libm-test-in: Add more tests of tgamma.
37096         * math/auto-libm-test-out: Regenerated.
37097         * sysdeps/i386/fpu/libm-test-ulps: Update.
37098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37100         * math/auto-libm-test-in: Add more tests of tanh.
37101         * math/auto-libm-test-out: Regenerated.
37102         * sysdeps/i386/fpu/libm-test-ulps: Update.
37103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37105         * math/auto-libm-test-in: Add more tests of tan.
37106         * math/auto-libm-test-out: Regenerated.
37107         * sysdeps/i386/fpu/libm-test-ulps: Update.
37108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37110         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37111         * math/auto-libm-test-out: Regenerated.
37112         * sysdeps/i386/fpu/libm-test-ulps: Update.
37113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37115         * math/auto-libm-test-in: Add another test of pow.
37116         * math/auto-libm-test-out: Regenerated.
37117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37119         * math/auto-libm-test-in: Add more tests of lgamma.
37120         * math/auto-libm-test-out: Regenerated.
37121         * sysdeps/i386/fpu/libm-test-ulps: Update.
37122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37124         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37125         log1p.
37126         * math/auto-libm-test-out: Regenerated.
37127         * sysdeps/i386/fpu/libm-test-ulps: Update.
37128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37130 2015-05-01  Mark Wielaard  <mjw@redhat.com>
37132         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37133         Elf64_Chdr structs and ELFCOMPRESS constants.
37135 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37137         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37138         expm1.
37139         * math/auto-libm-test-out: Regenerated.
37140         * sysdeps/i386/fpu/libm-test-ulps: Update.
37141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37143         * math/auto-libm-test-in: Add more tests of erf and erfc.
37144         * math/auto-libm-test-out: Regenerated.
37145         * sysdeps/i386/fpu/libm-test-ulps: Update.
37146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37148 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37150         * config.h.in (HAVE_AARCH64_BE): Add.
37152 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
37154         * math/auto-libm-test-in: Add more tests of csqrt.
37155         * math/auto-libm-test-out: Regenerated.
37156         * sysdeps/i386/fpu/libm-test-ulps: Update.
37157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37159         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37160         * math/auto-libm-test-out: Regenerated.
37161         * sysdeps/i386/fpu/libm-test-ulps: Update.
37162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37164         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37166 2015-04-29  Roland McGrath  <roland@hack.frob.com>
37168         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37169         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37171         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37172         (euidaccess, eaccess): Define as weak aliases.
37174         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37175         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
37176         but __suseconds_t is often 'long int' so some sources assume that
37177         type is being used (e.g. they use %ld to print tv_usec).
37179 2015-04-29  Florian Weimer  <fweimer@redhat.com>
37181         [BZ #18007]
37182         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37183         (CVE-2014-8121)
37184         * nss/tst-nss-getpwent.c: New file.
37185         * nss/Makefile (tests): Add new test.
37187 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
37189         [BZ #18346]
37190         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37191         exponents less than 48 as cases where high part of mantissa needs
37192         examining to determine whether argument is integral.
37193         * math/libm-test.inc (round_test_data): Add more tests.
37195 2015-04-28  Mark Wielaard  <mjw@redhat.com>
37197         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37199 2015-04-27  David S. Miller  <davem@davemloft.net>
37201         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37202         __tls_get_addr.
37203         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37205 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
37207         [BZ #18333]
37208         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37210 2015-04-27  Florian Weimer  <fweimer@redhat.com>
37212         [BZ #18333]
37213         * time/tzset.c (parse_tzname): Return error on memory allocation
37214         failure.
37215         * test-skeleton.c (struct temp_name_list): Change type of name
37216         member to non-const.
37217         (add_temp_file): Create a copy of the file name.
37218         (delete_temp_files): Deallocate memory.
37219         (create_temp_file): Add comment.
37221 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37223         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37224         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37226 2015-04-24  Roland McGrath  <roland@hack.frob.com>
37228         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37229         * sysdeps/arm/configure: Regenerated.
37231 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37233         [BZ #17715]
37234         * time/tzfile.c (__tzfile_read): Check for large values of
37235         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
37236         * time/tzset.c (__tzstring_len): New function, based on the old
37237         __tzstring function.
37238         (__tzstring): Call __tzstring_len.
37239         (parse_tzname): New helper function extracted from
37240         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
37241         the input string.
37242         (parse_offset): New helper function extracted from
37243         __tzset_parse_tz.  Replace switch with fallthrough with
37244         initialization before sscanf.
37245         (parse_rule): Likewise.
37246         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
37247         new-style function definition.
37248         * timezone/Makefile (tests): Add tst-tzset.
37249         (tst-tzset.out): Dependencies on time zone files.
37250         (tst-tzset-ENV): Set TZDIR.
37251         (testdata/XT%): Copy crafted time zone files.
37252         * timezone/README: Mention crafted time zone files.
37253         * timezone/testdata/XT1, timezone/testdata/XT2,
37254         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37255         files.
37256         * timezone/tst-tzset.c: New test.
37258 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37260         * Makeconfig (+gccwarn): Remove -Winline.
37262 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37264         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37266 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37268         * NEWS: Mention sysconf() cache information support for s390.
37269         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37271 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
37273         * math/k_casinh.c (__kernel_casinh): Use __copysign.
37274         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37275         (__nearbyint): Likewise.
37276         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37277         (copysignl): Likewise.
37279 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
37281         [BZ #18287]
37282         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37283         based on padding.  (CVE-2015-1781)
37285 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37287         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37288         libc-vdso.h.
37289         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37290         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37291         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37292         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37293         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37294         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37295         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37296         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37297         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37298         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37299         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37300         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37301         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37302         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37303         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37304         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37305         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37307         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37308         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37309         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37310         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37311         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37313 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
37315         * stdlib/setenv.c (__add_to_environ):
37316         Dump core quickly if setenv (..., NULL, ...) is called.
37317         This time, do it the right way, and pacify GCC with a pragma.
37319 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37321         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37322         IMAP->l_prev cannot be null, and #if out the code for the contrary
37323         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37324         believe that NS (&_dl_ns[NSID]) could point outside the array.
37326         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37327         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37328         before using NSID as an index.
37330 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
37332         [BZ #17825]
37333         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37334         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37335         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37337 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37339         Add preliminary port to Google Native Client on ARM.
37340         * abi-tags (.*-.*-nacl.*): New entry.
37341         * sysdeps/arm/nacl: New directory.
37342         * sysdeps/nacl: New directory.
37344 2015-04-16  David S. Miller  <davem@davemloft.net>
37346         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37347         lowlevellock-futex.h
37349 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
37351         * sysdeps/tile/configure.ac: New file.
37352         * sysdeps/tile/configure: Regenerated.
37354 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37356         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
37357         conditionals for weak_alias and libc_hidden_weak.
37358         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37359         libc_hidden_weak and weak_alias.
37360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37361         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37362         and weak_alias for static one.
37364 2015-04-15  David S. Miller  <davem@davemloft.net>
37366         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37368 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37370         [BZ #18206]
37371         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37372           Use signed comparision instead of substraction to avoid
37373           overflow bug.
37374         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37375           Take the sign of ret.
37376         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37377           Do not expect precise return values. Only the sign matters.
37378         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37379         * wcsmbs/test-wcsncmp.c: New File.
37380         * string/test-strncmp.c: Add wcsncmp support.
37382 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37384         [BZ #6792]
37385         * math/w_log1p.c: New file.
37386         * math/w_log1pf.c: Likewise.
37387         * math/w_log1pl.c: Likewise.
37388         * math/Makefile (libm-calls): Add w_log1p.
37389         * math/s_log1pl.c (log1pl): Remove weak_alias.
37390         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37391         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37392         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37393         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37394         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37395         [NO_LONG_DOUBLE] (log1pl): Likewise.
37396         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37397         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37398         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
37399         (log1p): Remove long_double_symbol.
37400         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
37401         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
37402         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
37403         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37404         remove weak_alias for corresponding log1p function.
37405         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
37406         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
37407         * sysdeps/ia64/fpu/w_log1p.c: New file.
37408         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
37409         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
37410         * math/libm-test.inc (log1p_test_data): Add errno expectations.
37412 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
37414         [BZ #18247]
37415         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37416         decimal exponent by 1.
37417         * stdlib/tst-strtod-round-data: Add more tests.
37418         * stdlib/tst-strtod-round.c (tests): Regenerated.
37420 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
37422         * math/auto-libm-test-in: Add more tests of clog and clog10.
37423         * math/auto-libm-test-out: Regenerated.
37424         * sysdeps/i386/fpu/libm-test-ulps: Update.
37425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37427 2015-04-09  Roland McGrath  <roland@hack.frob.com>
37429         * Makeconfig (module-cppflags): Exclude all .v.i files.
37430         (skip-module-cppflags): Variable removed.
37432         * configure.ac (libc_config_ok): Initialize before reading
37433         preconfigure scripts, not after.
37434         * configure: Regenerated.
37436         * test-skeleton.c (TIMEOUT): Move #define to top level.
37437         (main): Grok environment variable TEST_DIRECT.  If set, print
37438         test expectation details into that file and then behave as if
37439         given --direct.
37441 2015-04-09  Florian Weimer  <fweimer@redhat.com>
37443         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37444         warning on 32-bit.
37446 2015-04-08  David S. Miller  <davem@davemloft.net>
37448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37450 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37452         * math/auto-libm-test-in: Add more tests of atanh.
37453         * math/auto-libm-test-out: Regenerated.
37454         * sysdeps/i386/fpu/libm-test-ulps: Update.
37455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37457         * math/auto-libm-test-in: Add more tests of atan.
37458         * math/auto-libm-test-out: Regenerated.
37459         * sysdeps/i386/fpu/libm-test-ulps: Update.
37460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37462 2015-04-08  Florian Weimer  <fweimer@redhat.com>
37464         * elf/pldd.c (main): Rewrite to use struct
37465         scratch_buffer instead of extend_alloca.
37466         * elf/pldd-xx.c (find_maps): Likewise.
37467         * grp/initgroups.c: Include <scratch_buffer.h> instead of
37468         <alloca.h>.
37469         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37470         scratch_buffer instead of extend_alloca.
37471         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37472         grp/compat-initgroups.c.
37473         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37474         Rewrite to use struct scratch_buffer instead of extend_alloca.
37475         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37476         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37478 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37480         * math/auto-libm-test-in: Add more tests of cbrt.
37481         * math/auto-libm-test-out: Regenerated.
37482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37484         * math/auto-libm-test-in: Add more tests of cabs.
37485         * math/auto-libm-test-out: Regenerated.
37486         * sysdeps/i386/fpu/libm-test-ulps: Update.
37487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37489         [BZ #18210]
37490         [BZ #18211]
37491         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37492         (__ieee754_atan2): Set FE_TONEAREST mode for internal
37493         computations.
37494         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37495         clog10.
37496         * math/auto-libm-test-out: Regenerated.
37497         * sysdeps/i386/fpu/libm-test-ulps: Update.
37498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37500         [BZ #18197]
37501         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37502         (atan): Set FE_TONEAREST mode for internal computations.
37503         * math/auto-libm-test-in: Add more tests of atan.
37504         * math/auto-libm-test-out: Regenerated.
37506 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
37508         [BZ #17930]
37509         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37511 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37513         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37515 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37517         * include/scratch_buffer.h: New file.
37518         * malloc/scratch_buffer_grow.c: Likewise.
37519         * malloc/scratch_buffer_grow_preserve.c: Likewise.
37520         * malloc/scratch_buffer_set_array_size.c: Likewise.
37521         * malloc/tst-scratch_buffer.c: Likewise.
37522         * malloc/Makefile (routines): Add scratch_buffer_grow.
37523         (tests): Add test case.
37524         * malloc/Versions (GLIBC_PRIVATE): Export
37525         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37526         __libc_scratch_buffer_set_array_size.
37528 2015-04-06  Richard Henderson  <rth@redhat.com>
37530         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37531         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37533         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37534         unsigned int before printing.
37536 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37538         [BZ #17596]
37539         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37540         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37542 2015-04-02  Florian Weimer  <fweimer@redhat.com>
37544         * include/libc-internal.h (libc_max_align_t): Define.
37546 2015-04-02  Andreas Schwab  <schwab@suse.de>
37548         [BZ #16850]
37549         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37551 2015-04-02  Mel Gorman  <mgorman@suse.de>
37553         [BZ #17195]
37554         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37555         as well as the main arena.
37557 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37559         [BZ #18185]
37560         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37561         sharing L2 cache to 2 for Silvermont/Knights Landing.
37563 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37565         [BZ #17711]
37566         * config.make.in (have-protected-data): New.
37567         * configure.ac: Check linker support for protected data symbol.
37568         * configure: Regenerated.
37569         * elf/Makefile (modules-names): Add tst-protected1moda and
37570         tst-protected1modb if $(have-protected-data) is yes.
37571         (tests): Add tst-protected1a and tst-protected1b if
37572         $(have-protected-data) is yes.
37573         ($(objpfx)tst-protected1a): New.
37574         ($(objpfx)tst-protected1b): Likewise.
37575         (tst-protected1modb.so-no-z-defs): Likewise.
37576         * elf/tst-protected1a.c: New file.
37577         * elf/tst-protected1b.c: Likewise.
37578         * elf/tst-protected1mod.h: Likewise.
37579         * elf/tst-protected1moda.c: Likewise.
37580         * elf/tst-protected1modb.c: Likewise.
37582 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37584         [BZ #17711]
37585         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37586         indicates it is called from do_lookup_x on relocation against
37587         protected data, skip the data definion in the executable from
37588         copy reloc.
37589         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37590         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37591         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37592         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37593         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37594         otherwise to 0.
37595         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37596         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37597         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37598         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37599         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37600         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37602 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
37604         * sysdeps/nptl/pthread.h: Remove duplicate definition of
37605         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37607 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
37609         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37610         THREAD_SETMEM_NC.
37611         * sysdeps/x86_64/nptl/tls.h: Ditto.
37613 2015-03-27  Roland McGrath  <roland@hack.frob.com>
37615         * dlfcn/tststatic.c (main): Converted to ...
37616         (do_test): ... this.
37617         (TEST_FUNCTION): New macro.
37618         Include test-skeleton.c.
37620 2015-03-26  Alan Modra  <amodra@gmail.com>
37622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37623         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
37624         zero for undefined weak.
37625         (elf_machine_plt_conflict): Similarly.
37627 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37629         * math/auto-libm-test-in: Add more tests of acosh, asinh and
37630         atanh.
37631         * math/auto-libm-test-out: Regenerated.
37632         * sysdeps/i386/fpu/libm-test-ulps: Update.
37633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37635         * math/auto-libm-test-in: Add another test of asin.
37636         * math/auto-libm-test-out: Regenerated.
37637         * sysdeps/i386/fpu/libm-test-ulps: Update.
37638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37641         Remove macro.
37642         (LLL_EBX_REG): Likewise.
37643         (LLL_ENTER_KERNEL): Likewise.
37645         * math/auto-libm-test-in: Add more tests of asin.
37646         * math/auto-libm-test-out: Regenerated.
37647         * sysdeps/i386/fpu/libm-test-ulps: Update.
37648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37650         [BZ #18138]
37651         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37652         libc_do_syscall_args): New structure.
37653         (INTERNAL_SYSCALL_MAIN_0): New macro.
37654         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37655         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37656         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37657         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37658         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37659         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37660         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37661         Replace conditional definitions by conditional definitions of ....
37662         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37663         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37664         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37665         (libpthread-sysdep_routines): Add libc-do-syscall.
37666         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37668         to __NR_futex not 240.
37670 2015-03-25  Alan Modra  <amodra@gmail.com>
37672         * NEWS: Advertise TLS optimization.
37673         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37674         (DT_PPC_NUM): Increment.
37675         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37676         (CHECK_STATIC_TLS): Use here.
37677         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37678         TLS descriptors.
37679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37680         * sysdeps/powerpc/dl-tls.c: New file.
37681         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37682         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37683         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37684         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37689 2015-03-25  Alan Modra  <amodra@gmail.com>
37691         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37692         for overlapping .opd entries" to "support...".
37693         * sysdeps/powerpc/powerpc64/configure: Regenerate
37695 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37697         * math/auto-libm-test-in: Add more tests of acos.
37698         * math/auto-libm-test-out: Regenerated.
37699         * sysdeps/i386/fpu/libm-test-ulps: Update.
37700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37702         * math/auto-libm-test-in: Add more tests of expm1.
37703         * math/auto-libm-test-out: Regenerated.
37704         * sysdeps/i386/fpu/libm-test-ulps: Update.
37705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37707 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37709         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37710         * math/auto-libm-test-out: Regenerated.
37711         * sysdeps/i386/fpu/libm-test-ulps: Update.
37712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37717         * math/auto-libm-test-in: Add more tests of log2.
37718         * math/auto-libm-test-out: Regenerated.
37719         * sysdeps/i386/fpu/libm-test-ulps: Update.
37720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37722 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37724         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37725         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37726         _IO_IS_APPENDING bit in READ_WRITE instead.
37728 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37730         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37731         (__determine_cpumask_size): Replace extend_alloca with a
37732         variable-length array.  Do not treat res == 0 as an error.
37734 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37736         [BZ #18100]
37737         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37738         and integer overflow.
37739         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37740         (main): Add integer overflow tests.
37741         * manual/pattern.texi (Calling Wordexp): Document additional use
37742         for WRDE_SYNTAX.
37744 2015-03-23  Alan Modra  <amodra@gmail.com>
37746         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37747         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37748         and false branch of conditional.
37749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37750         Likewise.
37752 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37754         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37755         libc-modules.h
37756         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37757         unused declaration of _hurd_intr_rpc_msg_in_trap.
37758         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37759         defined instead of whether it is non-zero.
37760         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37761         input constraint instead of both input and output constraint.  Use ecx
37762         clobber instead of %ecx.
37763         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37764         mutex_unlock): Use a statement expression instead of an expression list.
37765         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37766         type to vm_size_t instead of vm_address_t.
37767         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37768         defined instead of whether it is non-zero.
37769         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37770         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37771         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37772         comparisons with mapaddr.
37773         * nscd/nscd-client.h: Include <time.h>.
37774         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37775         9th parameter to __vm_region instead of int.
37776         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37777         * scripts/check-local-headers.sh (exclude): Add device/,
37778         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37779         cthreads.h.
37781 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37783         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37784         to account for alignment padding.
37785         * sysdeps/arm/memmove.S: Likewise.
37787 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37789         * sysdeps/unix/sysv/linux/generic/README: New file.
37791 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37793         [BZ #18138]
37794         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37795         (futex_abstimed_wait)
37796         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37797         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37798         of lll_futex_timed_wait.
37800 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37802         [BZ #17542]
37803         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37805 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37807         [BZ #17090]
37808         [BZ #17620]
37809         [BZ #17621]
37810         [BZ #17628]
37811         * NEWS: Update.
37812         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37813         entries with Static TLS too.  Skip entries past the end of the
37814         allocated DTV, from Alan Modra.
37815         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37816         Static TLS DTV entry set up from...
37817         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37818         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37819         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37820         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37821         for Static TLS.
37822         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37823         that the slot we find is associated with the given map before
37824         using its generation count.
37825         * nptl_db/db_info.c: Include ldsodefs.h.
37826         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37827         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37828         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37829         (link_map::l_tls_offset): New struct field.
37830         (dtv_t::counter): Likewise.
37831         (rtld_global): New struct.
37832         (_rtld_global): New rtld variable.
37833         (dl_tls_dtv_slotinfo_list): New rtld global field.
37834         (dtv_slotinfo_list): New struct.
37835         (dtv_slotinfo): Likewise.
37836         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37837         (td_lookup): Rename to...
37838         (td_mod_lookup): ... this.  Use new mod parameter instead of
37839         LIBPTHREAD_SO.
37840         * nptl_db/td_thr_tlsbase.c: Include link.h.
37841         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37842         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37843         addresses even if the DTV is out of date or missing them.
37844         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37845         index zero-length arrays.
37846         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37847         (td_lookup): Make it a macro implemented in terms of...
37848         (td_mod_lookup): ... this declaration.
37849         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37850         (DB_MAIN_VARIABLE): Likewise.
37852 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37854         [BZ #18134]
37855         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37857 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37859         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37861 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37863         [BZ #18128]
37864         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37865         (atomic_add, atomic_increment_and_test)
37866         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37868 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37870         * stdlib/setenv.c (__add_to_environ):
37871         Dump core quickly if setenv (..., NULL, ...) is called.
37873 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37875         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37876         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37877         all the necessary asm magic in one place.
37878         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37879         using those.
37881 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37883         [BZ #14906]
37884         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37885         traced file mtime. Use consistent log message.
37886         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37887         (register_traced_file): Call install_watches. Always set mtime.
37888         (invalidate_cache): Iterate over all trace files. Call install_watches.
37889         (inotify_check_files): Don't inline. Handle watching parent
37890         directories and configuration file movement in and out.
37891         (handle_inotify_events): New function.
37892         (main_loop_poll): Call handle_inotify_events.
37893         (main_loop_epoll): Likewise.
37894         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37895         (struct traced_file): Use array of inotify fds. Add parent directory,
37896         and basename.
37897         (struct database_dyn): Remove unused file_mtime.
37898         (init_traced_file): New inline function.
37899         (define_traced_file): New macro.
37900         * nss/nss_db/db-init.c: Use define_traced_file.
37901         (_nss_db_init): Use init_traced_file.
37902         * nss/nss_files/files-init.c: Use define_traced_file.
37903         (_nss_files_init): Use init_traced_file.
37905 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37907         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37908         [_LIBC]: Do not include <stdlib.h>.
37909         [!_LIBC] (abort): Remove declaration.
37910         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37911         _FP_STATIC_ASSERT instead of conditionally calling abort.
37912         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37913         (_FP_EXTEND_CNAN): Likewise.
37914         (FP_TRUNC): Likewise.
37915         (__FP_CLZ): Likewise.
37916         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37918 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37920         * manual/string.texi (XPG basename): Fix prototype.
37922 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37924         [BZ #18080]
37925         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37926         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37927         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37928         (__setcontext): Likewise.
37929         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37930         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37931         Call rt_sigprocmask syscall one time to set new signal mask
37932         and retrieve the current signal mask instead of two calls.
37933         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37934         (__swapcontext): Likewise.
37935         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37936         * stdlib/tst-setcontext2.c: New file.
37938 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37940         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37942 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37944         [BZ #18093]
37945         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37946         the wrong size.
37948 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37950         [BZ #18043]
37951         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37953 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37955         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37956         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37957         Remove define.
37958         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37959         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37960         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37961         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37962         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37963         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37964         define.
37965         * nptl_db/td_symbol_list.c (td_lookup): Remove
37966         HAVE_ASM_GLOBAL_DOT_NAME code.
37967         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37968         HAVE_ASM_GLOBAL_DOT_NAME check.
37969         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37970         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37971         (DOT_LABEL): Remove define.
37972         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37973         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37974         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37975         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37976         (__TLS_GET_ADDR): Likewise.
37977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37978         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37980 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37982         [BZ #18111]
37983         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37984         (_FPU_SETCW): Initialize cw from fpsr before storing.
37985         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37986         (fesetexceptflag): Rewrite using fpu_control.h.
37987         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37989 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37991         [BZ #18110]
37992         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37993         asms.
37994         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37996 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37998         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37999         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38000         abort.
38001         (_FP_FMA): Likewise.
38002         (_FP_DIV): Likewise.
38004 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38006         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38007         with 0 in that case.
38008         * Makefile (summarize-tests): New canned sequence, factored out of
38009         commands for targets tests and xtests.  Display summary lines that
38010         don't start with PASS: or XFAIL: rather than ones that do start with
38011         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38012         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38013         do start with ERROR: or FAIL:.
38014         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38015         (except for [$(build-shared) = yes]).
38016         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38017         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38018         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38019         * nptl/Makefile: Revert 2015-03-04 changes.
38020         [$(CXX) empty] (tests-unsupported): New variable.
38021         * debug/Makefile: Likewise.
38023         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38024         gnulib file.  Replace __attribute with __attribute__ throughout.
38026 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38028         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38030 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38032         [BZ #18104]
38033         * math/auto-libm-test-in: Add another test of pow.
38034         * math/auto-libm-test-out: Regenerated.
38036 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38038         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38039         $(config-cflags-nofma).
38041 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38043         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38044         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38045         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38046         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38047         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38048         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38049         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38050         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38051         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38052         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38053         Add comment on closing #endif.
38055 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38057         * posix/wordexp.c (CHAR_IN_SET): New macro.
38058         (parse_param): Use it.
38060 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38062         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38064 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38066         [BZ #18043]
38067         * posix/wordexp.c (parse_param): Fix buffer overflow.
38068         * posix/wordexp-test.c (test_case): Add test case.
38070 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38072         [BZ #18042]
38073         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38074         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38076 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38078         [BZ #18043]
38079         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38080         (do_bz18043): Delete.
38081         (at_page_end): New.
38082         (testit): Refactor to have words at the edge of unreadable page.
38084 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38086         [BZ #16734]
38087         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38088         Cleanup read-only streams as well.
38089         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38091 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38093         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38094         <bits/libc-lockP.h>
38096 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38098         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38099         on [__KERNEL__].
38100         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38101         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38102         * soft-fp/op-common.h (_FP_DECL): Likewise.
38104 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
38106         * elf/ifuncdep2.c (global): Replace
38107         __attribute__((visibility("protected"))) with
38108         asm (".protected global").
38109         * elf/ifuncmod1.c (global): Likewise.
38110         * elf/ifuncmod5.c (global): Likewise.
38112 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
38114         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38115         <asm/sfp-machine.h> instead of <sfp-machine.h>.
38117 2015-03-06  Roland McGrath  <roland@hack.frob.com>
38119         * manual/install.texi (Configuring and compiling):
38120         Document test-wrapper-env-only.
38121         * INSTALL: Regenerated.
38123 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38125         [BZ #18043]
38126         * posix/wordexp.c (parse_param): Fix buffer overflow.
38127         * posix/wordexp-test.c (do_bz18043): Add test case.
38129 2015-03-06  Vincent Bernat  <vincent@bernat.im>
38131         * time/tst-strptime2.c (do_test): Ensure failing tests are
38132         reported correctly.
38133         * time/tst-strptime3.c (do_test): Likewise.
38135 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
38137         Fix aio_error thread-safety.
38138         * sysdeps/pthread/aio_error.c: New file
38139         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38140         synchronization.
38142 2015-03-06  Florian Weimer  <fweimer@redhat.com>
38144         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38145         (group_number, vfprintf): Use it.
38146         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38147         (JUMP, REF): Use it.
38148         (WORK_BUFFER_SIZE): New enum constant.
38149         (process_arg, vfprintf): Use it.
38151 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
38153         * manual/errno.texi (Error Messages): Complete example function
38154         by adding missing #define.
38155         (program_invocation_name): Add statement indicating GNU
38156         extension and reference which header file declares the variable.
38157         (program_invocation_short_name): Likewise.
38159 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
38161         * manual/errno.texi (Error Messages): Delete strerror ISO C89
38162         compatibility note.
38164 2015-03-05  Roland McGrath  <roland@hack.frob.com>
38166         * Makeconfig (test-wrapper-env-only): New variable.
38167         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38168         then use that with $(test-wrapper-env-only) rather than using
38169         $(test-wrapper-env) $(run-program-env) $($*-ENV).
38171 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38173         [BZ #18082]
38174         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38175         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38176         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38177         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38178         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38179         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38180         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38181         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38182         Likewise.
38183         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38184         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38185         Likewise.
38186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38187         Likewise.
38188         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38189         Likewise.
38190         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38191         Likewise.
38192         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38193         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38194         Likewise.
38195         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38196         Likewise.
38197         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38198         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38200 2015-03-04  Roland McGrath  <roland@hack.frob.com>
38202         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38203         (ETH_ALEN): New macro.
38204         (struct ether_addr): Use it for length of ether_addr_octet.
38206         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38207         (setdb): Don't call __nss_configure_lookup for "rpc".
38208         (do_test): Don't call test_rpc.
38209         (output_rpcent, test_rpc): Functions moved ...
38210         * sunrpc/test-rpcent.c: ... to this new file.
38211         * sunrpc/Makefile (tests): Add it.
38213         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38214         __xpg_sigpause.
38215         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38216         * nptl/tst-signal6.c: Likewise.
38217         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38218         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38220         * configure.ac (libc_cv_cxx_link_ok): New check.
38221         Reset CXX to empty if it fails to link.
38222         * configure: Regenerated.
38223         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38224         bug-atexit3-lib only if $(CXX) is nonempty.
38225         * nptl/Makefile (tests): Likewise for tst-cancel24.
38226         (tests, tests-static): Likewise for tst-cancel24-static.
38227         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38228         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38229         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38230         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38232 2015-03-04  Andreas Schwab  <schwab@suse.de>
38234         [BZ #17631]
38235         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38236         for non-GCC compilers.
38237         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38238         Likewise.
38240 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38242         [BZ #17776]
38243         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38244         integer before bitwise and assembly operations.
38245         (feclearexcept): Likewise.
38246         * math/test-fenvinline.c: New file.
38247         * math/Makefile: Add test-fenvinline test.
38249 2015-03-03  Alan Modra  <amodra@gmail.com>
38251         [BZ #16512]
38252         * scripts/localplt.awk: Strip off symbol version.
38253         * NEWS: Mention bug fix.
38255 2015-03-02  Roland McGrath  <roland@hack.frob.com>
38257         * sysdeps/pthread/timer_routines.c
38258         (timer_free_list, thread_free_list, thread_active_list): Make static.
38260 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
38262         [BZ #17779]
38263         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38264         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38265         Undefine.
38266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38267         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38268         Likewise.
38269         * sysdeps/unix/sysv/linux/sh/kernel-features.h
38270         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38271         Likewise.
38273 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38275         [BZ #18036]
38276         * posix/fnmatch_loop.c (END): Detect invalid pattern.
38277         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38279 2015-03-02  Andreas Schwab  <schwab@suse.de>
38281         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38282         variable name.
38284 2015-03-02  Florian Weimer  <fweimer@redhat.com>
38286         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38287         Return error status.
38289 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
38291         [BZ #15969]
38292         * locale/findlocale.c (_nl_find_locale): Introduce const
38293         version of loc_name and drop unsafe type casts.
38295 2015-02-27  Roland McGrath  <roland@hack.frob.com>
38297         * dlfcn/tststatic2.c (main): Converted to ...
38298         (do_test): ... this.
38299         (TEST_FUNCTION): New macro.
38300         Include test-skeleton.c.
38302 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
38304         [BZ #17711]
38305         * elf/Makefile (tests): Add vismain only if PIE is enabled.
38306         (tests-pie): Add vismain.
38307         (CFLAGS-vismain.c): New.
38308         * elf/vismain.c: Add comments for PIE requirement.
38310 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38312         [BZ #18046]
38313         [BZ #18047]
38314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38315         0x1p-56L as threshold for just returning the argument.
38316         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38317         0x1p-32L as threshold for just returning the argument.
38318         * math/auto-libm-test-in: Add more tests of atanh.
38319         * math/auto-libm-test-out: Regenerated.
38320         * sysdeps/i386/fpu/libm-test-ulps: Update.
38321         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38323 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38325         * string/bcopy.c (bcopy): Call memmove for performance.
38327 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38329         * string/bzero.c (__bzero): Call memset for performance.
38331 2015-02-27  John David Anglin  <dave.anglin@bell.net>
38333         [BZ #18068]
38334         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38335         to 00100000.
38337 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38339         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38341 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38343         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38344         (__kernel_standard): Use CSTR macro when setting exc.name.
38345         * sysdeps/ieee754/Makefile [$(subdir) = math]
38346         (CFLAGS-k_standard.c): Remove variable.
38348         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38349         setting p and q from "else if" to "else".
38350         (qzero): Likewise.
38351         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38352         (qone): Likewise.
38353         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38354         (qzerof): Likewise.
38355         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38356         (qonef): Likewise.
38357         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38358         (qzero): Likewise.
38359         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38360         (qone): Likewise.
38362         [BZ #18038]
38363         [BZ #18039]
38364         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38365         return pi/2 for arguments below 0x1p-113L.
38366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38367         return pi/2 for arguments below 0x1p-106L.
38368         * math/auto-libm-test-in: Add more tests of acos.
38369         * math/auto-libm-test-out: Regenerated.
38371         [BZ #16351]
38372         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38373         (MO): New macro.
38374         (__ieee754_asin): Force underflow exception for results with small
38375         absolute value.
38376         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38377         (MO): New macro.
38378         (__ieee754_asinf): Force underflow exception for results with
38379         small absolute value.
38380         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38381         (__ieee754_asin): Force underflow exception for results with small
38382         absolute value.
38383         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38384         (__ieee754_asinf): Force underflow exception for results with
38385         small absolute value.
38386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38387         (__ieee754_asinl): Force underflow exception for results with
38388         small absolute value.
38389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38390         (__ieee754_asinl): Force underflow exception for results with
38391         small absolute value.
38392         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38393         (__ieee754_asinl): Force underflow exception for results with
38394         small absolute value.
38395         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38396         Include <math.h>.
38397         * math/auto-libm-test-in: Do not mark underflow exceptions as
38398         possibly missing for bug 16351.
38399         * math/auto-libm-test-out: Regenerated.
38401         [BZ #18030]
38402         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
38403         of power of 2 down when low part has opposite sign.
38404         * math/libm-test.inc (logb_test_data): Add more tests.
38406 2015-02-26  Andreas Schwab  <schwab@suse.de>
38408         [BZ #18032]
38409         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
38410         over collating symbol inside a bracket expression.  Minor cleanup.
38411         * posix/tst-fnmatch3.c (do_test): Add test case.
38413 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38415         [BZ #18029]
38416         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38417         Adjust exponent of power of 2 down when low part has opposite
38418         sign.
38419         * math/libm-test.inc (ilogb_test_data): Add more tests.
38421 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
38423         [BZ #15969]
38424         * locale/findlocale.c (_nl_find_locale): Fix constness error in
38425         the previous change.
38427         [BZ #15969]
38428         * locale/findlocale.c (_nl_find_locale): Retry archive search
38429         after alias expansion.
38431 2015-02-25  Roland McGrath  <roland@hack.frob.com>
38433         * iconv/tst-iconv3.c (main): Converted to ...
38434         (do_test): ... this.
38435         (TEST_FUNCTION): New macro.
38436         Include test-skeleton.c.
38438         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38439         (convert): Make function static.
38440         (test_unalign): Likewise.  Add const to argument pointee types.
38441         (main): Replace with static function do_test.
38442         Print "Succeeded." only if RET is zero.
38443         (TEST_FUNCTION): New macro.
38444         Include test-skeleton.c.
38446         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38447         returns a null pointer.
38449 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38451         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38452         to __memcpy_ppc only for static builds.
38454 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
38456         [BZ #18020]
38457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38458         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38459         * math/auto-libm-test-in: Add more tests of asinh.
38460         * math/auto-libm-test-out: Regenerated.
38461         * sysdeps/i386/fpu/libm-test-ulps: Update.
38462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38464 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
38466         [BZ #15850]
38467         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38468         and ip6_mtuinfo definitions here.
38469         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38470         in this define too.  Update comment.
38472 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
38474         * elf/sprof.c (load_shobj): Tweak error message to match others.
38476 2015-02-24  Kevin Easton  <kevin@guarana.org>
38478         [BZ #16145] (partial fix)
38479         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38480         to reduce lock contention.
38482 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
38484         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38485         (struct timex): Update time comment.
38486         (ADJ_SETOFFSET): Define.
38488 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38490         [BZ #18019]
38491         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38492         2**56 not 2**28 as threshold for log (2x) formula.
38493         * math/auto-libm-test-in: Add more tests of acosh.
38494         * math/auto-libm-test-out: Regenerated.
38495         * sysdeps/i386/fpu/libm-test-ulps: Update.
38496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38498 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38500         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38501         parenthesis around the buf assignment.
38502         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38504 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38506         [BZ #16783]
38507         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38508         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38509         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38510         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38511         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38512         * math/libm-test.inc (scalb_test_data): Add more tests.
38514 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38516         [BZ #17916]
38517         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38518         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38520 2015-02-24  Eric Rannaud  <e@nanocritical.com>
38522         [BZ #17523]
38523         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38524         * io/bits/fcntl2.h (open): Use it.
38525         (openat): Likewise.
38526         * io/open.c (__libc_open): Likewise.
38527         * io/open64.c (__libc_open64): Likewise.
38528         * io/open64_2.c (__open64_2): Likewise.
38529         * io/open_2.c (__open_2): Likewise.
38530         * io/openat.c (__openat): Likewise.
38531         * io/openat64.c (__openat64): Likewise.
38532         * io/openat64_2.c (__openat64_2): Likewise.
38533         * io/openat_2.c (__openat_2): Likewise.
38534         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38535         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38536         * sysdeps/posix/open64.c (__libc_open64): Likewise.
38537         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38538         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38539         (__open_nocancel): Likewise.
38540         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38541         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38542         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38544 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38546         [BZ #14841]
38547         * resolv/gethnamaddr.c (getanswer): Skip logging if
38548         RES_USE_DNSSEC is set.
38549         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38551 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38553         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38555 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
38557         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38558         201304L, for Unicode 7.
38560 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
38562         [BZ #17836]
38563         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38564         shared library.  Add gmon-start.os otherwise.
38565         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38566         $(objpfx)gmon-start.os if builing shared library.
38567         ($(objpfx)g$(static-start-installed-name)): Likewise.
38569 2015-02-23  Andreas Schwab  <schwab@suse.de>
38571         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38573 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38575         [BZ #17269]
38576         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38577         (enlarge_userbuf): Likewise.
38579 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
38581         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38582         * math/atest-exp.c (TIMEOUT): Adjust to 200.
38583         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38584         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38586 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38588         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38589         expression inside statement expression.
38591 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38594         <sysdeps/nptl/lowlevellock.h> and remove macros and
38595         functions that are now defined there.
38596         (SYS_futex): Remove.
38597         (lll_compare_and_swap): Remove.
38598         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38600 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
38602         [BZ #17999]
38603         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38604         instead of scandirat.
38605         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38606         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38607         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38608         __scandirat.
38609         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38610         (__scandirat): Declare.  Use libc_hidden_proto.
38611         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38612         Remove variable.
38613         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38615 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38617         [BZ #15319]
38618         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38619         (MO): New macro.
38620         (__ieee754_atan2): For results with small absolute value, force
38621         underflow exception and remove excess range and precision from
38622         return value.
38623         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38624         (MO): New macro.
38625         (__ieee754_atan2f): For results with small absolute value, force
38626         underflow exception and remove excess range and precision from
38627         return value.
38628         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38629         (MO): New macro.
38630         (__atan): For results with small absolute value, force underflow
38631         exception and remove excess range and precision from return value.
38632         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38633         (MO): New macro.
38634         (__atanf): For results with small absolute value, force underflow
38635         exception and remove excess range and precision from return value.
38636         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38637         <math.h>.
38638         (__ieee754_atan2): Force underflow exception for results with
38639         small absolute value.
38640         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38641         <math_private.h>.
38642         (atan): Force underflow exception for results with small absolute
38643         value.
38644         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38645         (__atanf): Force underflow exception for results with small
38646         absolute value.
38647         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38648         <math.h>.
38649         (__atanl): Force underflow exception for results with small
38650         absolute value.
38651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38652         (__atanl): Force underflow exception for results with small
38653         absolute value.
38654         * sysdeps/x86/fpu/bits/mathinline.h
38655         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38656         (__ieee754_atan2): Only define inline for long double.
38657         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38659         * math/auto-libm-test-in: Do not mark underflow exceptions as
38660         possibly missing for bug 15319.  Add more tests of atan2.
38661         * math/auto-libm-test-out: Regenerated.
38662         * math/libm-test.inc (casin_test_data): Do not mark underflow
38663         exceptions as possibly missing for bug 15319.
38664         (casinh_test_data): Likewise.
38665         * sysdeps/i386/fpu/libm-test-ulps: Update.
38667 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38669         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38670         * sysdeps/mips/bits/endian.h: Fix comments.
38672 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38674         [BZ #17996]
38675         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38676         (hdestroy_r): Likewise.
38677         (hsearch_r): Likewise.
38678         (__hcreate_r): Declare and use libc_hidden_proto.
38679         (__hdestroy_r): Likewise.
38680         (__hsearch_r): Likewise.
38681         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38682         (hcreate): Call __hcreate_r instead of hcreate_r.
38683         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38684         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38685         as weak alias of __hcreate_r.
38686         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38687         __hdestroy_r.
38688         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38689         __hsearch_r.
38690         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38691         Remove variable.
38692         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38693         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38694         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38695         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38697 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38699         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38700         arena_lock into a single arena_get.
38702 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38704         * dl-reloc.c: Inlucde libc-internal.h.
38705         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38706         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38707         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38708         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38709         (grow_heap): Likewise.
38710         * malloc/malloc.c: Include libc-internal.h.
38711         (do_check_malloc): Call powerof2.
38712         (sysmalloc): Use pagesize. Call ALIGN_UP.
38713         (systrim): Use pagesize.
38714         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38715         (__libc_valloc): Use pagesize.
38716         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38718 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38720         [BZ #17991]
38721         * include/sys/resource.h (__getrlimit64): Declare.  Use
38722         libc_hidden_proto.
38723         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38724         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38725         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38726         getrlimit64.
38727         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38728         __getrlimit64.
38729         [!getrlimit64] (getrlimit64): Define as weak alias of
38730         __getrlimit64.  Use libc_hidden_weak.
38731         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38732         using __getrlimit64 not __new_getrlimit64.
38733         (__GI_getrlimit64): Likewise.
38734         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38735         Likewise.
38736         (__GI_getrlimit64): Likewise.
38737         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38739         (getrlimit): Add __getrlimit64 alias.
38740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38741         Likewise.
38742         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38743         Remove variable.
38744         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38745         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38747 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38749         * libio/fileops.c: Add missing sys/mman.h
38750         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38752 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38754         * manual/math.texi (Errors in Math Functions): Clarify goals
38755         regarding inexact and underflow exceptions.
38757 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38759         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38760         * sysdeps/mips/memset.S: Ditto.
38762 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38764         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38766 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38768         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38769         (__v1longjmp): Remove versioned symbol.
38770         (__v1siglongjmp): Remove alias and versioned symbol.
38771         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38772         (__v2siglongjmp): Likewise.
38774 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38778 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38780         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38782 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38784         [BZ #17987]
38785         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38786         zero result does not depend on the sign resulting from
38787         subtraction.
38788         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38789         Likewise.
38790         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38792         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38793         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38794         * math/libm-test.inc (remquo_test_data): Add more tests.
38796 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38798         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38799         Problem reported by J William Piggott.
38801 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38803         [BZ #17978]
38804         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38805         products 4 * y and 2 * y where those would overflow.
38806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38807         Likewise.
38808         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38809         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38810         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38811         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38812         * math/libm-test.inc (remquo_test_data): Add more tests.
38814         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38816         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38817         [defined _COMPILING_NEWLIB].
38818         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38819         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38821         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38822         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38824 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38826         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38827         acquired.
38829 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38831         [BZ #17792]
38832         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38833         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38834         HOST_STACK_END_ADDR): Likewise.
38836 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38838         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38839         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38840         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38842 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38844         * sysdeps/generic/c++-types.data: New file.
38845         * sysdeps/generic/ld.abilist: New file.
38846         * sysdeps/generic/libBrokenLocale.abilist: New file.
38847         * sysdeps/generic/libanl.abilist: New file.
38848         * sysdeps/generic/libc.abilist: New file.
38849         * sysdeps/generic/libcrypt.abilist: New file.
38850         * sysdeps/generic/libdl.abilist: New file.
38851         * sysdeps/generic/libm.abilist: New file.
38852         * sysdeps/generic/libpthread.abilist: New file.
38853         * sysdeps/generic/libresolv.abilist: New file.
38854         * sysdeps/generic/librt.abilist: New file.
38856 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38858         [BZ #17569]
38859         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38860         Compute absolute value of x as modified by fmod, not original
38861         value of x.
38862         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38863         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38864         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38865         RUN_TEST_ffI_f1_mod8.
38866         (remquo_test_data): Add more tests.
38868 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38870         * sysdeps/init_array/pt-crti.S: New file.
38872 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38874         [BZ #17967]
38875         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38876         __builtin_fmaf instead of relying on contraction of a * b + c.
38878 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38880         [BZ #17969]
38881         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38882         node.
38884 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38886         [BZ #17964]
38887         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38888         __builtin_fma instead of relying on contraction of a * b + c.
38890 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38892         * Makeconfig (ASFLAGS): Add -Werror=undef.
38893         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38894         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38895         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38897         * Makeconfig (after-link): New variable.
38898         (+link-pie, +link-pie-tests): Use it.
38899         (+link-static, +link-static-tests): Likewise.
38900         (+link, +link-tests): Likewise.
38901         * Makerules (build-module, build-module-asneeded): Likewise.
38902         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38903         Likewise.
38904         * elf/Makefile ($(objpfx)ld.so): Likewise.
38906 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38908         [BZ #17965]
38909         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38910         both struct timeval and struct timespec.
38912 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38914         [BZ #16560]
38915         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38916         and redefine.
38917         (__ieee754_exp2l): Do not multiply small fractional parts by
38918         M_LN2l.
38919         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38920         small argument.
38921         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38922         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38923         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38924         * math/auto-libm-test-in: Add more tests of exp2.
38925         * math/auto-libm-test-out: Regenerated.
38927 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38929         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38930         unaligned path.
38932 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38934         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38935         little endian.
38937 2015-02-12  Andreas Schwab  <schwab@suse.de>
38939         [BZ #15790]
38940         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38941         Filter out elision flags from value returned in kind.
38942         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38943         * nptl/tst-pthread-mutexattr.c: New file.
38945 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38947         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38948         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38949         into gnu-gnu, and update comment to refer to abi-tags.
38951 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38953         [BZ #15467]
38954         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38955         (__sincos): Set errno to EDOM for infinite argument.
38956         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38957         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38958         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38959         (__sincosl): Set errno to EDOM for infinite argument.
38960         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38961         (__sincosl): Set errno to EDOM for infinite argument.
38962         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38963         (__sincosl): Set errno to EDOM for infinite argument.
38964         * math/libm-test.inc (sincos_test_data): Test errno setting.
38966 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38968         * string/strxfrm_l.c: Remove #define STRCMP.
38969         * string/strcoll_l.c: Remove #define STRLEN.
38970         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38971         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38973 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38975         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38976         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38977         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38978         * sysdeps/mips/mips64/Makefile: ... here.
38979         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38980         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38981         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38982         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38983         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38984         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38985         * sysdeps/mips/mips64/n64/Implies: Likewise.
38987 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38989         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38990         <sys/time.h>, <string.h>, and <errno.h>.
38991         (dest_offset, dest_address, value, zero): Remove unused variables.
38992         (ldouble): Remove typedef.
38993         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38994         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38995         1).  Fix code style.
38996         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38997         (check): Function removed.
38998         (CHECK): New macro.
38999         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39000         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39001         Don't call set_sigaction_FP and remove_sigaction_FP here.
39002         (ldouble_test): Just use 'long double' as macro argument, no need for
39003         the 'ldouble' typedef.
39004         (do_test): Set up SIGFPE handler at start, using plain signal rather
39005         than sigaction.  Fix code style.
39007 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39009         [BZ #17949]
39010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39011         jump label.
39013 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39015         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39016         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39018         * sysdeps/powerpc/configure.ac: Remove file.
39019         * sysdeps/powerpc/configure: Likewise.
39021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39022         [sysdep_routines]: Remove wordcopy-power6 object.
39023         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39024         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39025         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39026         (__memmove_ppc32): Likewise.
39027         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39028         file.
39029         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39031         Remove preprocessor.
39033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39034         [sysdep_routines]: Remove wide chars objects.
39035         [wcsmbs]: New rule for wide char objects.
39037         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39038         Remove wordcopy-power6 obejct.
39039         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39040         Use local call for wordcopy and memcpy symbols.
39041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39042         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39043         implementation for loader.
39044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39046         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39047         Remove wordcopy-power7 object.
39048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39049         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39050         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39051         (_wordcopy_fwd_dest_aligned): Likewise.
39052         (_wordcopy_bwd_aligned): Likewise.
39053         (_wordcopy_bwd_dest_aligned): Likewise.
39055         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39056         Rewrite to call __memmove_ppc instead of include default
39057         implementation.
39059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39060         Remove wide chars objects.
39061         [wcsmbs]: New rule for wide char objects.
39063 2015-02-09  Andreas Schwab  <schwab@suse.de>
39065         [BZ #17912]
39066         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39067         in terms of __O_DIRECTORY.
39069 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39071         * time/getdate.c: Include <stdbool.h>.
39072         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39073         call PTR_MANGLE.
39074         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39075         PTR_DEMANGLE.
39077 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39079         Add ersatz _Static_assert on older C hosts
39080         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39081         pre-C11 C platform that is not known to support _Static_assert.
39083 2015-02-07  Richard Braun  <rbraun@sceen.net>
39085         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39086         sigstate.
39087         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39089 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39091         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39092         priority against unexistent AIO_PRIO_DELTA_MAX.
39093         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39094         instead of int.
39095         * misc/fchflags.c (fchflags): Likewise.
39096         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39097         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39098         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39099         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39100         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39101         Declare macros.
39102         [__USE_MISC] (chflags, fchflags): Declare functions.
39103         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39104         EINVAL when nfds is greater than FD_SETSIZE.
39105         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39106         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39107         45.
39108         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39109         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39110         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39111         MACH_RCV_TIMED_OUT.
39112         * hurd/hurd/signal.h (_hurd_self_sigstate,
39113         _hurd_critical_section_lock, _hurd_critical_section_unlock):
39114         Explicit casts from void *.
39115         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39116         * abi-tags: Rename gnu-gnu os into gnu.
39118         [BZ #4719]
39119         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39120         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39121         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39122         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39123         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39124         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39126         [BZ #17944]
39127         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39128         duplicates ADDR->sun_path with sockaddr LEN limitation.
39129         * sysdeps/mach/hurd/connect.c: Include <string.h>
39130         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39131         * sysdeps/mach/hurd/sendmsg.c: Likewise.
39132         * sysdeps/mach/hurd/sendto.c: Likewise.
39133         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39134         implementing it by hand.
39136 2015-02-06  Roland McGrath  <roland@hack.frob.com>
39138         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39139         Use sfi_breg on ldr.
39140         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39141         Likewise.
39143         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39144         it's defined.
39145         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39146         Test SIGSETXID only if it's defined.
39148         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39150         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39151         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
39153         * nptl/tst-align2.c: Moved ...
39154         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39155         * nptl/Makefile (tests): Remove tst-align2.
39156         * sysdeps/unix/sysv/linux/Makefile
39157         [$(subdir) = nptl] (tests): Add tst-align-clone.
39158         * nptl/tst-getpid1.c: Moved ...
39159         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39160         * nptl/tst-getpid2.c: Moved ...
39161         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39162         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39163         * sysdeps/unix/sysv/linux/Makefile
39164         [$(subdir) = nptl] (tests): ... here.
39165         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39166         * sysdeps/unix/sysv/linux/Makefile
39167         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39169         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39170         Drop trailing \n from perror argument.  Use return rather than exit.
39172         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39173         on [SA_SIGINFO].
39174         * nptl/tst-cancel21.c (do_test): Likewise.
39175         * debug/tst-backtrace6.c: Include <signal.h> first thing.
39176         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39177         [!SA_SIGINFO]: Make it a stub test.
39179         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39180         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39182         * posix/tst-getlogin.c: Move to ...
39183         * login/tst-getlogin.c: ... here.
39184         * posix/Makefile (tests): Move tst-getlogin to ...
39185         * login/Makefile (tests): ... here.
39187         * libio/tst-atime.c (do_test): Move local variables SV and E
39188         inside [ST_NOATIME] conditional.
39190         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39192         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39194         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39195         (wait_code): New function replaces macro.
39196         Call nanosleep rather than syscall.
39198         * nptl/pt-system.c: Rewritten.  Put everything under
39199         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39200         Use IFUNC to redirect when possible.
39202         * nptl/pt-longjmp.c: Rewritten.  Put everything under
39203         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39204         Use IFUNC to redirect when possible.
39206         * nptl/pt-fork.c: Rewritten.  Put everything under
39207         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39208         Use IFUNC to redirect when possible.
39209         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39211         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39212         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39213         unconditionally nowadays.  This included the only reference to
39214         __vdso_clock_gettime that appears outside libc proper.
39215         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39216         Remove version set (containing only __vdso_clock_gettime).
39217         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39218         Add attribute_hidden.
39219         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39220         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39221         libc_hidden_data_def.
39222         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39223         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39225         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39226         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39227         setrpcent, and getrpcport to ...
39228         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39229         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39230         getrpcbynumber_r, and getrpcent_r to ...
39231         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39232         * inet/getrpcbyname.c: Moved ...
39233         * sunrpc/getrpcbyname.c: ... here.
39234         * inet/getrpcbyname_r.c: Moved ...
39235         * sunrpc/getrpcbyname_r.c: ... here.
39236         * inet/getrpcbynumber.c: Moved ...
39237         * sunrpc/getrpcbynumber.c: ... here.
39238         * inet/getrpcbynumber_r.c: Moved ...
39239         * sunrpc/getrpcbynumber_r.c: ... here.
39240         * inet/getrpcent.c: Moved ...
39241         * sunrpc/getrpcent.c: ... here.
39242         * inet/getrpcent_r.c: Moved ...
39243         * sunrpc/getrpcent_r.c: ... here.
39244         * inet/Makefile (routines): Move those to ...
39245         * sunrpc/Makefile (routines): ... here.
39246         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39247         the $(subdirs) list.
39248         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
39249         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39250         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39251         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39253         * elf/Makefile (routines): Include $(all-dl-routines), not just
39254         $(dl-routines).
39255         (rtld-routines): Likewise.  Use = rather than :=.
39256         * sysdeps/aarch64/Makefile [$(subdir) = elf]
39257         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39258         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39259         * sysdeps/arm/Makefile: Likewise.
39260         * sysdeps/i386/Makefile: Likewise.
39261         * sysdeps/x86_64/Makefile: Likewise.
39262         * sysdeps/hppa/Makefile [$(subdir) = elf]
39263         (sysdep_routines, sysdep-rtld-routines): Don't add
39264         $(sysdep-dl-routines) to these.
39265         * sysdeps/ia64/Makefile: Likewise.
39266         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39267         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39268         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39269         Don't add dl-static to these; sysdep-dl-routines alone is enough.
39270         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39271         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39272         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39273         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39274         * sysdeps/powerpc/Makefile [$(subdir) = elf]
39275         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39276         these; sysdep-dl-routines alone is enough.
39278 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
39280         [BZ #17932]
39281         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39282         where multiplication results in zero and third argument is finite
39283         and nonzero.
39284         * math/auto-libm-test-in: Add more tests of fma.
39285         * math/auto-libm-test-out: Regenerated.
39287         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39288         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39289         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39290         (_FP_CMP_EQ): Likewise.
39291         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39293         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39294         extra argument CHECK_NAN.  Redefine as wrapper around
39295         _FP_EXTEND_CNAN.
39297 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
39299         * version.h (RELEASE): Set to "stable".
39300         (VERSION): Set to "2.21"
39301         * include/features.h (__GLIBC_MINOR__): Set to 21.
39303         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39305 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39306             Paul Eggert  <eggert@cs.ucla.edu>
39308         [BZ #16618]
39309         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39310         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39311         size in bytes. Store needed elements in wpmax. Use needed size
39312         in bytes for extend_alloca.
39314 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
39316         * manual/install.texi: Latest tested versions are GCC 4.9.2,
39317         binutls 2.25, and texinfo 5.2.
39318         * INSTALL: Regenerate.
39319         * sysdeps/nios2/configure: Regenerate.
39320         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39321         * manual/contrib.texi: Update.
39322         * po/be.po: Update.
39323         * po/bg.po: Update.
39324         * po/ca.po: Update.
39325         * po/cs.po: Update.
39326         * po/da.po: Update.
39327         * po/de.po: Update.
39328         * po/el.po: Update.
39329         * po/eo.po: Update.
39330         * po/es.po: Update.
39331         * po/fi.po: Update.
39332         * po/fr.po: Update.
39333         * po/gl.po: Update.
39334         * po/hr.po: Update.
39335         * po/hu.po: Update.
39336         * po/ia.po: Update.
39337         * po/id.po: Update.
39338         * po/it.po: Update.
39339         * po/ja.po: Update.
39340         * po/ko.po: Update.
39341         * po/lt.po: Update.
39342         * po/nb.po: Update.
39343         * po/nl.po: Update.
39344         * po/pl.po: Update.
39345         * po/pt_BR.po: Update.
39346         * po/ru.po: Update.
39347         * po/rw.po: Update.
39348         * po/sk.po: Update.
39349         * po/sl.po: Update.
39350         * po/sv.po: Update.
39351         * po/tr.po: Update.
39352         * po/uk.po: Update.
39353         * po/vi.po: Update.
39354         * po/zh_CN.po: Update.
39355         * po/zh_TW.po: Update.
39357         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39358         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39359         * sysdeps/hppa/dl-irel.h: Remove #warning.
39360         * sysdeps/hppa/entry.h: Provide prototype for
39361         __canonicalize_funcptr_for_compare and cast argument.
39362         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39363         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39364         * sysdeps/hppa/sotruss-lib.c: New file.
39365         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39366         (atomic_compare_and_exchange_val_acq): Use __typeof__.
39367         (atomic_compare_and_exchange_bool_acq): Likewise.
39368         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39369         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39371         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39372         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39373         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39375 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
39377         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39378         called function in non-PIC case.
39380 2015-01-31  David S. Miller  <davem@davemloft.net>
39382         * sysdeps/sparc/sparc32/bits/atomic.h
39383         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39384         unlock not after it.
39385         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39386         volatile register usage warnings from the compiler.
39388         * sysdeps/sparc/nptl/sem_init.c: Delete.
39389         * sysdeps/sparc/nptl/sem_post.c: Delete.
39390         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39391         * sysdeps/sparc/nptl/sem_wait.c: Delete.
39392         * sysdeps/sparc/sparc32/sem_init.c: New file.
39393         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39394         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39395         padding explicitly initialized.
39396         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39397         padding for in-semaphore spinlock.
39398         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
39399         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
39400         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
39401         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
39402         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
39403         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
39404         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
39405         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
39406         version.
39407         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
39408         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
39410 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
39412         [BZ #17801]
39413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39414         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39415         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39416         New.
39417         (index_AVX_Fast_Unaligned_Load): Likewise.
39418         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39419         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39420         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39421         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39422         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39423         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39424         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39425         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39426         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39428 2015-01-29  Andreas Schwab  <schwab@suse.de>
39430         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39432 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
39434         [BZ #17892]
39435         * nscd/nscd_stat.c (send_stats): Initialize DATA.
39437 2015-01-28  Martin Sebor  <msebor@redhat.com>
39439         * math/README.libm-test: Clarify. Add "How to read the test output."
39441 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
39443         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39444         Define to 0.
39446 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
39448         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39449         (__HAVE_64B_ATOMICS): Define to 0.
39451 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39453         [BZ #17885]
39454         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39455         value to set as new flag.
39457         [BZ #16576]
39458         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39459         and use _ARCH_PPCSQ instead.
39460         (__ieee754_sqrt): Likewise.
39461         (__ieee754_sqrtf): Likewise.
39462         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39463         _ARCH_PPCSQ is defined.
39464         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39465         fsqrt instruction.
39466         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39467         _ARCH_PPCSQ is defined.
39468         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39469         fsqrts instruction.
39470         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39472 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39474         * iconv/loop.c: Suppress array out of bound warning caused by GCC
39475         bug (GCC BZ #64739).
39477 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
39479         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39480         Mark _retval as used.
39481         (lll_futex_wake_unlock): Likewise.
39482         (lll_futex_timed_wait_requeue_pi): Likewise.
39484         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39485         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39486         register variables.
39488         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39489         libm_hidden_def.
39491         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39492         (__bswap_64): Mark as __always_inline.
39494 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
39496         [BZ #15378]
39497         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39498         when none of the search directories exist.
39500 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39502         [BZ #17869]
39503         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39504         power8 in .machine directive.
39506         [BZ #17868]
39507         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39508         set dependency from opd value.
39510 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39513         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39514         architecture.
39516 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39518         [BZ #17870]
39519         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39520         with uint64_t.
39521         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39522         (uint64_t) 1.
39523         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39524         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39525         Replace 1UL with (uint64_t) 1.
39526         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39527         int with uint64_t.
39529 2015-01-23  Roland McGrath  <roland@hack.frob.com>
39531         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39532         (if_freenameindex): Likewise.
39534         * resource/getrlimit64.c: Add missing libc_hidden_def.
39536 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
39538         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39539         __label__.
39540         (_FP_FMA): Likewise.
39541         (_FP_TO_INT_ROUND): Likewise.
39542         (_FP_FROM_INT): Likewise.
39544 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39546         [BZ #16418]
39547         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39548         Make code racy and cancel safe.
39550 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
39552         * sysdeps/arm/unwind-resume.h: Fix copyright year.
39553         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39554         attribution.
39556         * pwd/tst-getpw.c: Rewrite.
39558         [BZ #17702]
39559         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39560         (modules-names): Add moddummy1 and moddummy2.
39561         ($(objpfx)tst-rec-dlopen): Define.
39562         * dlfcn/moddummy1.c: New file.
39563         * dlfcn/moddummy2.c: New file.
39564         * dlfcn/tst-rec-dlopen.c: New file.
39565         * elf/dl-cache.c (_dl_load_cache_lookup):
39566         Return char*. Copy result with alloca/strcpy/strdup.
39567         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39568         returns char*. Free cached. If not saving realname
39569         free cached.
39570         * elf/dl-open.c (dl_open_worker): Do not assert that
39571         _r_debug->r_state is RT_CONSISTENT.
39572         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39573         returns char*.
39575 2015-01-21  Torvald Riegel  <triegel@redhat.com>
39576             Carlos O'Donell  <carlos@redhat.com>
39578         [BZ #12674]
39579         * nptl/sem_waitcommon.c: New file.
39580         * nptl/sem_wait.c: Include sem_waitcommon.c.
39581         (__sem_wait_cleanup, do_futex_wait): Remove.
39582         (__new_sem_wait): Adapt.
39583         (__new_sem_trywait): New function.
39584         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39585         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39586         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39587         (sem_timedwait): Adapt.
39588         * nptl/sem_post.c (__new_sem_post): Adapt.
39589         (futex_wake): New function.
39590         (__old_sem_post): Add release MO fence.
39591         * nptl/sem_open.c (sem_open): Adapt.
39592         * nptl/sem_init.c (__new_sem_init): Adapt.
39593         (futex_private_if_supported): New function.
39594         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39595         (__old_sem_getvalue): Add using previous code.
39596         * sysdeps/nptl/internaltypes.h: Adapt.
39597         * nptl/tst-sem13.c (do_test): Adapt.
39598         * nptl/tst-sem11.c (main): Adapt.
39599         * nptl/sem_trywait.c: Remove.
39600         * nptl/DESIGN-sem.txt: Remove.
39601         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39602         (gen-as-const-headers): Remove structsem.sym.
39603         * nptl/structsem.sym: Remove.
39604         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39605         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39606         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39607         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39608         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39609         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39610         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39611         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39612         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39613         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39614         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39615         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39616         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39617         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39618         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39619         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39620         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39621         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39622         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39623         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39624         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39625         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39627 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
39629         * INSTALL: Regenerated.
39631         * po/libc.pot: Regenerated.
39633 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
39634             Sandra Loosemore  <sandra@codesourcery.com>
39635             Andrew Jenner  <andrew@codesourcery.com>
39636             Joseph Myers  <joseph@codesourcery.com>
39637             Nathan Sidwell  <nathan@codesourcery.com>
39639         * NEWS: Mention new Nios II port.
39640         * sysdeps/nios2/Implies: New file.
39641         * sysdeps/nios2/Makefile: New file.
39642         * sysdeps/nios2/Subdirs: New file.
39643         * sysdeps/nios2/Versions: New file.
39644         * sysdeps/nios2/__longjmp.S: New file.
39645         * sysdeps/nios2/abort-instr.h: New file.
39646         * sysdeps/nios2/backtrace.c: New file.
39647         * sysdeps/nios2/bits/endian.h: New file.
39648         * sysdeps/nios2/bits/fenv.h: New file.
39649         * sysdeps/nios2/bits/link.h: New file.
39650         * sysdeps/nios2/bits/setjmp.h: New file.
39651         * sysdeps/nios2/bsd-_setjmp.S: New file.
39652         * sysdeps/nios2/bsd-setjmp.S: New file.
39653         * sysdeps/nios2/configure: New generated file.
39654         * sysdeps/nios2/configure.ac: New file.
39655         * sysdeps/nios2/crti.S: New file.
39656         * sysdeps/nios2/crtn.S: New file.
39657         * sysdeps/nios2/dl-init.c: New file.
39658         * sysdeps/nios2/dl-machine.h: New file.
39659         * sysdeps/nios2/dl-sysdep.h: New file.
39660         * sysdeps/nios2/dl-tls.h: New file.
39661         * sysdeps/nios2/dl-trampoline.S: New file.
39662         * sysdeps/nios2/gccframe.h: New file.
39663         * sysdeps/nios2/gmp-mparam.h: New file.
39664         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39665         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39666         * sysdeps/nios2/ldsodefs.h: New file.
39667         * sysdeps/nios2/libc-tls.c: New file.
39668         * sysdeps/nios2/libm-test-ulps: New file.
39669         * sysdeps/nios2/machine-gmon.h: New file.
39670         * sysdeps/nios2/math-tests.h: New file.
39671         * sysdeps/nios2/math_private.h: New file.
39672         * sysdeps/nios2/memusage.h: New file.
39673         * sysdeps/nios2/nptl/Makefile: New file.
39674         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39675         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39676         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39677         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39678         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39679         * sysdeps/nios2/nptl/tls.h: New file.
39680         * sysdeps/nios2/preconfigure: New file.
39681         * sysdeps/nios2/s_fma.c: New file.
39682         * sysdeps/nios2/s_fmaf.c: New file.
39683         * sysdeps/nios2/setjmp.S: New file.
39684         * sysdeps/nios2/sfp-machine.h: New file.
39685         * sysdeps/nios2/sotruss-lib.c: New file.
39686         * sysdeps/nios2/stackguard-macros.h: New file.
39687         * sysdeps/nios2/stackinfo.h: New file.
39688         * sysdeps/nios2/start.S: New file.
39689         * sysdeps/nios2/sysdep.h: New file.
39690         * sysdeps/nios2/tls-macros.h: New file.
39691         * sysdeps/nios2/tst-audit.h: New file.
39692         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39693         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39694         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39695         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39696         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39697         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39698         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39699         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39700         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39701         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39702         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39703         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39704         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39705         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39706         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39707         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39708         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39709         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39710         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39711         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39712         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39713         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39714         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39715         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39716         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39717         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39718         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39719         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39720         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39721         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39722         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39723         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39724         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39725         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39726         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39727         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39728         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39729         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39730         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39731         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39732         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39733         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39734         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39735         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39737 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39739         [BZ #17844]
39740         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39741         (getutent): Use weak_alias in non SHARED case
39742         and default_symbol_version in SHARED case.
39743         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39744         (getutent_r, pututline): Likewise.
39745         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39746         (getutid): Likewise.
39747         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39748         (getutid_r): Likewise.
39749         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39750         (getutline): Likewise.
39751         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39752         (getutline_r): Likewise.
39753         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39754         (updwtmp): Likewise.
39756 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39758         [BZ #17848]
39759         * sysdeps/s390/s390-32/memcmp.S
39760         (memcmp_g5): Rename to __memcmp_g5.
39761         * sysdeps/s390/s390-32/memcpy.S
39762         (memcpy_g5): Rename to __memcpy_g5.
39763         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39764         (memcpy_mvcle) Rename to __memcpy_mvcle.
39765         * sysdeps/s390/s390-32/memset.S
39766         (memset_g5): Rename to __memset_g5.
39767         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39768         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39769         and use prefixed functions.
39770         * sysdeps/s390/s390-32/multiarch/memcmp.S
39771         (memcmp_z196): Rename to __memcmp_z196.
39772         (memcmp_z10): Rename to __memcmp_z10.
39773         (memcmp): Set alias to __memcmp_g5.
39774         (bcmp): Set alias to __memcmp_g5.
39775         * sysdeps/s390/s390-32/multiarch/memcpy.S
39776         (memcpy_z196): Rename to __memcpy_z196.
39777         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39778         (memcpy_z10): Rename to __memcpy_z10.
39779         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39780         (memcpy): Set alias to __memcpy_g5.
39781         * sysdeps/s390/s390-32/multiarch/memset.S
39782         (memset_z196): Rename to __memset_z196.
39783         Jump to __memset_mvcle instead of memset_mvcle.
39784         (memset_z10): Rename to __memset_z10.
39785         Jump to __memset_mvcle instead of memset_mvcle.
39786         (memset_mvcle) Rename to __memset_mvcle.
39787         (memset): Set alias to __memset_g5.
39788         * sysdeps/s390/s390-64/memcmp.S
39789         (memcmp_z900): Rename to __memcmp_z900.
39790         * sysdeps/s390/s390-64/memcpy.S
39791         (memcpy_z900): Rename to __memcpy_z900.
39792         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39793         (memcpy_mvcle) Rename to __memcpy_mvcle.
39794         * sysdeps/s390/s390-64/memset.S
39795         (memset_z900): Rename to __memset_z900.
39796         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39797         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39798         and use prefixed functions.
39799         * sysdeps/s390/s390-64/multiarch/memcmp.S
39800         (memcmp_z196): Rename to __memcmp_z196.
39801         (memcmp_z10): Rename to __memcmp_z10.
39802         (memcmp): Set alias to __memcmp_z900.
39803         (bcmp): Set alias to __memcmp_z900.
39804         * sysdeps/s390/s390-64/multiarch/memcpy.S
39805         (memcpy_z196): Rename to __memcpy_z196.
39806         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39807         (memcpy_z10): Rename to __memcpy_z10.
39808         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39809         (memcpy): Set alias to __memcpy_z900.
39810         * sysdeps/s390/s390-64/multiarch/memset.S
39811         (memset_z196): Rename to __memset_z196.
39812         Jump to __memset_mvcle instead of memset_mvcle.
39813         (memset_z10): Rename to __memset_z10.
39814         Jump to __memset_mvcle instead of memset_mvcle.
39815         (memset_mvcle) Rename to __memset_mvcle.
39816         (memset): Set alias to __memset_z900.
39818 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39820         [BZ #17748]
39821         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39822         __fesetenv instead of fesetenv.
39824 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39826         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39827         macro.
39829 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39831         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39832         regression on LE.
39834         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39835         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39836         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39837         strncmp-power8 object.
39838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39839         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39840         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39841         * NEWS: Update.
39843 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39844             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39846         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39847         trailing byte check.
39849 2015-01-13  David S. Miller  <davem@davemloft.net>
39851         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39853 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39855         * login/logout.c (logout): Use memset rather than bzero.
39856         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39857         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39858         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39859         (_gethtbyaddr): Likewise.
39860         * locale/programs/simple-hash.c (bcopy): Macro removed.
39862 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39865         Add strcmp-power8 object.
39866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39867         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39868         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39869         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39870         __strcmp_power8 implementation.
39871         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39872         * NEWS: Update.
39874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39875         Add strncpy-power8 and stpncpy-power8 objects.
39876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39877         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39878         implementations.
39879         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39880         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39881         __stpncpy_power8 implementation.
39882         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39883         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39884         __strncpy_power8 implementation.
39885         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39886         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39887         * NEWS: Update.
39889         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39890         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39891         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39893         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39894         strncat-power8 object.
39895         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39896         __strcat_power8 implementation.
39897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39898         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39899         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39900         optimized strcat for power8.
39902         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39903         strcpy-power8 and stpcpy-power8 objects.
39904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39905         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39906         implementations.
39907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39908         multiarch stpcpy implementation for POWER8.
39909         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39910         multiarch strcpy implementation for POWER8.
39911         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39912         __strcpy_power8 function.
39913         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39914         stpcpy for POWER8.
39915         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39916         strcpy for POWER8.
39917         * NEWS: Update.
39919 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39921         [BZ #16009]
39922         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39923         weights and rules. Use do_xfrm_cached if data fits in cache,
39924         do_xfrm otherwise.  Moved former main loop to...
39925         * (do_xfrm_cached): New function.
39926         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39927         find_idx, find_position and stack_push.
39928         * (find_idx): New function.
39929         * (find_position): Likewise.
39930         * localedata/sort-test.sh: Added test run for do_xfrm.
39931         * localedata/xfrm-test.c (main): Added command line option
39932         -nocache to run the test with strings that are too large for
39933         the STRXFRM cache.
39935 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39937         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39938         variable to lll_futex_wake call, not the value itself.
39940 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39942         [BZ #17803]
39943         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39944         twom64.  Adjust value to 0x1p-64L.
39945         (__scalblnl): Only return standard underflowing result for K <=
39946         -64 not K <= -63; adjust exponent for underflowing result by 64
39947         not 63.
39948         * math/libm-test.inc (scalbn_test_data): Add more tests.
39949         (scalbln_test_data): Likewise.
39951         [BZ #17834]
39952         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39953         0x1p63L.
39954         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39955         not HX.
39956         * math/libm-test.inc (scalbn_test_data): Add more tests.
39957         (scalbln_test_data): Likewise.
39959 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39960             Stefani Seibold  <stefani@seibold.net>
39962         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39963         (sysdep_routines): Add dl-vdso here, ...
39964         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39965         (sysdep_routines): ... not here.
39966         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39967         fallback when vDSO is not presented.
39968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39969         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39970         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39971         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39972         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39973         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39974         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39975         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39976         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39978         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39979         fallback configurable symbol when vDSO is not available.
39980         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39981         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39982         be able to redefine fallback symbol when vDSO is not available.
39983         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39984         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39986 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39988         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39989         (TLS_INIT_TP): Add tm_capable initialization.
39990         (TLS_DEFINE_INIT_TP): Likewise.
39991         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39992         TCB.
39993         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39994         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39995         calculation.
39996         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39997         transactoion is lock elision is built and TCB tm_capable is set.
39998         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40000         (INTERNAL_SYSCALL_NCS): Likewise.
40001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40002         (INTERNAL_SYSCALL_NCS): Likewise.
40003         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40005         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40006         for powerpc.
40007         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40008         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40009         and remove it for 32 bits case.
40010         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40012         initialization.
40013         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40014         Disable lock elision with rdlocks if elision is not available.
40016         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40017         (sysdep_routines): Add lock elision objects.
40018         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40019         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40020         [pthread_mutex_t] (__elision): Add field.
40021         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40022         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40023         elision definitions for powerpc.
40024         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40025         implementation of lock elision for powerpc.
40026         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40027         implementation of timed lock elision for powerpc.
40028         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40029         implementation of trylock with lock elision for powerpc.
40030         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40031         implementaion of unlock for lock elision for powerpc.
40032         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40033         automatic enable lock elision for mutexes.
40034         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40035         transaction execution definitions for powerpc.
40036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40037         definitions.
40038         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40039         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40040         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40041         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40042         * NEWS: Update.
40044 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40046         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40047         for #include of <shm-directory.h>.
40049 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40051         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40052         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40054 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40056         [BZ #17791]
40057         * NEWS: Mention bug fix.
40058         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40059         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40060         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40062 2015-01-09  Torvald Riegel <triegel@redhat.com>
40064         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40066 2015-01-09  Torvald Riegel <triegel@redhat.com>
40068         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40070 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40072         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40073         pointer and cast to uintptr_t.
40075 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40077         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40078         removed.
40079         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40081 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40083         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40084         of 0.
40086 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40088         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40089         <nptl/pthreadP.h> instead.
40090         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40092         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40093         already defined.
40094         [__SIGRTMIN] (init): Function removed.
40095         [__SIGRTMIN] (initialized): Variable removed.
40096         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40097         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40098         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40099         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40100         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40101         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40102         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40103         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40104         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40105         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40106         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40107         * sysdeps/nptl/allocrtsig.c: New file.
40108         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40109         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40110         * sysdeps/generic/testrtsig.h: File removed.
40112         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40113         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40115         * nptl/nptl-init.c (pthread_functions): Conditionalize
40116         .ptr__nptl_setxid initialization on [SIGSETXID].
40118         * sysdeps/nptl/sys/procfs.h: New file.
40119         * nptl_db/Makefile (headers): Add it.
40120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40122         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40123         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40124         * nptl/pthread_attr_setaffinity.c: Include it.
40125         * nptl/pthread_setattr_default_np.c: Likewise.
40126         * nptl/check-cpuset.h: New file.
40128 2015-01-08  Richard Henderson  <rth@redhat.com>
40130         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40131         (CFLAGS-tst-execstack-prog.c): Likewise.
40132         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40134 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
40135             Sandra Loosemore  <sandra@codesourcery.com>
40136             Andrew Jenner  <andrew@codesourcery.com>
40137             Joseph Myers  <joseph@codesourcery.com>
40138             Nathan Sidwell  <nathan@codesourcery.com>
40140         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40141         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40142         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40143         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40144         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40145         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40146         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40147         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40148         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40149         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40150         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40151         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40152         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40153         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40154         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40155         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40156         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40158 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40160         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40161         timespec struct member in syscall macro.
40162         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40163         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40164         first timeval struct member in syscall macro.
40165         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40167 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
40169         [BZ #17748]
40170         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40171         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40172         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40173         __feupdateenv and define as weak alias of __feupdateenv.  Use
40174         libm_hidden_weak.
40175         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40176         libm_hidden_def.
40177         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40178         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
40179         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40180         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40181         libm_hidden_def.
40182         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40183         __feupdateenv and define as weak alias of __feupdateenv.  Use
40184         libm_hidden_weak.
40185         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40186         libm_hidden_def.
40187         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40188         __feupdateenv and define as weak alias of __feupdateenv.  Use
40189         libm_hidden_weak.
40190         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40191         libm_hidden_def.
40192         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40193         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40194         (__feupdateenv): Likewise.
40195         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40196         __feupdateenv and define as weak alias of __feupdateenv.  Use
40197         libm_hidden_weak.
40198         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40199         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40200         libm_hidden_def.
40201         * sysdeps/tile/math_private.h (__feupdateenv): New inline
40202         function.
40203         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40204         libm_hidden_def.
40205         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40206         __feupdateenv instead of feupdateenv.
40207         (default_libc_feupdateenv_test): Likewise.
40208         (libc_feresetround_ctx): Likewise.
40210 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40212         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40213         prototype.
40215 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
40217         * posix/regcomp.c (parse_bracket_exp): Initialize type to
40218         COLL_SYM in a couple of places to avoid uninitialized variable
40219         wanings on tilegx gcc 4.8.2.
40221 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40223         * sysdeps/aarch64/strcpy.S: New file.
40224         * sysdeps/aarch64/stpcpy.S: New file.
40225         * NEWS: Updated.
40227 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40229         * sysdeps/aarch64/strrchr.S: New file.
40230         * NEWS: Updated.
40232 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
40234         [BZ #17658]
40235         * stdlib/setenv.c: Fix memory leak when setting large,
40236         duplicate string.
40238 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
40240         [BZ #17273]
40241         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40242         and tabs from buffer before parsing fstab entry.
40243         * misc/tst-mntent.c (main): Add test for mount entry with
40244         trailing spaces and tabs.
40246 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
40248         [BZ #17748]
40249         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
40250         * math/fesetround.c (fesetround): Rename to __fesetround and
40251         define as weak alias of __fesetround.  Use libm_hidden_weak.
40252         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40253         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40254         * sysdeps/arm/fesetround.c (fesetround): Likewise.
40255         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40256         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40257         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40258         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40259         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40260         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40261         __fesetround_inline.
40262         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40263         __fesetround_inline instead of __fesetround.
40264         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40265         __fesetround and define as weak alias of __fesetround.  Use
40266         libm_hidden_weak.  Call __fesetround_inline instead of
40267         __fesetround.
40268         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40269         __fesetround and define as weak alias of __fesetround.  Use
40270         libm_hidden_weak.
40271         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40272         Likewise.
40273         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40274         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40275         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40276         * sysdeps/tile/math_private.h (__fesetround): New inline function.
40277         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40278         __fesetround and define as weak alias of __fesetround.  Use
40279         libm_hidden_weak.
40280         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40281         __fesetround instead of fesetround.
40282         (default_libc_feholdexcept_setround): Likewise.
40283         (libc_feholdsetround_ctx): Likewise.
40284         (libc_feholdsetround_noex_ctx): Likewise.
40286         [BZ #17748]
40287         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40288         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40289         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40290         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40291         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40292         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40293         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40294         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40295         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40296         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40297         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40298         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40299         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40300         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40301         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40302         libm_hidden_def.
40303         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40304         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40305         Likewise.
40306         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40307         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40308         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40309         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40310         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40311         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40312         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40313         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40314         __fesetenv instead of fesetenv.
40315         (libc_feresetround_noex_ctx): Likewise.
40316         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40317         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40318         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40319         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40320         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40321         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40322         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40323         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40324         (__feupdateenv): Likewise.
40325         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40326         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40327         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40328         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40330 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40332         [BZ #17806]
40333         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40334         addresses have been freed.
40336 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40338         * resolv/res_init.c (__res_vinit): Improve comments about nserv
40339         and nservall.
40341 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
40343         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40344         Clean up check_pf allocation pattern. addresses
40346 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40348         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40349         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40350         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40351         * nptl/pthread_exit.c (__pthread_exit): Likewise.
40352         * nptl/pthread_join.c (pthread_join): Likewise.
40353         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40354         * sysdeps/posix/waitid.c (__waitid): Likewise.
40355         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40356         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40357         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40358         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40360         Likewise.
40361         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40362         (__libc_pread64): Likewise.
40363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40364         (__libc_pwrite): Likewise.
40365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40366         (__libc_pwrite64): Likewsie.
40367         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40368         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40369         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40370         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40371         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40372         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40373         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40375         Likewise.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40377         (__libc_pread64): Likewise.
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40379         Likewise.
40380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40381         (__libc_pwrite64): Likewise.
40382         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40383         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40384         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40385         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40386         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40387         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40388         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40389         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40390         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40391         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40392         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40393         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40394         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40395         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40396         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40397         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40398         Likewise.
40400 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40402         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
40403         (CFLAGS-test-double.c): Likewise.
40404         (CFLAGS-test-ldouble.c): Likewise.
40405         (CPPFLAGS-test-ifloat.c): Likewise.
40406         (CPPFLAGS-test-idouble.c): Likewise.
40407         (CPPFLAGS-test-ildoubl.c): Likewise.
40408         (CFLAGS-test-test-fenv.c): Remove variable.
40409         (CFLAGS-test-misc.c): Likewise.
40411 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
40413         [BZ #17797]
40414         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40415         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40416         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40417         CLOCKS_PER_SEC == 1000000.
40418         * time/clocktest.c (main): Replace %ld with %jd and cast to
40419         intmax_t.
40421 2015-01-05  Roland McGrath  <roland@hack.frob.com>
40423         * sysdeps/generic/unwind-resume.h: New file.
40424         * sysdeps/gnu/unwind-resume.c: Include it.
40425         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40426         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40427         argument list.
40428         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40429         global rather than static.
40430         (_Unwind_Resume): Update user.
40431         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40432         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
40433         rather than static.  Add __attribute__ ((cold)).
40434         (_Unwind_Resume, __gcc_personality_v0): Update callers.
40435         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40436         * sysdeps/arm/arm-unwind-resume.S: New file.
40437         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40438         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40439         * sysdeps/arm/Makefile [$(subdir) = csu]
40440         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40441         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40442         Add rt-arm-unwind-resume.
40443         [$(subdir) = nptl]
40444         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40445         Add pt-arm-unwind-resume.
40446         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40447         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40449 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40451         [BZ #17748]
40452         * include/fenv.h (__feholdexcept): Declare.  Use
40453         libm_hidden_proto.
40454         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40455         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
40456         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40457         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40458         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40459         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40460         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40461         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40462         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40463         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40464         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40465         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40466         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40467         (feholdexcept): Likewise.
40468         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40469         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40470         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40471         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40472         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40473         __feholdexcept instead of feholdexcept.
40474         (default_libc_feholdexcept_setround): Likewise.
40476 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40478         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40479         to avoid using stl/str to align destination.
40481 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40483         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40485 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40487         [BZ #17796]
40488         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40489         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40490         Define as weak alias not strong alias.
40492 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40494         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40495         bltzal with addiupc.
40496         (RTLD_START): Ditto.
40498 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
40500         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40501         for __vdso_* functions in declarations.
40502         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40503         definitions.
40504         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40505         INTERNAL_VSYSCALL): Use struct return types to check for error.
40507         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40508         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40509         function with cast from llround().
40510         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40511         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40512         Define.
40514 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40516         [BZ #17793]
40517         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40518         Define as weak alias not strong alias.
40520         [BZ #17635]
40521         * ctype/ctype-c99.c: New file.  isblank implementation moved from
40522         ...
40523         * ctype/ctype-extn.c: ... here.
40524         (__isblank_l): Move to ...
40525         * ctype/ctype-c99_l.c: ... here.  New file.
40526         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40527         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40528         Remove variable.
40529         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40530         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40531         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40532         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40533         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40535         [BZ #17777]
40536         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40537         (posix_fadvise64): Define as weak alias not strong alias.
40538         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40539         (posix_fallocate64): Likewise.
40540         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40541         Remove variable.
40542         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40543         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40544         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40545         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40546         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40548 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
40550         [BZ #16191]
40551         * NEWS: Mention bug fix.
40552         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40553         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40554         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40555         (HOST_STACK_END_ADDR): Likewise.
40557 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40559         [BZ #17748]
40560         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
40561         * math/fegetround.c (fegetround): Rename to __fegetround and
40562         define as weak alias of __fegetround.  Use libm_hidden_weak.
40563         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40564         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40565         * sysdeps/arm/fegetround.c (fegetround): Likewise.
40566         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40567         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40568         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40569         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40570         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40571         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40572         Undefine after rather than before function definition; use
40573         parentheses around function name in definition.
40574         (__fegetround): Also undefine macro after function definition.
40575         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40576         __fegetround and define as weak alias of __fegetround.  Use
40577         libm_hidden_weak.  Do not undefine as macro.
40578         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40579         Likewise.
40580         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40581         __fegetround and define as weak alias of __fegetround.  Use
40582         libm_hidden_weak.
40583         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40584         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40585         * sysdeps/tile/math_private.h (__fegetround): New inline function.
40586         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40587         __fegetround and define as weak alias of __fegetround.  Use
40588         libm_hidden_weak.
40589         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40590         __fegetround instead of fegetround.
40592         [BZ #17782]
40593         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40594         Condition macro definition on [__USE_MISC].
40596         [BZ #17781]
40597         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40598         (struct sigaction): Change type of sa_flags field to int.
40600         [BZ #17780]
40601         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40602         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40603         __glibc_reserved0.
40605         * nptl/version.c (banner): Use single year in copyright notice.
40607         * NEWS: Update copyright dates.
40608         * catgets/gencat.c (print_version): Likewise.
40609         * csu/version.c (banner): Likewise.
40610         * debug/catchsegv.sh: Likewise.
40611         * debug/pcprofiledump.c (print_version): Likewise.
40612         * debug/xtrace.sh (do_version): Likewise.
40613         * elf/ldconfig.c (print_version): Likewise.
40614         * elf/ldd.bash.in: Likewise.
40615         * elf/pldd.c (print_version): Likewise.
40616         * elf/sotruss.sh: Likewise.
40617         * elf/sprof.c (print_version): Likewise.
40618         * iconv/iconv_prog.c (print_version): Likewise.
40619         * iconv/iconvconfig.c (print_version): Likewise.
40620         * locale/programs/locale.c (print_version): Likewise.
40621         * locale/programs/localedef.c (print_version): Likewise.
40622         * login/programs/pt_chown.c (print_version): Likewise.
40623         * malloc/memusage.sh (do_version): Likewise.
40624         * malloc/memusagestat.c (print_version): Likewise.
40625         * malloc/mtrace.pl: Likewise.
40626         * manual/libc.texinfo: Likewise.
40627         * nptl/version.c (banner): Likewise.
40628         * nscd/nscd.c (print_version): Likewise.
40629         * nss/getent.c (print_version): Likewise.
40630         * nss/makedb.c (print_version): Likewise.
40631         * posix/getconf.c (main): Likewise.
40632         * scripts/test-installation.pl: Likewise.
40633         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40635 2015-01-02  Will Newton  <will.newton@linaro.org>
40637         * sysdeps/arm/armv7/configure: Removed.
40638         * sysdeps/arm/armv7/configure.ac: Likewise.
40640 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40642         * All files with FSF copyright notices: Update copyright dates
40643         using scripts/update-copyrights.
40644         * intl/plural.c: Regenerated.
40645         * locale/programs/charmap-kw.h: Likewise.
40646         * locale/programs/locfile-kw.h: Likewise.
40648 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40650         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40652 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40654         [BZ #17748]
40655         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40656         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40657         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40658         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40659         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40660         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40661         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40662         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40663         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40664         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40665         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40666         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40667         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40668         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40669         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40670         libm_hidden_def.
40671         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40672         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40673         Likewise.
40674         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40675         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40676         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40677         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40678         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40679         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40680         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40681         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40682         __fegetenv instead of fegetenv.
40683         (libc_feholdsetround_noex_ctx): Likewise.
40685 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40687         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40688         (Elf_MIPS_ABIFlags_v0): New structure.
40689         (EF_MIPS_FP64): Define.
40690         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40691         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40692         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40693         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40694         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40695         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40696         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40697         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40698         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40699         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40700         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40701         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40702         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40703         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40704         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40705         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40706         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40707         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40708         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40709         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40710         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40711         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40712         field.
40713         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40714         EF_MIPS_FP64.
40715         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40716         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40717         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40718         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40719         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40720         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40721         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40722         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40723         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40724         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40725         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40726         record the current FP ABI extension.
40727         (mips-mode-switch): Define to show if kernel headers support mode
40728         switching.
40729         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40730         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40731         supported SYSV ABI version to 3.
40732         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40733         feature.
40735 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40736             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40738         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40739         path.
40740         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40742 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40744         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40745         __fegetround and redefine to call __fegetround.  Remove condition
40746         on [!__NO_MATH_INLINES].
40747         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40748         function.
40749         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40750         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40751         Remove macro.
40752         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40753         instead of <fenv_libc.h>.
40754         (__llrintl): Call fegetround instead of __fegetround.
40755         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40756         instead of <fenv_libc.h>.
40757         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40758         (__lrintl): Call fegetround instead of __fegetround.
40759         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40760         instead of <fenv_libc.h>.
40761         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40762         (__rintl): Call fegetround instead of __fegetround.
40764 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40766         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40767         arrays.
40769 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40771         [BZ #17775]
40772         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40773         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40774         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40776 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40778         * sysdeps/i386/tls-macros.h: Include <features.h>.
40779         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40780         (TLS_IE): Likewise.
40781         (TLS_LD): Likewise.
40782         (TLS_GD): Likewise.
40783         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40784         define for GCC >= 5.0.
40786 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40788         * math/test-fenv.c (test_single_exception, set_single_exc,
40789         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40790         feexcp_mask_test, feenable_test, fe_single_test): Add
40791         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40792         case where they are not used.
40793         * math/libm-test.inc: Likewise.
40794         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40795         unused in the absence of FP rounding/exception support.
40796         * stdio-common/tst-printf-round.c: Likewise.
40797         * stdlib/tst-strtod-round.c: Likewise.
40798         * stdlib/tst-strtod-underflow.c: Likewise.
40800 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40802         [BZ #17723]
40803         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40804         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40805         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40806         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40807         libm_hidden_weak.
40808         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40809         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40810         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40811         libm_hidden_def.
40812         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40813         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40814         libm_hidden_weak.
40815         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40816         Likewise.
40817         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40818         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40819         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40820         libm_hidden_weak.
40821         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40822         libm_hidden_def.
40823         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40824         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40825         (__feraiseexcept): Likewise.
40826         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40827         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40828         libm_hidden_weak.
40829         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40830         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40831         libm_hidden_def.
40832         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40833         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40834         Use libm_hidden_def.
40835         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40836         libm_hidden_def.
40837         (feraiseexcept): Define as weak not strong alias.  Use
40838         libm_hidden_weak.
40839         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40840         New inline function.  Factored out of ...
40841         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40842         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40843         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40844         feraiseexcept.
40845         * math/w_acos.c (__acos): Likewise.
40846         * math/w_asin.c (__asin): Likewise.
40847         * math/w_ilogb.c (__ilogb): Likewise.
40848         * math/w_j0.c (y0): Likewise.
40849         * math/w_j1.c (y1): Likewise.
40850         * math/w_jn.c (yn): Likewise.
40851         * math/w_log.c (__log): Likewise.
40852         * math/w_log10.c (__log10): Likewise.
40853         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40854         * sysdeps/aarch64/fpu/math_private.h
40855         (libc_feupdateenv_test_aarch64): Likewise.
40856         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40857         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40858         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40859         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40860         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40861         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40862         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40863         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40864         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40865         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40867 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40869         [BZ #17732]
40870         * io/test-utime.c (main): Replace %ld with %jd and cast to
40871         intmax_t.
40872         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40873         * nptl/tst-mutex5.c: Include <stdint.h>.
40874         (do_test): Replace %ld with %jd and cast to intmax_t.
40875         * posix/tst-regex.c (run_test): Likewise.
40876         (run_test_backwards): Likewise.
40877         * rt/tst-clock.c: Include <stdint.h>.
40878         (clock_test): Replace %ld with %jd and cast to intmax_t.
40879         * rt/tst-cpuclock1.c: Include <stdint.h>.
40880         (do_test): Replace %lu with %ju and cast to uintmax_t.
40881         * rt/tst-cpuclock2.c: Include <stdint.h>.
40882         (do_test): Replace %lu with %ju and cast to uintmax_t.
40883         * rt/tst-mqueue1.c: Include <stdint.h>.
40884         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40885         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40886         intmax_t.
40887         * rt/tst-mqueue4.c (do_test): Likewise.
40888         * rt/tst-timer4.c: Include <stdint.h>.
40889         (check_ts): Replace %ld with %jd and cast to intmax_t.
40890         (do_test): Likewise.
40891         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40892         and cast to intmax_t.
40893         * sysdeps/pthread/tst-timer.c (main): Likewise.
40894         * time/clocktest.c (main): Likewise.
40895         * time/tst-posixtz.c (do_test): Likewise.
40896         * timezone/tst-timezone.c (main): Likewise.
40898 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40899             H.J. Lu  <hongjiu.lu@intel.com>
40901         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40902         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40903         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40904         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40905         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40906         version if bit_Fast_Unaligned_Load is set.
40907         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40908         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40909         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40910         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40911         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40912         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40914         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40915         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40916         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40917         to 4.
40918         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40919         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40920         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40921         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40923 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40925         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40926         instead of #if to avoid a Wundef warning.
40927         * stdlib/tst-limits.c (do_test): Likewise.
40929         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40930         parallel other exception macros.
40931         (fegetenv): Convert from macro to extern inline so that it applies
40932         retroactively to inline functions already seen by the compiler.
40933         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40935         * posix/Makefile (before-compile): Use $(objpfx) for
40936         posix-conf-vars-def.h.
40938 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40940         * posix/getconf.c (main): Use size_t for type of I.
40941         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40942         NSPEC.
40944         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40945         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40946         * posix/posix-envs.def: Likewise.
40947         * sysdeps/posix/sysconf.c: Likewise.
40948         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40949         (specs): Remove array.
40950         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40951         array.
40953         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40954         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40955         (__sysconf): Use CONF_IS_* macros.
40957         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40958         ($(objpfx)posix-conf-vars-def.h): New target.
40959         * posix/posix-conf-vars.list: New file.
40960         * posix/posix-conf-vars.h: New file.
40961         * posix/confstr.c: Include posix-conf-vars.h.
40962         (confstr): Use CONF_IS_* macros.
40963         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40964         CONF_IS_* macros.
40965         * scripts/gen-posix-conf-vars.awk: New file.
40967 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40969         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40970         fegetround): Add no-op macros to avoid linknamespace issues.
40972         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40973         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40975         * sysdeps/unix/sysv/linux/tile/sysdep.h
40976         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40977         assembly-specific section to avoid a redefinition warning.
40979         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40980         long before casting to pointer to avoid a cast warning.
40982 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40984         * sysdeps/tile/tilegx/Implies: New file.
40986 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40988         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40990 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40992         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40994 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40997         not define.
40998         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40999         <kernel-features.h>.
41000         (__utimes) [__NR_utimes]: Make code unconditional.
41001         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41002         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41003         (__ASSUME_UTIMES): Do not undefine.
41004         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41005         (__ASSUME_UTIMES): Likewise.
41006         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41007         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41008         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41009         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41011 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41013         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41015 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41017         [BZ #17747]
41018         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41019         alias to weak alias for j0l, y0l.
41020         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41021         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41023         [BZ #17746]
41024         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41025         conversion.
41027 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41029         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41030         to zero if not already defined.
41032 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41034         [BZ #17724]
41035         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41036         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41037         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41038         (char *) casts added.
41039         * sysdeps/ieee754/k_standardf.c: New file.
41040         * sysdeps/ieee754/k_standardl.c: Likewise.
41041         * math/Makefile (libm-support): Remove k_standard.
41042         (libm-calls): Add k_standard.
41044 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41046         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41047         Optimize to avoid an unnecessary FPCR read.
41049 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41051         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41052         Optimize to reduce FPCR/FPSR accesses.
41054 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41056         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41057         Call libc_fetestexcept_aarch64.
41059 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41061         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41062         Call libc_fesetround_aarch64.
41064 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41066         [BZ #17733]
41067         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41068         (__bind): Do not define as weak alias.
41069         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41070         define.
41071         (__getsockname): Do not define as weak alias.
41073 2014-12-22  Will Newton  <will.newton@linaro.org>
41075         * manual/install.texi: Document that we require bison 2.7
41076         or above.
41077         * INSTALL: Regenerate.
41078         * configure.ac: Use AC_CHECK_PROG_VER instead of
41079         AC_PATH_PROG when checking for bison and check for
41080         version 2.7 or above.
41081         * configure: Regenerate.
41083 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41085         [BZ #17745]
41086         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41087         * sysdeps/tile/ffsll.c (ffsll): To here.
41089         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41091 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41093         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41094         if not defined.
41095         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41096         definition.
41097         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41098         hidden ___tls_get_addr.
41099         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41100         hidden __tls_get_addr.
41101         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41102         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41103         Likewise.
41105 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41107         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41108         _dl_init call.
41110 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41112         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41113         from "call _dl_init@PLT".
41114         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41116 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
41118         * manual/search.texi: (Array Sort Function): Clarify stable sorting
41119         guarantees.
41121 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
41123         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41125 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41127         [BZ #17744]
41128         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41129         strnlen.
41131 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41133         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41134         of multu on MIPSr6.
41135         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41136         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41137         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41138         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41139         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41141 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41143         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41144         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41145         (PTR_SUBU): Use subu for mips32r6/mips64r6.
41146         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41147         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41148         mips32r6/mips64r6.
41149         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41151 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
41153         * string/strncat.c (STRNCAT): Simplify implementation.
41155 2014-12-19  David S. Miller  <davem@davemloft.net>
41157         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41158         access the quad as both a long double and as a series of 4 words.
41160         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41161         link_map->l_info array access.
41163 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41165         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41167         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41168         * math/atest-exp2.c (TIMEOUT): Likewise.
41169         * math/atest-sincos.c (TIMEOUT): Likewise.
41171 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41173         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41174         -Wno-error with -fno-builtin-lround.
41176 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41178         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41179         Contains futex constants and functions moved over from ...
41180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
41181         <lowlevellock-futex.h>.
41182         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41183         (lll_timedwait_tid): Add comments and parentheses around macro
41184         arguments.
41186 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41189         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
41190         (__lll_private_flag): Remove.
41191         (lll_futex_wait): Likewise.
41192         (lll_futex_timed_wait): Likewise.
41193         (lll_futex_wake): Likewise.
41194         (lll_futex_requeue): Likewise.
41195         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41196         (__lll_timedwait_tid): Spell out argument names.
41197         (lll_timedwait_tid): Add comments and parentheses around macro
41198         arguments.
41199         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41200         LLL_SHARED and LLL_PRIVATE usable from assembly code.
41202 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41204         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41205         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41206         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41207         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41208         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41209         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41210         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41211         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41212         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41215         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41218         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41219         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41220         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41221         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41222         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41224 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41226         * sysdeps/x86_64/x32/Makefile: New file.
41228 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41230         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41231         1L with (mp_limb_t) 1.
41233 2014-12-17  Roland McGrath  <roland@hack.frob.com>
41235         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41236         * nptl/libc_pthread_init.c: ... here.
41237         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41238         * nptl/register-atfork.c: ... here.
41240         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41241         Use pthread_sigmask rather than INTERNAL_SYSCALL.
41242         Use assert_perror to check its return value.
41243         (__gai_create_helper_thread): Likewise.
41245         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41247         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41249 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
41251         [BZ #17725]
41252         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41253         __profil_counter.
41254         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41255         Likewise.
41256         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41257         Likewise.
41258         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41259         Likewise.
41260         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41261         (profil_counter): Likewise.
41262         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41263         (profil_counter): Likewise.
41264         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41265         Likewise.
41266         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41267         Likewise.
41268         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41269         (profil_counter): Likewise.
41270         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41271         Likewise.
41272         [!__profil_counter] (profil_counter): Define as weak alias of
41273         __profil_counter.
41274         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41275         (profil_counter): Rename to __profil_counter.
41276         [!__profil_counter] (profil_counter): Define as weak alias of
41277         __profil_counter.
41278         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41279         (profil_counter): Rename to __profil_counter.
41280         [!__profil_counter] (profil_counter): Define as weak alias of
41281         __profil_counter.
41282         * sysdeps/posix/profil.c: Update comment referring to
41283         profil_counter.
41284         (__profil): Use __profil_counter instead of profil_counter.
41285         * sysdeps/posix/sprofil.c (profil_counter): Rename to
41286         __profil_counter.  Use __profil_counter_ushort and
41287         __profil_counter_uint in definitions.
41288         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41289         instead of profil_counter_uint and profil_counter_ushort.
41291         [BZ #17722]
41292         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41293         define as weak alias of __inet_makeaddr.
41294         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41295         as weak alias of __inet_addr.
41296         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41297         as weak alias of __inet_pton.  Use libc_hidden_weak.
41298         * include/arpa/inet.h (__inet_pton): Declare.  Use
41299         libc_hidden_proto.
41300         (inet_makeaddr): Don't use libc_hidden_proto.
41301         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
41302         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41303         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
41304         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41305         Remove variable.
41306         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41307         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41309 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
41311         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41313 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41315         * stdio-common/bug-vfprintf-nargs.c (do_test):
41316         Cast value to intptr_t to avoid format warning
41317         for usage with PRIdPTR printing macro.
41319 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41321         * libio/tst-widetext.c (do_test):
41322         Use format type %td instead of %Zd for ptrdiff_t
41323         in order to avoid format warning.
41325 2014-12-17  Andreas Schwab  <schwab@suse.de>
41327         * nscd/mem.c (gc): Add size_t cast to match printf format.
41329 2014-12-16  Roland McGrath  <roland@hack.frob.com>
41331         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41332         (init): Apply PTR_MANGLE to pointers before storing them.
41333         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41334         before using them.
41336 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
41338         [BZ #17719]
41339         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41340         define as weak alias of __memrchr.
41341         (__memrchr): Do not define as strong alias of memrchr.
41342         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41343         Remove variable.
41344         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41345         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41346         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41348         [BZ #17717]
41349         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41350         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
41351         (if_indextoname): Rename to __if_indextoname and define as weak
41352         alias of __if_indextoname.  Use libc_hidden_weak.
41353         (if_freenameindex): Rename to __if_freenameindex and define as
41354         weak alias of __if_freenameindex.
41355         (if_nameindex): Rename to __if_nameindex and define as weak alias
41356         of __if_nameindex.
41357         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41358         __if_nametoindex and define as weak alias of __if_nametoindex.
41359         Use libc_hidden_weak.
41360         (if_freenameindex): Rename to __if_freenameindex and define as
41361         weak alias of __if_freenameindex.
41362         (if_nameindex): Rename to __if_nameindex and define as weak alias
41363         of __if_nameindex.
41364         (if_indextoname): Rename to __if_indextoname and define as weak
41365         alias of __if_indextoname.  Use libc_hidden_weak.
41366         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41367         __if_nametoindex and define as weak alias of __if_nametoindex.
41368         Use libc_hidden_weak.
41369         (if_freenameindex): Rename to __if_freenameindex and define as
41370         weak alias of __if_freenameindex.  Use libc_hidden_weak.
41371         (if_nameindex_netlink): Use __if_freenameindex instead of
41372         if_freenameindex.
41373         (if_nameindex): Rename to __if_nameindex and define as weak alias
41374         of __if_nameindex.  Use libc_hidden_weak.
41375         (if_indextoname): Rename to __if_indextoname and define as weak
41376         alias of __if_indextoname.  Use libc_hidden_weak.
41377         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41378         libc_hidden_proto.
41379         [!_ISOMAC] (__if_freenameindex): Likewise.
41380         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41381         if_nametoindex.
41382         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41383         variable.
41384         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41385         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41386         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41387         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41388         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41389         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41390         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41392         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41393         Remove variable.
41394         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41395         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41397 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41399         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
41400         subscript above bounds'
41402         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
41403         bounds.
41405 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
41407         * libio/tst-fopenloc.c: Use test-skeleton.c.
41409         * stdlib/tst-bsearch.c: Use test-skeleton.c.
41410         (entry): Rename to ITEM.
41411         (do_test, comp): Adjust.
41413         * stdio-common/tst-fseek.c: Use test-skeleton.c.
41415 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41417         * string/tester.c: Include <libc-internal.h>.
41418         (test_memset): Ignore -Wmemset-transposed-args.
41420 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41422         * misc/tst-mntent2.c (do_test): Fix warning.
41424 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41426         * elf/tst-unique4lib.cc(a): Mark as used.
41428 2014-12-16  Florian Weimer  <fweimer@redhat.com>
41430         [BZ #17630]
41431         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41432         names.
41434 2014-12-16  Allan McRae  <allan@archlinux.org>
41436         * stdio-common/Makefile (tests): Re-add bug26.
41438 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
41440         [BZ #17657]
41441         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41442         static array.
41444 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
41446         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41447         (__lll_lock_wait): Likewise.
41448         (__lll_timedlock_wait): Likewise.
41449         (__lll_timedwait_tid): Likewise.
41450         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41451         (__lll_robust_timedlock_wait): Likewise.
41452         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41453         (lll_cond_trylock): Likewise.
41454         (__lll_lock): Likewise.
41455         (__lll_robust_lock): Likewise.
41456         (__lll_cond_lock): Likewise.
41457         (lll_robust_cond_lock): Likewise.
41458         (__lll_timedlock): Likewise.
41459         (__lll_robust_timedlock): Likewise.
41460         (__lll_unlock): Likewise.
41461         (__lll_robust_unlock): Likewise.
41462         (lll_wait_tid): Likewise.
41463         (lll_timedwait_tid): Likewise.
41465 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41467         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41469 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41471         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41473 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41475         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41476         * stdio-common/tst-sprintf.c: Likewise.
41478 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41480         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41482 2014-12-15  Jeff Law  <law@redhat.com>
41484         [BZ #16617]
41485         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41486         on the heap.  (CVE-2012-3406)
41487         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41488         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
41489         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41491 2014-12-15  Will Newton  <will.newton@linaro.org>
41493         * manual/install.texi: Bump required version of texinfo
41494         to 4.7 from 4.5.
41495         * INSTALL: Regenerated.
41496         * configure.ac: Check for makeinfo version 4.7 and above.
41497         * configure: Regenerated.
41499 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41501         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41502         PREFIX, string constant to insert between directory and name.
41503         * sysdeps/posix/shm_open.c: Update caller.
41504         * sysdeps/posix/shm_unlink.c: Likewise.
41505         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41506         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41507         (SEM_SHM_PREFIX): New macro.
41508         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41509         [$(have-thread-library) = no].
41510         * nptl/Makefile (libpthread-routines): Add shm-directory.
41511         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41512         * sysdeps/nptl/shm-directory.h: New file.
41513         * sysdeps/posix/shm-directory.c
41514         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41515         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41516         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41517         INTERNAL_SYSCALL.
41518         (__where_is_shmfs): Function removed.
41519         (mountpoint, defaultmount, defaultdir, __namedsem_once):
41520         Variables removed.
41521         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41522         Use SHM_GET_NAME.
41523         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
41525         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41526         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41527         unconditional for use inside libpthread.
41528         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41530 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41532         * nptl/pthread_getaffinity.c: New file.
41533         * nptl/pthread_setaffinity.c: New file.
41534         * nptl/pthread_getname.c: New file.
41535         * nptl/pthread_setname.c: New file.
41537         * nptl/pthread_create.c (START_THREAD_DEFN)
41538         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41540 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41541             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41543         * resolv/res_send.c (send_vc): Disable warning resplen may
41544         be used uninitialized.
41546 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41548         * nptl/tst-mutex6.c
41549         (ATTR_NULL): New define checks ATTR against NULL.
41550         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41551         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41553 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
41555         [BZ #17581]
41556         * malloc/hooks.c
41557         (mem2mem_check): Revert my previous change.
41558         (malloc_check_get_size): Revert my previous change.
41559         (mem2chunk_check): Revert my previous change.
41561 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41563         * sysdeps/posix/shm-directory.c: New file.
41564         * sysdeps/posix/shm-directory.h: New file.
41565         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41566         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41567         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
41568         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41569         Transmute EPERM to EACCES.
41570         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41571         from ...
41572         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
41573         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41575 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41577         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41578         pointer and cast to uintptr_t.
41579         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41580         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41581         Add cast to avoid warning.
41582         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41584 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41586         * nptl/semaphore.h: Move to ...
41587         * sysdeps/pthread/semaphore.h: ... here.
41588         * Makefile (installed-headers): Change nptl/semaphore.h to
41589         sysdeps/pthread/semaphore.h.
41591 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41593         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41594         generated error format strings.
41596         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41597         -Wformat-extra-args warnings for scanf formats.
41598         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41599         test of zero-length format (duh).
41600         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41601         corner-case scanf format test.
41602         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41603         generated fprintf format string.
41604         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41605         corner-case sprintf format tests.
41606         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41607         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41608         -Wformat-extra-args warnings throughout.
41609         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41610         (CFLAGS-scanf4.c): Likewise.
41611         (CFLAGS-scanf7.c): Likewise.
41612         (CFLAGS-tst-sprintf.c): Likewise.
41613         (CFLAGS-tst-printf.c): Likewise.
41614         (CFLAGS-tst-printfsz.c): Likewise.
41616 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41618         * include/cpio.h: New file.
41619         * include/fmtmsg.h: Likewise.
41621         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
41622         corresponding format argument to size_t.
41623         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
41624         arguments.
41625         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
41626         corresponding format argument to size_t.
41627         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
41628         arguments.
41629         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
41630         corresponding format argument to size_t.
41631         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41632         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41633         (CFLAGS-tst-mbswcs2.c): Likewise.
41634         (CFLAGS-tst-mbswcs3.c): Likewise.
41635         (CFLAGS-tst-mbswcs4.c): Likewise.
41636         (CFLAGS-tst-mbswcs5.c): Likewise.
41637         (CFLAGS-tst-trans.c): Likewise.
41639 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41641         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41642         rather than assuming they won't contain any '%'s.
41644 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41646         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41647         inhibit_loop_to_libcall to avoid recursive calls.
41648         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41649         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41651 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41653         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41654         prototype.
41656 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41658         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41659         integer value instead of boolean.
41661 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41663         * malloc/malloc.c: Fix powerof2 check.
41665 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41667         * locale/programs/locfile.h (maybe_swap_uint32):
41668         Remove inline and add unused attribute.
41670 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41673         Truncating assembler expression to a .long expression.
41675 2014-12-11  Andreas Schwab  <schwab@suse.de>
41677         * elf/rtld.c (struct map_args): Constify str member.
41678         (do_preload): Constify fname argument.
41680 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41683         constants definition.
41685 2014-12-11  Andreas Schwab  <schwab@suse.de>
41687         [BZ #16657]
41688         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41689         FORCE_ELISION instead of DO_ELISION.
41690         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41691         Remove.
41692         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41693         Likewise.
41695         * iconvdata/gconv-modules: Remove duplicate entry.
41697 2014-12-11  Will Newton  <will.newton@linaro.org>
41699         Merge gettext 0.19.3 into intl/.
41701         This involves a number of cosmetic changes to comments
41702         and ANSI function definitions and prototypes throughout
41703         all the files. The gettext copyright header is used but
41704         with the date ranges taken from the glibc copy.
41706         * NEWS: Add gettext merge to 2.21.
41707         * intl/bindtextdom.c: Switch to gettext copyright.
41708         Use ANSI definitions and prototypes.
41709         Use gl_* locking primitives rather than __libc_* ones.
41710         Use __builtin_expect rather than __glibc_likely/unlikely.
41711         * intl/dcgettext.c: Switch to gettext copyright.
41712         Use ANSI definitions and prototypes.
41713         * intl/dcigettext.c: Switch to gettext copyright.
41714         Use ANSI definitions and prototypes.
41715         (INTDIV0_RAISES_SIGFPE): New define.
41716         Use gl_* locking primitives rather than __libc_* ones.
41717         Include eval-plural.h instead of plural-eval.c.
41718         Use __builtin_expect rather than __glibc_likely/unlikely.
41719         * intl/dcngettext.c: Switch to gettext copyright.
41720         Use ANSI definitions and prototypes.
41721         * intl/dgettext.c: Likewise.
41722         * intl/dngettext.c: Likewise.
41723         * intl/plural-eval.c: Renamed to...
41724         * intl/eval-plural.h: ...this.
41725         * intl/explodename.c: Switch to gettext copyright.
41726         Use ANSI definitions and prototypes.
41727         (_nl_explode_name): Use strchr instead of __rawmemchr.
41728         * intl/finddomain.c: Switch to gettext copyright.
41729         Use ANSI definitions and prototypes.
41730         Use gl_* locking primitives rather than __libc_* ones.
41731         (_nl_find_domain): Use malloc rather than alloca for
41732         allocation of temporary locale name.
41733         * intl/gettext.c: Switch to gettext copyright.
41734         Use ANSI definitions and prototypes.
41735         * intl/gettextP.h: Switch to gettext copyright.
41736         Use ANSI definitions and prototypes.
41737         Use gl_* locking primitives rather than __libc_* ones.
41738         * intl/gmo.h: Switch to gettext copyright.
41739         (struct sysdep_string): Move struct segment_pair outside of
41740         struct definition.
41741         * intl/hash-string.c: Use ANSI definitions and prototypes.
41742         * intl/hash-string.h: Switch to gettext copyright.
41743         Use ANSI definitions and prototypes.
41744         * intl/l10nflist.c: Switch to gettext copyright.
41745         Use ANSI definitions and prototypes.
41746         (_nl_normalize_codeset): Avoid integer overflow.
41747         * intl/loadinfo.h: Switch to gettext copyright.
41748         Use ANSI definitions and prototypes.
41749         (LIBINTL_DLL_EXPORTED): New define.
41750         (PATH_SEPARATOR): New define.
41751         * intl/loadmsgcat.c: Switch to gettext copyright.
41752         * intl/localealias.c: Switch to gettext copyright.
41753         Use ANSI definitions and prototypes.
41754         (_nl_expand_alias): Use PATH_SEPARATOR.
41755         * intl/ngettext.c: Switch to gettext copyright.
41756         Use ANSI definitions and prototypes.
41757         * intl/plural-exp.c: Likewise.
41758         * intl/plural-exp.h: Switch to gettext copyright.
41759         Use ANSI definitions and prototypes.
41760         (struct expression): Move definition of enum operator outside
41761         of struct definition.
41762         * intl/plural.c: Regenerate.
41763         * intl/plural.y: Switch to gettext copyright.
41764         Use ANSI definitions and prototypes.
41765         Port to bison 3.0.
41766         * intl/textdomain.c: Switch to gettext copyright.
41767         Use ANSI definitions and prototypes.
41768         Use gl_* locking primitives rather than __libc_* ones.
41770 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41772         * debug/warning-nop.c: Add used atrribute.
41774 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41776         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41778         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41779         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41780         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41782 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41783             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41785         [BZ #17634]
41786         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41787         Undefine after defining function.  Define as weak alias of
41788         __wcschr.  Use libc_hidden_weak.
41789         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41790         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41791         (libc_hidden_def): Also define __GI___wcschr alias.
41792         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41793         __wcschr and define as weak alias of __wcschr.
41794         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41795         __wcschr.
41796         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41797         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41798         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41799         libc_hidden_weak.  Do not use libc_hidden_def.
41800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41801         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41802         __GI___wcschr alias.
41803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41804         [IS_IN (libc)] (wcschr): Define as macro expanding to
41805         __redirect_wcschr.
41806         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41807         [IS_IN (libc)] (__wcschr_power6): Likewise.
41808         [IS_IN (libc)] (__wcschr_power7): Likewise.
41809         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41810         instead of wcschr.
41811         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41812         __libc_wcschr.
41813         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41814         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41815         __wcschr and define as weak alias of __wcschr.  Use
41816         libc_hidden_builtin_def.
41817         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41818         as weak alias of __wcschr.  Use libc_hidden_weak.
41819         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41820         wcschr.
41821         * time/era.c (_nl_init_era_entries): Likewise.
41822         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41823         variable.
41824         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41825         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41827 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41829         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41830         format for long int variable.
41832 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41834         [BZ #10672]
41835         * manual/search.texi: (Array Sort Function): Remove claim how to make
41836         qsort stable.
41838 2014-12-10  Andreas Schwab  <schwab@suse.de>
41840         [BZ #12847]
41841         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41842         user-controlled locks.
41844 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41846         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41847         register.
41849 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41851         * configure.ac (--disable-werror): New configure option.
41852         (enable_werror): New AC_SUBST.
41853         * configure: Regenerated.
41854         * config.make.in (enable-werror): New variable.
41855         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41856         -Wno-error=undef.
41857         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41858         * manual/install.texi (Configuring and compiling): Document
41859         --disable-werror.
41860         * INSTALL: Regenerated.
41861         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41862         (CFLAGS-tst-chk2.c): Likewise.
41863         (CFLAGS-tst-chk3.c): Likewise.
41864         (CFLAGS-tst-chk4.cc): Likewise.
41865         (CFLAGS-tst-chk5.cc): Likewise.
41866         (CFLAGS-tst-chk6.cc): Likewise.
41867         (CFLAGS-tst-lfschk1.c): Likewise.
41868         (CFLAGS-tst-lfschk2.c): Likewise.
41869         (CFLAGS-tst-lfschk3.c): Likewise.
41870         (CFLAGS-tst-lfschk4.cc): Likewise.
41871         (CFLAGS-tst-lfschk5.cc): Likewise.
41872         (CFLAGS-tst-lfschk6.cc): Likewise.
41874         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41875         (main): Disable -Wdeprecated-declarations around calls to
41876         register_printf_function.
41878         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41879         (do_test): Disable -Wdiv-by-zero around some calls to
41880         fwrite_unlocked and fread_unlocked.
41882         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41883         (DIAG_POP_NEEDS_COMMENT): Likewise.
41884         (_DIAG_STR1): Likewise.
41885         (_DIAG_STR): Likewise.
41886         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41887         * stdio-common/bug21.c: Include <libc-internal.h>.
41888         (do_test): Disable -Wformat around call to sscanf.
41889         * stdio-common/scanf14.c: Include <libc-internal.h>.
41890         (main): Disable -Wformat around some calls to scanf functions.
41892 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41894         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41896 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41898         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41899         stack variable alignment.
41901 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41903         [BZ #17682]
41904         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41905         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41906         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41907         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41908         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41909         __getrlimit instead of getrlimit.
41910         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41911         __gettimeofday instead of gettimeofday.
41912         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41913         Likewise.
41914         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41915         Likewise.
41916         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41917         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41918         Remove variable.
41919         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41920         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41922 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41924         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41925         for wide-character tests.
41927 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41929         * io/openat64.c: #include <libc-internal.h>
41930         (__openat64): Prototypify.  Use ignore_value on MODE.
41931         * io/openat.c: Likewise.
41932         * misc/reboot.c: #include <libc-internal.h>
41933         (reboot): Prototypify.  Use ignore_value on HOWTO.
41934         * misc/ptrace.c: #include <libc-internal.h>
41935         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41937 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41939         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41940         XPG4, UNIX98 and XOPEN2K.
41941         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41942         Remove variable.
41943         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41945 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41947         * libio/fileops.c: Use ISO C style for function definitions.
41948         * libio/iofopen.c: Likewise.
41949         * libio/wfileops.c: Likewise.
41951         [BZ #17653]
41952         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41953         offset on EOF.
41954         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41955         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41956         (fgets_func): Function pointer to fgets and fgetws.
41957         (do_ftell_test): Add test to verify ftell value after read
41958         EOF.
41959         (do_test): Set fgets_func.
41961         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41962         O_TRUNC flag for w and w+ modes.
41963         (do_rewind_test): Likewise.
41964         (do_ftell_test): Likewise.
41965         (do_write_test): Likewise.
41967         [BZ #17647]
41968         * libio/fileops.c (do_ftell): Seek only when there are
41969         unflushed writes.
41970         * libio/wfileops.c (do_ftell_wide): Likewise.
41971         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41972         test case.
41973         (do_one_test): Call it.
41975 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41977         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41978         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41979         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41980         Remove variable.
41981         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41982         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41983         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41985 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41987         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41988         Remove variable.
41989         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41991         [BZ #17668]
41992         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41993         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41994         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41995         __freeifaddrs.  Use libc_hidden_weak.
41996         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41997         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41998         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41999         __freeifaddrs.  Use libc_hidden_weak.
42000         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42001         __getifaddrs and define as weak alias of __getifaddrs.  Use
42002         libc_hidden_weak.
42003         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42004         __freeifaddrs.  Use libc_hidden_weak.
42005         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42006         Remove variable.
42007         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42008         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42010 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42012         [BZ #17601]
42013         * sysdeps/mips/start.S (__start): Use indirect jump to call
42014         __libc_start_main.
42016 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42018         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42020         * nptl/tst-mutex1.c: Include <stdbool.h>.
42021         [!ATTR] (ATTR_NULL): New macro.
42022         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42023         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42024         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42026         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42027         to char *.
42029         [BZ #17665]
42030         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42031         Change conditional to [__USE_MISC].
42033         [BZ #17664]
42034         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42035         fgets_unlocked.
42036         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42037         __fgets_unlocked.
42038         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42039         fgets_unlocked.
42040         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42041         Remove variable.
42042         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42043         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42044         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42045         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42046         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42047         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42048         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42049         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42050         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42052         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42054 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42056         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42057         Remove strpbrk objects.
42058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42059         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42061         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42062         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42063         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42066         Remove strcspn objects.
42067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42068         (__libc_ifunc_impl_list): Remove strcspn implementation.
42069         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42070         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42071         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42072         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42074         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42075         Remove strspn objetcs.
42076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42077         (__libc_ifunc_impl_list): Remove strspn implementation.
42078         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42079         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42080         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42081         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42083 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42085         [BZ #17581]
42086         * malloc/hooks.c
42087         (mem2mem_check): Add a terminator to the chain of checking blocks.
42088         (malloc_check_get_size): Use it here.
42089         (mem2chunk_check): Ditto.
42091 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42093         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42094         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42096 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42098         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42100         * nptl/nptl-init.c: Include libc-internal.h.
42101         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42103         * elf/ldconfig.c (search_dir): Expand comment.
42105 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
42107         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42108         variable.
42109         (linknamespace-symlist-stdlibs-tests): Likewise.
42110         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42111         instead of $(objpfx)symlist-stdlibs.
42112         (linknamespace-libs-isoc): New variable.
42113         (linknamespace-libs): Use $(linknamespace-libs-isoc).
42114         (linknamespace-libs-ISO): New variable.
42115         (linknamespace-libs-ISO99): Likewise.
42116         (linknamespace-libs-ISO11): Likewise.
42117         (linknamespace-libs-XPG3): Likewise.
42118         (linknamespace-libs-XPG4): Likewise.
42119         (linknamespace-libs-POSIX): Likewise.
42120         (linknamespace-libs-UNIX98): Likewise.
42121         (linknamespace-libs-XOPEN2K): Likewise.
42122         (linknamespace-libs-POSIX2008): Likewise.
42123         (linknamespace-libs-XOPEN2K8): Likewise.
42124         ($(objpfx)symlist-stdlibs): Replace by
42125         $(linknamespace-symlist-stdlibs-tests).  Use
42126         $(linknamespace-libs-$*) as set of libraries.
42127         ($(linknamespace-header-tests)): Update dependencies.  Use
42128         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42129         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42130         * conform/linknamespace.pl: Remove comment about considering
42131         definitions of symbols from irrelevant libraries.
42133 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
42135         [BZ #13862]
42136         * elf/dl-tls.c: Include <atomic.h>.
42137         (oom): Remove #ifdef SHARED/#endif.
42138         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42139         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
42140         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42141         big enough.
42142         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42143         * nptl/Makefile (tests): Add tst-stack4.
42144         (modules-names): Add tst-stack4mod.
42145         ($(objpfx)tst-stack4): New.
42146         (tst-stack4mod.sos): Likewise.
42147         ($(objpfx)tst-stack4.out): Likewise.
42148         ($(tst-stack4mod.sos)): Likewise.
42149         (clean): Likewise.
42150         * nptl/tst-stack4.c: New file.
42151         * nptl/tst-stack4mod.c: Likewise.
42153 2014-11-27  J. Brown  <jb999@gmx.de>
42155         * sysdeps/x86/bits/string.h: Add recent CPUs.
42157 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42159         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42160         sigblock.
42162         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42163         feof.
42165         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42166         variable.
42168 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
42170         * nscd/connections.c: Include libc-internal.h because of macro
42171         usage ignore_value.
42173 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42175         * string/bits/string3.h (__warn_memset_zero_len): Don't
42176         declare for gcc newer than 5.0.
42177         (memset): Don't test for zero-length __LEN for gcc newer than
42178         5.0.
42180 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42182         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42183         size_t for %zu format.
42185         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42186         difference, not %ju.
42188 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42190         * include/libc-internal.h (ignore_value): New macro.
42191         * nscd/connections.c (restart): Wrap calls to setuid and setgid
42192         with ignore_value.
42194         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42195         definition.
42197         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42198         pthread_cleanup_push to void *.
42200         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42201         Undefine.
42203         [BZ #16619]
42204         [BZ #16740]
42205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42206         instead of 1L << 52.
42208         * libio/bug-rewind.c (do_test): Check fwscanf return values.
42209         * libio/bug-rewind2.c (do_test): Likewise.
42211         * debug/test-stpcpy_chk-ifunc.c: Remove file.
42212         * debug/test-strcpy_chk-ifunc.c: Likewise.
42213         * wcsmbs/test-wcschr-ifunc.c: Likewise.
42214         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42215         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42216         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42217         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42218         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42219         * Rules [$(multi-arch) = no] (tests): Do not filter out
42220         $(tests-ifunc).
42221         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42222         * debug/Makefile (tests-ifunc): Remove variable.
42223         (tests): Do not add $(tests-ifunc).
42224         * wcsmbs/Makefile (tests-ifunc): Remove variable.
42225         (tests): Do not add $(tests-ifunc).
42226         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42227         [TEST_IFUNC]: Remove conditionals.
42228         * string/test-string.h (TEST_IFUNC): Remove macro.
42229         [TEST_IFUNC]: Remove conditionals.
42231         * string/test-strchr.c [!WIDE] (L): New macro.
42232         [WIDE] (L): Likewise.
42233         (check1): Use CHAR instead of char.  Use L on string and character
42234         constants.
42236 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
42238         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42239         tests.
42240         * sysdeps/powerpc/bits/atomic.h
42241         (__arch_atomic_exchange_and_add_32_acq): Add definition.
42242         (__arch_atomic_exchange_and_add_32_rel): Likewise.
42243         (atomic_exchange_and_add_acq): Likewise.
42244         (atomic_exchange_and_add_rel): Likewise.
42245         * sysdeps/powerpc/powerpc32/bits/atomic.h
42246         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42247         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42248         * sysdeps/powerpc/powerpc64/bits/atomic.h
42249         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42250         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42252 2014-11-26  Torvald Riegel  <triegel@redhat.com>
42254         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42255         Change synchronization of __sched_fifo_min_prio and
42256         __sched_fifo_max_prio.
42257         * nptl/pthread_mutexattr_getprioceiling.c
42258         (pthread_mutexattr_getprioceiling): Likewise.
42259         * nptl/pthread_mutexattr_setprioceiling.c
42260         (pthread_mutexattr_setprioceiling): Likewise.
42261         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42262         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42263         Likewise.
42265 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42267         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42268         void.
42270 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42272         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42273         third argument const.
42275 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
42277         fnmatch: work around GCC compiler warning bug with uninit var
42278         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42279         This works around a bug with x86-64 GCC 4.9.2 and earlier
42280         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42281         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42282         used uninitialized in this function [-Wmaybe-uninitialized]".
42284 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42286         * posix/bug-regex31.c (main): Return RES not 0.
42288 2014-11-25  Anton Blanchard <anton@samba.org>
42290         * sysdeps/powerpc/bits/atomic.h
42291         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42293 2014-11-24  Sterling Augustine  <saugustine@google.com>
42295         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42297 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
42299         [BZ #17608]
42300         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42302 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
42304         [BZ #17633]
42305         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42306         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42307         variable.
42308         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42309         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42311 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42313         * string/strncpy.c (strncpy): Improve performance by using memset.
42315 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42317         * string/strcpy.c (strcpy):
42318         Improve performance by using strlen and memcpy.
42320 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
42322         * string/strcoll_l.c (get_next_seq): __always_inline.
42323         * string/strcoll_l.c (do_compare): __always_inline.
42325 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42327         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42328         defined.
42329         * include/mqueue.h: Likewise.
42330         * include/stdlib.h: Likewise.
42332         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42333         (get_null_defines): Adjust.
42334         * sunrpc/Makefile: Adjust comment.
42335         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42336         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42337         (CFLAGS-interp.c): Likewise.
42338         (CFLAGS-ldconfig.c): Likewise.
42339         (CPPFLAGS-.os): Likewise.
42340         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42341         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42342         * extra-modules.mk (extra-modules.mk): Likewise.
42343         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42344         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42345         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42346         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42347         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42348         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42349         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42350         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42351         * iconvdata/Makefile (CPPFLAGS): Likewise.
42352         (cpp-srcs-left): Add libof for all iconvdata routines.
42353         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42354         * include/assert.h: Likewise.
42355         * include/ctype.h: Likewise.
42356         * include/errno.h: Likewise.
42357         * include/libc-symbols.h: Likewise.
42358         * include/math.h: Likewise.
42359         * include/netdb.h: Likewise.
42360         * include/resolv.h: Likewise.
42361         * include/stdio.h: Likewise.
42362         * include/stdlib.h: Likewise.
42363         * include/string.h: Likewise.
42364         * include/sys/stat.h: Likewise.
42365         * include/wctype.h: Likewise.
42366         * intl/l10nflist.c: Likewise.
42367         * libidn/idn-stub.c: Likewise.
42368         * libio/libioP.h: Likewise.
42369         * nptl/libc_multiple_threads.c: Likewise.
42370         * nptl/pthreadP.h: Likewise.
42371         * posix/regex_internal.h: Likewise.
42372         * resolv/res_hconf.c: Likewise.
42373         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42374         * sysdeps/arm/memmove.S: Likewise.
42375         * sysdeps/arm/sysdep.h: Likewise.
42376         * sysdeps/generic/_itoa.h: Likewise.
42377         * sysdeps/generic/symbol-hacks.h: Likewise.
42378         * sysdeps/gnu/errlist.awk: Likewise.
42379         * sysdeps/gnu/errlist.c: Likewise.
42380         * sysdeps/i386/i586/memcpy.S: Likewise.
42381         * sysdeps/i386/i586/memset.S: Likewise.
42382         * sysdeps/i386/i686/memcpy.S: Likewise.
42383         * sysdeps/i386/i686/memmove.S: Likewise.
42384         * sysdeps/i386/i686/mempcpy.S: Likewise.
42385         * sysdeps/i386/i686/memset.S: Likewise.
42386         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42387         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42388         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42389         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42390         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42392         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42393         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42394         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42396         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42397         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42398         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42399         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42400         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42401         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42402         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
42403         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
42404         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
42405         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42406         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42407         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42408         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42409         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42410         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42411         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42412         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42413         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42414         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42415         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42416         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42417         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42418         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42420         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42425         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42426         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42427         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42428         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42429         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42430         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42431         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42432         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42433         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42434         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42435         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42436         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42437         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42438         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42439         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42440         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42441         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42442         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42443         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42444         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42445         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42446         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42447         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42448         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42449         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42450         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42451         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42452         * sysdeps/posix/closedir.c: Likewise.
42453         * sysdeps/posix/opendir.c: Likewise.
42454         * sysdeps/posix/readdir.c: Likewise.
42455         * sysdeps/posix/rewinddir.c: Likewise.
42456         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42457         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42458         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42459         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42460         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42461         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42468         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42469         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42470         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42471         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42472         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42475         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42476         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42477         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42478         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42479         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42483         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42484         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42491         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42492         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42493         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42494         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42495         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42496         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42497         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42498         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42500         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42501         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42502         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42503         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42504         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42505         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42506         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42507         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42508         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42509         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42510         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42512         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42513         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42514         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42515         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42516         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42517         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42518         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42519         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42520         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42521         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42522         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42523         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42524         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42525         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42526         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42527         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42528         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42529         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42530         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42531         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42532         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42533         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42534         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42535         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42536         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42537         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42538         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42539         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42540         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42541         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42542         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42543         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42544         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42545         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42546         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42547         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42548         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42549         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42551         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42552         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42553         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42554         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42555         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42556         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42557         * sysdeps/unix/alpha/sysdep.S: Likewise.
42558         * sysdeps/unix/alpha/sysdep.h: Likewise.
42559         * sysdeps/unix/make-syscalls.sh: Likewise.
42560         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42562         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42563         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42564         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42565         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42566         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42567         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42568         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42569         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42571         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42573         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42574         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42575         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42576         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42577         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42578         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42579         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42580         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42581         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42582         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42583         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42584         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42585         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42589         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42590         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42594         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42598         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42599         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42600         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42601         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42602         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42603         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42604         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42607         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42610         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42611         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42612         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42613         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42615         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42616         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42618         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42619         * sysdeps/x86_64/memcpy.S: Likewise.
42620         * sysdeps/x86_64/memmove.c: Likewise.
42621         * sysdeps/x86_64/memset.S: Likewise.
42622         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42623         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42624         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42625         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42626         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42627         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42628         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42629         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42631         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42632         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42633         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42634         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42635         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42636         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42637         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42638         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42639         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42640         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42641         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42642         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42643         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42644         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42645         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42646         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42647         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42648         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42649         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42650         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42651         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42652         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42653         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42654         * sysdeps/x86_64/strcmp.S: Likewise.
42656         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42658         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42659         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42660         * elf/rtld-Rules: Likewise.
42661         * elf/setup-vdso.h: Likewise.
42662         * include/assert.h: Likewise.
42663         * include/bits/stdlib-float.h: Likewise.
42664         * include/errno.h: Likewise.
42665         * include/sys/stat.h: Likewise.
42666         * include/unistd.h: Likewise.
42667         * sysdeps/aarch64/setjmp.S: Likewise.
42668         * sysdeps/alpha/setjmp.S: Likewise.
42669         * sysdeps/arm/__longjmp.S: Likewise.
42670         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42671         * sysdeps/arm/setjmp.S: Likewise.
42672         * sysdeps/arm/sysdep.h: Likewise.
42673         * sysdeps/generic/_itoa.h: Likewise.
42674         * sysdeps/generic/dl-sysdep.h: Likewise.
42675         * sysdeps/generic/ldsodefs.h: Likewise.
42676         * sysdeps/i386/dl-tls.h: Likewise.
42677         * sysdeps/i386/setjmp.S: Likewise.
42678         * sysdeps/m68k/setjmp.c: Likewise.
42679         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42680         * sysdeps/mach/hurd/opendir.c: Likewise.
42681         * sysdeps/posix/getcwd.c: Likewise.
42682         * sysdeps/posix/opendir.c: Likewise.
42683         * sysdeps/posix/profil.c: Likewise.
42684         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42685         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42687         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42688         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42689         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42690         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42691         * sysdeps/s390/dl-tls.h: Likewise.
42692         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42693         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42694         * sysdeps/sh/sh3/setjmp.S: Likewise.
42695         * sysdeps/sh/sh4/setjmp.S: Likewise.
42696         * sysdeps/unix/alpha/sysdep.h: Likewise.
42697         * sysdeps/unix/arm/sysdep.S: Likewise.
42698         * sysdeps/unix/i386/sysdep.S: Likewise.
42699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42700         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42701         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42703         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42704         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42705         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42706         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42707         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42708         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42709         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42710         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42714         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42717         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42718         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42719         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42721         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42722         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42723         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42726         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42727         * sysdeps/x86_64/setjmp.S: Likewise.
42729         * include/math.h: Use IS_IN instead of IS_IN_libm.
42730         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42742         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42750         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42751         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42752         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42753         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42754         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42755         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42757         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42758         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42759         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42760         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42761         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42762         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42764         Likewise.
42765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42766         Likewise.
42767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42768         Likewise.
42769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42770         Likewise.
42771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42772         Likewise.
42773         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42774         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42775         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42776         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42777         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42778         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42784         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42785         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42786         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42787         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42788         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42789         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42790         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42791         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42792         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42793         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42794         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42797         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42799         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42801         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42802         * nptl/pthreadP.h: Likewise.
42803         * nptl_db/structs.def: Likewise.
42804         * sysdeps/arm/sysdep.h: Likewise.
42805         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42806         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42807         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42808         * sysdeps/unix/alpha/sysdep.h: Likewise.
42809         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42811         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42812         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42813         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42814         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42815         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42816         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42817         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42818         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42819         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42820         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42821         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42822         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42827         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42829         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42830         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42831         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42832         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42833         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42834         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42836         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42837         * nptl/pthreadP.h: Likewise.
42838         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42839         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42840         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42841         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42842         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42843         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42844         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42845         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42846         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42847         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42848         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42849         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42851         Likewise.
42852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42853         Likewise.
42854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42856         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42858         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42859         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42860         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42861         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42863         * dlfcn/dladdr.c: Use IS_IN.
42864         * dlfcn/dladdr1.c: Likewise.
42865         * dlfcn/dlclose.c: Likewise.
42866         * dlfcn/dlerror.c: Likewise.
42867         * dlfcn/dlinfo.c: Likewise.
42868         * dlfcn/dlmopen.c: Likewise.
42869         * dlfcn/dlopen.c: Likewise.
42870         * dlfcn/dlsym.c: Likewise.
42871         * dlfcn/dlvsym.c: Likewise.
42873         * include/ifaddrs.h: Use IS_IN.
42874         * inet/check_pf.c: Likewise.
42875         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42876         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42878         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42879         IS_IN_ldconfig.
42880         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42881         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42883         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42884         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42885         IS_IN (libc).
42887         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42889         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42890         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42891         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42892         * include/libc-symbols.h (IS_IN_LIB): New macro.
42893         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42894         * include/netdb.h: Likewise.
42895         * include/stap-probe.h: Remove all uses of IN_LIB.
42897         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42898         instead of IN_MODULE.
42899         * include/libc-symbols.h (IN_MODULE): Define using
42900         MODULE_NAME.
42901         (PASTE_NAME, PASTE_NAME1): New macros.
42902         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42903         of IN_LIB.
42904         (STAP_PROBE_ASM): Likewise.
42906 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42908         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42909         __mach_init in dlopened libc.
42911 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42913         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42914         * sysdeps/arm/preconfigure: Regenerate.
42916 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42918         * nptl/pthread_create.c (__pthread_create_2_1): Set
42919         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42920         when copying values from IATTR into PD.
42922 2014-11-21  Will Newton  <will.newton@linaro.org>
42923             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42925         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42926         Refactor inline-asm.  Also add comment.
42928         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42929         ElfW macro instead of hardcoded Elf64 types.
42930         (la_aarch64_gnu_pltenter): Likewise.
42931         * sysdeps/aarch64/dl-machine.h
42932         (elf_machine_runtime_setup): Use ElfW(Addr).
42934         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42935         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42936         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42937         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42938         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42939         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42940         (R_AARCH64_TLS_DTPMOD): This.
42941         (R_AARCH64_TLS_DTPREL64): Rename to ...
42942         (R_AARCH64_TLS_DTPREL): This.
42943         (R_AARCH64_TLS_TPREL64): Rename to ...
42944         (R_AARCH64_TLS_TPREL): This.
42945         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42946         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42947         R_AARCH64_TLS_TPREL64.
42948         (elf_machine_rela): Likewise.
42950 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42952         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42953         by setting it to 0.  64b atomics are not supported currently.
42955 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42957         [BZ #16469]
42958         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42959         search domain names.
42961 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42963         [BZ #16469]
42964         * NEWS: Update.
42965         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42966         trailing dot.
42967         * posix/tst-getaddrinfo5.c: New.
42968         * posix/Makefile (tests): Add it.
42970 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42972         [BZ #14498]
42973         * NEWS: Fixed.
42974         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42975         after parsing line but before break_if_match.
42976         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42977         if there is a protocol mismatch.
42979 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42981         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42982         because the potential race is on the user-supplied stream.
42984 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42986         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42987         string literal if not passed a buffer.
42988         * manual/job.texi (ctermid): Update reasoning, note deviation
42989         from posix, suggest mtasurace when not passed a buffer, for
42990         future non-preliminary safety notes.
42992 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42994         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42995         of not passing it a buffer.
42996         Reported by Peng Haitao.
42998 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43000         * manual/Makefile ($(objpfx)stamp-summary): Require
43001         check-safety.sh to pass.
43002         * manual/check-safety.sh: Wish for verification that every
43003         @deftypefn and @deftypefun is followed by a @safety remark.
43005 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43007         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43009         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43010         PTHREAD_CANCEL_ASYNCHRONOUS.
43011         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43012         send SIGCANCEL.
43014         * nptl/default-sched.h: New file.
43015         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43016         * nptl/pthread_create.c: Include it.
43017         (__pthread_create_2_1): Use collect_default_sched instead of making
43018         Linux syscalls here directly.
43020 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43022         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43023         __pthread_once): Use C11 atomics.
43025 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43027         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43029 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43031         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43032         atomic_thread_fence_acquire, atomic_thread_fence_release,
43033         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43034         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43035         atomic_compare_exchange_weak_relaxed,
43036         atomic_compare_exchange_weak_acquire,
43037         atomic_compare_exchange_weak_release,
43038         atomic_exchange_acquire, atomic_exchange_release,
43039         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43040         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43041         atomic_fetch_and_acquire,
43042         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43044 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43046         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43047         USE_ATOMIC_COMPILER_BUILTINS): Define.
43048         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43050         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43052         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43053         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43054         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43056         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43058         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43059         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43060         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43061         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43062         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43064         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43066         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43067         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43068         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43069         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43070         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43071         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43072         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43073         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43074         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43075         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43076         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43077         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43078         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43079         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43080         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43081         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43082         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43083         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43084         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43085         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43086         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43087         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43089 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43091         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43092         the sched_priority value here.  It was already checked when the user
43093         called pthread_attr_setschedparam.
43095         * nptl/tst-bad-schedattr.c: New file.
43096         * nptl/Makefile (tests): Add it.
43098 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43099             Florian Weimer  <fweimer@redhat.com>
43100             Joseph Myers  <joseph@codesourcery.com>
43101             Adam Conrad  <adconrad@0c3.net>
43102             Andreas Schwab  <schwab@suse.de>
43103             Brooks  <bmoses@google.com>
43105         [BZ #17625]
43106         * wordexp-test.c (__dso_handle): Add prototype.
43107         (__register_atfork): Likewise.
43108         (__app_register_atfork): New function.
43109         (registered_forks): New global.
43110         (register_fork): New function.
43111         (test_case): Add 3 new tests for WRDE_CMDSUB.
43112         (main): Call __app_register_atfork.
43113         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43114         fork count is non-zero fail the test.
43115         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43116         is set.
43117         (parse_dollars): Remove check for WRDE_NOCMD.
43118         (parse_dquote): Likewise.
43120 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43122         * Makeconfig (built-modules): List non-library modules to be
43123         built.
43124         (module-cppflags): Include libc-modules.h for
43125         everything except shlib-versions.v.i.
43126         (CPPFLAGS): Use it.
43127         (before-compile): Add libc-modules.h.
43128         ($(common-objpfx)libc-modules.h,
43129         $(common-objpfx)libc-modules.stmp): New targets.
43130         (common-generated): Add libc-modules.h and libc-modules.stmp.
43131         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43132         * include/libc-symbols.h: Don't include libc-modules.h.
43133         * include/libc-modules.h: Remove file.
43134         * scripts/gen-libc-modules.awk: New script to generate
43135         libc-modules.h.
43136         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43137         Depend on libc-modules.stmp.
43139         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43141         * Makeconfig (in-module): Get value of libof set for the
43142         translation unit.
43143         (CPPFLAGS): Use $(in-module).
43144         * Makerules: Don't suffix routine names for nonlib.
43145         * include/libc-modules.h: New file.
43146         * include/libc-symbols.h: Include libc-modules.h
43147         (IS_IN): New macro to replace IS_IN_* macros.
43148         * elf/Makefile: Set libof-* for each routine.
43149         * elf/rtld-Rules: Likewise.
43150         * extra-modules.mk: Likewise.
43151         * iconv/Makefile: Likewise.
43152         * iconvdata/Makefile: Likewise.
43153         * locale/Makefile: Likewise.
43154         * malloc/Makefile: Likewise.
43155         * nss/Makefile: Likewise.
43156         * sysdeps/gnu/Makefile: Likewise.
43157         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43158         * sysdeps/unix/sysv/linux/Makefile: Likewise.
43159         * sysdeps/s390/s390-64/Makefile: Likewise.
43160         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
43161         CPPFLAGS for nscd instead of nonlib.
43163 2014-11-18  Roland McGrath  <roland@hack.frob.com>
43165         * nptl/createthread.c: New file.
43167         * nptl/createthread.c: Moved ...
43168         * sysdeps/unix/sysv/linux/createthread.c: ... here.
43170         * nptl/createthread.c: Add proper top-line comment.
43171         (do_clone): Folded into ...
43172         (create_thread): ... here.  Take new arguments STOPPED_START and
43173         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
43174         increment __nptl_threads, do event-reporting logic, do
43175         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43176         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
43177         resource cleanup if sched_setaffinity or sched_setscheduler fails,
43178         just send SIGCANCEL.
43179         * nptl/pthread_create.c: Forward-declare create_thread before
43180         including createthread.c.
43181         (start_thread): Use new macro START_THREAD_DEFN to replace defining
43182         declaration, and new macro START_THREAD_SELF to replace argument.
43183         Remove return statement.
43184         (report_thread_creation): New function.
43185         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
43186         synchronization logic, and __nptl_nthreads increment here, around
43187         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
43188         PD->parent_cancelhandling here, before create_thread.  When
43189         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43190         __deallocate_stack, and ENOMEM translation here.
43192 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
43194         [BZ #17616]
43195         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43196         (mptwo): Rename to __mptwo.
43197         (__inv): Use __mptwo instead of mptwo.
43198         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43199         (mptwo): Rename to __mptwo.
43200         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43201         of mpone and __mptwo instead of mptwo.
43202         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43203         instead of mpone.
43204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43205         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43206         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43207         of mpone and __mptwo instead of mptwo.
43208         (__mpranred): Use __mpone instead of mpone.
43209         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43210         variable.
43211         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43212         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43213         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43214         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43215         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43216         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43217         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43218         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43219         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43220         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43221         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43222         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43223         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43224         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43225         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43226         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43227         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43228         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43229         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43231 2014-11-18  Tom de Vries  <tom@codesoucery.com>
43233         * manual/signal.texi (Primitives Interrupted by Signals): In section,
43234         replace BSD Handler xref with BSD Signal Handling.
43236 2014-11-17  Richard Henderson  <rth@redhat.com>
43238         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43239         (_FP_PACK_RAW_2): Remove.
43240         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43241         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43242         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43243         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43244         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43245         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43246         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43247         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43248         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43249         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43250         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43251         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43252         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43253         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43254         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43255         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43257 2014-11-14  Roland McGrath  <roland@hack.frob.com>
43259         * signal/signal.h [__USE_MISC]
43260         (struct sigvec): Remove type.
43261         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43262         (sigvec): Remove declaration.
43263         * sysdeps/posix/sigvec.c: Moved ...
43264         * signal/sigvec.c: ... here, replacing old file.
43265         (struct sigvec): New type, copied from old signal.h definition.
43266         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43267         (__sigvec): Convert definition to prototype.
43268         (sigvec): Replace weak_alias with compat_symbol.
43269         * signal/Versions (libc: GLIBC_2.21): New version set.
43270         * include/signal.h: Remove __sigvec declaration.
43271         * sysdeps/unix/bsd/sigvec.c: Remove file.
43272         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43273         * manual/signal.texi (BSD Handler): Remove subsection.
43274         Move siginterrupt up to ...
43275         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
43276         (Blocking in BSD): Fold subsection into its parent.
43277         * NEWS: Mention sigvec removal.
43279 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43281         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43282         (DLA_FMS): Make definition conditional only on [__FMA4__].
43283         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43284         definition.
43286         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43287         Make definition conditional only on [PROF].
43288         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43289         definition.
43290         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43291         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43293         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43294         !__GNUC__].
43295         * include/signal.h (__sigpause): Move declaration above call to
43296         libc_hidden_proto.
43297         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43298         variable.
43299         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43300         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43302 2014-11-14  David S. Miller  <davem@davemloft.net>
43304         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43305         Define before including <string/memcpy.c> and <string/mempcpy.c>.
43307 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43309         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43310         * configure: Regenerated.
43311         * manual/install.texi (Tools for Compilation): Document a
43312         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43313         compiler verified to work.
43314         * INSTALL: Regenerated.
43316         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43317         redeclare with asm name.
43318         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43319         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43320         including <string.h>.
43321         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43322         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43323         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43325         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43327         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43329 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
43331         * stdlib/strtol.c (__strtol): Use prototype definition.
43333         [BZ #17594]
43334         * stdlib/strtol.c (SYM__): New macro.
43335         (SYM__1): Likewise.
43336         (__strtol): Likewise.
43337         (strtol): Rename to __strtol and define as weak alias of
43338         __strtol.  Use libc_hidden_weak.
43340 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43342         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43343         Use numbered labels in inline assembly.
43345 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43347         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43348         Add setjmp LIBC_PROBE.
43349         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43350         Likewise.
43351         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43352         Add longjmp, longjmp_target LIBC_PROBE.
43353         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43354         Likewise.
43356 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43358         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43359         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43360         to get rid of unused variable warning.
43362 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43364         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43365         Check for unwind_backtrace ==  NULL only in SHARED case.
43366         (__backchain_backtrace): Compile only in SHARED case.
43367         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43368         Likewise.
43369         (__backchain_backtrace): Declare as static.
43371 2014-11-12  Roland McGrath  <roland@hack.frob.com>
43373         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43374         (__libc_multiple_threads_ptr): Variable moved ...
43375         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43377 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
43379         * conform/GlibcConform.pm: New file.
43380         * conform/conformtest.pl: Use GlibcConform module.
43381         * conform/linknamespace.pl: New file.
43382         * conform/list-header-symbols.pl: Likewise.
43383         * conform/Makefile (linknamespace-symlists-base): New variable.
43384         (linknamespace-symlists-tests): Likewise.
43385         (linknamespace-header-base): Likewise.
43386         (linknamespace-header-tests): Likewise.
43387         (tests-special): Add new tests.
43388         ($(linknamespace-symlists-tests)): New rule.
43389         (linknamespace-libs): New variable.
43390         ($(objpfx)symlist-stdlibs): New rule.
43391         ($(linknamespace-header-tests)): Likewise.
43392         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43393         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43394         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43395         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43396         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43397         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43398         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
43399         (test-xfail-ISO/math.h/linknamespace): Likewise.
43400         (test-xfail-ISO/signal.h/linknamespace): Likewise.
43401         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
43402         (test-xfail-ISO/time.h/linknamespace): Likewise.
43403         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43404         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
43405         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43406         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43407         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43408         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43409         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43410         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43411         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43412         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43413         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43414         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43415         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43416         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43417         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43418         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43419         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43420         (test-xfail-XPG3/search.h/linknamespace): Likewise.
43421         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43422         (test-xfail-XPG3/time.h/linknamespace): Likewise.
43423         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43424         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43425         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43426         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43427         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43428         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43429         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43430         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43431         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43432         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43433         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43434         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43435         (test-xfail-XPG4/search.h/linknamespace): Likewise.
43436         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43437         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43438         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43439         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43440         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43441         (test-xfail-XPG4/time.h/linknamespace): Likewise.
43442         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43443         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43444         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43445         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43446         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43447         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43448         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43449         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43450         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43451         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43452         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43453         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43454         (test-xfail-POSIX/time.h/linknamespace): Likewise.
43455         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43456         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43457         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43458         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43459         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43460         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43461         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43462         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43463         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43464         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43465         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43466         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43467         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43468         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43469         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43470         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43471         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43472         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43473         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43474         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43475         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43476         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43477         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43478         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43479         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43480         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43481         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43482         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43483         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43484         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43485         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43486         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43487         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43488         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43489         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43490         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43491         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43492         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43493         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43494         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43495         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43496         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43497         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43498         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43499         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43500         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43501         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43502         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43503         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43504         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43505         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43506         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43507         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43508         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43509         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43510         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43511         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43512         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43513         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43514         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43515         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43516         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43517         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43518         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43519         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43520         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43521         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43522         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43523         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43524         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43525         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43526         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43527         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43528         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43529         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43530         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43531         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43532         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43533         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43534         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43535         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43536         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43537         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43538         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43539         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43540         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43541         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43542         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43543         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43544         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43545         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43546         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43547         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43548         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43549         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43550         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43551         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43552         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43554         [BZ #17589]
43555         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43556         of fgets_unlocked.
43558         [BZ #17585]
43559         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43560         (memmem): Rename to __memmem and define as weak alias of
43561         __memmem.  Use libc_hidden_weak.
43562         (__memmem): Use libc_hidden_def.
43563         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
43564         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43565         memmem.
43567         [BZ #17582]
43568         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43569         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
43570         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43571         and define as weak alias of __fgets_unlocked.  Use
43572         libc_hidden_weak.
43573         (__fgets_unlocked): Use libc_hidden_def.
43574         * include/stdio.h (__fgets_unlocked): Declare.  Use
43575         libc_hidden_proto.
43576         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43577         __fgets_unlocked instead of fgets_unlocked.
43578         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43579         (GET_NPROCS_CONF_PARSER): Likewise.
43580         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43581         (GET_NPROCS_CONF_PARSER): Likewise.
43583         [BZ #17574]
43584         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43585         weak alias of __wmemset.  Use libc_hidden_weak.
43586         (__wmemset): Use libc_hidden_def.
43587         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
43588         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43589         of wmemset.
43591         [BZ #17573]
43592         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43593         with asm name __mempcpy.
43594         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43596         [BZ #17572]
43597         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43598         and define as weak alias of __rawmemchr.
43599         (__rawmemchr): Do not define as strong alias of rawmemchr.
43601         [BZ #17571]
43602         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43603         alias of __qsort_r.
43604         (qsort): Call __qsort_r instead of qsort_r.
43605         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43606         (__qsort_r): Declare.  Call libc_hidden_proto.
43607         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43608         instead of qsort_r.
43609         * nscd/gai.c (__qsort_r): Define to qsort_r.
43610         * posix/tst-rfc3484.c (__qsort_r): Likewise.
43611         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43612         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43614         [BZ #17570]
43615         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43616         define as weak alias of __malloc_info.
43618         [BZ #17584]
43619         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43620         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43621         (__rewinddir): Use libc_hidden_def.
43622         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43623         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43624         (__rewinddir): Use libc_hidden_def.
43625         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43626         weak alias of __rewinddir.  Don't use libc_hidden_def.
43627         (__rewinddir): Use libc_hidden_def.
43628         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43629         (__rewinddir): Use libc_hidden_proto.
43630         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43631         rewinddir.
43632         (__getcwd): Use __rewinddir instead of rewinddir.
43634         [BZ #17583]
43635         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43636         alias of __fileno.  Use libc_hidden_weak.
43637         (__fileno): Use libc_hidden_def.
43638         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43639         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43640         alias of __ftello.
43641         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43642         __ftello.
43643         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43644         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43645         libc_hidden_def.
43646         (fread_unlocked): Don't use libc_hidden_ver.
43647         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43648         and define as weak alias of __fread_unlocked.  Don't use
43649         libc_hidden_def.
43650         (__fread_unlocked): Use libc_hidden_def.
43651         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43652         (ftello): Don't use libc_hidden_proto.
43653         (__ftello): Declare.  Use libc_hidden_proto.
43654         (fread_unlocked): Don't use libc_hidden_proto.
43655         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43656         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43657         and __ftello instead of fileno, fread_unlocked and ftello.
43659 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43661         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43662         GOT12.
43663         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43664         Likewise.
43665         (_dl_start_user): Likewise.
43666         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43668 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43669             Siddhesh Poyarekar  <siddhesh@redhat.com>
43671         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43672         Move argv and envp down instead of moving argc up.
43673         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43675 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43677         [BZ #17506]
43678         * test-skeleton.c (main): Return successful if one of
43679         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43680         * string/tst-strcoll-overflow.c: Define expected status.
43682 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43684         [BZ #17475]
43685         * locale/iso-639.def: Define Bhili and Tulu language codes.
43687 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43689         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43691 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43693         [BZ #17555]
43694         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43696 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43698         * configure.ac: Updated check of minimal required version to
43699         2.22.
43700         * manual/install.texi (Tools for Compilation): Updated version
43701         number.
43702         * configure: Regenerated.
43703         * INSTALL: Likewise.
43705 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43707         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43708         __tls_get_addr.
43710 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43712         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43713         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43714         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43715         libc_hidden_weak.
43716         (waitpid): Define as alias of __waitpid.
43717         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43718         __waitpid.
43719         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43720         libc_hidden_weak.
43721         (waitpid): Define as alias of __waitpid.
43722         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43723         __libc_waitpid alias.
43724         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43725         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43726         Likewise.
43727         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43728         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43729         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43730         alias.
43731         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43732         __waitpid.
43733         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43734         libc_hidden_weak.
43735         (waitpid): Define as alias of __waitpid.
43737 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43739         * manual/llio.texi: Add comment that write safety has been
43740         fixed in Linux.
43742         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43743         (localplt-build-dso): Add elf/ld.so.
43744         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43745         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43746         and free for ld.so.
43747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43748         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43750         Likewise.
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43752         Likewise.
43753         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43754         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43755         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43756         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43757         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43758         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43759         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43760         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43761         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43763         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43765 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43767         [BZ #14132]
43768         * include/libc-symbols.h (INTUSE): Remove macro.
43769         (INTDEF): Likewise.
43770         (INTVARDEF): Likewise.
43771         (_INTVARDEF): Likewise.
43772         (INTDEF2): Likewise.
43773         (INTVARDEF2): Likewise.
43774         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43775         rtld_hidden_def instead of INTVARDEF.
43776         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43777         (_dl_starting_up_internal): Remove declaration.
43778         (_dl_starting_up): Use rtld_hidden_proto.
43779         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43780         declaration.
43781         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43782         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43783         _dl_starting_up.
43784         * elf/dl-writev.h (_dl_writev): Likewise.
43785         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43786         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43787         _dl_starting_up_internal.
43789 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43791         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43792         test-skeleton.c.
43794 2014-11-05  Will Newton  <will.newton@linaro.org>
43796         * benchtests/Makefile: (bench-malloc): Add malloc thread
43797         scalability benchmark.
43798         * benchtests/bench-malloc-threads.c: New file.
43800 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43802         * sysdeps/aarch64/strchrnul.S: New file.
43804 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43806         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43807         definition.
43808         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43809         Likewise.
43810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43811         Likewise.
43812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43813         Likewise.
43814         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43815         Likewise.
43816         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43817         Likewise.
43819 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43821         * catgets/test-gencat.c: Use test-skeleton.c.
43822         * catgets/tst-catgets.c: Likewise.
43823         * csu/tst-empty.c: Likewise.
43824         * elf/tst-audit2.c: Likewise.
43825         * elf/tst-global1.c: Likewise.
43826         * elf/tst-pathopt.c: Likewise.
43827         * elf/tst-piemod1.c: Likewise.
43828         * elf/tst-tls10.c: Likewise.
43829         * elf/tst-tls11.c: Likewise.
43830         * elf/tst-tls12.c: Likewise.
43831         * gnulib/tst-gcc.c: Likewise.
43832         * iconvdata/tst-e2big.c: Likewise.
43833         * iconvdata/tst-loading.c: Likewise.
43834         * iconv/tst-iconv1.c: Likewise.
43835         * iconv/tst-iconv2.c: Likewise.
43836         * inet/test-inet6_opt.c: Likewise.
43837         * inet/tst-gethnm.c: Likewise.
43838         * inet/tst-network.c: Likewise.
43839         * inet/tst-ntoa.c: Likewise.
43840         * intl/tst-codeset.c: Likewise.
43841         * intl/tst-gettext2.c: Likewise.
43842         * intl/tst-gettext3.c: Likewise.
43843         * intl/tst-ngettext.c: Likewise.
43844         * intl/tst-translit.c: Likewise.
43845         * io/test-stat.c: Likewise.
43846         * libio/test-fmemopen.c: Likewise.
43847         * libio/tst-freopen.c: Likewise.
43848         * libio/tst-sscanf.c: Likewise.
43849         * libio/tst-ungetwc1.c: Likewise.
43850         * libio/tst-ungetwc2.c: Likewise.
43851         * libio/tst-widetext.c: Likewise.
43852         * localedata/tst-ctype.c: Likewise.
43853         * localedata/tst-digits.c: Likewise.
43854         * localedata/tst-leaks.c: Likewise.
43855         * localedata/tst-mbswcs1.c: Likewise.
43856         * localedata/tst-mbswcs2.c: Likewise.
43857         * localedata/tst-mbswcs3.c: Likewise.
43858         * localedata/tst-mbswcs4.c: Likewise.
43859         * localedata/tst-mbswcs5.c: Likewise.
43860         * localedata/tst-setlocale.c: Likewise.
43861         * localedata/tst-trans.c: Likewise.
43862         * localedata/tst-wctype.c: Likewise.
43863         * localedata/tst-xlocale1.c: Likewise.
43864         * login/tst-grantpt.c: Likewise.
43865         * malloc/tst-calloc.c: Likewise.
43866         * malloc/tst-malloc.c: Likewise.
43867         * malloc/tst-mallocstate.c: Likewise.
43868         * malloc/tst-mcheck.c: Likewise.
43869         * malloc/tst-mtrace.c: Likewise.
43870         * malloc/tst-obstack.c: Likewise.
43871         * math/atest-exp2.c: Likewise.
43872         * math/atest-exp.c: Likewise.
43873         * math/atest-sincos.c: Likewise.
43874         * math/test-matherr.c: Likewise.
43875         * math/test-misc.c: Likewise.
43876         * math/test-powl.c: Likewise.
43877         * math/tst-definitions.c: Likewise.
43878         * misc/tst-dirname.c: Likewise.
43879         * misc/tst-efgcvt.c: Likewise.
43880         * misc/tst-fdset.c: Likewise.
43881         * misc/tst-hsearch.c: Likewise.
43882         * misc/tst-mntent2.c: Likewise.
43883         * nptl/tst-sem7.c: Likewise.
43884         * nptl/tst-sem8.c: Likewise.
43885         * nptl/tst-sem9.c: Likewise.
43886         * nss/test-netdb.c: Likewise.
43887         * posix/tst-fnmatch.c: Likewise.
43888         * posix/tst-getlogin.c: Likewise.
43889         * posix/tst-gnuglob.c: Likewise.
43890         * posix/tst-mmap.c: Likewise.
43891         * pwd/tst-getpw.c: Likewise.
43892         * resolv/tst-inet_ntop.c: Likewise.
43893         * rt/tst-timer.c: Likewise.
43894         * stdio-common/test-fseek.c: Likewise.
43895         * stdio-common/test-popen.c: Likewise.
43896         * stdio-common/test-vfprintf.c: Likewise.
43897         * stdio-common/tst-cookie.c: Likewise.
43898         * stdio-common/tst-fileno.c: Likewise.
43899         * stdio-common/tst-gets.c: Likewise.
43900         * stdio-common/tst-obprintf.c: Likewise.
43901         * stdio-common/tst-perror.c: Likewise.
43902         * stdio-common/tst-sprintf2.c: Likewise.
43903         * stdio-common/tst-sprintf3.c: Likewise.
43904         * stdio-common/tst-sprintf.c: Likewise.
43905         * stdio-common/tst-swprintf.c: Likewise.
43906         * stdio-common/tst-tmpnam.c: Likewise.
43907         * stdio-common/tst-unbputc.c: Likewise.
43908         * stdio-common/tst-wc-printf.c: Likewise.
43909         * stdlib/tst-environ.c: Likewise.
43910         * stdlib/tst-fmtmsg.c: Likewise.
43911         * stdlib/tst-limits.c: Likewise.
43912         * stdlib/tst-rand48-2.c: Likewise.
43913         * stdlib/tst-rand48.c: Likewise.
43914         * stdlib/tst-random2.c: Likewise.
43915         * stdlib/tst-random.c: Likewise.
43916         * stdlib/tst-strtol.c: Likewise.
43917         * stdlib/tst-strtoll.c: Likewise.
43918         * stdlib/tst-tls-atexit.c: Likewise.
43919         * stdlib/tst-xpg-basename.c: Likewise.
43920         * string/test-ffs.c: Likewise.
43921         * string/tst-bswap.c: Likewise.
43922         * string/tst-inlcall.c: Likewise.
43923         * string/tst-strtok.c: Likewise.
43924         * string/tst-strxfrm.c: Likewise.
43925         * sysdeps/x86_64/tst-audit10.c: Likewise.
43926         * sysdeps/x86_64/tst-audit3.c: Likewise.
43927         * sysdeps/x86_64/tst-audit4.c: Likewise.
43928         * sysdeps/x86_64/tst-audit5.c: Likewise.
43929         * time/tst-ftime_l.c: Likewise.
43930         * time/tst-getdate.c: Likewise.
43931         * time/tst-mktime3.c: Likewise.
43932         * time/tst-mktime.c: Likewise.
43933         * time/tst-posixtz.c: Likewise.
43934         * time/tst-strptime2.c: Likewise.
43935         * time/tst-strptime3.c: Likewise.
43936         * wcsmbs/tst-btowc.c: Likewise.
43937         * wcsmbs/tst-mbrtowc.c: Likewise.
43938         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43939         * wcsmbs/tst-wchar-h.c: Likewise.
43940         * wcsmbs/tst-wcpncpy.c: Likewise.
43941         * wcsmbs/tst-wcrtomb.c: Likewise.
43942         * wcsmbs/tst-wcsnlen.c: Likewise.
43943         * wcsmbs/tst-wcstof.c: Likewise.
43945 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43947         [BZ #14132]
43948         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43949         INTDEF.
43950         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43951         declaration.
43952         (_dl_mcount): Use rtld_hidden_proto.
43953         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43954         _dl_mcount.
43955         * elf/rtld.c (_rtld_global_ro): Likewise.
43957         [BZ #14132]
43958         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43959         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43960         of _dl_init_internal.
43961         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43962         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43963         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43964         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43965         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43966         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43967         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43968         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43969         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43970         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43971         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43972         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43973         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43974         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43975         * sysdeps/tile/dl-start.S (_start): Likewise.
43976         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43977         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43979         [BZ #14132]
43980         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43981         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43982         (rtld_progname): Make macro definition unconditional.
43983         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43984         INTDEF.
43985         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43986         (dl_main): Likewise.
43987         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43988         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43989         instead of _dl_argv_internal.
43990         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43991         __GI__dl_argv instead of INTUSE(_dl_argv).
43992         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43993         __GI__dl_argv instead of _dl_argv_internal.
43995         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43996         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43997         macro.
43998         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43999         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44000         New macro.
44001         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44002         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44003         macro.
44004         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44005         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44007 2014-11-04  Andreas Schwab  <schwab@suse.de>
44009         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44011 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44013         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44014         mtvsrd instruction in binary form.
44016 2014-11-03  Andreas Schwab  <schwab@suse.de>
44018         [BZ #17522]
44019         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44020         for less than MB_LEN_MAX use a local buffer of that size.
44021         * libio/tst-fputws.c: New file.
44022         * libio/Makefile (tests): Add tst-fputws.
44024 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44026         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44027         the size of the fpu_fr.fpu_dregs[] array.
44029 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44031         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44032         (__nanosleep): Do not define as alias.
44033         (nanosleep): Define as alias of __nanosleep.
44034         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44035         __libc_nanosleep name.
44037 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44039         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44040         install.texi in comment.
44042 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44044         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44045         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44046         ... add here and use lwsync or sync ...
44047         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44048         ... and add here using lwsync.
44050 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44052         * elf/dl-machine-reject-phdr.h: New file.
44053         * elf/dl-load.c: #include that.
44054         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44055         if that returned true.
44057 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44059         [BZ #17496]
44060         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44061         gen-as-const-headers chunk.  Add a big scare comment after the last
44062         safe place to touch before-compile.
44064 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44066         * manual/install.texi (Tools for Compilation): Update autoconf
44067         version requirements.
44068         * INSTALL: Regenerated.
44070         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44071         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44072         (__libc_pselect): Likewise.
44074         [BZ #14138]
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44080 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44082         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44083         correct barrier instruction.
44084         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44085         Likewise.
44086         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44087         Likewise.
44089 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44091         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44092         after defining inlines.  Instead, just use parens to defeat macro
44093         expansion of __isctype in its declaration.
44095 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44097         * include/sys/uio.h (__libc_readv): Remove declaration.
44098         (__libc_writev): Likewise.
44099         * misc/readv.c (__libc_readv): Rename to __readv.
44100         (__readv): Do not define as alias.
44101         (readv): Define as alias of __readv.
44102         * misc/writev.c (__libc_writev): Rename to __writev.
44103         (__writev): Do not define as alias.
44104         (writev): Define as alias of __writev.
44105         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44106         (__readv): Do not define as alias.
44107         (readv): Define unconditionally as alias of __readv.
44108         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44109         (__writev): Do not define as alias.
44110         (writev): Define unconditionally as alias of __writev.
44111         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44112         name.
44113         (writev): Do not define __libc_writev name.
44115 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44117         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44118         (convert_charseq): New function, broken out of ...
44119         (use_from_charmap): ... here.  Call it.
44120         (use_to_charmap): Use convert_charseq and free instead of duplicating
44121         its code with a variable-length stack struct.
44123 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44125         * include/fcntl.h (__libc_creat): Remove declaration.
44126         * io/creat.c (__libc_creat): Rename to creat.
44127         (creat): Do not define as alias.
44128         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44129         of creat instead of __libc_creat.
44130         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44131         to creat.
44132         (creat): Do not define as alias.
44133         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44134         __libc_creat.
44135         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44136         __libc_creat name.
44137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44138         Likewise.
44140 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
44142         * manual/llio.texi: Add comments discussing why write() may be
44143         considered MT-unsafe on Linux.
44145 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
44147         * dl-load.c (local_strdup): Remove.
44148         (expand_dynamic_string_token): Use __strdup.
44149         (decompose_rpath): Likewise.
44150         (_dl_map_object): Likewise.
44152 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
44154         [BZ #14132]
44155         * sysdeps/generic/unwind-dw2-fde.c
44156         (__register_frame_info_bases_internal): Do not declare.
44157         (__register_frame_info_table_bases_internal): Likewise.
44158         (__deregister_frame_info_bases_internal): Likewise.
44159         (__register_frame_info_bases): Declare and use hidden_proto before
44160         definition.  Use hidden_def instead of INTDEF.
44161         (__register_frame_info_table_bases): Likewise.
44162         (__deregister_frame_info_bases): Likewise.
44163         (__register_frame_info): Do not use INTUSE.
44164         (__register_frame): Likewise.
44165         (__register_frame_info_table): Likewise.
44166         (__register_frame_table): Likewise.
44167         (__deregister_frame_info): Likewise.
44168         (__deregister_frame): Likewise.
44170 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
44172         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44173         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44174         not undefine.
44175         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44176         Likewise.
44177         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44178         Likewise.
44180 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
44182         [BZ #14138]
44183         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44184         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44185         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44186         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44187         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44188         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44189         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44190         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44191         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44192         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44193         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44194         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44195         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44196         syscall.
44197         (setfsuid): Likewise.
44198         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44199         (setfsuid): Likewise.
44200         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44201         (setfsuid): Likewise.
44202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44203         Likewise.
44204         (setfsuid): Likewise.
44205         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44206         (setfsuid): Likewise.
44207         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44208         Likewise.
44209         (setfsuid): Likewise.
44211 2014-10-27  Andreas Schwab  <schwab@suse.de>
44213         [BZ #17501]
44214         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44215         check for Slow_SSE4_2 feature bit.
44216         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44217         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44218         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44219         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
44221 2014-10-24  Roland McGrath  <roland@hack.frob.com>
44223         * configure.ac: Validate compiler version with a empirical test of
44224         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44225         $CC -v output.
44226         * configure: Regenerated.
44228         * inet/htons.c (htons): Prototypify.
44229         * inet/htonl.c (htonl): Likewise.
44231 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44233         * string/strncat.c (strncat): Improve performance by using strlen.
44235 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44237         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44239 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44241         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44242         Call libc_fetestexcept_aarch64.
44244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44246         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44247         Call libc_feholdexcept_aarch64.
44249 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44251         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44252         Call get_rounding_mode.
44254 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44256         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44257         Simplify logic.
44259 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44261         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44262         Simplify logic.
44264 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
44266         [BZ #14138]
44267         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44268         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44269         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44270         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44271         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44272         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44273         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44274         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44275         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44276         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44277         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44279         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44280         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44281         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44282         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44283         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44284         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44285         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44286         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44287         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44288         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44289         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44290         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44291         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44292         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44293         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44294         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44295         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44296         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44297         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44298         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44299         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44300         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44301         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44302         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44303         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44304         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44305         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44306         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44307         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44308         syscall.
44309         (geteuid): Likewise.
44310         (getgid): Likewise.
44311         (getuid): Likewise.
44312         (getresgid): Likewise.
44313         (getresuid): Likewise.
44314         (getgroups): Likewise.
44315         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44316         (geteuid): Likewise.
44317         (getgid): Likewise.
44318         (getuid): Likewise.
44319         (getresgid): Likewise.
44320         (getresuid): Likewise.
44321         (getgroups): Likewise.
44322         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44323         (geteuid): Likewise.
44324         (getgid): Likewise.
44325         (getuid): Likewise.
44326         (getresgid): Likewise.
44327         (getresuid): Likewise.
44328         (getgroups): Likewise.
44329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44330         Likewise.
44331         (geteuid): Likewise.
44332         (getgid): Likewise.
44333         (getuid): Likewise.
44334         (getresgid): Likewise.
44335         (getresuid): Likewise.
44336         (getgroups): Likewise.
44337         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44338         (geteuid): Likewise.
44339         (getgid): Likewise.
44340         (getuid): Likewise.
44341         (getresgid): Likewise.
44342         (getresuid): Likewise.
44343         (getgroups): Likewise.
44344         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44345         Likewise.
44346         (geteuid): Likewise.
44347         (getgid): Likewise.
44348         (getuid): Likewise.
44349         (getgroups): Likewise.
44351         [BZ #14138]
44352         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44353         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44354         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44355         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44356         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44357         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44358         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44359         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44360         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44361         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44362         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44363         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44364         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44365         __chown.
44366         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44367         (lchown): Likewise.
44368         (fchown): Likewise.
44369         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44370         Likewise.
44371         (lchown): Likewise.
44372         (fchown): Likewise.
44373         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44374         (lchown): Likewise.
44375         (fchown): Likewise.
44376         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44377         Likewise.
44378         (lchown): Likewise.
44379         (fchown): Likewise.
44381 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44383         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44384         Simplify logic.
44386 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44388         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44389         Cleanup logic.
44391 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44393         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44394         Remove unused include.
44396 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44398         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
44399         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
44400         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
44401         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
44403 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
44404             Helge Deller <deller@gmx.de>
44406         [BZ #17508]
44407         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
44408         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
44409         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44411 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
44413         [BZ #14132]
44414         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44415         Remove macro definition.
44416         (__ashrdi3_v_glibc20): Likewise.
44417         (__lshrdi3_v_glibc20): Likewise.
44418         (__cmpdi2_v_glibc20): Likewise.
44419         (__ucmpdi2_v_glibc20): Likewise.
44420         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44421         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44422         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44423         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44424         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44425         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44427 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44429         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44430         old GNU extension [0] syntax.
44431         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44432         alloca rather than an array member with variable length.
44433         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44434         * nscd/nscd.c (invalidate_db): New function, broken out of ...
44435         (parse_opt): ... here.  Likewise use alloca there.
44436         Validate the -i argument before checking for rootness.
44437         (send_shutdown): New function, broken out of ...
44438         (parse_opt): ... here.
44440 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44442         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44443         macro to get at the _rt_local_ro field.
44444         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44445         ([PIC] case) or _dl_hwcap ([!PIC] case).
44446         * sysdeps/arm/setjmp.S: Likewise.
44448         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44449         * sysdeps/arm/configure.ac: New check to define it.
44450         * sysdeps/arm/configure: Regenerated.
44451         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44452         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44453         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44454         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44455         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44456         Use move/movt pair instead of a load.
44457         (LDST_GLOBAL): Macro removed.
44458         (LDR_GLOBAL): New macro replaces it.
44459         (LDR_HIDDEN): New macro.
44460         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44461         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44463         * setjmp/tst-setjmp-static.c: New file.
44464         * setjmp/Makefile (tests): Add it.
44465         (tests-static): New variable.
44467 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
44469         [BZ #17485]
44470         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44472 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
44474         [BZ #14132]
44475         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44477 2014-10-21  Roland McGrath  <roland@hack.frob.com>
44479         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44481 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44483         * io/fts.c (dirent_not_directory): New function.
44484         (fts_build): Call it.
44486 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44488         * nptl/version.c (__nptl_main): Use normal __write rather than
44489         INTERNAL_SYSCALL.
44490         (banner): Update copyright years.
44492         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44493         gettimeofday.
44494         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44495         * nptl/pthread_cond_timedwait.c: Likewise.
44496         * nptl/pthread_mutex_timedlock.c: Likewise.
44497         * nptl/sem_timedwait.c: Likewise.
44499         * sysdeps/nptl/bits/libc-lock.h
44500         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44501         (__libc_lock_init_recursive): Return void, not 0.
44502         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44503         (__libc_rwlock_init): Likewise.
44504         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44506 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44508         [BZ #15215]
44509         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44510         (__pthread_once_slow): ... here.
44511         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44512         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44514 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44516         [BZ #15215]
44517         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44518         __PTHREAD_ONCE_FORK_GEN_INCR): New.
44519         * sysdeps/nptl/fork.c (__libc_fork): Use them.
44520         * nptl/pthread_once.c (__pthread_once): Likewise.
44521         Update comments.
44523 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
44525         [BZ #14138]
44526         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44527         name.
44528         (writev): Use __libc_writev as strong name.
44529         * sysdeps/unix/sysv/linux/readv.c: Remove file.
44530         * sysdeps/unix/sysv/linux/writev.c: Likewise.
44532 2014-10-17  Roland McGrath  <roland@hack.frob.com>
44534         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44536         * sysdeps/i386/nptl/tls.h
44537         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44538         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44539         New macros.
44540         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44541         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44542         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44543         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44544         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44545         Call CHECK_THREAD_SYSINFO instead of doing an assert.
44547         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44548         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44549         on [__NR_futex].
44550         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44551         broken out of ...
44552         (__pthread_mutex_init): ... here.  Call it.
44553         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44554         Conditionalize PI cases on [__NR_futex].
44555         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44556         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44557         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44559         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44560         conditional on [SIGSETXID].
44561         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44562         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44563         is defined.  Likewise for SIGSETXID.
44564         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44565         Conditionalize definitions on [SIGSETXID].
44566         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44567         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44568         unblocking on [SIGCANCEL].
44570         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44571         [__NR_set_robust_list].
44573 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44575         * string/strcoll_l.c (get_next_seq): Fix up formatting.
44576         (do_compare): Likewise.
44578 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
44580         [BZ #15884]
44581         * string/strcoll_l.c: Don't include stdio.h.
44582         (coll_seq): Remove members idxarr and rulearr.
44583         (get_next_seq_cached): Remove function.
44584         (get_next_seq): Likewise.
44585         (get_next_seq_nocache): Rename to get_next_seq.
44586         (do_compare): Remove function.
44587         (do_compare_nocache): Rename to do_compare.
44588         (STRCOLL): Remove weight and rules cache.
44590 2014-10-16  Roland McGrath  <roland@hack.frob.com>
44592         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44593         * sysdeps/arm/sfp-machine.h: ... to here.
44594         * sysdeps/arm/Implies: Remove arm/soft-fp.
44596 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
44598         * conform/data/sys/utsname.h-data (*_t): Allow.
44599         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44600         [POSIX] (WEXITED): Do not expect constant.
44601         [POSIX] (WSTOPPED): Likewise.
44602         [POSIX] (WNOHANG): Likewise.
44603         [POSIX] (WNOWAIT): Likewise.
44604         [POSIX] (siginfo_t): Do not expect type or elements.
44605         [POSIX] (pid_t): Do not expect type.
44606         [POSIX] (signal.h): Do not allow header.
44607         [POSIX] (sys/resource.h): Likewise.
44608         [POSIX] (si_*): Do not allow pattern.
44609         [POSIX] (W*): Likewise.
44610         [POSIX] (P_*): Likewise.
44611         [POSIX] (BUS_*): Likewise.
44612         [POSIX] (CLD_*): Likewise.
44613         [POSIX] (FPE_*): Likewise.
44614         [POSIX] (ILL_*): Likewise.
44615         [POSIX] (POLL_*): Likewise.
44616         [POSIX] (SEGV_*): Likewise.
44617         [POSIX] (SI_*): Likewise.
44618         [POSIX] (TRAP_*): Likewise.
44619         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44620         variable.
44622 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
44624         [BZ #12926]
44625         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44626         infinite loop when __recvmsg returns 0.
44628 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
44630         * CANCEL-FCT-WAIVE: Remove file.
44631         * CANCEL-FILE-WAIVE: Likewise.
44633         [BZ #14132]
44634         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44635         instead of INTVARDEF.
44636         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44637         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44638         rtld_hidden_data_def instead of INTVARDEF.
44639         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44640         * elf/dl-deps.c (expand_dst): Likewise.
44641         * elf/dl-load.c (_dl_dst_count): Likewise.
44642         (_dl_dst_substitute): Likewise.
44643         (decompose_rpath): Likewise.
44644         (_dl_init_paths): Likewise.
44645         (open_path): Likewise.
44646         (_dl_map_object): Likewise.
44647         * elf/rtld.c (dl_main): Likewise.
44648         (process_dl_audit): Likewise.
44649         (process_envvars): Likewise.
44650         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44651         Remove declaration.
44652         (__libc_enable_secure): Use rtld_hidden_proto.
44654 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44656         * elf/dl-load.c
44657         (add_path): New function broken out of _dl_rtld_di_serinfo.
44658         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44660 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44662         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44663         parentheses around macro arguments.
44664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44669         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44670         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44673         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44675         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44676         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44677         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44678         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44679         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44680         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44693         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44695         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44696         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44697         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44698         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44699         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44700         Likewise.
44701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44708         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44709         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44712         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44713         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44717         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44720         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44721         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44722         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44723         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44724         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44725         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44726         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44727         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44728         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44729         (_FP_FRAC_SRS_1): Likewise.
44730         (_FP_FRAC_CLZ_1): Likewise.
44731         (_FP_MUL_MEAT_1_imm): Likewise.
44732         (_FP_MUL_MEAT_1_wide): Likewise.
44733         (_FP_MUL_MEAT_1_hard): Likewise.
44734         (_FP_SQRT_MEAT_1): Likewise.
44735         (_FP_FRAC_ASSEMBLE_1): Likewise.
44736         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44737         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44738         (__FP_CLZ_2): Likewise.
44739         (_FP_MUL_MEAT_2_wide): Likewise.
44740         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44741         (_FP_MUL_MEAT_2_gmp): Likewise.
44742         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44743         (_FP_SQRT_MEAT_2): Likewise.
44744         (_FP_FRAC_ASSEMBLE_2): Likewise.
44745         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44746         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44747         (_FP_FRAC_CLZ_4): Likewise.
44748         (_FP_MUL_MEAT_4_wide): Likewise.
44749         (_FP_MUL_MEAT_4_gmp): Likewise.
44750         (_FP_SQRT_MEAT_4): Likewise.
44751         (_FP_FRAC_ASSEMBLE_4): Likewise.
44752         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44753         * soft-fp/op-common.h (_FP_CMP): Likewise.
44754         (_FP_CMP_EQ): Likewise.
44755         (_FP_CMP_UNORD): Likewise.
44756         (_FP_TO_INT): Likewise.
44757         (_FP_FROM_INT): Likewise.
44758         [!__FP_CLZ] (__FP_CLZ): Likewise.
44759         (_FP_DIV_HELP_imm): Likewise.
44760         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44761         Likewise.
44762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44767         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44768         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44773         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44774         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44775         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44776         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44777         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44778         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44784         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44791         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44792         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44793         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44794         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44795         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44796         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44797         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44798         (FP_UNPACK_RAW_SP): Likewise.
44799         (FP_PACK_RAW_S): Likewise.
44800         (FP_PACK_RAW_SP): Likewise.
44801         (FP_UNPACK_S): Likewise.
44802         (FP_UNPACK_SP): Likewise.
44803         (FP_UNPACK_SEMIRAW_S): Likewise.
44804         (FP_UNPACK_SEMIRAW_SP): Likewise.
44805         (FP_PACK_S): Likewise.
44806         (FP_PACK_SP): Likewise.
44807         (FP_PACK_SEMIRAW_S): Likewise.
44808         (FP_PACK_SEMIRAW_SP): Likewise.
44809         (_FP_SQRT_MEAT_S): Likewise.
44810         (FP_CMP_S): Likewise.
44811         (FP_CMP_EQ_S): Likewise.
44812         (FP_CMP_UNORD_S): Likewise.
44813         (FP_TO_INT_S): Likewise.
44814         (FP_FROM_INT_S): Likewise.
44816         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44818         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44819         (FP_EX_INVALID_IMZ): Likewise.
44820         (FP_EX_INVALID_IMZ_FMA): Likewise.
44821         (FP_EX_INVALID_ISI): Likewise.
44822         (FP_EX_INVALID_ZDZ): Likewise.
44823         (FP_EX_INVALID_IDI): Likewise.
44824         (FP_EX_INVALID_SQRT): Likewise.
44825         (FP_EX_INVALID_CVI): Likewise.
44826         (FP_EX_INVALID_VC): Likewise.
44827         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44828         "invalid" exceptions.
44829         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44830         (_FP_ADD_INTERNAL): Likewise.
44831         (_FP_MUL): Likewise.
44832         (_FP_FMA): Likewise.
44833         (_FP_DIV): Likewise.
44834         (_FP_CMP_CHECK_NAN): Likewise.
44835         (_FP_SQRT): Likewise.
44836         (_FP_TO_INT): Likewise.
44837         (FP_EXTEND): Likewise.
44839 2014-10-09  Allan McRae  <allan@archlinux.org>
44841         * po/fr.po: Update French translation from translation project.
44843 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44845         [BZ #14132]
44846         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44847         of INTDEF.
44848         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44849         (__cxa_atexit): Use libc_hidden_proto.
44850         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44852         [BZ #14132]
44853         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44854         declaration.
44855         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44856         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44857         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44858         [!_ISOMAC] (__iswctype_internal): Likewise.
44859         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44860         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44861         alias.
44862         (fcntl): Remove __fcntl_internal alias.
44863         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44864         __connect_internal alias.
44865         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44866         Likewise.
44868         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44869         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44870         FP_DENORM_ZERO.
44871         (_FP_CHECK_FLUSH_ZERO): New macro.
44872         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44873         (_FP_CMP): Likewise.
44874         (_FP_CMP_EQ): Likewise.
44875         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44876         FP_DENORM_ZERO.
44877         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44878         (FP_TRUNC): Likewise.
44880         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44881         treated as invalid conversion, not as normal exponent.
44883         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44884         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44885         (_FP_CMP_EQ): Likewise.
44886         (_FP_CMP_UNORD): Likewise.
44887         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44888         (FP_CMP_EQ_D): Likewise.
44889         (FP_CMP_UNORD_D): Likewise.
44890         * soft-fp/extended.h (FP_CMP_E): Likewise.
44891         (FP_CMP_EQ_E): Likewise.
44892         (FP_CMP_UNORD_E): Likewise.
44893         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44894         (FP_CMP_EQ_Q): Likewise.
44895         (FP_CMP_UNORD_Q): Likewise.
44896         * soft-fp/single.h (FP_CMP_S): Likewise.
44897         (FP_CMP_EQ_S): Likewise.
44898         (FP_CMP_UNORD_S): Likewise.
44899         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44900         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44901         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44902         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44903         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44904         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44905         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44906         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44907         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44908         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44909         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44910         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44911         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44912         to FP_CMP_Q.
44913         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44914         FP_CMP_Q.
44915         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44916         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44917         FP_CMP_EQ_Q.
44918         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44919         FP_CMP_Q.
44920         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44921         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44922         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44923         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44924         FP_CMP_EQ_Q.
44925         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44926         FP_CMP_Q.
44927         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44928         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44929         FP_CMP_EQ_Q.
44930         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44931         FP_CMP_Q.
44932         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44933         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44934         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44935         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44936         FP_CMP_EQ_Q.
44938         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44939         a subnormal result, set the underflow exception if trapping on
44940         underflow is enabled.
44941         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44942         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44943         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44944         redefine to 0.
44945         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44946         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44947         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44948         * soft-fp/extendxftf2.c (__extendxftf2): Use
44949         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44951         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44952         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44953         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44954         FP_HANDLE_EXCEPTIONS.
44955         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44956         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44957         FP_HANDLE_EXCEPTIONS.
44958         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44959         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44960         FP_HANDLE_EXCEPTIONS.
44961         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44962         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44963         FP_HANDLE_EXCEPTIONS.
44965 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44967         [BZ #14132]
44968         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44969         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44970         use INTUSE.
44971         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44972         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44973         Remove alias.
44974         (__adjtimex): Define using libc_hidden_ver.
44975         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44976         Remove declaration.
44977         (ntp_gettime): Call __adjtimex directly.
44978         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44979         Remove declaration.
44980         (ntp_gettimex): Call __adjtimex directly.
44981         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44982         __adjtimex_internal alias.
44984 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44986         [BZ #17460]
44987         * nscd/nscd.c (more_help): Rewrite list of tables collection
44988         using xstrdup and asprintf.
44990         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44992 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44993             Roland McGrath  <roland@hack.frob.com>
44995         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44996         (do_lookup_unique): ... local function 'enter' here; update callers.
44998 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45000         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45001         compat_symbol calls on [SHARED].
45002         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45003         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45004         Remove.
45005         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45006         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45007         (oldsetrlimit): Remove.
45008         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45010         (lchown): New syscall entry.
45011         (oldsetrlimit): Remove.
45012         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45013         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45014         (oldsetrlimit): Remove.
45015         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45017         [BZ #14138]
45018         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45019         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45020         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45021         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45022         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45023         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45024         (fchown): Likewise.
45025         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45026         (fchown): Likewise.
45027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45028         Likewise.
45030 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45033         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45034         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45035         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45036         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45037         Likewise.
45038         (__old_sem_post): Likewise.
45040 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45042         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45043         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45044         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45045         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45046         Use INLINE_VSYSCALL macro.
45047         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45048         __vdso_clock_gettime.
45049         * sysdeps/unix/sysv/linux/tile/init-first.c
45050         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45051         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45052         __vdso_clock_gettime.
45054         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45055         to set up frame more cleanly.
45057         * sysdeps/tile/memcmp.c: New file.
45059         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45061         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45062         * sysdeps/tile/tilegx/strcasestr.c: New file.
45063         * sysdeps/tile/tilegx/strnlen.c: New file.
45064         * sysdeps/tile/tilegx/strstr.c: New file.
45066         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45068 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45070         * nptl/tst-setuid3.c: Write errors to stdout.
45072 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45074         * elf/dl-deps.c
45075         (preload): New functions broken out of _dl_map_object_deps.
45076         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45078 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45080         [BZ #14138]
45081         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45082         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45084 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45086         * sysdeps/mips/strcmp.S: New.
45088 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45090         [BZ #14138]
45091         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45092         (linkat): Likewise.
45093         (mkdirat): Likewise.
45094         (readlinkat): Likewise.
45095         (renameat): Likewise.
45096         (symlinkat): Likewise.
45097         (unlinkat): Likewise.
45098         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45099         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45100         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45101         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45102         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45103         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45104         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45106 2014-09-30  Will Newton  <will.newton@linaro.org>
45108         * math/math.h: Define long double math functions if
45109         _LIBC_TEST is defined.
45110         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45112         * localedata/Makefile: Move assignment to tests-special
45113         into an ifdef testing run-built-tests.
45114         * timezone/Makefile: Likewise.
45116 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
45118         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45119         with $(BASH) not $(SHELL).
45121 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
45122             Matthew LeGendre  <legendre1@llnl.gov>
45124         [BZ #17411]
45125         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45126         l_reloc_result.
45128 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45130         * stdio-common/printf_fp.c
45131         (hack_digit): New function, broken out of ...
45132         (__printf_fp): ... local function here.  Update call sites.
45133         hack_digit now takes an additional parameter that is a pointer
45134         to a struct of the referenced locals.  Those locals moved inside
45135         the struct and references updated.
45137 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
45139         * aclocal.m4: Require autoconf 2.69.
45140         * configure: Regenerated.
45141         * sysdeps/aarch64/configure: Likewise.
45142         * sysdeps/alpha/configure: Likewise.
45143         * sysdeps/arm/armv7/configure: Likewise.
45144         * sysdeps/arm/configure: Likewise.
45145         * sysdeps/ia64/configure: Likewise.
45146         * sysdeps/mach/configure: Likewise.
45147         * sysdeps/mips/configure: Likewise.
45148         * sysdeps/s390/configure: Likewise.
45149         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45152         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45153         file.
45154         * sysdeps/ia64/configure.ac: Likewise.
45156 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
45158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45159         specify symbol version for ld.so.  Do not include entry for
45160         libpthread.
45161         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45162         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45165         [BZ #14171]
45166         * Makeconfig [$(build-shared) = yes]
45167         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45168         makefiles.
45169         [$(build-shared) = yes && $(soversions.mk-done) = t]
45170         ($(common-objpfx)gnu/lib-names.h): Remove rule.
45171         [$(build-shared) = yes && $(soversions.mk-done) = t]
45172         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
45173         to Makerules.
45174         [$(build-shared) = yes && $(soversions.mk-done) = t]
45175         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45176         here.
45177         [$(build-shared) = yes && $(soversions.mk-done) = t]
45178         (common-generated): Don't append gnu/lib-names.h and
45179         gnu/lib-names.stmp here.
45180         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45181         (lib-names-h-abi): New variable.
45182         [$(build-shared) = yes && $(soversions.mk-done) = t]
45183         (lib-names-stmp-abi): Likewise.
45184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45185         abi-variants] (before-compile): Append
45186         $(common-objpfx)$(lib-names-h-abi).
45187         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45188         abi-variants] (common-generated): Append gnu/lib-names.h.
45189         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45190         abi-variants] (install-others-nosubdir): Depend on
45191         $(inst_includedir)/$(lib-names-h-abi).
45192         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45193         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45194         [$(build-shared) = yes && $(soversions.mk-done) = t]
45195         ($(common-objpfx)$(lib-names-h-abi)): New rule.
45196         [$(build-shared) = yes && $(soversions.mk-done) = t]
45197         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45198         [$(build-shared) = yes && $(soversions.mk-done) = t]
45199         (common-generated): Append $(lib-names-h-abi) and
45200         $(lib-names-stmp-abi).
45201         * scripts/lib-names.awk: Do not handle multi being set.
45202         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45203         Remove variable.
45204         (abi-lp64_be-ld-soname): Likewise.
45205         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45206         Likewise.
45207         (abi-hard-ld-soname): Likewise.
45208         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45209         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45210         Remove variable.
45211         (abi-o32_hard-ld-soname): Likewise.
45212         (abi-o32_soft_2008-ld-soname): Likewise.
45213         (abi-o32_hard_2008-ld-soname): Likewise.
45214         (abi-n32_soft-ld-soname): Likewise.
45215         (abi-n32_hard-ld-soname): Likewise.
45216         (abi-n32_soft_2008-ld-soname): Likewise.
45217         (abi-n32_hard_2008-ld-soname): Likewise.
45218         (abi-n64_soft-ld-soname): Likewise.
45219         (abi-n64_hard-ld-soname): Likewise.
45220         (abi-n64_soft_2008-ld-soname): Likewise.
45221         (abi-n64_hard_2008-ld-soname): Likewise.
45222         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45223         Likewise.
45224         (abi-64-v2-ld-soname): Likewise.
45225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45226         ld.so entries.
45227         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45228         variable.
45229         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45230         entry.
45231         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45232         variable.
45233         (abi-64-ld-soname): Likewise.
45234         (abi-x32-ld-soname): Likewise.
45235         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45236         entry.
45237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45239 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
45241         [BZ #14138]
45242         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45243         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45244         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45245         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45246         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45247         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45248         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45249         syscall entry for GLIBC_2.2 symbol version.
45250         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45251         Likewise.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45253         (setrlimit): Likewise.
45254         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45255         Likewise.
45257 2014-09-23  Will Newton  <will.newton@linaro.org>
45259         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45260         _LINUX_ARM_SYSDEP_H include guard too.
45261         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45262         define.
45264 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45266         * sysdeps/unix/sysv/linux/eventfd.c:
45267         Make first argument unsigned.
45268         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45269         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45271 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
45273         [BZ #16852]
45274         * socket/recvmmsg.c (recvmmsg): Drop const argument.
45275         * socket/sys/socket.h: Likewise.
45276         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45278 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45280         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45282 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
45284         * time/tst-ftime.c: New test.
45285         * time/Makefile (tests): Add tst-ftime.
45287 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
45289         * soft-fp/extended.h: Fix comment formatting.
45290         * soft-fp/op-1.h: Likewise.
45291         * soft-fp/op-2.h: Likewise.
45292         * soft-fp/op-4.h: Likewise.
45293         * soft-fp/op-8.h: Likewise.
45294         * soft-fp/op-common.h: Likewise.
45295         * soft-fp/soft-fp.h: Likewise.
45297         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45299 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
45301         [BZ #6652]
45302         * Makeconfig (soversions-default-setname): Remove variable.
45303         ($(common-objpfx)soversions.i): Don't pass default_setname to
45304         soversions.awk.
45305         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45306         oldest_abi to abi-versions.awk.
45307         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45308         * config.make.in (oldest-abi): Remove variable.
45309         * configure.ac (--enable-oldest-abi): Remove configure option.
45310         * configure: Regenerated.
45311         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45312         text.
45313         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45314         * scripts/soversions.awk: Do not handle default_setname variable.
45315         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45316         variable.
45317         * sysdeps/mach/hurd/configure: Regenerated.
45318         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45319         variable.
45320         * sysdeps/unix/sysv/linux/configure: Regenerated.
45322 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45324         * elf/Makefile (CFLAGS-interp.c): Remove.
45325         ($(elf-objpfx)runtime-linker.h): Generate header with linker
45326         path string.
45327         * elf/interp.c: Include generated runtime-linker.h
45329         * Makerules (lib%.so): Don't include $(+interp) in
45330         prerequisites.
45331         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45332         * dlfcn/eval.c: Remove file.
45334         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45335         macros.
45337         [BZ #17266]
45338         * misc/sys/cdefs.h: Define __extern_always_inline for clang
45339         4.2 and newer.
45341         [BZ #17370]
45342         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45344 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45345             Jakub Jelinek  <jakub@redhat.com>
45347         [BZ #17266]
45348         * libio/stdio.h: Check definition of __fortify_function
45349         instead of __extern_always_inline to include bits/stdio2.h.
45350         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45351         check if __extern_always_inline is defined.
45352         [__USE_MISC || __USE_XOPEN]: Likewise.
45353         [__USE_ISOC99] Likewise.
45354         * misc/sys/cdefs.h (__fortify_function): Define only if
45355         __extern_always_inline is defined.
45356         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45357         __extern_always_inline and __extern_inline only for g++-4.3
45358         and newer or a compatible gcc.
45360 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
45362         [BZ #17371]
45363         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45364         last change to handle zero prefix length.
45366 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45368         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45369         _SC_REGEX_VERSION.
45371         * posix/getconf.c (vars): Add _POSIX_IPV6 and
45372         _POSIX_RAW_SOCKETS.
45374 2014-09-13  Allan McRae  <allan@archlinux.org>
45376         * po/ru.po: Update Russian translation from translation project.
45378 2014-09-12  Roland McGrath  <roland@hack.frob.com>
45380         * locale/programs/locale.c (show_locale_vars): Inline local function
45381         into its sole call site.  Clean up some style nits.
45382         (print_item): New function, broken out of ...
45383         (show_info): ... local function here.  Clean up style nits.
45385         * locale/programs/ld-ctype.c (set_one_default): New function, broken
45386         out of ...
45387         (set_class_defaults): ... local function set_default here.
45388         Define set_default as a macro locally to pass constant parameters.
45389         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45390         rather than a shared local.
45392         * stdlib/rpmatch.c (try): New function, broken out of ...
45393         (rpmatch): ... local function here.  Also, prototypify definition.
45395 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
45397         * scripts/soversions.awk: Do not handle configuration names.
45398         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
45399         vendor and os variables to soversions.awk.
45400         * configure.ac: Do not modify gnu-* host_os.
45401         * configure: Regenerated
45402         * shlib-versions: Remove first column with configuration names.
45403         * nptl/shlib-versions: Likewise.
45404         * nptl_db/shlib-versions: Likewise.
45405         * sysdeps/hppa/shlib-versions: Likewise.
45406         * sysdeps/m68k/shlib-versions: Likewise.
45407         * sysdeps/mach/hurd/shlib-versions: Likewise.
45408         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
45409         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45410         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45411         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45412         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45413         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45414         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45415         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45417         Likewise.
45418         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45419         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45420         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45421         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45422         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45423         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45424         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45425         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45428         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45430         Regenerated.
45431         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45433         Condition symbol version definitions on [HAVE_ELFV2_ABI].
45435         * shlib-versions: Remove OS-specific entries.  Moved to files in
45436         sysdeps.
45437         * sysdeps/mach/hurd/shlib-versions: New file.
45438         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45440         * nptl/shlib-versions: Remove architecture-specific entries.
45441         Moved to files in sysdeps.
45442         * shlib-versions: Likewise.
45443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45444         file.
45445         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45446         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45447         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45448         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45450         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45451         (UDP_NO_CHECK6_RX): Likewise.
45453 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45455         * sysdeps/posix/sysconf.c (__sysconf): Spell
45456         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45458 2014-08-12  Florian Weimer  <fweimer@redhat.com>
45460         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45461         loading.
45462         * iconv/Versions (__gconv_transliterate): Export for use from
45463         gconv modules.
45464         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45465         (struct __gconv_trans_data, __gconv_trans_fct,
45466         __gconv_trans_context_fct, __gconv_trans_query_fct,
45467         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45468         definitions.
45469         (struct __gconv_step_data): Remove __trans member.
45470         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
45471         longer hidden.  Remove unused trans_data argument.
45472         * iconv/gconv_int.h (struct trans_struct): Remove definition.
45473         (__gconv_translit_find): Remove declaration.
45474         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
45475         prototype.
45476         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45477         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45478         trans_data argument.  Add hidden definition.
45479         (__gconv_translit_find): Remove.
45480         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45481         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45482         * iconv/skeleton.c: Remove transliteration initialization.
45483         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45484         __gconv_step_data initialization.
45485         * libio/iofwide.c (__libio_translit_): Remove.
45486         (_IO_fwide): Adjust struct __gconv_step_data initialization.
45487         * wcsmbs/btowc.c (__btowc): Likewise.
45488         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45489         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45490         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45491         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45492         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45493         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45494         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45495         * wcsmbs/wctob.c (wctob): Likewise.
45497 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45499         [BZ #16194]
45500         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45501         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
45502         register usage.
45503         * sysdeps/x86/Makefile: Adjust.
45505 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45506             Roland McGrath  <roland@hack.frob.com>
45508         * locale/weight.h: Add include guard.
45509         (findidx): Make static rather than auto; take new parameters
45510         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45511         * locale/weightwc.h: Likewise.
45512         * posix/fnmatch_loop.c
45513         (FCT): Change type of EXTRA from int32_t to wint_t.
45514         Don't include either header inside the function.
45515         Call FINDIDX rather than findidx, and pass new arguments.
45516         #undef FINDIDX at the end of the file.
45517         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45518         FINDIDX before including fnmatch_loop.c for the non-wide version.
45519         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45520         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45521         for the wide version.
45522         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45523         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45524         Pass new arguments to findidx.
45525         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45526         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45527         Don't #include it inside the function.  Pass new arguments to findidx.
45528         * posix/regex_internal.h
45529         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45530         (re_string_elem_size_at): Don't #include it inside the function.
45531         Pass new arguments to findidx.
45532         * string/strcoll_l.c: #include WEIGHT_H at top level.
45533         (get_next_seq): Don't #include it inside the function.
45534         Pass new arguments to findidx.
45535         (get_next_seq_nocache): Likewise.
45536         * string/strxfrm_l.c: #include WEIGHT_H at top level.
45537         (STRXFRM): Don't #include it inside the function.
45538         Pass new arguments to findidx.
45540 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45542         [BZ #17344]
45543         * malloc/malloc.c (unlink): Turn asserts into a call to
45544         malloc_printerr.
45546 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
45548         [BZ #17370]
45549         * libio/wfileops (do_ftell_wide): Free OUT.
45551 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
45553         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45555 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45557         [BZ #17363]
45558         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45559         group if the current group is empty.
45561 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45563         * benchtests/bench-memset.c (test_main): Add more test from size
45564         from 32 to 512 bytes.
45565         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45566         Add POWER8 memset object.
45567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45568         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45569         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45570         implementation.
45571         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45572         Likewise.
45573         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45574         multiarch POWER8 memset optimization.
45575         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45576         POWER8 memset optimization.
45578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45579         Remove bzero multiarch objects.
45580         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45581         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45582         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45583         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45584         Remove define.
45585         [__bzero]: Redefine to specific name.
45586         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45587         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45588         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45589         define.
45590         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45591         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45593 2014-09-10  Florian Weimer  <fweimer@redhat.com>
45595         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45596         warnings into errors.
45598         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45599         __cxa_thread_atexit_impl prototype.
45601 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45603         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45604         Fix capitalization of error message.
45606 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45608         * sysdeps/mips/preconfigure: Modify ABI tests.
45610 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
45612         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45614 2014-09-07  Roland McGrath  <roland@hack.frob.com>
45615             Carlos O'Donell  <carlos@systemhalted.org>
45617         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45619         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45620         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45621         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45622         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45623         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45624         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45625         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45626         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45627         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45629         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45631         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45632         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45633         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45635         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45636         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45637         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45638         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45639         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45640         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45641         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45642         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45643         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45644         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45645         Deconditionalize the code that was previously under [RESET_PID].
45646         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45647         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45648         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45649         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45650         include sysdep.h.
45652 2014-09-08  Allan McRae  <allan@archlinux.org>
45654         * version.h (RELEASE): Set to "development".
45655         (VERSION): Set to "2.20.90"
45657 2014-09-07  Allan McRae  <allan@archlinux.org
45659         * version.h (RELEASE): Set to "stable".
45660         (VERSION): Set to "2.20"
45661         * include/features.h (__GLIBC_MINOR__): Set to 20.
45663         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45664         Liebler.
45666         * po/ko.po: Update Korean translation from translation project.
45668 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45670         [BZ #17354]
45671         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45672         macro for handling signed relocations.
45674 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45676         [BZ #17325]
45677         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45678         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45679         assert.
45680         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45681         * iconvdata/ibm935.c (BODY): Likewise.
45682         * iconvdata/ibm937.c (BODY): Likewise.
45683         * iconvdata/ibm939.c (BODY): Likewise.
45684         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45685         assert.
45686         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45687         script.
45688         * iconvdata/run-iconv-test.sh: New test loop for checking for
45689         decoder crashers.
45691 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45693         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45694         libm_hidden_ver.
45696 2014-09-01  Allan McRae  <allan@archlinux.org>
45698         * po/eo.po: Update Esperanto translation from translation project.
45700         * po/ca.po: Update Catalan translation from translation project.
45702 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45704         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45705         __proc_dostop call.
45707 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45709         [BZ #17319]
45710         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45711         to call set_thread_area instead of hand written asm.
45712         (__NR_set_thread_area): Removed define.
45713         (TLS_FLAG_WRITABLE): Likewise.
45714         (__ASSUME_SET_THREAD_AREA): Remove check.
45715         (TLS_EBX_ARG): Remove define.
45716         (TLS_LOAD_EBX): Likewise.
45718 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45720         Simplify atomicity of socket creation in bind.
45722         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45723         looking up the name after linking the file.
45725 2014-08-27  Allan McRae  <allan@archlinux.org>
45727         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45729 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45731         [BZ #17187]
45732         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45733         trans_compare, open_translit, __gconv_translit_find):
45734         Remove module loading code.
45736 2014-08-26  Allan McRae  <allan@archlinux.org>
45738         * po/vi.po: Update Vietnamese translation from translation project.
45740         * po/uk.po: Update Ukrainian translation from translation project.
45742         * po/fr.po: Update French translation from translation project.
45744         * po/ru.po: Update Russian translation from translation project.
45746         * po/pl.po: Update Polish translation from translation project.
45748         * po/cs.po: Update Czech translation from translation project.
45750         * po/de.po: Update German translation from translation project.
45752         * po/bg.po: Update Bulgarian translation from translation project.
45754         * po/sv.po: Update Sweedish translation from translation project.
45756         * po/nl.po: Update Dutch translation from translation project.
45758         * po/es.po: Update Spanish translation from translation project.
45760 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45762         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45764         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45765         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45766         (CPPFLAGS-iconvconfig): Likewise.
45767         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45769         * include/libc-symbols.h: Remove unnecessary check for
45770         NOT_IN_libc.
45771         * nptl/pthreadP.h: Likewise.
45772         * sysdeps/aarch64/setjmp.S: Likewise.
45773         * sysdeps/alpha/setjmp.S: Likewise.
45774         * sysdeps/arm/sysdep.h: Likewise.
45775         * sysdeps/i386/setjmp.S: Likewise.
45776         * sysdeps/m68k/setjmp.c: Likewise.
45777         * sysdeps/posix/getcwd.c: Likewise.
45778         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45779         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45780         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45781         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45782         * sysdeps/sh/sh3/setjmp.S: Likewise.
45783         * sysdeps/sh/sh4/setjmp.S: Likewise.
45784         * sysdeps/unix/alpha/sysdep.h: Likewise.
45785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45787         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45788         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45792         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45793         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45796         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45798         * sysdeps/x86_64/setjmp.S: Likewise.
45800 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45802         [BZ #17263]
45803         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45804         <stdint.h>.
45805         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45806         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45808 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45810         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45812         [BZ #17262]
45813         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45814         and __x86_64__ when disabling x87 inline functions.
45816 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45818         [BZ #17259]
45819         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45820         asm statement with __cpuid_count.
45822 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45824         * configure.ac: Change __ehdr_start code to dereference the struct.
45825         Run readelf on the output to look for relocations.
45826         * configure: Regenerated.
45828 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45830         [BZ #17261]
45831         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45832         value to 0.
45833         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45835 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45837         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45839 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45841         [BZ #16892]
45842         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45843         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45845 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45847         * malloc/malloc.c: Fix typo in comment.
45849 2014-08-09  Allan McRae  <allan@archlinux.org>
45851         * Regenerate libc.po.
45853 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45855         * intl/tst-gettext2.sh: Check every lang file for creation.
45857 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45859         * sysdeps/aarch64/fpu/math_private.h
45860         (libc_feholdsetround_noex_aarch64_ctx): New function.
45862 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45864         * sysdeps/arm/armv6/strcpy.S (strcpy):
45865         Fix performance issue in misaligned cases.
45867 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45869         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45870         Move definition from termios.h.
45871         (struct termio): Likewise.
45872         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45873         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45874         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45875         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45876         Likewise.
45877         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45878         Move definition to ioctl-types.h
45879         (struct termio): Likewise.
45880         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45881         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45882         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45883         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45884         Likewise.
45886 2014-08-05  Richard Henderson  <rth@redhat.com>
45888         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45889         exceptions.
45890         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45891         Add fraiseexcpt.
45892         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45893         Use __feraiseexcept.
45894         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45895         Protect libm symbols with IS_IN_libm.
45897         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45899 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45901         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45903 2014-08-04  Will Newton  <will.newton@linaro.org>
45905         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45906         file.
45908 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45910         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45911         variants for each function.
45913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45915         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45916         appended ...
45917         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45918         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45919         appended ...
45920         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45921         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45922         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45923         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45924         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45925         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45926         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45927         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45928         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45929         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45930         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45931         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45932         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45933         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45934         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45935         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45936         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45937         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45938         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45939         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45940         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45941         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45942         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45943         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45944         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45945         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45946         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45947         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45948         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45949         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45950         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45951         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45952         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45953         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45954         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45955         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45956         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45957         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45958         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45959         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45960         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45962         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45964         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45966         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45967         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45968         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45970         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45971         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45972         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45973         Update #include.
45974         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45975         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45977 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45979         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45980         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45981         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45982         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45983         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45984         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45986 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45988         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45989         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45990         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45991         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45993 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45995         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45996         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45997         (__libc_vfork): Define function under this name.
45998         (__vfork): Define as an alias.
45999         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46000         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46002 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46004         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46005         that was previously under [RESET_PID].
46006         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46008 2014-08-04  Andreas Schwab  <schwab@suse.de>
46010         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46012 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46014         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46015         (main): Likewise.
46017 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46019         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46021 2014-08-01  Richard Henderon  <rth@redhat.com>
46023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46024         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46025         typo in exact zero test.
46026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46027         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46028         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46030 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46032         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46033         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46034         * sysdeps/arm/sysdep.h: ... here.
46035         [!__ASSEMBLER__]: Include <stdint.h>.
46037 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46039         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46040         (HAVE_WCTYPE_H): Likewise.
46041         (HAVE_ISWCTYPE): Likewise.
46042         (ENABLE_NLS): Likewise.
46043         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46044         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46046         * posix/regex_internal.c: Check if DEBUG is defined and is
46047         set.
46049         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46050         (HAVE_MBSRTOWCS): Likewise.
46051         * posix/fnmatch.c: Include string.h unconditionally.
46053 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46055         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46056         reversal.
46058 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46060         * sysdeps/generic/safe-fatal.h: New file.
46061         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46062         * nptl/forward.c: Include it.
46063         (__pthread_unwind): Use __safe_fatal as default action, rather
46064         than a bogus use of INTERNAL_SYSCALL that could never work.
46066         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46067         * configure.ac (libc_cv_builtin_trap): New test.
46068         * configure: Regenerated.
46069         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46070         (ABORT_INSTRUCTION): Define using __builtin_trap.
46072         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46073         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46074         * sysdeps/nptl/nptl-signals.h: New file.
46075         * nptl/pthreadP.h: Include <nptl-signals.h>.
46077 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46079         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46080         (ONE_DIRECTION): Define.
46081         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46082         (ONE_DIRECTION): Define.
46083         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46084         (ONE_DIRECTION): Define.
46086 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46088         * sysdeps/s390/Makefile: Delete file.
46089         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46090         * sysdeps/s390/__longjmp.c: Delete file.
46091         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46092         Remove fields __flags and __reserved.
46093         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46094         and add versioning.
46095         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46096         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46097         * sysdeps/s390/rtld-setjmp.S: Likewise.
46098         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46099         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46100         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46101         * sysdeps/s390/s390-32/setjmp.S: ... here.
46102         Add versioning.
46103         (__sigsetjmp): Remove setting __flags field.
46104         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46105         * sysdeps/s390/s390-64/__longjmp.c: ... here.
46106         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46107         * sysdeps/s390/s390-64/setjmp.S: ... here.
46108         Add versioning.
46109         (__sigsetjmp): Remove setting __flags field.
46110         * sysdeps/s390/setjmp.S: Delete file.
46111         * sysdeps/s390/sigjmp.c: Likewise.
46112         * sysdeps/s390/v1-longjmp.c: Likewise.
46113         * sysdeps/s390/v1-setjmp.h: Likewise.
46114         * sysdeps/s390/v1-sigjmp.c: Likewise.
46115         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46116         Remove v1-longjmp_chk.
46117         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46118         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46119         Include debug/longjmp_chk.c and add versioning.
46120         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46121         Include nptl/pt-longjmp.c and add versioning.
46122         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46123         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46124         Include __longjmp.c.
46125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46126         Move to ...
46127         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46128         (__getcontext): Remove setting __flags field.
46129         Add versioning.
46130         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46131         Don't restore upper high grps.
46132         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46133         Likewise.
46134         (__swapcontext): Remove setting uc_flags field.
46135         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46136         Delete file.
46137         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46138         Include __longjmp.c.
46139         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46140         Move to ...
46141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46142         (__getcontext): Remove setting __flags field.
46143         Add versioning.
46144         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46145         (__swapcontext): Remove setting uc_flags field.
46146         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46147         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46148         Remove fields uc_high_gprs and __reserved.
46149         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46150         New file with reverted content.
46151         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46152         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46153         Regenerated.
46154         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46155         Regenerated.
46157 2014-07-31  Andreas Schwab  <schwab@suse.de>
46159         * config.h.in (HAVE_IFUNC): Define to 0.
46160         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46161         definedness.
46163 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
46165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46166         memmove-avx-unaligned, memcpy-avx-unaligned and
46167         mempcpy-avx-unaligned.
46168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46169         Add tests for AVX memcpy functions.
46170         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46171         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46172         memcpy_chk.
46173         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46174         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46175         memmove_chk.
46176         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46177         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46178         mempcpy_chk.
46179         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46180         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46181         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46183 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46185         [BZ #17213]
46186         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46187         powerpc64le.
46189 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
46191         [BZ #16839]
46192         * manual/llio.texi: Add section about open file description locks.
46193         * manual/examples/ofdlocks.c: Example of open file description
46194         lock usage.
46195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46196         F_OFD_SETLK, and F_OFD_SETLKW.
46198 2014-07-23  Allan McRae  <allan@archlinux.org>
46200         * po/es.po: Update Spanish translation from translation project.
46202 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
46204         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46206 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
46208         [BZ #17078]
46209         * sysdeps/arm/dl-machine.h (elf_machine_rela)
46210         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46211         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46213 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
46215         [BZ #17088]
46216         * math/fesetenv.c (__fesetenv)
46217         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46218         * math/feupdateenv.c (__feupdateenv)
46219         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46221         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46222         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46223         (__ASSUME_SOCKETCALL): Do not define.
46225         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46226         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46227         (__ASSUME_SOCKETCALL): Do not define.
46228         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46229         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46230         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46231         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46232         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46233         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46234         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46235         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46237         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46238         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46239         (__ASSUME_SOCKETCALL): Do not define.
46240         (__ASSUME_IPC64): Define unconditionally.
46241         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46242         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46243         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46244         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46245         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46247         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46248         Likewise.
46250         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46251         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46252         (__ASSUME_SOCKETCALL): Do not define.
46253         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46254         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46255         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46256         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46257         (__ASSUME_REQUEUE_PI): Define unconditionally.
46258         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46259         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46260         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46261         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46262         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46263         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46265         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46266         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46267         (__ASSUME_SOCKETCALL): Do not define.
46268         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46269         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46270         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46271         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46272         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46273         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46275         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46276         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46277         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46278         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46280         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46281         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46282         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46283         (__ASSUME_GETCPU_SYSCALL): Likewise.
46285         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46286         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
46287         cases for individual architectures.
46288         * sysdeps/gnu/configure: Regenerated.
46289         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46290         LIBC_SLIBDIR_RTLDDIR.
46291         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46292         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46293         LIBC_SLIBDIR_RTLDDIR.
46294         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46296         LIBC_SLIBDIR_RTLDDIR.
46297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46298         Regenerated.
46299         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46300         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46301         file.
46302         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46303         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46304         file.
46305         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46306         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46307         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46308         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46310         * sysdeps/aarch64/shlib-versions: Move to ...
46311         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46312         * sysdeps/alpha/shlib-versions: Move to ...
46313         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46314         * sysdeps/arm/shlib-versions: Move to ...
46315         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46316         * sysdeps/hppa/shlib-versions: Move all contents except for
46317         libgcc_s entry to ...
46318         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
46319         entry from ...
46320         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
46321         * sysdeps/ia64/shlib-versions: Move to ...
46322         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
46323         entry from ...
46324         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
46325         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46326         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46327         * sysdeps/microblaze/shlib-versions: Move to ...
46328         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46329         * sysdeps/mips/shlib-versions: Move to ...
46330         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
46331         entry from ...
46332         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
46333         * sysdeps/tile/shlib-versions: Move to ...
46334         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46335         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46336         from ...
46337         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
46338         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46339         entry from ...
46340         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
46342 2014-07-17  Will Newton  <will.newton@linaro.org>
46344         * sysdeps/arm/bits/atomic.h
46345         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46346         (__arch_compare_and_exchange_bool_16_int): Likewise.
46347         (__arch_compare_and_exchange_bool_64_int): Likewise.
46349         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46350         into an #else block.
46352 2014-07-16  Roland McGrath  <roland@hack.frob.com>
46354         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46355         just Linux configurations.  Test empirically that the compiler sets
46356         __ARM_EABI__, rather than using the tuple to decide.
46357         * sysdeps/arm/preconfigure: Regenerated.
46358         * sysdeps/unix/sysv/linux/arm/configure: File removed.
46359         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46360         contents appended ...
46361         * sysdeps/arm/configure.ac: ... here.
46362         * sysdeps/arm/configure: Regenerated.
46364 2014-07-15  Roland McGrath  <roland@hack.frob.com>
46366         * nptl/pthread_kill.c: New file.
46367         * nptl/pthread_sigmask.c: New file.
46368         * nptl/pthread_sigqueue.c: New file.
46370         * sysdeps/nptl/lowlevellock.h: New file.
46371         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46372         * sysdeps/nptl/lowlevellock-futex.h: New file.
46374         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46375         Remove dead declarations.
46377 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
46379         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46380         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46381         config-cflags-avx2.
46382         * sysdeps/x86_64/configure.ac: Likewise.
46383         * sysdeps/i386/configure: Regenerated.
46384         * sysdeps/x86_64/configure: Likewise.
46385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46386         memset-avx2 only if config-cflags-avx2 is yes.
46387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46388         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46389         defined.
46390         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46391         only if HAVE_AVX2_SUPPORT is defined.
46392         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46394 2014-07-14  Alan Modra  <amodra@gmail.com>
46396         [BZ #17153]
46397         * elf/elf.h (DT_PPC64_NUM): Correct value.
46398         * NEWS: Add to fixed bug list.
46400 2014-07-13  Jim Meyering  <meyering@fb.com>
46402         [BZ 17150]
46403         regex: don't deref NULL upon heap allocation failure
46404         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
46405         failure in one more place.
46406         To trigger the segfault, configure grep -with-included-regex,
46407         build it, and run these commands:
46408         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
46410 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
46412         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46414 2014-07-11  Richard Henderson  <rth@redhat.com>
46416         * sysdeps/aarch64/libm-test-ulps: Update.
46418 2014-07-10  Florian Weimer  <fweimer@redhat.com>
46420         [BZ #17135]
46421         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46422         * nptl/allocatestack.c (__nptl_setxid_error): New function.
46423         (__nptl_setxid): Initialize error member.  Call
46424         __nptl_setxid_error.
46425         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46426         * nptl/descr.h (struct xid_command): Add error member.
46427         * nptl/tst-setuid3.c: New file.
46428         * nptl/Makefile (tests): Add it.
46430 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46432         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46433         New define.
46434         (__lll_trylock): Use __lll_base_trylock.
46435         (__lll_cond_trylock): Likewise.
46437 2014-07-10  Roland McGrath  <roland@hack.frob.com>
46439         * nptl/pthread_create.c (start_thread): Use atomic_or and
46440         lll_futex_wake directly rather than lll_robust_dead.
46441         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46442         (lll_robust_dead): Macro removed.
46443         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46444         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46445         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46446         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46447         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46448         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46449         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46450         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46451         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46452         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46453         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46454         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46455         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46456         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46457         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46459         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46460         Use atomic_compare_and_exchange_val_acq directly rather than
46461         lll_robust_trylock.
46462         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46463         (__lll_robust_trylock, lll_robust_trylock): Removed.
46464         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46465         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46466         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46467         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46468         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46469         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46470         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46471         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46472         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46473         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46475         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46476         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46477         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46479 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46481         * manual/locale.texi (Locale Names): New section documenting
46482         locale name syntax.  Adjust menu and node chaining accordingly.
46483         (Choosing Locale): Reference Locale Names, Locale Categories.
46484         Mention setting LC_ALL=C.  Reflect that name syntax is now
46485         documented.
46486         (Locale Categories): New section title.  Reference Locale Names.
46487         LC_ALL is an environment variable, but not a category.
46488         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46489         description, now in Locale Name.  Reference that section.  Locale
46490         name syntax is now documented.
46492 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46494         [BZ #17137]
46495         * locale/findlocale.c (name_present, valid_locale_name): New
46496         functions.
46497         (_nl_find_locale): Use the loc_name variable to store name
46498         candidates.  Call name_present and valid_locale_name to check and
46499         validate locale names.  Return an error if the locale is invalid.
46501 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46503         * locale/setlocale.c (setlocale): Use strdup for allocating
46504         composite name copy.
46506 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46508         Sync up with gnulib.
46509         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46510         [!_LIBC && ENABLE_NLS]: Include gettext.h.
46511         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46512         and _GL_ARG_NONNULL.
46513         [USE_UNLOCKED_IO]: Include unlocked-io.h.
46514         [!_LIBC]: Include code for Windows and Cygwin.
46515         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46516         Include prototype for int strerror_r.
46517         [!_LIBC] (is_open): New function.
46518         (flush_stdout): New function.
46519         (print_errno_message): Use it.
46520         (error): Likewise.
46521         (error_at_line): Likewise.
46522         (error_tail) Add function attribute macros.  Use
46523         __builtin_expect.
46525         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46527         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46529         * io/ftw.c: Include sys/param.h unconditionally.
46531         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46533         [BZ #17125]
46534         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46535         libc_freeres_ptr.
46536         (freecache): New function to free CACHE on exit.
46538         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46539         initialization.
46541 2014-07-09  David S. Miller  <davem@davemloft.net>
46543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46545         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46546         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46547         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46548         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46549         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46550         * sysdeps/sparc/nptl/sem_init.c: Likewise.
46551         * sysdeps/sparc/nptl/sem_post.c: Likewise.
46552         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46553         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46554         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46555         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46556         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46557         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46559 2014-07-09  Andreas Schwab  <schwab@suse.de>
46561         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46562         output.
46563         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46564         (do_test): Likewise.
46566         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46568 2014-07-09  Will Newton  <will.newton@linaro.org>
46570         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46571         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46572         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46573         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46574         * sysdeps/hppa/start.S (_start): Likewise.
46576 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46578         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46580         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46581         defined.
46583 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46585         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46586         after checking that it is non-NULL.
46588         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46590 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46592         * sysdeps/powerpc/memmove.c: Remove file.
46593         * sysdeps/powerpc/powerpc32/power4/memcopy.h
46594         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46596         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46597         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46598         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46599         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46600         string memmove instead of removed powerpc one.
46602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46603         [weak_alias]: Fix compiler warning due trailing data.
46604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46605         [weak_alias]: Likewise.
46606         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46607         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46610         (__libc_ifunc_impl_list): Add memmove functions.
46612 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46614         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46615         Remove code.
46616         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46617         Likewise.
46618         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46619         Likewise.
46620         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46621         Likewise.
46622         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46623         Likewise.
46624         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46625         Likewise.
46626         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46627         Likewise.
46628         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46629         Likewise.
46630         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46631         Likewise.
46632         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46633         Likewise.
46634         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46635         Likewise.
46636         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46637         Likewise.
46638         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46639         Likewise.
46640         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46641         Likewise.
46642         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46643         Likewise.
46644         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46645         Likewise.
46646         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46647         Likewise.
46649 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46651         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46652         to avoid alignment traps in non-cacheable memory.
46653         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46656         multiarch objects.
46657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46658         file: multiarch power7 memmove.
46659         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46660         multiarch default memmove.
46661         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46662         multiarch memove for powerpc32/power4.
46664         * string/bcopy.c: Use full path to include memmove.c.
46665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46666         multiarch objects.
46667         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46668         bcopy for powerpc64.
46669         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46670         bcopy for powerpc64.
46671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46672         and memmove implementations.
46673         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46674         optimized multiarch memmove for POWER7/powerpc64.
46675         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46676         default multiarch memmove for powerpc64.
46677         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46678         multiarch for powerpc64.
46679         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46680         for POWER7/powerpc64.
46681         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46682         memmove for POWER7/powerpc64.
46684         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46685         glibc default one.
46687         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46688         __ELF_NATIVE_CLASS equal to 64.
46690 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46692         * sysdeps/nptl/lowlevellock.h: File removed.
46694         * NEWS: NPTL is no longer an add-on!
46695         * nptl/internaltypes.h: Moved ...
46696         * sysdeps/nptl/internaltypes.h: ... here.
46697         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46698         * sysdeps/nptl/fork.c: Likewise.
46699         * sysdeps/nptl/gai_misc.h: Likewise.
46700         * sysdeps/nptl/librt-cancellation.c: Likewise.
46701         * sysdeps/nptl/jmp-unwind.c: Likewise.
46702         * sysdeps/nptl/setxid.h: Likewise.
46703         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46704         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46705         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46706         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46707         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46708         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46709         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46710         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46711         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46712         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46713         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46714         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46715         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46716         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46717         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46718         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46719         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46720         * nptl/Makeconfig: Moved ...
46721         * sysdeps/nptl/Makeconfig: ... here.
46722         * nptl/configure: File removed.
46723         * nptl/ANNOUNCE: File removed.
46724         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46725         * sysdeps/unix/sysv/linux/configure: Regenerated.
46727         * nptl/Makefile (routines): Add libc_pthread_init,
46728         libc_multiple_threads, register-atfork and unregister-atfork.
46729         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46730         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46731         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46732         pthread-pi-defines.sym, structsem.sym.
46733         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46734         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46735         [$(subdir) = nptl] (tests): Add tst-setgetname.
46736         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46737         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46738         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46739         [!LIBC_SIGACTION]: Remove aliases.
46740         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46741         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46742         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46743         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46744         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46745         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46746         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46747         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46748         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46749         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46750         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46751         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46752         __libc_allocate_rtsig_private.
46753         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46754         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46755         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46756         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46757         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46758         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46759         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46760         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46761         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46762         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46763         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46764         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46765         * nptl/internaltypes.h: ... here.
46766         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46767         * sysdeps/nptl/jmp-unwind.c: ... here.
46768         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46769         * nptl/libc-lowlevellock.c: ... here.
46770         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46771         * nptl/libc_multiple_threads.c: ... here.
46772         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46773         * nptl/libc_pthread_init.c: ... here.
46774         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46775         * nptl/lowlevelbarrier.sym: ... here.
46776         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46777         * nptl/lowlevelcond.sym: ... here.
46778         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46779         * nptl/lowlevellock.c: ... here.
46780         * nptl/lowlevellock.h: Moved ...
46781         * sysdeps/nptl/lowlevellock.h: ... here.
46782         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46783         * nptl/lowlevelrobustlock.c: ... here.
46784         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46785         * nptl/lowlevelrobustlock.sym: ... here.
46786         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46787         * nptl/lowlevelrwlock.sym: ... here.
46788         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46789         * nptl/pt-fork.c: ... here.
46790         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46791         * nptl/pthread-pi-defines.sym: ... here.
46792         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46793         * nptl/pthread_attr_getaffinity.c: ... here.
46794         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46795         * nptl/pthread_attr_setaffinity.c: ... here.
46796         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46797         * nptl/pthread_mutex_cond_lock.c: ... here.
46798         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46799         Update #include.
46800         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46801         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46802         * nptl/pthread_once.c: ... here, replacing old file.
46803         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46804         * nptl/pthread_yield.c: ... here.
46805         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46806         * nptl/register-atfork.c: ... here.
46807         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46808         * nptl/sem_post.c: ... here.
46809         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46810         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46811         * nptl/sem_timedwait.c: ... here.
46812         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46813         * nptl/sem_trywait.c: ... here.
46814         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46815         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46816         * nptl/sem_wait.c: ... here.
46817         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46818         * nptl/structsem.sym: ... here.
46819         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46820         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46821         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46822         * nptl/unregister-atfork.c: ... here.
46823         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46824         * nptl/unwindbuf.sym: ... here.
46825         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46826         * sysdeps/nptl/fork.c: ... here.
46827         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46828         * sysdeps/nptl/fork.h: ... here.
46829         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46830         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46831         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46832         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46833         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46834         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46835         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46836         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46837         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46838         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46839         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46840         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46841         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46842         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46843         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46844         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46845         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46846         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46847         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46848         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46849         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46850         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46851         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46852         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46853         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46854         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46855         * sysdeps/unix/sysv/linux/raise.c: ... here.
46856         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46857         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46858         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46859         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46860         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46861         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46862         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46863         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46864         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46865         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46866         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46867         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46868         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46869         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46870         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46872 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46874         * sysdeps/generic/memcopy.h: Add comment for
46875         MEMCPY_OK_FOR_FWD_MEMMOVE.
46877 2014-07-04  Will Newton  <will.newton@linaro.org>
46879         * string/memchr.c: Merge from gnulib.
46880         [_LIBC]: Remove conditionals.
46881         (__ptr_t): Remove define.
46882         (LONG_MAX_32_BITS): Likewise.
46883         (LONG_MAX): Likewise.
46884         (MEMCHR): Use ANSI prototype and optimize algorithm.
46886         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46888 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46890         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46891         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46893         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46894         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46895         in a bare environment with no <stdlib.h> installed.
46896         * sysdeps/nptl/configure: Regenerated.
46898         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46900         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46901         AC_EGREP_CPP for kernel header checks, so they only succeed if
46902         including <linux/version.h> actually works right.
46903         * sysdeps/unix/sysv/linux/configure: Regenerated.
46905         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46906         value so it's not diagnosed as unused.
46908         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46909         thing) with "ifeq ($(subdir),rt)".
46911 2014-07-03  Richard Henderson  <rth@redhat.com>
46913         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46914         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46915         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46917         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46918         (math_force_eval): New.
46920         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46921         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46923         * sysdeps/alpha/fpu/s_round.c: Remove file.
46924         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46926         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46927         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46928         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46929         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46930         (_dl_start, print_statistics): Likewise.
46931         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46932         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46934         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46935         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46936         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46937         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46938         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46939         (HP_SMALL_TIMING_AVAIL): Define.
46940         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46941         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46942         (HP_SMALL_TIMING_AVAIL): Define.
46943         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46944         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46946         * sysdeps/aarch64/hp-timing.h: New file.
46948         * sysdeps/generic/hp-timing.h: Remove dead comment.
46949         * sysdeps/generic/hp-timing-common.h: New file.
46950         * sysdeps/alpha/hp-timing.h: Include it.
46951         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46952         * sysdeps/i386/i686/hp-timing.h: Likewise.
46953         * sysdeps/ia64/hp-timing.h: Likewise.
46954         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46955         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46956         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46957         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46958         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46959         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46960         (hp_timing_t): New.
46962         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46963         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46964         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46965         * elf/rtld.c (_dl_start_final): Likewise.
46966         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46967         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46968         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46969         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46970         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46971         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46972         (HP_TIMING_DIFF_INIT): Remove.
46973         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46975         (HP_TIMING_DIFF_INIT): Remove.
46976         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46977         * sysdeps/i386/i686/hp-timing.c: Remove file.
46978         * sysdeps/x86_64/hp-timing.c: Remove file.
46979         * sysdeps/ia64/hp-timing.c: Remove file.
46980         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46981         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46983         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46985         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46986         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46987         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46988         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46989         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46990         (HP_TIMING_ACCUM): Remove.
46991         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46992         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46993         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46995         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46996         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46997         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46998         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46999         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47000         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47001         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47002         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47004         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47006 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47008         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47010 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47012         Sync up with gettext.
47013         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47014         [_MSC_VER]: Include malloc.h
47015         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47016         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47017         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47018         TEMP_FAILURE_RETRY.  Cast return of alloca.
47019         [!_LIBC] Call gl_rwlock_init.
47020         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47022 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47024         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47025         before checking its value.
47027 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47029         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47031         * debug/memcpy_chk.c: Don't include pagecopy.h.
47032         * debug/mempcpy_chk.c: Likewise.
47033         * string/memcpy.c: Likewise.
47034         * string/memmove.c: Likewise.
47035         * sysdeps/powerpc/memmove.c: Likewise.
47036         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47037         definition of PAGE_COPY_FWD_MAYBE here...
47038         * sysdeps/generic/pagecopy.h: ... from here.
47039         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47041 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47042             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47044         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47046         optimizations.
47047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47048         (__libc_ifunc_impl_list): Likewise.
47049         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47050         multiarch strcat for PPC64.
47051         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47052         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47054 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47056         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47058 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47060         * intl/loadmsgcat.c: Remove declaration of
47061         get_sysdep_segment_value.
47062         (get_sysdep_segment_value): Use ISO C style.
47063         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47064         semicolon.  Fix typo and formatting in comment.
47065         (_nl_unload_domain): Use ISO C style.
47067         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47069 2014-07-02  Will Newton  <will.newton@linaro.org>
47071         * malloc/obstack.c: Merge from gnulib master.
47072         [HAVE_CONFIG_H]: Remove conditional code.
47073         [!_LIBC]: Include config.h.
47074         [!ELIDE_CODE]: Don't include inttypes.h, include
47075         stdint.h unconditionally.
47076         (print_and_abort): Mark as _Noreturn.
47077         (_obstack_allocated_p): Mark as __attribute_pure__.
47078         (obstack_free): Rename to __obstack_free.
47079         [!__attribute__]: Remove conditional code.
47080         * malloc/obstack.h: Merge from gnulib master.
47081         [__cplusplus]: Move conditional down.
47082         [!__attribute_pure__]: Define __attribute_pure__ here
47083         if it is not already defined.
47084         (_obstack_memory_used): Mark as __attribute_pure__.
47085         [!__obstack_free]: Define as obstack_free.
47086         [__GNUC__]: Remove check for ancient NeXT gcc.
47088 2014-07-02  Will Newton  <will.newton@linaro.org>
47089             Paul Eggert  <eggert@cs.ucla.edu>
47091         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47093 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47095         * resolv/gethnamaddr.c: Add comment warning that the file is
47096         not maintained.
47098 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47100         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47101         entries.
47103         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47104         entry for aio_cancel and aio_cancel64.
47105         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47106         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47107         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47108         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47109         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47110         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47111         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47112         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47113         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47114         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47115         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47116         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47117         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47119 2014-07-01  Roland McGrath  <roland@hack.frob.com>
47121         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47122         * nptl/pthread_mutex_lock.c: Likewise.
47123         * nptl/pthread_mutex_timedlock.c: Likewise.
47124         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47126 2014-07-01  Richard henderson  <rth@redhat.com>
47128         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47129         (__isnan, __isnanl): Remove.
47130         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47132         * sysdeps/alpha/fpu/libm-test-ulps: Update.
47134 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47138 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47140         * resolv/nss_dns/dns-host.c (getanswer_r)
47141         [MULTI_PTRS_ARE_ALIASES]: Remove code.
47143 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
47145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47146         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47147         undefine.
47148         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47149         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47151 2014-07-01  Roland McGrath <roland@hack.frob.com>
47153         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47154         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47156         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47157         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47159         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47160         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47161         ... here.
47162         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47163         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47165         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47166         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47167         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47168         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47170         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47171         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47172         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47173         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47174         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47175         Moved ...
47176         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47177         ... here.
47178         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47179         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47180         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47181         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47182         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47183         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47184         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47185         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47186         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47187         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47188         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47189         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47190         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47191         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47192         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47193         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47194         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47195         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47196         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47197         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47198         ... here.
47199         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47200         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47201         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47202         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47203         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47204         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47205         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47206         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47208 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
47210         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47211         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47212         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47213         Add sysdep.
47215 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47219 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47221         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47222         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47224         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47226         * sysdeps/arm/libm-test-ulps: Regenerated.
47228 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47229             Roland McGrath <roland@hack.frob.com>
47231         * test-skeleton.c (signal_handler): Kill the whole process group
47232         before killing the child individually.
47233         (main): Report any failure on `setpgid'.
47235 2014-06-30  Roland McGrath  <roland@hack.frob.com>
47237         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47238         from _TLS_H to _ARM_NPTL_TLS_H.
47239         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47240         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47242 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47244         [BZ #16539]
47245         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47246         (__expm1l): Return argument unchanged when small but not
47247         subnormal.
47249         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47250         include macro name.
47251         (_FP_UNPACK_RAW_1_P): Likewise.
47252         (_FP_PACK_RAW_1): Likewise.
47253         (_FP_PACK_RAW_1_P): Likewise.
47254         (_FP_MUL_MEAT_1_wide): Likewise.
47255         (_FP_MUL_MEAT_DW_1_hard): Likewise.
47256         (_FP_MUL_MEAT_1_hard): Likewise.
47257         (_FP_DIV_MEAT_1_imm): Likewise.
47258         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47259         (_FP_DIV_MEAT_1_udiv): Likewise.
47260         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47261         (_FP_UNPACK_RAW_2): Likewise.
47262         (_FP_UNPACK_RAW_2_P): Likewise.
47263         (_FP_PACK_RAW_2): Likewise.
47264         (_FP_PACK_RAW_2_P): Likewise.
47265         (_FP_MUL_MEAT_DW_2_wide): Likewise.
47266         (_FP_MUL_MEAT_2_wide): Likewise.
47267         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47268         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47269         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47270         (_FP_MUL_MEAT_2_gmp): Likewise.
47271         (_FP_DIV_MEAT_2_udiv): Likewise.
47272         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47273         (_FP_FRAC_SRL_4): Likewise.
47274         (_FP_FRAC_SRST_4): Likewise.
47275         (_FP_FRAC_SRS_4): Likewise.
47276         (_FP_UNPACK_RAW_4): Likewise.
47277         (_FP_UNPACK_RAW_4_P): Likewise.
47278         (_FP_PACK_RAW_4): Likewise.
47279         (_FP_PACK_RAW_4_P): Likewise.
47280         (_FP_MUL_MEAT_DW_4_wide): Likewise.
47281         (_FP_MUL_MEAT_4_wide): Likewise.
47282         (_FP_MUL_MEAT_4_gmp): Likewise.
47283         (umul_ppppmnnn): Likewise.
47284         (_FP_DIV_MEAT_4_udiv): Likewise.
47285         (__FP_FRAC_ADD_4): Likewise.
47286         (__FP_FRAC_SUB_3): Likewise.
47287         (__FP_FRAC_SUB_4): Likewise.
47288         (__FP_FRAC_DEC_3): Likewise.
47289         (__FP_FRAC_DEC_4): Likewise.
47290         (__FP_FRAC_ADDI_4): Likewise.
47291         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47292         (_FP_FRAC_SRL_8): Likewise.
47293         (_FP_FRAC_SRS_8): Likewise.
47295         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47296         include macro name.
47297         (FP_UNPACK_RAW_EP): Likewise.
47298         (FP_PACK_RAW_E): Likewise.
47299         (FP_PACK_RAW_EP): Likewise.
47300         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47301         (_FP_ISSIGNAN): Likewise.
47302         (_FP_ADD_INTERNAL): Likewise.
47303         (_FP_FMA): Likewise.
47304         (_FP_CMP): Likewise.
47305         (_FP_SQRT): Likewise.
47306         (_FP_TO_INT): Likewise.
47307         (_FP_FROM_INT): Likewise.
47308         (FP_EXTEND): Likewise.
47309         (_FP_DIV_MEAT_N_loop): Likewise.
47311 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47313         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47314         throughout.
47316 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
47318         [BZ #17097]
47319         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47320         result with correct sign in case of exponents that produce
47321         overflow except for X very close to 1.
47323 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
47325         mktime: merge #if/#ifdef usage from glibc
47326         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47327         as that works with both Glibc's and Gnulib's style.
47328         See thread starting at Siddhesh Poyarekar's bug report at:
47329         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47331 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47333         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47334         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47335         * sysdeps/tile/tilegx/memmove.c: Remove file.
47337 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47339         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47340         abi-name definition.
47341         * scripts/soversions.awk: Do not handle or generate ABI lines.
47342         * shlib-versions: Remove ABI entries.
47343         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47344         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47346 2014-06-27  Roland McGrath  <roland@hack.frob.com>
47348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47349         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47350         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47353         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47355         Moved ...
47356         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47357         ... here.
47358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47359         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47361         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47363         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47365         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47367         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47369         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47371         Moved ...
47372         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47374         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47378         Moved ...
47379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47381         Moved ...
47382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47386         Moved ...
47387         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47389         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47390         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47391         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47392         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47393         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47395         Moved ...
47396         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47398         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
47399         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
47400         Moved ...
47401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
47402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
47403         Moved ...
47404         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
47405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
47406         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
47407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
47408         Moved ...
47409         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
47410         ... here.
47411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47412         Identical file removed.
47413         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47414         Moved ...
47415         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47417         Identical file removed.
47418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47419         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47421         Moved ...
47422         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47424         Identical file removed.
47425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47426         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47428         Identical file removed.
47429         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47430         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47432         Identical file removed.
47433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47434         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47436         Identical file removed.
47437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47438         Moved ...
47439         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47441         Identical file removed.
47442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47443         Moved ...
47444         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47446         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47448         Identical file removed.
47449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47450         Moved ...
47451         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47452         ... here.
47453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47454         Identical file removed.
47455         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47456         Moved ...
47457         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47459         Identical file removed.
47460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47461         Moved ...
47462         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47464         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47465         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47468         Moved ...
47469         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47470         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47471         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47473         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47474         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47475         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47476         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47477         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47479 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
47481         [BZ #17092]
47482         * nscd/nscd.c (monitor_child): Return exit status of child
47483         instead of return value from wait syscall.
47485 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47487         * configure.ac (libc_commonpagesize): Remove variable.
47488         (libc_relro_required): Likewise.
47489         (libc_cv_z_relro): Remove configure test.
47490         * configure: Regenerated.
47491         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47492         variable.
47493         (libc_relro_required): Likewise.
47494         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47495         (libc_relro_required): Likewise.
47496         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47497         (libc_relro_required): Likewise.
47498         * sysdeps/arm/preconfigure: Regenerated.
47499         * sysdeps/ia64/preconfigure: Remove file.
47500         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47501         variable.
47502         (libc_relro_required): Likewise.
47504         [BZ #16561]
47505         [BZ #16562]
47506         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47507         (__ieee754_yn): Set FE_TONEAREST mode internally and then
47508         recompute overflowing results in original rounding mode.
47509         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47510         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47511         recompute overflowing results in original rounding mode.
47512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47513         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47514         recompute overflowing results in original rounding mode.
47515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47516         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47517         recompute overflowing results in original rounding mode.
47518         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47519         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47520         recompute overflowing results in original rounding mode.
47521         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47522         (libc_feholdsetround_ctx): New macro.
47523         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47524         * sysdeps/i386/fpu/libm-test-ulps: Update.
47525         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47527 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47529         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47530         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47531         corresponding .cpsetup call.
47533 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47535         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47536         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47537         * sysdeps/arm/Makefile [$(subdir) = csu]
47538         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47539         (static-only-routines): Add aeabi_read_tp here.
47540         (shared-only-routines): Add libc-aeabi_read_tp here.
47541         (CFLAGS-libc-start.c): Add -fexceptions here.
47542         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47543         (sysdep_routines, static-only-routines, shared-only-routines):
47544         Don't add to these here.
47545         (CFLAGS-libc-start.c): Likewise.
47547         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47548         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47549         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47550         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47551         * sysdeps/arm/Makefile [$(subdir) = rt]
47552         (librt-sysdep_routines, librt-shared-only-routines):
47553         Append rt-aeabi_unwind_cpp_pr1 here.
47554         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47555         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47556         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47557         (libpthread-sysdep_routines, libpthread-shared-only-routines):
47558         Append nptl-aeabi_unwind_cpp_pr1 here.
47559         (tests): Filter out tst-cleanupx4 here.
47560         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47561         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47562         Don't do those here.
47564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47566         * scripts/list-sources.sh: Do not handle ports specially.
47568 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47570         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47571         * sysdeps/arm/feupdateenv.c: Likewise.
47573         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47575 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47577         * manual/texinfo.tex: Update to version 2014-05-05.10 with
47578         trailing whitespace removed.
47579         * scripts/config.guess: Update to version 2014-03-23.
47580         * scripts/config.sub: Update to version 2014-05-01
47581         * scripts/install-sh: Update to version 2013-12-25.23.
47582         * scripts/move-if-change: Update from gnulib.
47584 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47586         * debug/memmove_chk.c: Remove pagecopy.h include.
47588 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
47590         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
47591         identical to gnulib mktime.
47593 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47595         * configure.ac: Do not test for machine being rs6000.  Do not test
47596         for powerpc*-*soft.
47597         * configure: Regenerated.
47599         [BZ #11505]
47600         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47601         test.
47602         * configure: Regenerated.
47603         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47604         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47605         Remove configure test.
47606         * sysdeps/arm/configure: Regenerated.
47607         * sysdeps/nptl/configure.ac: Do not check
47608         libc_cv_asm_cfi_directives.
47609         * sysdeps/nptl/configure: Regenerated.
47610         * sysdeps/x86_64/nptl/configure.ac: Remove file.
47611         * sysdeps/x86_64/nptl/configure: Remove generated file.
47612         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47613         unconditional.
47614         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47616 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47618         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47619         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47620         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47621         it is defined.
47623         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47624         instead of whether it is defined.
47625         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47626         * sysdeps/hppa/dl-machine.h: Likewise.
47627         * sysdeps/ia64/dl-machine.h: Likewise.
47628         * sysdeps/m68k/dl-machine.h: Likewise.
47629         * sysdeps/microblaze/dl-machine.h: Likewise.
47630         * sysdeps/mips/dl-machine.: Likewise.
47631         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47632         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47633         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47634         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47635         * sysdeps/sh/dl-machine.h: Likewise.
47636         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47637         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47638         * sysdeps/tile/dl-machine.h: Likewise.
47639         * sysdeps/x86_64/dl-machine.h: Likewise.
47641         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47642         code.
47643         (verify_persistent_db): Likewise.
47645 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47648         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47650         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47652         Moved ...
47653         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47654         ... here.
47655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47656         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47658         Identical file removed.
47659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47660         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47662         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47664         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47666         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47668         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47670         Moved ...
47671         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47673         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47675         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47677         Moved ...
47678         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47680         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47682         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47684         Identical file removed.
47685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47686         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47688         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47690         Moved ...
47691         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47692         ... here.
47693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47694         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47696         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47698         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47702         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47704         Moved ...
47705         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47707         Moved ...
47708         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47710         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47712         Moved ...
47713         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47715         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47717         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47718         folded into ...
47719         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47720         * sysdeps/unix/sysv/linux/s390/Versions
47721         (libpthread: GLIBC_2.19): New version set.
47722         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47723         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47724         (librt: GLIBC_2.3.3): New version set.
47725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47726         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47727         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47729         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47730         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47731         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47732         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47733         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47734         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47735         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47736         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47737         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47738         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47739         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47740         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47741         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47742         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47743         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47744         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47745         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47747         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47749         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47750         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47751         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47752         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47753         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47754         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47755         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47756         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47763         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47765         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47767         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47769         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47771         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47772         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47773         (__libc_vfork): Define the function under this name.
47774         [!NOT_IN_libc] (__vfork): Make this an alias.
47775         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47777         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
47778         (__libc_vfork): Define the function under this name.
47779         [!NOT_IN_libc] (__vfork): Make this an alias.
47780         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47781         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47782         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47784         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47785         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47787         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47788         code that was previously under [RESET_PID].
47789         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47790         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47793         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47794         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47795         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47796         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47797         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47798         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47799         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47800         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47801         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47802         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47803         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47804         Moved ...
47805         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47806         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47807         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47808         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47809         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47810         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47811         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47812         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47813         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47814         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47815         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47816         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47817         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47818         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47819         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47820         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47821         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47822         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47823         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47824         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47825         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47826         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47827         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47828         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47829         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47830         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47831         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47833         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47835 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47837         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47838         that was previously under [RESET_PID].
47839         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47841 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47843         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47844         not undefine and redefine.
47845         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47846         [O_CLOEXEC]: Make code unconditional.
47847         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47848         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47849         <kernel-features.h>.
47850         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47851         conditional variable definition.
47852         (shm_open) [O_CLOEXEC]: Make code unconditional.
47853         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47854         code.
47856         * configure.ac (USE_REGPARMS): Don't define here.
47857         * configure: Regenerated.
47858         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47859         * sysdeps/i386/configure: Regenerated.
47861         * nptl/createthread.c: Don't include kernel-features.h.
47862         * nptl/pthread_cancel.c: Likewise.
47863         * nptl/pthread_condattr_setclock.c: Likewise.
47864         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47865         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47866         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47867         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47868         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47869         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47870         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47873         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47874         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47875         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47876         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47877         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47878         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47879         * nscd/gai.c: Likewise.
47880         * nss/nss_db/db-open.c: Likewise.
47881         * sysdeps/generic/ldsodefs.h: Likewise.
47882         * sysdeps/sh/nptl/tls.h: Likewise.
47883         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47884         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47885         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47886         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47887         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47888         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47889         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47890         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47891         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47892         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47893         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47894         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47895         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47896         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47897         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47898         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47899         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47900         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47901         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47902         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47905         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47906         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47911         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47912         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47913         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47914         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47915         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47916         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47917         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47918         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47919         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47920         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47921         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47922         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47923         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47924         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47925         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47926         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47927         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47928         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47929         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47930         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47931         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47932         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47933         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47934         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47935         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47936         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47937         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47938         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47939         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47940         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47963         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47964         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47965         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47966         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47967         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47968         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47969         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47970         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47971         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47972         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47973         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47974         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47975         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47976         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47977         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47978         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47979         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47980         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47981         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47982         * sysdeps/unix/sysv/linux/system.c: Likewise.
47983         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47984         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47985         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47986         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47987         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47988         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47989         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47991         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47992         * configure: Regenerated.
47993         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47995         * configure.ac (base_machine): Do not set specially for particular
47996         machines here.
47997         * configure: Regenerated.
47998         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47999         settings from configure.ac.
48000         * sysdeps/i386/preconfigure: New file.
48001         * sysdeps/s390/preconfigure: Likewise.
48002         * sysdeps/sh/preconfigure: Likewise.
48003         * sysdeps/sparc/preconfigure: Likewise.
48005 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48007         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48008         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48009         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48010         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48011         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48012         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48013         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48014         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48015         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48016         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48017         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48018         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48019         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48020         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48021         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48022         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48023         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48024         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48025         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48027         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48028         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48029         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48030         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48031         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48032         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48033         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48034         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48035         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48036         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48037         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48038         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48039         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48040         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48041         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48042         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48043         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48044         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48045         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48046         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48048         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48050         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48051         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48052         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48053         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48054         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48055         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48056         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48058         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48059         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48060         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48061         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48062         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48063         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48064         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48067         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48069         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48071         Moved ...
48072         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48073         ... here.
48074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48075         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48079         Moved ...
48080         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48082         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48084         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48086         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48088         Moved ...
48089         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48091         Moved ...
48092         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48094         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48096         Moved ...
48097         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48099         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48101         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48103         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48105         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48107         Moved ...
48108         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48109         ... here.
48110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48111         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48113         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48115         Moved ...
48116         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48118         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48120         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48122         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48124         Moved ...
48125         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48127         Moved ...
48128         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48130         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48132         Moved ...
48133         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48135         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48137         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48139 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48141         * timezone/checktab.awk: Update from tzcode 2014e.
48142         * timezone/private.h: Likewise.
48143         * timezone/tzfile.h: Likewise.
48144         * timezone/zdump.c: Likewise.
48145         * timezone/zic.c: Likewise.
48147         * sysdeps/unix/sysv/linux/kernel-features.h
48148         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48149         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48150         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48151         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48152         Remove conditional code.
48154 2014-06-25  Will Newton  <will.newton@linaro.org>
48156         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48157         (_dl_arm_cap_flags): Add HWCAP2 values.
48158         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48159         (_DL_HWCAP_COUNT): Increase to 37.
48160         (_DL_HWCAP_LAST): New define.
48161         (_DL_HWCAP2_LAST): New define.
48162         (_dl_procinfo): Add support for printing
48163         AT_HWCAP2 entries.
48164         (_dl_string_hwcap): Use _dl_hwcap_string.
48166 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48170 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48172         * README: Do not mention ports directory.
48174         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48175         Remove macro.
48176         * sysdeps/unix/sysv/linux/futimes.c: Do not include
48177         <kernel-features.h>.
48178         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48179         conditional variable definition.
48180         (__futimes): Update comment.
48181         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48182         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48184         [BZ #16560]
48185         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48186         arguments close to 0.
48187         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48188         Likewise.
48189         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48190         Likewise.
48191         * math/auto-libm-test-in: Add more tests of exp10.
48192         * math/auto-libm-test-out: Regenerated.
48193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48195         * sysdeps/unix/sysv/linux/kernel-features.h
48196         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48197         * sysdeps/unix/sysv/linux/readv.c: Do not include
48198         <kernel-features.h>.
48199         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48200         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48201         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48202         unconditional.
48203         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48204         conditional code.
48205         * sysdeps/unix/sysv/linux/writev.c: Do not include
48206         <kernel-features.h>.
48207         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48208         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48209         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48210         unconditional.
48211         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48212         conditional code.
48214 2014-06-25  Will Newton  <will.newton@linaro.org>
48216         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48217         comment changes throughout the file.  Remove checks
48218         for HAVE_*_H definitions that are not required.
48219         (__gen_tempname): Call abort if an unknown kind value is
48220         passed.
48222 2014-06-25  Andreas Schwab  <schwab@suse.de>
48224         [BZ #17086]
48225         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48226         scalbln, scalblnf, scalblnl in libc.
48228 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48230         [BZ #17086]
48231         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48232         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48233         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48235 2014-06-24  Roland McGrath  <roland@hack.frob.com>
48237         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48238         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48239         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48240         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48241         Update #include.
48242         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48243         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48244         Update #include.
48245         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48246         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48247         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48248         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48249         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48250         * sysdeps/x86/bits/pthreadtypes.h: ... here.
48251         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48252         * sysdeps/x86/bits/semaphore.h: ... here.
48253         * sysdeps/x86/nptl/elide.h: Moved ...
48254         * sysdeps/x86/elide.h: ... here.
48255         * sysdeps/x86_64/nptl/Implies: File removed.
48256         * sysdeps/i386/nptl/Implies: File removed.
48258 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
48260         [BZ #16539]
48261         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48262         return the argument for normal arguments with exponent below -64.
48263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48264         Likewise.
48265         * math/auto-libm-test-in: Add another test of expm1.
48266         * math/auto-libm-test-out: Regenerated.
48268         [BZ #16287]
48269         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48270         calling __erfcl for arguments at least 16.
48271         * math/auto-libm-test-in: Add more tests of erf.
48272         * math/auto-libm-test-out: Regenerated.
48274         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48275         individual architectures.
48276         * sysdeps/unix/sysv/linux/configure: Regenerated.
48277         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48278         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48279         * sysdeps/unix/sysv/linux/powerpc/configure.ac
48280         (ldd_rewrite_script): Define variable.
48281         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48283         file.
48284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48285         generated file.
48286         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48287         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48288         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48289         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48290         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48291         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48292         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48293         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48295 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48297         [BZ #17084]
48298         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48299         Rename member __data.d to __data.__elision_data.
48301 2014-06-24  Wilco  <wdijkstr@arm.com>
48303         * NEWS: Add 16918 to fixed bug list.
48305 2014-06-24  Wilco  <wdijkstr@arm.com>
48307         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48309 2014-06-24  Wilco  <wdijkstr@arm.com>
48311         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48312         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48313         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48314         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48315         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48316         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48317         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48318         Use _FPU_MASK_RM.
48320 2014-06-24  Wilco  <wdijkstr@arm.com>
48322         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48324 2014-06-24  Wilco  <wdijkstr@arm.com>
48326         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48327         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48328         * sysdeps/arm/fesetround.c (fesetround): Remove space.
48329         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48331 2014-06-24  Wilco  <wdijkstr@arm.com>
48333         [BZ #16918]
48334         * sysdeps/arm/feupdateenv.c (feupdateenv):
48335         Rewrite to reduce FPSCR accesses and fix return value.
48337 2014-06-24  Wilco  <wdijkstr@arm.com>
48339         * sysdeps/arm/fclrexcpt.c (feclearexcept):
48340         Optimize to avoid unnecessary FPSCR writes.
48341         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48342         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48343         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48344         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48346 2014-06-24  Wilco  <wdijkstr@arm.com>
48348         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48349         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48350         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48351         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48352         Call libc_fetestexcept_vfp.
48353         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48354         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48355         __SOFTFP__ ifdef so that they can be built for softfp.
48357 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48359         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48360         argument type signed char.
48362         * Makerules (check-abi): Dump diff of symlist if the test
48363         fails.
48365 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48367         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48368         using abort.
48370         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48371         Remove unused variable ST.
48373 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48375         [BZ #16354]
48376         [BZ #17061]
48377         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48378         small arguments before calling __expm1.
48379         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48380         small arguments before calling __expm1f.
48381         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48382         small arguments before calling __expm1l.
48383         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48384         Likewise.
48385         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48386         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
48387         spurious underflow for some cosh tests.
48388         * math/auto-libm-test-out: Regenerated.
48389         * sysdeps/i386/fpu/libm-test-ulps: Update.
48391         [BZ #17050]
48392         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48393         (__ieee754_y1): Set errno if return value overflows.
48394         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48395         (__ieee754_y1f): Set errno if return value overflows.
48396         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48397         (__ieee754_y1l): Set errno if return value overflows.
48398         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
48399         (__ieee754_y1l): Set errno if return value overflows.
48400         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
48401         * math/auto-libm-test-out: Regenerated.
48403         * math/gen-auto-libm-tests.c: Document use of
48404         ignore-zero-inf-sign.
48405         (input_flag_type): Add value flag_ignore_zero_inf_sign.
48406         (input_flags): Add ignore-zero-inf-sign.
48407         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
48408         * math/gen-libm-test.pl (generate_testfile): Handle
48409         ignore-zero-inf-sign.
48410         * math/auto-libm-test-in: Mark some cpow tests with
48411         ignore-zero-inf-sign and some with xfail-rounding.
48412         * math/auto-libm-test-out: Regenerated.
48413         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48414         * sysdeps/i386/fpu/libm-test-ulps: Update.
48415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48417         [BZ #16315]
48418         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48419         overflowing or underflowing operations take place with sign of
48420         result.
48421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48422         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48423         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48424         (__ieee754_pow): Recompute overflowing and underflowing results in
48425         original rounding mode.
48426         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48427         (__powl_helper): Allow negative argument X and scale negated value
48428         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
48429         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48430         overflowing or underflowing operations take place with sign of
48431         result.
48432         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48433         Include <math.h>.
48434         * math/auto-libm-test-in: Add more tests of pow.
48435         * math/auto-libm-test-out: Regenerated.
48436         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48437         (pow_tonearest_test_data): Remove.
48438         (pow_test_tonearest): Likewise.
48439         (pow_towardzero_test_data): Likewise.
48440         (pow_test_towardzero): Likewise.
48441         (pow_downward_test_data): Likewise.
48442         (pow_test_downward): Likewise.
48443         (pow_upward_test_data): Likewise.
48444         (pow_test_upward): Likewise.
48445         (main): Don't call removed functions.
48446         * sysdeps/i386/fpu/libm-test-ulps: Update.
48447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48449 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48452         Moved ...
48453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48455         Moved ...
48456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48458         Moved ...
48459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48461         Moved ...
48462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48464         File removed.
48465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48466         File removed.
48467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48468         File removed.
48469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48470         File removed.
48471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48472         File removed.
48473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48474         File removed.
48475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48476         File removed.
48477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48478         File removed.
48479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48480         File removed.
48481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48482         File removed.
48483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48484         File removed.
48485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48486         File removed.
48487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48488         Moved ...
48489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48491         Moved ...
48492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48493         ... here.
48494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48495         Moved ...
48496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48498         Moved ...
48499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48501         Moved ...
48502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48504         Moved ...
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48507         Moved ...
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48510         Moved ...
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48513         Moved ...
48514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48517         ... here.
48518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48519         Moved ...
48520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48522         Moved ...
48523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48524         ... here.
48525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48526         Moved ...
48527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48528         ... here.
48529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48530         Moved ...
48531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48532         ... here.
48533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48534         Moved ...
48535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48537         Moved ...
48538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48542         Moved ...
48543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48544         ... here.
48545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48546         Moved ...
48547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48548         ... here.
48549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48550         Moved ...
48551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48553         Moved ...
48554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48556         Moved ...
48557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48559         Moved ...
48560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48562         Moved ...
48563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48564         ... here.
48565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48566         Moved ...
48567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48569         Moved ...
48570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48572         Moved ...
48573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48575         Moved ...
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48580         Moved ...
48581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48583         Moved ...
48584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48586         Moved ...
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48588         ... here.
48589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48590         Moved ...
48591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48592         ... here.
48593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48594         Moved ...
48595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48596         ... here.
48597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48598         Moved ...
48599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48601         Moved ...
48602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48604         Moved ...
48605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48607         Moved ...
48608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48609         ... here.
48610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48611         Moved ...
48612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48613         ... here.
48614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48615         Moved ...
48616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48617         ... here.
48618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48619         Moved ...
48620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48622         Moved ...
48623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48625 2014-06-23  Will Newton  <will.newton@linaro.org>
48626             Wilco  <wdijkstr@arm.com>
48628         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48629         implementation.  Include get-rounding-mode.h.
48630         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48631         [!libc_feholdsetround_noex_ctx]: Define
48632         libc_feholdsetround_noex_ctx.
48633         [!libc_feholdsetround_noexf_ctx]: Define
48634         libc_feholdsetround_noexf_ctx.
48635         [!libc_feholdsetround_noexl_ctx]: Define
48636         libc_feholdsetround_noexl_ctx.
48637         (libc_feholdsetround_ctx): New function.
48638         (libc_feresetround_ctx): New function.
48639         (libc_feholdsetround_noex_ctx): New function.
48640         (libc_feresetround_noex_ctx): New function.
48642 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48644         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48645         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48646         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48647         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48648         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48649         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48651         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48652         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48653         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48654         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48655         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48656         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48658         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48660         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48662         Moved ...
48663         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48664         ... here.
48665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48666         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48668         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48670         Moved ...
48671         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48673         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48675         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48677         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48679         Moved ...
48680         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48682         Moved ...
48683         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48685         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48687         Moved ...
48688         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48689         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48690         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48691         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48692         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48693         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48694         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48696         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48698         Moved ...
48699         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48700         ... here.
48701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48702         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48704         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48706         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48708         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48710         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48711         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48712         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48714         Moved ...
48715         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48717         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48718         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48719         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48720         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48721         Moved ...
48722         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48724         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48725         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48726         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48728         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48729         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48730         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48731         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48732         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48733         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48734         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48735         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48737         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48738         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48739         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48740         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48741         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48743         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48744         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48745         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48746         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48747         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48748         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48749         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48750         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48751         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48752         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48753         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48754         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48755         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48757 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48760         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48761         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48762         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48763         (IPV6_PMTUDISC_INTERFACE): Likewise.
48764         (IPV6_PMTUDISC_OMIT): Likewise.
48766 2014-06-23  Andreas Schwab  <schwab@suse.de>
48768         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48769         Remove unused errout label.
48771 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48773         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48774         macro: hardware supports Vector Crypto instructions.
48776 2014-06-23  Will Newton  <will.newton@linaro.org>
48778         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48779         rather than __builtin_expect.
48781         * elf/dl-lookup.c (undefined_msg): Remove variable.
48782         (_dl_lookup_symbol_x): Replace undefined_msg with string
48783         literal.
48785         * elf/dl-lookup.c (do_lookup_unique): New function.
48786         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48787         to a separate function.
48789 2014-06-23  Andreas Schwab  <schwab@suse.de>
48791         [BZ #17079]
48792         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48793         before reading the next line.
48795 2014-06-23  Will Newton  <will.newton@linaro.org>
48797         * test-skeleton.c (signal_handler): Use printf and %m
48798         rather than perror.  Use printf rather than fprintf to
48799         stderr.  Use puts rather than fputs to stderr.
48800         (main): Likewise.
48802 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48804         * nscd/nscd.c (thread_info_t): Remove typedef.
48805         (thread_info): Remove variable.
48807 2014-06-21  Allan McRae  <allan@archlinux.org>
48809         * NEWS: Mention CVE-2014-4043.
48811 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48813         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48814         * nptl/smp.h: ... here.
48816         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48818         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48819         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48820         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48821         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48823         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48824         * nptl/stack-aliasing.h: New file.
48825         * sysdeps/i386/i686/stack-aliasing.h: New file.
48826         * sysdeps/i386/i686/nptl/Makefile: File removed.
48827         * sysdeps/x86_64/stack-aliasing.h: New file.
48828         * sysdeps/x86_64/nptl/Makefile
48829         (CFLAGS-pthread_create.c): Variable removed.
48831         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48832         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48833         old file.
48834         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48835         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48836         old file.
48838 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48841         (__ASSUME_SIGFRAME_V2): Remove macro.
48842         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48843         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48844         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48845         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48846         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48847         Declare as function.  Remove conditional macro definitions.
48848         (__default_rt_sa_restorer): Likewise.
48849         (__default_sa_restorer_v1): Remove declaration.
48850         (__default_sa_restorer_v2): Likewise.
48851         (__default_rt_sa_restorer_v1): Likewise.
48852         (__default_rt_sa_restorer_v2): Likewise.
48853         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48854         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48855         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48857 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48859         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48860         (libpthread-routines): Add sysdep.
48861         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48862         * sysdeps/unix/sysv/linux/sparc/Versions
48863         (libpthread: GLIBC_2.3.3): New version set.
48864         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48865         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48866         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48867         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48868         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48869         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48870         Moved ...
48871         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48872         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48873         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48874         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48875         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48876         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48877         * sysdeps/sparc/nptl/sem_init.c: ... here.
48878         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48879         * sysdeps/sparc/nptl/sem_post.c: ... here.
48880         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48881         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48882         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48883         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48884         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48885         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48886         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48887         (libpthread-routines): Add cpu_relax.
48888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48889         File removed.
48890         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48891         (librt: GLIBC_2.3.3): New version set.
48892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48893         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48894         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48895         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48898         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48900         Moved ...
48901         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48903         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48905         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48907         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48909         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48911         Moved ...
48912         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48913         Update #include.
48914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48915         Moved ...
48916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48917         Update #include.
48918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48919         Moved ...
48920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48921         Update #include.
48922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48923         Moved ...
48924         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48925         Update #include.
48926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48927         Moved ...
48928         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48929         Update #include.
48930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48931         Moved ...
48932         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48933         Update #include.
48934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48935         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48941         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48943         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48945         Moved ...
48946         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48948         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48950         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48952 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48954         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48955         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48956         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48957         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48958         * nscd/nscd.c: Likewise.
48959         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48960         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48961         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48962         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48964         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48965         <kernel-features.h>.
48966         (init_mq_netlink): Remove conditional have_sock_cloexec
48967         definitions.  Remove code conditional on have_sock_cloexec < 0.
48968         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48969         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48970         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48971         <kernel-features.h>.
48972         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48973         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48975 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48978         Add tests for memset_chk and memset.
48980         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48981         with AVX2_Usable.
48983 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48985         [BZ #16046]
48986         * elf/tst-dl-iter-static.c: New file.
48987         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48989         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48990         error.
48992 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48994         * sysdeps/unix/sysv/linux/kernel-features.h
48995         (__ASSUME_F_GETOWN_EX): Remove macro.
48996         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48997         <kernel-features.h>.
48998         (miss_F_GETOWN_EX): Remove variable or macro.
48999         (do_fcntl): Do not check miss_F_GETOWN_EX.
49000         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49003         Remove macro.
49004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49005         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49006         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49008         * sysdeps/unix/sysv/linux/kernel-features.h
49009         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49010         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49011         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49012         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49014 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49016         [BZ #17075]
49017         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49018         Fix calculation of the symbol's value.
49019         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49020         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49021         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49022         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49023         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49024         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49025         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49026         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49027         (modules-names): Add `tst-armtlsdescmod',
49028         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49029         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49030         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49031         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49032         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49033         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49034         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49035         ($(objpfx)tst-armtlsdescloc): New dependency.
49036         ($(objpfx)tst-armtlsdescextnow): Likewise.
49037         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49038         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49039         TLS scheme support.
49040         * sysdeps/arm/configure: Regenerate.
49042 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49044         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49045         (__atfct_seterrno_2): Likewise.
49046         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49047         <kernel-features.h>.
49048         (__ASSUME_ATFCTS): Do not undefine and redefine.
49049         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49050         (__have_atfcts): Remove conditional definition.
49051         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49052         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49053         unreachable if [__ASSUME_ATFCTS].
49054         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49055         not undefine and redefine.
49056         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49057         <kernel-features.h>.
49058         (faccessat) [__NR_faccessat]: Make code unconditional.
49059         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49060         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49061         <kernel-features.h>.
49062         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49063         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49064         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49065         <kernel-features.h>.
49066         (fchownat) [__NR_fchownat]: Make code unconditional.
49067         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49068         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49069         <kernel-features.h>.
49070         (futimesat) [__NR_futimesat]: Make code unconditional.
49071         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49072         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49073         <kernel-features.h>.
49074         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49075         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49076         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49077         <kernel-features.h>.
49078         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49079         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49080         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49081         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49082         <kernel-features.h>.
49083         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49084         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49085         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49086         <kernel-features.h>.
49087         (linkat) [__NR_linkat]: Make code unconditional.
49088         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49089         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49090         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49091         <kernel-features.h>.
49092         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49093         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49094         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49095         <kernel-features.h>.
49096         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49097         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49098         * sysdeps/unix/sysv/linux/openat.c: Do not include
49099         <kernel-features.h>.
49100         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49101         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49102         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49103         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49104         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49105         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49106         <kernel-features.h>.
49107         (readlinkat) [__NR_readlinkat]: Make code unconditional.
49108         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
49109         result of INLINE_SYSCALL directly, not via int variable.
49110         * sysdeps/unix/sysv/linux/renameat.c: Do not include
49111         <kernel-features.h>.
49112         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49113         (renameat) [__NR_renameat]: Make code unconditional.
49114         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49115         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49116         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49117         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49118         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49119         (__ASSUME_ATFCTS): Do not undefine and redefine.
49120         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49121         <kernel-features.h>.
49122         (symlinkat) [__NR_symlinkat]: Make code unconditional.
49123         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49124         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49125         <kernel-features.h>.
49126         (unlinkat) [__NR_unlinkat]: Make code unconditional.
49127         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49128         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49129         (__ASSUME_ATFCTS): Do not undefine and redefine.
49130         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49131         <kernel-features.h>.
49132         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49133         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49134         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49135         <kernel-features.h>.
49136         (__xmknodat) [__NR_mknodat]: Make code unconditional.
49137         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49139 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49141         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49143 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
49145         [BZ #17069]
49146         * posix/regcomp.c (parse_reg_exp): Deallocate partially
49147         constructed tree before returning error.
49148         * posix/bug-regexp36.c: Expand test case.
49150 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
49152         [BZ #6803]
49153         * math/libm-test.inc (scalbln_test_date):
49154         Add errno expectations.
49155         * math/w_scalblnf.c: New File.
49156         Add wrapper which checks for setting errno to ERANGE.
49157         Add weak_alias for corresponding scalbln function.
49158         * math/w_scalbln.c: Likewise.
49159         * math/w_scalblnl.c: Likewise.
49160         * math/Makefile (libm-calls): Add w_scalbln.
49161         * sysdeps/ieee754/flt-32/s_scalblnf.c:
49162         Remove weak_alias for corresponding scalbln function.
49163         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49164         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49165         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49166         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49167         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49168         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49169         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49170         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49171         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49172         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49173         Remove long_double_symbol for scalblnl function in libm, libc.
49174         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49175         Add wrapper which checks for setting errno to ERANGE.
49176         Add long_double_symbol for scalblnl function in libm, libc.
49177         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49178         Remove long_double_symbol for scalblnl in libm.
49179         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49180         Add wrapper which checks for setting errno to ERANGE.
49181         Add long_double_symbol for scalblnl function in libm.
49182         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49183         Do not use wrapper because of own implementation.
49185 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
49187         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49188         3 bytes for __pad1 for x32.
49189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49191 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
49192             H.J. Lu  <hongjiu.lu@intel.com>
49194         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49195         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49196         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49197         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49198         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49200 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
49202         [BZ #17069]
49203         * posix/regcomp.c (parse_expression): Deallocate partially
49204         constructed tree before returning error.
49205         * posix/Makefile.c (tests): Add bug-regex36.
49206         (generated): Add bug-regex36.mtrace.
49207         (tests-special): Add $(objpfx)bug-regex36-mem.out
49208         (bug-regex36-ENV): New variable.
49209         ($(objpfx)bug-regex36-mem.out): New rule.
49210         * posix/bug-regex36.c: New file.
49212 2014-06-19  Will Newton  <will.newton@linaro.org>
49214         * malloc/malloc.c (systrim): If extra is zero then return
49215         early.
49217 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49219         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49221 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
49223         * sysdeps/aarch64/strchr.S: New file.
49225 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49227         [BZ #17022]
49228         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49229         from arguments -2 or below.
49230         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49231         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49233 2014-06-18  Andreas Schwab  <schwab@suse.de>
49235         [BZ #17062]
49236         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49237         of a bracket expr not to run off the end of the string.
49238         * posix/Makefile (tests): Add tst-fnmatch3.
49239         * posix/tst-fnmatch3.c: New file.
49241 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49243         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49244         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49245         [$(cross-compiling) = no]: Likewise.
49246         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49247         [$(cross-compiling) = no]: Likewise.
49249 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49251         [BZ #17031]
49252         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49253         double, adjusted for any remainder from the high double.
49254         * math/libm-test.inc (nearbyint): Add tests.
49255         (rint): Likewise.
49257 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49259         * nptl/sysdeps/powerpc/Makefile: Moved ...
49260         * sysdeps/powerpc/nptl/Makefile: ... here.
49261         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49262         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49263         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49264         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49265         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49266         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49267         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49268         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49269         * nptl/sysdeps/powerpc/tls.h: Moved ...
49270         * sysdeps/powerpc/nptl/tls.h: ... here.
49272 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
49274         [BZ #16681]
49275         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49276         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49277         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49278         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49279         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49280         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49281         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49282         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49283         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49285 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
49287         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49289 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
49291         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49292         defined operator.
49294         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49295         $TIMEOUTFACTOR.
49297 2014-06-16  Florian Weimer  <fweimer@redhat.com>
49299         [BZ #17058]
49300         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49301         non-executed part of the test.
49303 2014-06-16  Andreas Schwab  <schwab@suse.de>
49305         * string/bits/string2.h (strdup, strndup): Update feature guard.
49307 2014-06-14  David S. Miller  <davem@davemloft.net>
49309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49311 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
49313         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49314         that was previously under [RESET_PID].
49315         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49317         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49318         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49319         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49320         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49321         (__libc_vfork): New strong alias.
49322         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49324 2014-06-14 Andi Kleen  <ak@linux.intel.com>
49326         * sysdeps/generic/elide.h: New file.
49328 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
49330         * Makefile (installed-headers): Adjust path of pthread.h header.
49332 2014-06-13  Roland McGrath  <roland@hack.frob.com>
49334         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49335         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49336         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49337         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49339         * nptl/sysdeps/s390/Makefile: Moved ...
49340         * sysdeps/s390/nptl/Makefile: ... here.
49341         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49342         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49343         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49344         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49345         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49346         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49347         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49348         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49349         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49350         * sysdeps/s390/nptl/pthreaddef.h: ... here.
49351         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49352         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49353         * nptl/sysdeps/s390/tls.h: Moved ...
49354         * sysdeps/s390/nptl/tls.h: ... here.
49356         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49357         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49359 2014-06-13  David S. Miller  <davem@davemloft.net>
49361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49364         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49368         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49369         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49370         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49371         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49372         Remove RESET_PID cpp guards.
49373         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49374         Remove RESET_PID cpp guards.
49375         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49377 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
49379         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49380         __sp to uintptr_t.
49382 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49384         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49387         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49388         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49390         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49396         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49397         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49398         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
49399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
49400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
49401         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49402         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
49403         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
49405         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
49406         (pthread_rwlock_rdlock): Add elision.
49407         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
49408         (pthread_rwlock_wrlock): Add elision.
49409         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
49410         (pthread_rwlock_trywrlock): Add elision.
49411         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49412         (pthread_rwlock_tryrdlock): Add elision.
49413         * nptl/pthread_rwlock_unlock.c: Include elide.h.
49414         (pthread_rwlock_tryrdlock): Add elision unlock.
49415         * nptl/sysdeps/pthread/pthread.h:
49416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49417         (PTHREAD_RWLOCK_INITIALIZER,
49418         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49419         Handle new elision field.
49420         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49421         * sysdeps/arm/nptl/bits/pthreadtypes.h
49422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49423         * sysdeps/sh/nptl/bits/pthreadtypes.h
49424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49425         * sysdeps/tile/nptl/bits/pthreadtypes.h
49426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49427         * sysdeps/a/nptl/bits/pthreadtypes.h
49428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49429         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49431         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49433         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49435         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49437         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49439         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49441         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49442         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49443         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49445         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49446         (elision_init): Set try_xbegin to zero when no RTM.
49447         * sysdeps/x86/nptl/bits/pthreadtypes.h
49448         (pthread_rwlock_t): Change __pad1 to __rwelision.
49449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49451 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49453         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49454         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49455         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49456         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49458 2014-06-13  Meador Inge  <meadori@codesourcery.com>
49460         [BZ #16996]
49461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49462         that the cached result has been set before returning it.
49464 2014-06-12  Roland McGrath  <roland@hack.frob.com>
49466         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49467         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49468         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49469         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49470         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49471         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49473         * nptl/sysdeps/sparc/Makefile: Moved ...
49474         * sysdeps/sparc/nptl/Makefile: ... here.
49475         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49476         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49477         * nptl/sysdeps/sparc/tls.h: Moved ...
49478         * sysdeps/sparc/nptl/tls.h: ... here.
49479         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49480         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49481         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49482         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49483         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49484         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49485         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49486         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49487         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49488         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49489         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49490         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49491         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49492         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49493         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49494         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49497         Update #include.
49498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49500         Update #include.
49501         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49503         Update #include.
49504         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49506         Update #include.
49508         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49510         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49511         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49513         * sysdeps/pthread/posix-timer.h: Include <list.h>.
49514         (struct list_links): Type removed.
49515         (struct thread_node, struct timer_node): Replace struct list_links
49516         with struct list_head.
49517         (list_unlink_ip): Likewise.
49518         * sysdeps/pthread/timer_routines.c
49519         (timer_free_list, thread_free_list, thread_active_list): Likewise.
49520         (list_append, list_insbefore): Likewise.
49521         (list_init): Function removed.
49522         (thread_init, init_module): Use INIT_LIST_HEAD instead.
49523         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49524         * sysdeps/pthread/Makefile: ... here, new file.
49526         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49527         * sysdeps/nptl/Implies: ... here.
49528         * sysdeps/unix/sysv/linux/Implies: Add nptl.
49529         * nptl/sysdeps/pthread/list.h: Moved ...
49530         * include/list.h: ... here.
49531         * nptl/sysdeps/pthread/createthread.c: Moved ...
49532         * nptl/createthread.c: ... here.
49533         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49534         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49535         * nptl/pt-longjmp.c: ... here.
49536         * nptl/sysdeps/pthread/Makefile: Moved ...
49537         * sysdeps/nptl/Makefile: ... here.
49538         * nptl/sysdeps/pthread/Subdirs: Moved ...
49539         * sysdeps/nptl/Subdirs: ... here.
49540         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49541         * sysdeps/nptl/aio_misc.h: ... here.
49542         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49543         * sysdeps/nptl/bits/libc-lock.h: ... here.
49544         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49545         * sysdeps/nptl/bits/libc-lockP.h: ... here.
49546         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49547         * sysdeps/nptl/bits/stdio-lock.h: ... here.
49548         * nptl/sysdeps/pthread/configure: Moved ...
49549         * sysdeps/nptl/configure: ... here.
49550         * nptl/sysdeps/pthread/configure.ac: Moved ...
49551         * sysdeps/nptl/configure.ac: ... here.
49552         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49553         * sysdeps/nptl/gai_misc.h: ... here.
49554         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49555         * sysdeps/nptl/librt-cancellation.c: ... here.
49556         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49557         * sysdeps/nptl/malloc-machine.h: ... here.
49558         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49559         * sysdeps/nptl/pthread-functions.h: ... here.
49560         * nptl/sysdeps/pthread/pthread.h: Moved ...
49561         * sysdeps/nptl/pthread.h: ... here.
49562         * nptl/sysdeps/pthread/setxid.h: Moved ...
49563         * sysdeps/nptl/setxid.h: ... here.
49564         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49565         * sysdeps/nptl/sigfillset.c: ... here.
49566         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49567         * sysdeps/nptl/tcb-offsets.h: ... here.
49568         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49569         * sysdeps/nptl/tst-mqueue8x.c: ... here.
49570         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49571         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49572         * nptl/sysdeps/pthread/allocalim.h: Moved ...
49573         * sysdeps/pthread/allocalim.h: ... here.
49574         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49575         * sysdeps/pthread/bits/sigthread.h: ... here.
49576         * nptl/sysdeps/pthread/flockfile.c: Moved ...
49577         * sysdeps/pthread/flockfile.c: ... here.
49578         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49579         * sysdeps/pthread/ftrylockfile.c: ... here.
49580         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49581         * sysdeps/pthread/funlockfile.c: ... here.
49582         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49583         * sysdeps/pthread/posix-timer.h: ... here.
49584         * nptl/sysdeps/pthread/timer_create.c: Moved ...
49585         * sysdeps/pthread/timer_create.c: ... here.
49586         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49587         * sysdeps/pthread/timer_delete.c: ... here.
49588         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49589         * sysdeps/pthread/timer_getoverr.c: ... here.
49590         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49591         * sysdeps/pthread/timer_gettime.c: ... here.
49592         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49593         * sysdeps/pthread/timer_routines.c: ... here.
49594         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49595         * sysdeps/pthread/timer_settime.c: ... here.
49596         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49597         * sysdeps/pthread/tst-timer.c: ... here.
49598         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49599         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49601         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49602         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49604         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49605         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49606         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49607         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49608         Update #include target.
49609         * nptl/sysdeps/i386/i686/Makefile: Moved ...
49610         * sysdeps/i386/i686/nptl/Makefile: ... here.
49611         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49612         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49613         Update #include target.
49614         * nptl/sysdeps/i386/i686/tls.h: Moved ...
49615         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
49616         * nptl/sysdeps/i386/Makefile: Moved ...
49617         * sysdeps/i386/nptl/Makefile: ... here.
49618         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49619         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49620         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49621         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49622         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49623         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49624         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49625         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49626         * sysdeps/i386/nptl/pthreaddef.h: ... here.
49627         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49628         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49629         * nptl/sysdeps/i386/tls.h: Moved ...
49630         * sysdeps/i386/nptl/tls.h: ... here.
49632         * sysdeps/sh/Makefile [$(subdir) = csu]
49633         (gen-as-const-headers): Add tcb-offsets.sym.
49634         * nptl/sysdeps/sh/Makefile: File removed.
49635         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49636         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49637         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49638         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49639         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49640         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49641         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49642         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49643         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49644         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49645         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49646         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49647         * nptl/sysdeps/sh/tls.h: Moved ...
49648         * sysdeps/sh/nptl/tls.h: ... here.
49649         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49650         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49651         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49652         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49653         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49654         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49655         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49656         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49657         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49658         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49660         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49662         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49664         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49666         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49668         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49669         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49670         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49671         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49674         Moved ...
49675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49677         Moved ...
49678         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49680         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49681         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49682         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49683         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49684         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49685         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49686         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49687         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49688         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49689         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49690         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49691         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49692         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49693         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49694         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49695         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49696         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49698 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49700         * posix/spawn_faction_addopen.c: Include string.h.
49702 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49704         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49705         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49706         * nptl/sysdeps/x86_64/Makefile: Moved ...
49707         * sysdeps/x86_64/nptl/Makefile: ... here.
49708         * nptl/sysdeps/x86_64/configure: Moved ...
49709         * sysdeps/x86_64/nptl/configure: ... here.
49710         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49711         * sysdeps/x86_64/nptl/configure.ac: ... here.
49712         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49713         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49714         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49715         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49716         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49717         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49718         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49719         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49720         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49721         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49722         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49723         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49724         * nptl/sysdeps/x86_64/tls.h: Moved ...
49725         * sysdeps/x86_64/nptl/tls.h: ... here.
49726         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49727         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49728         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49729         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49731         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49733 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49737 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49739         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49740         type.
49741         [POSIX] (off_t): Likewise.
49742         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49743         [POSIX] (S_ISBLK): Require macro.
49744         [POSIX] (S_ISCHR): Likewise.
49745         [POSIX] (S_ISDIR): Likewise.
49746         [POSIX] (S_ISFIFO): Likewise.
49747         [POSIX] (S_ISREG): Likewise.
49748         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49749         optional-macro.
49750         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49751         type.
49752         [POSIX] (time_t): Likewise.
49753         [POSIX] (timer_t): Likewise.
49755 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49757         [BZ #17048]
49758         * posix/spawn_int.h (struct __spawn_action): Make the path string
49759         non-const to support deallocation.
49760         * posix/spawn_faction_addopen.c
49761         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49762         * posix/spawn_faction_destroy.c
49763         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49764         path in all spawn_do_open actions.
49765         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49766         posix_spawn_file_actions_addopen.
49768 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49770         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49771         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49772         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49773         conditional code always true.
49774         (__libc_vfork): New alias.
49776 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49778         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49779         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49781         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49783         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49784         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49786         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49787         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49789         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49790         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49792 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49794         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49795         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49796         multiarch strcmp for PPC64.
49797         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49798         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49800         multiarch optimizations.
49801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49802         (__libc_ifunc_impl_list): Likewise.
49804 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49806         * benchtests/scripts/validate_benchout.py: New script.
49807         * benchtests/Makefile (bench-func): Call it.
49808         * benchtests/scripts/benchout.schema.json: New file.
49810 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49812         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49813         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49814         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49815         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49816         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49817         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49818         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49819         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49820         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49821         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49822         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49823         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49824         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49825         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49826         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49827         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49829         Moved ...
49830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49831         ... here.
49832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49833         Moved ...
49834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49836         Moved ...
49837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49838         ... here.
49839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49840         Moved ...
49841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49842         ... here.
49843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49844         Moved ...
49845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49847         Moved ...
49848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49849         ... here.
49850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49851         Moved ...
49852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49853         ... here.
49854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49855         Moved ...
49856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49858         Moved ...
49859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49860         ... here.
49861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49862         Moved ...
49863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49864         ... here.
49865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49866         Moved ...
49867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49868         ... here.
49869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49870         Moved ...
49871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49873         Moved ...
49874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49875         ... here.
49876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49877         Moved ...
49878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49879         ... here.
49880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49881         Moved ...
49882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49883         ... here.
49884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49885         Moved ...
49886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49888         Moved ...
49889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49890         ... here.
49891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49892         Moved ...
49893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49894         ... here.
49895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49896         Moved ...
49897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49899         Moved ...
49900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49901         ... here.
49902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49903         Moved ...
49904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49906         Moved ...
49907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49909         Moved ...
49910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49911         ... here.
49912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49913         Moved ...
49914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49915         ... here.
49916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49917         Moved ...
49918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49919         ... here.
49920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49921         Moved ...
49922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49924         Moved ...
49925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49926         ... here.
49927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49928         Moved ...
49929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49930         ... here.
49931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49932         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49934         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49936         Moved ...
49937         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49938         ... here.
49939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49940         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49942         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49944         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49946         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49948         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49950         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49952         Moved ...
49953         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49955         Moved ...
49956         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49958         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49960         Moved ...
49961         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49962         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49963         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49964         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49965         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49966         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49967         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49969 2014-06-10  Wilco  <wdijkstr@arm.com>
49971         * math/test-fenv-return.c: New file.
49972         * math/Makefile: Add new test test-fenv-return.
49974 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49976         [BZ #17042]
49977         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49978         when x - 1 is zero.
49979         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49980         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49981         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49982         0.0L for an argument of 1.0L.
49983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49984         Likewise.
49985         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49986         value when x - 1 is zero.
49987         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49988         * sysdeps/i386/fpu/libm-test-ulps: Update.
49989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49991 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49993         [BZ #15119]
49994         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49996 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49998         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49999         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50001 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50003         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50004         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50006         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50007         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50009         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50010         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50012         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50013         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50015         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50016         if not already defined.
50017         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50018         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50019         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50020         (TLS_INIT_TP): Use it.
50021         (TLS_DEFINE_INIT_TP): New macro.
50022         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50024 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50026         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50027         constant.
50028         [POSIX] (IXANY): Likewise.
50029         [POSIX] (OLCUC): Likewise.
50030         [POSIX || POSIX2008] (CBAUD): Do not allow.
50031         [POSIX || POSIX2008] (DEFECHO): Likewise.
50032         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50033         [POSIX || POSIX2008] (ECHOKE): Likewise.
50034         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50035         [POSIX || POSIX2008] (EXTA): Likewise.
50036         [POSIX || POSIX2008] (EXTB): Likewise.
50037         [POSIX || POSIX2008] (FLUSHO): Likewise.
50038         [POSIX || POSIX2008] (LOBLK): Likewise.
50039         [POSIX || POSIX2008] (PENDIN): Likewise.
50040         [POSIX || POSIX2008] (SWTCH): Likewise.
50041         [POSIX || POSIX2008] (VDISCARD): Likewise.
50042         [POSIX || POSIX2008] (VDSUSP): Likewise.
50043         [POSIX || POSIX2008] (VLNEXT): Likewise.
50044         [POSIX || POSIX2008] (VREPRINT): Likewise.
50045         [POSIX || POSIX2008] (VSTATUS): Likewise.
50046         [POSIX || POSIX2008] (VWERASE): Likewise.
50047         (B*): Change to B[0123456789]*.
50048         * conform/data/time.h-data [POSIX || UNIX98]
50049         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50050         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50051         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50052         [POSIX] (tm_*): Do not allow.
50054 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50056         * Makefile (install): Don't set LANGUAGE.
50057         * Makefile.in (install): Likewise.
50058         * assert/Makefile (test-assert-ENV): Remove variable.
50059         (test-assert-perr-ENV): Likewise.
50060         * elf/Makefile (neededtest4-ENV): Likewise.
50061         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50062         [$(cross-compiling) = no]: Don't set LANGUAGE.
50063         * io/ftwtest-sh (LANG): Remove variable.
50064         * libio/Makefile (tst-widetext-ENV): Likewise.
50065         * manual/install.texi (Running make install): Don't refer to
50066         environment settings for make install.
50067         * INSTALL: Regenerated.
50068         * nptl/tst-tls6.sh: Don't set LANG.
50069         * posix/globtest.sh (LANG): Remove variable.
50070         * string/Makefile (tester-ENV): Likewise.
50071         (inl-tester-ENV): Likewise.
50072         (noinl-tester-ENV): Likewise.
50073         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50074         [$(cross-compiling) = no]: Don't set LANGUAGE.
50075         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50076         without explicit environment settings.
50078 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50080         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50081         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50082         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50083         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50085 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50087         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50088         other files in the crypt directory.
50089         * crypt/crypt.c: Remove duplicate includes.
50090         * crypt/crypt-entry.c: Likewise.
50091         * crypt/crypt_util.c: Likewise.
50093 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50095         * Makeconfig (run-program-env): New variable.
50096         (run-program-prefix-before-env): Likewise.
50097         (run-program-prefix-after-env): Likewise.
50098         (run-program-prefix): Define in terms of new variables.
50099         (built-program-cmd-before-env): New variable.
50100         (built-program-cmd-after-env): Likewise.
50101         (built-program-cmd): Define in terms of new variables.
50102         (test-program-prefix-before-env): New variable.
50103         (test-program-prefix-after-env): Likewise.
50104         (test-program-prefix): Define in terms of new variables.
50105         (test-program-cmd-before-env): New variable.
50106         (test-program-cmd-after-env): Likewise.
50107         (test-program-cmd): Define in terms of new variables.
50108         * Rules (make-test-out): Use $(run-program-env).
50109         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50110         (help): Do not mention environment variables.  Mention
50111         --timeoutfactor option.
50112         (timeoutfactor): New variable.
50113         (blacklist_exports): Remove function.
50114         (exports): Remove variable.
50115         (command): Do not include ${exports}.
50116         * manual/install.texi (Configuring and compiling): Do not mention
50117         test wrappers preserving environment variables.  Mention that last
50118         assignment to a variable must take precedence.
50119         * INSTALL: Regenerated.
50120         * benchtests/Makefile (run-bench): Use $(run-program-env).
50121         * catgets/Makefile ($(objpfx)test1.cat): Use
50122         $(built-program-cmd-before-env), $(run-program-env) and
50123         $(built-program-cmd-after-env).
50124         ($(objpfx)test2.cat): Do not specify environment variables
50125         explicitly.
50126         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50127         $(run-program-env) and $(built-program-cmd-after-env).
50128         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50129         $(run-program-env) and $(test-program-cmd-after-env).
50130         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50131         explicitly.
50132         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50133         run_program_env and test_program_cmd_after_env arguments.
50134         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50135         * elf/tst-pathopt.sh: Use run_program_env argument.
50136         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50137         $(test-wrapper-env) and $(run-program-env).
50138         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50139         run_program_env arguments.
50140         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50141         * intl/Makefile ($(objpfx)tst-gettext.out): Use
50142         $(test-program-prefix-before-env), $(run-program-env) and
50143         $(test-program-prefix-after-env).
50144         ($(objpfx)tst-gettext2.out): Likewise.
50145         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50146         run_program_env and test_program_prefix_after_env arguments.
50147         * intl/tst-gettext2.sh: Likewise.
50148         * intl/tst-gettext4.sh: Do not set environment variables
50149         explicitly.
50150         * intl/tst-gettext6.sh: Likewise.
50151         * intl/tst-translit.sh: Likewise.
50152         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50153         $(test-program-prefix-before-env), $(run-program-env) and
50154         $(test-program-prefix-after-env).
50155         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50156         run_program_env and test_program_prefix_after_env arguments.
50157         * math/Makefile (run-regen-ulps): Use $(run-program-env).
50158         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50159         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
50160         explicitly with each use of ${test_wrapper_env}.
50161         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50162         $(test-program-prefix-before-env), $(run-program-env) and
50163         $(test-program-prefix-after-env).
50164         * posix/tst-getconf.sh: Do not set environment variables
50165         explicitly.
50166         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50167         run_program_env and test_program_prefix_after_env arguments.
50168         * stdio-common/tst-printf.sh: Do not set environment variables
50169         explicitly.
50170         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50171         $(test-program-prefix-before-env), $(run-program-env) and
50172         $(test-program-prefix-after-env).
50173         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50174         run_program_env and test_program_prefix_after_env arguments.
50175         Split $test calls into $test_pre and $test.
50176         * timezone/Makefile (build-testdata): Use
50177         $(built-program-cmd-before-env), $(run-program-env) and
50178         $(built-program-cmd-after-env).
50180 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50182         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50183         strlen for non SHARED builds.
50185 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50187         * nptl/allocatestack.c (check_list): Inlined function...
50188         (__reclaim_stacks): ... here.
50190 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50192         [BZ #15698]
50193         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50194         memory overrun.
50196 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
50198         * Rules (make-test-out): Include
50199         LOCPATH=$(common-objpfx)localedata in default environment.
50200         * debug/Makefile (tst-chk1-ENV): Remove variable.
50201         (tst-chk2-ENV): Likewise.
50202         (tst-chk3-ENV): Likewise.
50203         (tst-chk4-ENV): Likewise.
50204         (tst-chk5-ENV): Likewise.
50205         (tst-chk6-ENV): Likewise.
50206         (tst-lfschk1-ENV): Likewise.
50207         (tst-lfschk2-ENV): Likewise.
50208         (tst-lfschk3-ENV): Likewise.
50209         (tst-lfschk4-ENV): Likewise.
50210         (tst-lfschk5-ENV): Likewise.
50211         (tst-lfschk6-ENV): Likewise.
50212         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50213         (tst-iconv7-ENV): Likewise.
50214         * intl/Makefile (LOCPATH-ENV): Likewise.
50215         (tst-codeset-ENV): Likewise.
50216         (tst-gettext3-ENV): Likewise.
50217         (tst-gettext5-ENV): Likewise.
50218         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50219         (tst-fopenloc-ENV): Likewise.
50220         (tst-fgetws-ENV): Remove variable.
50221         (tst-ungetwc1-ENV): Likewise.
50222         (tst-ungetwc2-ENV): Likewise.
50223         (bug-ungetwc2-ENV): Likewise.
50224         (tst-swscanf-ENV): Likewise.
50225         (bug-ftell-ENV): Likewise.
50226         (tst-fgetwc-ENV): Likewise.
50227         (tst-fseek-ENV): Likewise.
50228         (tst-ftell-partial-wide-ENV): Likewise.
50229         (tst-ftell-active-handler-ENV): Likewise.
50230         (tst-ftell-append-ENV): Likewise.
50231         * posix/Makefile (tst-fnmatch-ENV): Likewise.
50232         (tst-regexloc-ENV): Likewise.
50233         (bug-regex1-ENV): Likewise.
50234         (tst-regex-ENV): Likewise.
50235         (tst-regex2-ENV): Likewise.
50236         (bug-regex5-ENV): Likewise.
50237         (bug-regex6-ENV): Likewise.
50238         (bug-regex17-ENV): Likewise.
50239         (bug-regex18-ENV): Likewise.
50240         (bug-regex19-ENV): Likewise.
50241         (bug-regex20-ENV): Likewise.
50242         (bug-regex22-ENV): Likewise.
50243         (bug-regex23-ENV): Likewise.
50244         (bug-regex25-ENV): Likewise.
50245         (bug-regex26-ENV): Likewise.
50246         (bug-regex30-ENV): Likewise.
50247         (bug-regex32-ENV): Likewise.
50248         (bug-regex33-ENV): Likewise.
50249         (bug-regex34-ENV): Likewise.
50250         (bug-regex35-ENV): Likewise.
50251         (tst-rxspencer-ENV): Likewise.
50252         (tst-rxspencer-no-utf8-ENV): Likewise.
50253         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50254         (tst-sscanf-ENV): Likewise.
50255         (tst-swprintf-ENV): Likewise.
50256         (tst-swscanf-ENV): Likewise.
50257         (test-vfprintf-ENV): Likewise.
50258         (scanf13-ENV): Likewise.
50259         (bug14-ENV): Likewise.
50260         (tst-grouping-ENV): Likewise.
50261         * stdlib/Makefile (tst-strtod-ENV): Likewise.
50262         (tst-strtod3-ENV): Likewise.
50263         (tst-strtod4-ENV): Likewise.
50264         (tst-strtod5-ENV): Likewise.
50265         (testmb2-ENV): Likewise./
50266         * string/Makefile (tst-strxfrm-ENV): Likewise.
50267         (tst-strxfrm2-ENV): Likewise.
50268         (bug-strcoll1-ENV): Likewise.
50269         (test-strcasecmp-ENV): Likewise.
50270         (test-strncasecmp-ENV): Likewise.
50271         * time/Makefile (tst-strptime-ENV): Likewise.
50272         (tst-ftime_l-ENV): Likewise.
50273         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50274         (tst-mbrtowc-ENV): Likewise.
50275         (tst-wcrtomb-ENV): Likewise.
50276         (tst-mbrtowc2-ENV): Likewise.
50277         (tst-c16c32-1-ENV): Likewise.
50278         (tst-mbsnrtowcs-ENV): Likewise.
50280 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50282         * manual/resource.texi (How to get information about the memory
50283         subsystem?): Fix typo.
50284         Reported by Peon de la Parra Ivan <peon@keba.com>
50286 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
50288         [BZ #16882]
50289         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50290         (pthread_spin_lock): Branch out of spin loop to proper location.
50291         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50292         (pthread_spin_lock): Likewise.
50294         * nptl/tst-spin4.c: New test.
50295         * nptl/Makefile (tests): Add tst-spin4.
50297 2014-06-03  Andreas Schwab  <schwab@suse.de>
50299         [BZ #15946]
50300         * resolv/res_send.c (send_dg): Reload file descriptor after
50301         calling reopen.
50303 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
50305         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50307 2014-06-03  Richard Henderson  <rth@redhat.com>
50309         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50310         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50311         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50312         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
50313         in the SAVE_PID block.
50314         (__libc_vfork): New alias.
50315         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50317         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50318         child in registers, not on the stack.  Remove RESET_PID conditionals.
50319         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50321 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50323         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50325 2014-06-03  Wilco  <wdijkstr@arm.com>
50327         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50328         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50329         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50330         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50331         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50332         Likewise.
50334 2014-06-03  Wilco  <wdijkstr@arm.com>
50336         * sysdeps/aarch64/fpu/math_private.h
50337         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50338         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50339         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50340         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50341         Fix declarations.
50343 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50345         * crypt/crypt-private.h: Include ufc-crypt.h.
50346         (__b64_from_24bit): Declare extern.
50347         * crypt/crypt_util.c(__b64_from_24bit): New function.
50348         (b64t): New static const variable.
50349         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50350         (b64t): Remove variable.
50351         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50352         * crypt/sha256-crypt.c: Include crypt-private.h.
50353         (b64t): Remove variable.
50354         (__sha256_crypt_r): Remove b64_from_24bit and replace
50355         with __b64_from_24bit.
50356         * crypt/sha512-crypt.c: Likewise.
50358 2014-06-02  Roland McGrath  <roland@hack.frob.com>
50360         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50361         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50362         Label the code __libc_vfork rather than __vfork.
50363         [!NOT_IN_libc] (vfork): Define as weak alias.
50364         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50365         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50366         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50368 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370         * malloc/malloc.c (malloc_info): Fix format specifier for
50371         n_mmaps.
50373 2014-06-02  Wilco  <wdijkstr@arm.com>
50375         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50376         FPCR write.
50378 2014-06-02  Wilco  <wdijkstr@arm.com>
50380         [BZ #17009]
50381         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50382         Rewrite to reduce FPCR/FPSR accesses.
50384 2014-06-01  David S. Miller  <davem@davemloft.net>
50386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50388 2014-05-31  David S. Miller  <davem@davemloft.net>
50390         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50391         to occur in round to nearest mode when |x| >= 2.0
50393 2014-05-30  Richard Henderson  <rth@twiddle.net>
50395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50396         (PSEUDO_RET_NOERRNO): Remove.
50397         (ret): Don't redefine.
50398         (ret_NOERRNO): Define in terms of ret.
50399         (ret_ERRVAL): Likewise.
50401         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
50402         use of PSEUDO_RET; perform the error check directly.
50404 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
50406         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50407         with __int128_t.
50409 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50411         * malloc/malloc (malloc_info): Fix formatting.
50413 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50414             Roland McGrath  <roland@hack.frob.com>
50416         * malloc/malloc (malloc_info): Also print mmapped statistics.
50418 2014-05-30  Roland McGrath  <roland@hack.frob.com>
50420         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50421         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50423 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
50425         * malloc/malloc.c (malloc_info): Inline mi_arena.
50427 2014-05-29  Richard Henderson  <rth@twiddle.net>
50429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50430         Remove comma before expanding ASM_ARGS_##nr.
50431         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50432         Make _x0 a strict output; make _x8 a strict input; adjust expansion
50433         of ASM_ARGS_##nr.
50434         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50435         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50436         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50437         (ASM_ARGS_1): Add leading comma.
50439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50440         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50441         to __errno_location.
50442         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50443         Remove the expected plt for __errno_location.
50445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50446         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50447         call to __read_tp.
50449         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50450         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
50451         it and break it down.
50452         (DOCARGS_0, DOCARGS_1): Do nothing.
50453         (DOCARGS_2): Update to store into the new stack frame.
50454         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50455         (UNDOCARGS_1): Update to restore from the new stack frame.
50456         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50457         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50459         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50460         (SINGLE_THREAD_P): New parameter for result regno.
50461         (PSEUDO): Update to match; use cbz instead of beq.
50463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50464         Use ENTRY to define the _nocancel entry point.  Share the syscall
50465         and syscall error check paths with the cancel path.
50466         (PSEUDO_END): New.
50468         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50469         whitespace; tabs before and after asm mnemonics.
50471 2014-05-29  Eric Wong  <normalperson@yhbt.net>
50473         [BZ #15132]
50474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50475         Call fstat64 or stat64 internally, depending on arguments passed.
50476         Replace stat buffer argument with file descriptor argument.
50477         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50478         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50479         Pass fd to __internal_statvfs instead of calling fstat64.
50480         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50481         Pass fd to __internal_statvfs64 instead of calling fstat64.
50482         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50483         Pass -1 to __internal_statvfs instead of calling stat64.
50484         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50485         Pass -1 to __internal_statvfs64 instead of calling stat64.
50487 2014-05-28  Roland McGrath  <roland@hack.frob.com>
50489         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50490         that was previously under [RESET_PID].
50491         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50493         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50494         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50496 2014-05-27  Roland McGrath  <roland@hack.frob.com>
50498         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50500         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50501         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50503 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
50505         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50507 2014-05-27  Andreas Schwab  <schwab@suse.de>
50509         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50510         TLS_INIT_TP macro.
50511         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50512         * elf/rtld.c (init_tls, dl_main): Likewise.
50513         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50514         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50515         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50516         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50517         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50518         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50519         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50520         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50521         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50522         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50523         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50524         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50525         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50526         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50527         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50528         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50529         * sysdeps/generic/tls.h: Update description.
50531 2014-05-27  Will Newton  <will.newton@linaro.org>
50533         [BZ #16990]
50534         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50535         and restore r2 rather than just restoring.
50537 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         [BZ #16724]
50540         * libio/tst-ftell-append.c: New test case.
50541         * libio/Makefile (tests): Add test case.
50542         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50543         append mode.
50544         * libio/wfileops.c (do_ftell_wide): Likewise.
50546 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50550         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50551         ...
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50554         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50555         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50557         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50558         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50561         Moved ...
50562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50564         Moved ...
50565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50566         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50567         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50568         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50569         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50571         ...
50572         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50573         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50574         Moved ...
50575         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50576         here.
50577         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50578         ...
50579         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50580         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50581         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50583         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50584         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50586         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50589         merge into ...
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50592         ...
50593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50595         ...
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50598         Moved ...
50599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50600         here.
50601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50602         Moved ...
50603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50605         Moved ...
50606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50609         conditional [RESET_PID].
50610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50612         removed.
50613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50614         removed.
50616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50617         <tcb-offsets.h>.
50618         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50619         (__libc_vfork): New strong alias.
50620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50621         removed.
50622         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50623         Removed.
50625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50626         <tcb-offsets.h>.
50627         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50628         (__libc_vfork): New strong alias.
50629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50630         removed.
50631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50632         removed.
50634 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50636         * malloc/malloc.c (mi_arena): New function.
50637         (malloc_info): Remove nested function mi_arena. Call non-nosted
50638         function mi_arena.
50640 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50642         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50643         by insrwi.
50644         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50645         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50646         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50647         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50648         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50649         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50650         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50652 2014-05-26  Andreas Schwab  <schwab@suse.de>
50654         [BZ #16984]
50655         * locale/programs/repertoire.c (repertoire_read): Add slash
50656         between I18NPATH element and file name.
50657         * locale/programs/locfile.c (locfile_read): Likewise.
50659 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50661         * nptl/pthread_mutexattr_settype.c
50662         (__pthread_mutexattr_settype):
50663         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50665 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50667         * nptl/tst-mutex5 (do_test):
50668         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50670 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50672         * benchtests/README: Document 'init' directive.
50673         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50674         BENCH_INIT.
50675         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50676         (parse_file): Recognize 'init' directive.
50678 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50680         [BZ #16796]
50681         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50682         alignment of struct pthread.
50684 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50686         [BZ #16878]
50687         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50688         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50689         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50690         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50692 2014-05-25  Richard Henderson  <rth@twiddle.net>
50694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50695         (SINGLE_THREAD_P_PIC): Remove.
50696         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50697         (SINGLE_THREAD_P_PIC): Remove.
50699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50700         branch to syscall error ...
50701         (PSEUDO): ... here.
50702         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50703         from __local_syscall_error to .Lsyscall_error.
50704         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50705         (SYSCALL_ERROR): Update label name.
50707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50708         Do not use DOARGS/UNDOARGS.
50709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50710         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50711         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50712         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50713         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50716         block comment.
50718         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50719         define if !NOT_IN_libc.
50720         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50721         define with non-default symbol versions.
50723 2014-05-23  Richard Henderson  <rth@twiddle.net>
50725         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50726         (vfork, __vfork): Define via compat_symbol.
50728         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50729         [!HAVE_IFUNC] (vfork_compat): Remove.
50730         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50732 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50734         [BZ #16978]
50735         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50736         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50737         variable.
50739 2014-05-23  Richard Henderson  <rth@twiddle.net>
50741         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50742         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50743         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50744         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50746         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50747         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50748         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50749         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50750         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50751         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50752         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50753         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50754         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50755         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50756         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50757         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50758         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50759         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50760         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50761         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50762         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50763         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50764         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50765         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50766         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50767         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50768         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50769         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50770         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50771         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50772         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50773         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50774         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50775         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50776         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50777         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50778         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50779         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50780         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50781         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50782         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50783         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50784         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50785         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50786         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50787         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50788         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50789         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50790         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50791         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50793         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50795         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50797         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50799         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50800         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50801         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50803         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50804         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50805         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50806         before exiting on error.
50807         (__libc_vfork): New strong alias.
50808         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50809         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50811         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50812         that was previously under [RESET_PID].
50813         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50815         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50817 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50819         [BZ #16977]
50820         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50821         value when x - 1 is zero.
50822         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50823         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50824         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50825         0.0L for an argument of 1.0L.
50826         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50827         Likewise.
50828         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50829         value when x - 1 is zero.
50830         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50831         * sysdeps/i386/fpu/libm-test-ulps: Update.
50832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50834 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50836         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50837         alphasort and versionsort.
50839 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50841         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50842         macro.
50843         [copysignf]: Likewise.
50845 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         * crypt/md5-crypt.c: Fix formatting.
50849 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50851         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50852         (b64_from_24bit): New function.
50854 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50857         libc_hidden_builtin_def to ifunc.
50858         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50859         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50861 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50863         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50864         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50866 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50868         * nscd/Depend (linuxthreads): Remove.
50869         (nptl): Add.
50870         * resolv/Depend (linuxthreads): Remove.
50871         * rt/Depend (linuxthreads): Remove.
50873         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50874         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50875         $(common-objpfx)elf/.
50876         (link-libc-before-gnulib): Likewise.
50877         (elfobjdir): Remove variable.
50878         * Makefile (install): Use $(elf-objpfx) instead of
50879         $(common-objpfx)elf/.
50880         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50881         $(elfobjdir)/.
50882         (link-libc-deps): Likewise.
50883         ($(common-objpfx)libc.so): Likewise.
50884         ($(common-objpfx)linkobj/libc.so): Likewise.
50885         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50886         instead of $(common-objpfx)elf/.
50887         (symbolic-link-list): Likewise.
50888         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50889         [$(cross-compiling) = no]: Likewise.
50890         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50891         $(elfobjdir)/.
50892         (static-gnulib-arch): Likewise.
50893         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50894         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50895         $(common-objpfx)elf/.
50897 2014-05-21  Richard Henderson  <rth@redhat.com>
50899         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50900         (SINGLE_THREAD_P): Use the correct width load.  Fold
50901         into the ldr offset.
50903         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50904         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50906 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50908         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50909         (libgcc_s_resume): Use __attribute_used__.
50910         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50911         Likewise.
50913 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50915         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50916         optimization when used with float constants.
50918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50920 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50922         [BZ #16915]
50923         * locale/nl_langinfo_l.c: Make direct reference to every
50924         _nl_current_CATEGORY symbol.
50925         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50926         (tests-static): Add tst-langinfo-static.
50927         (tests-special): Add tst-langinfo-static.out.
50928         ($(objpfx)tst-langinfo.out): Redirect output.
50929         ($(objpfx)tst-langinfo-static.out): New.
50930         * localedata/tst-langinfo.sh: Send output to stdout.
50931         * localedata/tst-langinfo-static.c: New file.
50933         [BZ #16965]
50934         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50935         when the shift amount is modulo the limb size.
50937 2014-05-20  Richard Henderson  <rth@redhat.com>
50939         [BZ #16967]
50940         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50941         Change type of sa_flags from unsigned int to int.
50943         [BZ #16966]
50944         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50946         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50948 2014-05-20  Will Newton  <will.newton@linaro.org>
50950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50951         Test the return value of the system call in the nocancel case.
50953 2014-05-20  Will Newton  <will.newton@linaro.org>
50954             Yvan Roux  <yvan.roux@linaro.org>
50956         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50957         #include of asm/ptrace.h.
50958         (PTRACE_GET_THREAD_AREA): Remove #undef.
50959         (PTRACE_GETHBPREGS): Likewise.
50960         (PTRACE_SETHBPREGS): Likewise.
50961         (struct user_regs_struct): New structure.
50962         (struct user_fpsimd_struct): New structure.
50963         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50964         #include of asm/ptrace.h and second #include of sys/user.h.
50965         (PTRACE_GET_THREAD_AREA): Remove #undef.
50966         (PTRACE_GETHBPREGS): Likewise.
50967         (PTRACE_SETHBPREGS): Likewise.
50968         (ELF_NGREG): Use new struct user_regs_struct.
50969         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50971 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50973         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50974         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50976 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50978         [BZ #16958]
50979         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50980         membar to avoid block loads/stores to overlap previous stores.
50982 2014-05-17  Richard Henderson  <rth@redhat.com>
50984         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50985         Create the __##syscall_name##_nocancel entry point.
50986         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50987         Remove; let the sysdep-cancel.h code create it.
50989 2014-05-17  David S. Miller  <davem@davemloft.net>
50991         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50992         Protect with __USE_GNU.
50993         (TIOCSET_TEMPT): Likewise.
50994         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50995         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50996         these are already provided in bits/ioctl-types.h
50998 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51000         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51001         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51003         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51004         Use wait4 regardless of [__NR_waitpid].
51006 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51008         PR libgcc/60166
51009         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51010         (_FP_NANSIGN_Q): Set the quiet bit.
51012 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51014         * benchtests/Makefile
51015         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51016         not $(common-objpfx)math/libm.so.
51017         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51018         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51019         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51020         $(common-objpfx)dlfcn/libdl.so.
51021         ($(objpfx)tst-audit8): Depend on $(libm), not
51022         $(common-objpfx)math/libm.so.
51023         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51024         not $(common-objpfx)dlfcn/libdl.so.
51025         * math/Makefile
51026         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51027         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51028         [$(build-shared) = yes].
51029         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51030         $(common-objpfx)nptl/libpthread.so.
51031         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51032         $(common-objpfx)math/libm.so$(libm.so-version) or
51033         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51034         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51035         $(common-objpfx)dlfcn/libdl.so.
51036         * setjmp/Makefile (link-libm): Remove variable.
51037         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51038         * stdio-common/Makefile (link-libm): Remove variable.
51039         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51040         * stdlib/Makefile (link-libm): Remove variable.
51041         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51042         ($(objpfx)tst-strtod-round): Likewise.
51043         ($(objpfx)tst-tininess): Likewise.
51044         ($(objpfx)tst-strtod-underflow): Likewise.
51045         ($(objpfx)tst-strtod6): Likewise.
51046         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51047         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51048         $(common-objpfx)dlfcn/libdl.so.
51050 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51052         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51053         BSD terminal modes definitions.
51055 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51057         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51058         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51060         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51061         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51062         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51063         Don't do #include_next.
51064         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51065         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51066         Don't do #include_next.
51067         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51068         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51069         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51070         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51072 2014-05-16  Allan McRae  <allan@archlinux.org>
51074         * po/sv.po: Update Swedish translation from translation project.
51076         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51077         in sed expression.
51079 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51081         [BZ #16917]
51082         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51083         errno if the TIOCGPTN ioctl fails with an error different than
51084         EINVAL.
51085         * login/tst-ptsname.c: New file.
51086         * login/Makefile (tests): Add tst-ptsname.
51088         [BZ #16943]
51089         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51090         and prlimit64.
51092 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51094         [BZ #16849]
51095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51096         herrno to return EAI_AGAIN.
51098 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51100         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51101         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51102         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51103         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51104         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51105         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51106         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51107         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51108         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51109         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51110         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51111         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51112         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51113         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51114         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51115         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51116         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51117         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51118         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51119         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51120         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51121         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51122         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51123         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51124         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51125         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51126         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51127         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51128         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51129         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51131         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51133         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51135         Moved ...
51136         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51138         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51142         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51144         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51146         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51148         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51150         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51152         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51154         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51156         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51158         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51160         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51162         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51164         Moved ...
51165         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51167         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51169         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51171         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51173         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51175         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51177         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51179         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51181         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51183         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51185         Moved ...
51186         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51188         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51190         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51191         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51192         (libpthread-sysdep_routines): Add elision-related stuff here instead.
51193         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51194         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51195         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51196         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51197         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51198         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51199         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51200         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51201         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51202         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51203         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51204         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51205         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51206         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51207         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51208         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51209         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51210         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51211         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51212         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51213         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51214         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51215         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51216         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51217         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51218         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51219         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51220         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51222         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51223         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51225         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51226         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51227         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51228         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51229         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51231         Moved ...
51232         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51234         Moved ...
51235         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51237         Moved ...
51238         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51240         Moved ...
51241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51242         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51243         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51244         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51245         Moved ...
51246         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51247         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51248         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51249         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51250         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51251         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51252         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51254         Moved ...
51255         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51257         Moved ...
51258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51259         ... here.
51260         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51261         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51262         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51263         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51264         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51265         Moved ...
51266         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51267         ... here.
51268         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51269         Moved ...
51270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51271         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51272         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51273         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51274         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51276         Moved ...
51277         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51279         Moved ...
51280         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51282         Moved ...
51283         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51285         Moved ...
51286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51287         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51288         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51289         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51290         Moved ...
51291         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51292         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51293         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51294         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51295         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51296         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51297         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51299         Moved ...
51300         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51302         Moved ...
51303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51304         ... here.
51305         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51306         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51307         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51308         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51309         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51310         Moved ...
51311         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51312         ... here.
51313         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51314         Moved ...
51315         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51316         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51317         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51318         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51319         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51320         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51321         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51322         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51323         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51325         Moved ...
51326         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51328         Moved ...
51329         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51331         Moved ...
51332         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51334         Moved ...
51335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51336         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51337         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51338         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51339         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51341         Moved ...
51342         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51343         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51344         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51345         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51346         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51347         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51348         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51350         Moved ...
51351         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51353         Moved ...
51354         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51355         ... here.
51356         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51357         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51358         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51359         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51360         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51361         Moved ...
51362         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51363         ... here.
51364         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51365         Moved ...
51366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51367         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51368         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51369         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51370         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51371         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51372         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51373         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51374         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51375         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51376         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51378         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51379         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51381         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51382         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51384         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51385         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51386         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51387         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51388         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51389         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51390         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51391         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51392         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51393         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51395         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51396         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51397         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51398         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
51399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
51400         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
51401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
51402         Moved ...
51403         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
51404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
51405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
51406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
51407         Moved ...
51408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
51409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
51410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51412         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51416         Moved ...
51417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51419         Moved ...
51420         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51422         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51424         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51426         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51427         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51428         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51429         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51430         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51431         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51432         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51433         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51434         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51435         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51436         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51438         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51439         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51440         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51441         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51442         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51444         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51445         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51446         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51447         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51448         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51449         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51450         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51451         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51452         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51453         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51456         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51458         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51459         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51460         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51461         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51463         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51464         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51465         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51466         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51467         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51468         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51469         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51470         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51471         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51473         Update #include.
51474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51475         Likewise.
51476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51477         Likewise.
51478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51479         Likewise.
51480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51481         Likewise.
51482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51483         Likewise.
51484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51485         Likewise.
51486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51487         Likewise.
51488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51489         Likewise.
51490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51491         Likewise.
51492         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51504         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51505         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
51506         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
51508         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51509         that was previously under [RESET_PID].
51510         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51511         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51512         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51514         * sysdeps/i386/nptl/Implies: New file.
51515         * sysdeps/x86_64/nptl/Implies: New file.
51516         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51517         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51518         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51519         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51521         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51523         (__libc_vfork): New strong alias.
51524         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51525         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51527         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51529         (__libc_vfork): New strong alias.
51530         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51531         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51533         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51534         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51535         (__libc_vfork): New strong alias.
51536         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51537         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51538         * nptl/pt-vfork.c: New file.
51539         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51540         (libpthread: GLIBC_2.20): New version set (empty).
51542 2014-05-14  Will Newton  <will.newton@linaro.org>
51544         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51545         rather than #if.
51547 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51549         [BZ #16564]
51550         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51551         arguments with exponent 65 or above.
51552         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51553         arguments 0x1p113L or above.
51554         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51555         to arguments 0x1p107L or above.
51556         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51557         positive arguments with exponent 65 or above.
51558         * math/auto-libm-test-in: Add more tests of log1p.
51559         * math/auto-libm-test-out: Regenerated.
51561         [BZ #16928]
51562         * math/s_cacos.c (__cacos): Ensure zero real part of result from
51563         non-finite arguments is +0.
51564         * math/s_cacosf.c (__cacosf): Likewise.
51565         * math/s_cacosl.c (__cacosl): Likewise.
51566         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51567         * sysdeps/i386/fpu/libm-test-ulps: Update.
51568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51570         [BZ #16927]
51571         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51572         value.
51573         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51574         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51575         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51576         for explicit high bit of mantissa when testing for argument equal
51577         to 1.
51578         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51579         * sysdeps/i386/fpu/libm-test-ulps: Update.
51580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51582         [BZ #16516]
51583         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51584         (__erf): Scale by 16 instead of 8 in potentially underflowing
51585         case.  Ensure exception if result actually underflows.
51586         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51587         (__erff): Scale by 16 instead of 8 in potentially underflowing
51588         case.  Ensure exception if result actually underflows.
51589         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51590         (efx8): Remove variable.
51591         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51592         case.  Ensure exception if result actually underflows.
51593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51594         (efx8): Remove variable.
51595         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51596         case.  Ensure exception if result actually underflows.
51597         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51598         (efx8): Remove variable.
51599         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51600         case.  Ensure exception if result actually underflows.
51601         * math/auto-libm-test-in: Add more tests of erf.
51602         * math/auto-libm-test-out: Regenerated.
51604 2014-05-14  Andreas Schwab  <schwab@suse.de>
51606         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51607         Remove code conditionalized on USE___THREAD.
51609         * config.h.in (HAVE_PT_CHOWN): Define as 0.
51610         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51611         not definedness.
51613 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51616         Define unconditionally.
51617         (__ASSUME_O_CLOEXEC): Likewise.
51618         (__ASSUME_SOCK_CLOEXEC): Likewise.
51619         (__ASSUME_IN_NONBLOCK): Likewise.
51620         (__ASSUME_PIPE2): Likewise.
51621         (__ASSUME_EVENTFD2): Likewise.
51622         (__ASSUME_SIGNALFD4): Likewise.
51623         (__ASSUME_DUP3): Likewise.
51624         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51625         (__ASSUME_DUP3): Do not define.
51626         (__ASSUME_EVENTFD2): Likewise.
51627         (__ASSUME_IN_NONBLOCK): Likewise.
51628         (__ASSUME_O_CLOEXEC): Likewise.
51629         (__ASSUME_PIPE2): Likewise.
51630         (__ASSUME_SIGNALFD4): Likewise.
51631         (__ASSUME_SOCK_CLOEXEC): Likewise.
51632         (__ASSUME_UTIMES): Undefine.
51633         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51634         (__ASSUME_UTIMES): Do not define.
51635         (__ASSUME_O_CLOEXEC): Likewise.
51636         (__ASSUME_SOCK_CLOEXEC): Likewise.
51637         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51638         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51639         0x020621].
51640         (__ASSUME_PIPE2): Likewise.
51641         (__ASSUME_EVENTFD2): Likewise.
51642         (__ASSUME_SIGNALFD4): Likewise.
51643         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51644         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51645         Do not define.
51646         (__ASSUME_EVENTFD2): Likewise.
51647         (__ASSUME_SIGNALFD4): Likewise.
51648         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51649         (__ASSUME_32BITUIDS): Likewise.
51650         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51651         (__ASSUME_IPC64): Likewise.
51652         (__ASSUME_ST_INO_64_BIT): Likewise.
51653         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51654         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51656         (__ASSUME_UTIMES): Do not define.
51657         (__ASSUME_PSELECT): Likewise.
51658         (__ASSUME_PPOLL): Likewise.
51659         (__ASSUME_O_CLOEXEC): Likewise.
51660         (__ASSUME_SOCK_CLOEXEC): Likewise.
51661         (__ASSUME_IN_NONBLOCK): Likewise.
51662         (__ASSUME_PIPE2): Likewise.
51663         (__ASSUME_EVENTFD2): Likewise.
51664         (__ASSUME_SIGNALFD4): Likewise.
51665         (__ASSUME_DUP3): Likewise.
51666         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51667         (__ASSUME_UTIMES): Likewise.
51668         (__ASSUME_O_CLOEXEC): Likewise.
51669         (__ASSUME_SOCK_CLOEXEC): Likewise.
51670         (__ASSUME_IN_NONBLOCK): Likewise.
51671         (__ASSUME_PIPE2): Likewise.
51672         (__ASSUME_EVENTFD2): Likewise.
51673         (__ASSUME_SIGNALFD4): Likewise.
51674         (__ASSUME_DUP3): Likewise.
51675         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51676         (__ASSUME_UTIMES): Likewise.
51677         (__ASSUME_O_CLOEXEC): Likewise.
51678         (__ASSUME_SOCK_CLOEXEC): Likewise.
51679         (__ASSUME_IN_NONBLOCK): Likewise.
51680         (__ASSUME_PIPE2): Likewise.
51681         (__ASSUME_EVENTFD2): Likewise.
51682         (__ASSUME_SIGNALFD4): Likewise.
51683         (__ASSUME_DUP3): Likewise.
51684         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51685         Likewise.
51686         (__ASSUME_UTIMES): Likewise.
51687         (__ASSUME_EVENTFD2): Likewise.
51688         (__ASSUME_SIGNALFD4): Likewise.
51689         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51690         (__ASSUME_O_CLOEXEC): Likewise.
51691         (__ASSUME_SOCK_CLOEXEC): Likewise.
51692         (__ASSUME_IN_NONBLOCK): Likewise.
51693         (__ASSUME_PIPE2): Likewise.
51694         (__ASSUME_EVENTFD2): Likewise.
51695         (__ASSUME_SIGNALFD4): Likewise.
51696         (__ASSUME_DUP3): Likewise.
51697         (__ASSUME_UTIMES): Undefine.
51699         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51700         feclearexcept.  Remove symbol versioning code.
51701         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51702         symbol versioning code.
51703         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51704         symbol versioning code.
51705         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51706         feupdateenv.  Remove symbol versioning code.
51707         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51708         fegetexceptflag.  Remove symbol versioning code.
51709         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51710         fesetexceptflag.  Remove symbol versioning code.
51711         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51712         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51713         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51714         (__posix_fadvise64_l32): Remove prototype.
51715         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51716         code.
51718 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51720         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51721         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51722         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51723         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51725 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51727         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51728         current working directory
51730 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51732         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51733         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51734         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51735         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51736         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51737         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51738         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51739         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51740         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51741         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51742         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51743         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51744         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51745         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51746         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51747         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51748         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51749         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51750         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51751         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51752         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51753         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51754         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51755         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51756         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51757         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51758         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51759         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51760         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51761         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51762         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51763         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51764         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51765         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51766         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51767         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51768         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51769         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51770         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51771         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51772         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51773         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51775         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51776         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51778         * sysdeps/unix/sysv/linux/arm/Makefile
51779         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51780         Add rt-aeabi_unwind_cpp_pr1.
51781         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51782         Add nptl-aeabi_unwind_cpp_pr1.
51783         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51784         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51785         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51786         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51787         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51788         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51790         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51791         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51792         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51793         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51795         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51796         Deconditionalize the code that was previously under [RESET_PID].
51797         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51799         * sysdeps/generic/exit-thread.h: New file.
51800         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51801         * include/unistd.h (__exit_thread): Remove declaration.
51802         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51803         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51804         * csu/libc-start.c: Include <exit-thread.h>.
51805         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51806         * nptl/pthread_create.c: Include <exit-thread.h>.
51807         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51808         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51809         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51810         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51811         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51812         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51813         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51814         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51815         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51816         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51817         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51818         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51819         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51820         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51821         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51822         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51823         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51825 2014-05-13  Andreas Schwab  <schwab@suse.de>
51827         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51829 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51831         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51832         (__ASSUME_UTIMES): Do not condition on kernel version.
51833         (__ASSUME_PSELECT): Define unconditionally.
51834         (__ASSUME_PPOLL): Likewise.
51835         (__ASSUME_ATFCTS): Likewise.
51836         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51837         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51838         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51839         (__ASSUME_UTIMENSAT): Define unconditionally.
51840         (__ASSUME_PRIVATE_FUTEX): Likewise.
51841         (__ASSUME_FALLOCATE): Likewise.
51842         (__ASSUME_O_CLOEXEC): Likewise.
51843         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51844         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51845         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51846         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51847         (__ASSUME_IN_NONBLOCK): Likewise.
51848         (__ASSUME_PIPE2): Likewise.
51849         (__ASSUME_EVENTFD2): Likewise.
51850         (__ASSUME_SIGNALFD4): Likewise.
51851         (__ASSUME_DUP3): Likewise.
51852         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51853         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51854         (__ASSUME_AT_RANDOM): Likewise.
51855         (__ASSUME_PREADV): Likewise.
51856         (__ASSUME_PWRITEV): Likewise.
51857         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51858         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51859         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51860         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51861         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51863         (__ASSUME_O_CLOEXEC): Define unconditionally.
51864         (__ASSUME_PSELECT): Do not undefine conditionally.
51865         (__ASSUME_PPOLL): Likewise.
51866         (__ASSUME_ATFCTS): Likewise.
51867         (__ASSUME_SET_ROBUST_LIST): Likewise.
51868         (__ASSUME_UTIMENSAT): Likewise.
51869         (__ASSUME_FDATASYNC): Define unconditionally.
51870         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51871         (__ASSUME_SIGFRAME_V2): Likewise.
51872         )__ASSUME_EVENTFD2): Likewise.
51873         (__ASSUME_SIGNALFD4): Likewise.
51874         (__ASSUME_PSELECT): Do not undefine conditionally.
51875         (__ASSUME_PPOLL): Likewise.
51876         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51877         (__ASSUME_PSELECT): Define unconditionally.
51878         (__ASSUME_PPOLL): Likewise.
51879         (__ASSUME_O_CLOEXEC): Likewise.
51880         (__ASSUME_SOCK_CLOEXEC): Likewise.
51881         (__ASSUME_IN_NONBLOCK): Likewise.
51882         (__ASSUME_PIPE2): Likewise.
51883         (__ASSUME_EVENTFD2): Likewise.
51884         (__ASSUME_SIGNALFD4): Likewise.
51885         (__ASSUME_DUP3): Likewise.
51886         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51887         (__ASSUME_O_CLOEXEC): Likewise.
51888         (__ASSUME_SOCK_CLOEXEC): Likewise.
51889         (__ASSUME_IN_NONBLOCK): Likewise.
51890         (__ASSUME_PIPE2): Likewise.
51891         (__ASSUME_EVENTFD2): Likewise.
51892         (__ASSUME_SIGNALFD4): Likewise.
51893         (__ASSUME_DUP3): Likewise.
51894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51895         (__ASSUME_EVENTFD2): Likewise.
51896         (__ASSUME_SIGNALFD4): Likewise.
51897         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51899 2014-05-12  Andreas Schwab  <schwab@suse.de>
51901         [BZ #16932]
51902         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51903         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51904         than maximum RPC packet size.
51905         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51906         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51907         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51908         (_nss_nis_getservbyport_r): Likewise.
51910 2014-05-12  Will Newton  <will.newton@linaro.org>
51912         * malloc/Makefile (tests): Add tst-mallopt.
51913         * malloc/tst-mallopt.c: New file.
51915 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51917         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51918         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51920 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51922         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51923         (tst-tlsmod6.so): Likewise.
51925 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51927         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51929 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51931         [BZ #16064]
51932         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51933         and <dl-procinfo.h>.
51934         (__fegetenv): Save SSE state in envp->__eip if supported.
51935         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51936         envp->__eip if supported.
51937         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51938         and <dl-procinfo.h>.
51939         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51940         __data_offset and __data_selector in environment to 0.  Set SSE
51941         state if supported.
51942         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51943         test-fenv-sse.
51944         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51945         -mfpmath=sse.
51946         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51948 2014-05-09  Will Newton  <will.newton@linaro.org>
51950         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51951         and libc_relro_required for ARM.
51952         * sysdeps/arm/preconfigure: Regenerate.
51954 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51955             Stefan Liebler  <stli@linux.vnet.ibm.com>
51957         * config.make.in (enable-lock-elision): New Makefile variable.
51958         * configure.ac: Likewise.
51959         * configure: Regenerate.
51960         * sysdeps/s390/configure.ac:
51961         Add check for gcc transactions support.
51962         * sysdeps/s390/configure: Regenerate.
51963         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51964         Build elision files if enabled.
51965         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51966         Add lock elision support for s390.
51967         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51968         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51969         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51970         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51971         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51972         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51974         Likewise.
51975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51976         Likewise.
51977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51978         Likewise.
51979         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51980         Likewise.
51981         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51982         (__lll_timedlock_elision, __lll_lock_elision)
51983         (__lll_unlock_elision, __lll_trylock_elision)
51984         (lll_timedlock_elision, lll_lock_elision)
51985         (lll_unlock_elision, lll_trylock_elision): Add.
51986         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51987         (pthread_mutex_t): Add lock elision support for s390.
51989 2014-05-14  Wilco  <wdijkstr@arm.com>
51991         * sysdeps/arm/fclrexcpt.c: Cleanup.
51992         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51993         * sysdeps/arm/feenablxcpt.c: Cleanup.
51994         * sysdeps/arm/fegetenv.c: Cleanup.
51995         * sysdeps/arm/fegetexcept.c: Cleanup.
51996         * sysdeps/arm/fegetround.c: Cleanup.
51997         * sysdeps/arm/feholdexcpt.c: Cleanup.
51998         * sysdeps/arm/fesetenv.c: Cleanup.
51999         * sysdeps/arm/fesetround.c: Cleanup.
52000         * sysdeps/arm/feupdateenv.c: Cleanup.
52001         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52002         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52003         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52004         * sysdeps/arm/ftestexcept.c: Cleanup.
52005         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52006         * sysdeps/arm/setfpucw.c: Cleanup.
52008 2014-05-09  Will Newton  <will.newton@linaro.org>
52010         * sysdeps/arm/armv7/strcmp.S: New file.
52011         * NEWS: Mention addition of ARMv7 optimized strcmp.
52013 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52015         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52016         look for %.ac rather than %.in.
52018         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52019         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52020         * sysdeps/mach/hurd/configure: Regenerated.
52021         * sysdeps/unix/sysv/linux/configure: Regenerated.
52023         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52025 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52027         [BZ #16922]
52028         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52029         (LONG_SUB): Ditto.
52030         (PTR_SUB): Ditto.
52032 2014-05-07  Andreas Schwab  <schwab@suse.de>
52034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52035         when skipping over non-matching result from nscd.
52037 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
52039         [BZ #16876]
52040         * nptl/sockperf.c (client): Check socket return value.
52042         [BZ #16877]
52043         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52044         nscd security class.
52046 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52048         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52049         * sysdeps/arm/unwind.h: ... here.
52051 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52053         [BZ #16916]
52054         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52055         Define.
52057 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52059         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52060         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52061         multiarch strncpy for PPC64.
52062         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52063         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52065         multiarch optimizations.
52066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52067         (__libc_ifunc_impl_list): Likewise.
52068         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52070         multiarch stpncpy for PPC64.
52071         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52072         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52074 2014-05-06  Andreas Schwab  <schwab@suse.de>
52076         [BZ #16912]
52077         * gmon/mcount.c (_MCOUNT_DECL): Use
52078         atomic_compare_and_exchange_bool_acq instead of
52079         catomic_compare_and_exchange_bool_acq.
52081 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52083         * elf/Makefile (others, install-bin): Remove pldd.
52084         (pldd-modules): Variable removed.
52085         ($(objpfx)pldd): Target removed.
52086         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52087         (others, install-bin): Append pldd here.
52088         ($(objpfx)pldd): New target.
52090         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52091         to 0, so the first #if test emitted later doesn't see it undefined.
52092         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52093         * sysdeps/gnu/errlist.c: Regenerated.
52095 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52097         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52098         [libc_hidden_builtin_def]: Define to empty value.
52099         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52100         [libc_hidden_builtin_def]: Likewise.
52101         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52102         [libc_hidden_builtin_def]: Likewise.
52103         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52104         [libc_hidden_builtin_def]: Likewise.
52105         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52106         __redirect_memcpy and define ifunc as default hidden symbol.
52107         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52108         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52110 2014-05-04  Adam Conrad  <adconrad@0c3.net>
52112         * locale/iso-4217.def: Reintroduce XDR currency.
52114 2014-05-04  Allan McRae  <allan@archlinux.org>
52116         * po/eo.po: Update Esperanto translation from translation project.
52118 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
52120         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52121         and FEATURE_INDEX_MAX to 1.
52122         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52124 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52126         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52127         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52128         * iconvdata/big5.c (ONE_DIRECTION): Define.
52129         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52130         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52131         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52132         * iconvdata/cp932.c (ONE_DIRECTION): Define.
52133         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52134         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52135         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52136         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52137         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52138         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52139         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52140         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52141         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52142         * iconvdata/gbk.c (ONE_DIRECTION): Define.
52143         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52144         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52145         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52146         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52147         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52148         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52149         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52150         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52151         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52152         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52153         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52154         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52155         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52156         * iconvdata/iso646.c (ONE_DIRECTION): Define.
52157         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52158         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52159         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52160         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52161         * iconvdata/johab.c (ONE_DIRECTION): Define.
52162         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52163         * iconvdata/sjis.c (ONE_DIRECTION): Define.
52164         * iconvdata/t.61.c (ONE_DIRECTION): Define.
52165         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52166         * iconvdata/tscii.c (ONE_DIRECTION): Define.
52167         * iconvdata/uhc.c (ONE_DIRECTION): Define.
52168         * iconvdata/unicode.c (ONE_DIRECTION): Define.
52169         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52170         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52171         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52173 2014-05-01  Roland McGrath  <roland@hack.frob.com>
52175         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52176         (_IO_JUMPS_OFFSET): Define to 0.
52178         * nptl/sysdeps/pthread/bits/libc-lock.h
52179         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52180         (__libc_lock_define_initialized_recursive): Always define using
52181         initializer.  Modern compilers treat uninitialized (implicit zero) and
52182         explicit zero initializers the same (i.e. put the datum in bss).
52184 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52186         * nscd/nscd-client.h: Include <string.h>.
52188 2014-05-01  David S. Miller  <davem@davemloft.net>
52190         [BZ #16885]
52191         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52192         multiple zero bytes exist at the end of a string.
52193         Reported by Aurelien Jarno <aurelien@aurel32.net>
52195         * string/test-strcmp.c (check): Add explicit test for situations where
52196         there are multiple zero bytes after the first.
52198 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52200         [BZ #16890]
52201         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52202         when compiling wprintf.
52203         * stdio-common/tstdiomisc.c (t3): New function.
52204         (main): Call it.
52206 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52208         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52209         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52210         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52211         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52213 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52215         * stdlib/longlong.h: Updated from GCC.
52217 2014-05-01  Will Newton  <will.newton@linaro.org>
52218             Bernard Ogden  <bernie.ogden@linaro.org>
52220         * NEWS: Update fixed bug list.
52222         [BZ #15119]
52223         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52225 2014-04-30  David S. Miller  <davem@davemloft.net>
52227         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52228         (libc_feholdexcept_setround_sparc_ctx): New function.
52229         (libc_fesetenv_sparc_ctx): Likewise.
52230         (libc_feupdateenv_sparc_ctx): Likewise.
52231         (libc_feholdsetround_sparc_ctx): Likewise.
52232         (libc_feholdexcept_setround_ctx): Define.
52233         (libc_feholdexcept_setroundf_ctx): Likewise.
52234         (libc_feholdexcept_setroundl_ctx): Likewise.
52235         (libc_fesetenv_ctx): Likewise.
52236         (libc_fesetenvf_ctx): Likewise.
52237         (libc_fesetenvl_ctx): Likewise.
52238         (libc_feupdateenv_ctx): Likewise.
52239         (libc_feupdateenvf_ctx): Likewise.
52240         (libc_feupdateenvl_ctx): Likewise.
52241         (libc_feresetround_ctx): Likewise.
52242         (libc_feresetroundf_ctx): Likewise.
52243         (libc_feresetroundl_ctx): Likewise.
52244         (libc_feholdsetround_ctx): Likewise.
52245         (libc_feholdsetroundf_ctx): Likewise.
52246         (libc_feholdsetroundl_ctx): Likewise.
52248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52249         with __USE_GNU instead of XOPEN cpp guards.
52251         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52252         0.
52254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52255         with XOPEN cpp guards.
52257 2014-04-30  Julian Brown  <julian@codesourcery.com>
52259         [BZ #16888]
52260         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52261         handling.
52263 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
52265         [BZ #9894]
52266         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52267         Change to 2.6.32.
52268         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52269         * sysdeps/unix/sysv/linux/configure: Regenerated.
52270         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52271         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52272         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52273         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52274         * README: Update reference to required Linux kernel version.
52275         * manual/install.texi (Linux): Update reference to required Linux
52276         kernel headers version.
52277         * INSTALL: Regenerated.
52279         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52280         header inclusion.
52281         [POSIX] (limits.h): Likewise.
52282         [POSIX] (math.h): Likewise.
52283         [POSIX] (sys/wait.h): Likewise.
52284         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52285         function.
52286         [POSIX] (stddef.h): Do not allow header inclusion.
52288 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52290         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52292 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
52294         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52295         Return immediately after lll_futex_wake.
52297 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52299         [BZ #16791]
52300         * nscd/nscd-client.h (datahead_init_common): Initialize entire
52301         structure.
52302         (datahead_init_pos): Call datahead_init_common early.
52303         (datahead_init_neg): Likewise.
52305         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52306         datahead_init_neg): New functions.
52307         * nscd/aicache.c (addhstaiX): Use them.
52308         * nscd/grpcache.c (cache_addgr): Likewise.
52309         * nscd/hstcache.c (cache_addhst): Likewise.
52310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52311         * nscd/netgroupcache.c (do_notfound): Likewise.
52312         (addgetnetgrentX): Likewise.
52313         (addinnetgrX): Likewise.
52314         * nscd/pwdcache.c (cache_addpw): Likewise.
52315         * nscd/servicescache.c (cache_addserv): Likewise.
52317 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52318             Atsushi Onoe  <atsushi@onoe.org>
52320         [BZ #14308]
52321         [BZ #12994]
52322         [BZ #13651]
52323         * resolv/res_query.c (__libc_res_nsearch): Return if at least
52324         one response is valid.
52325         * resolv/res_send.c (send_dg): Check for validity of other
52326         response if the current response is a referral.
52328 2014-04-29  Steve Ellcey  <sellcey@mips.com>
52330         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52332 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
52334         [BZ #16823]
52335         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52336         Always divide by positive zero when computing -Inf result.
52337         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52338         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52340 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52342         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52343         FPSCR if value do not change.
52344         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52345         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52346         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52347         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52348         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52349         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52350         function.
52352 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
52354         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52355         * sysdeps/unix/sysv/linux/hppa: Move directory from
52356         ports/systeps/unix/sysv/linux/hppa.
52357         * README: Update listing for hppa-*-linux-gnu.
52359 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
52361         [BZ #16754]
52362         * manual/stdio.texi (Hook functions): Fix types of stream hook
52363         functions.
52364         [BZ #16854]
52365         * socket/sys/socket.h: Fix typo in comment.
52367 2014-04-28  Wilco  <wdijkstr@arm.com>
52369         * sysdeps/arm/fenv_private.h: New file.
52370         * sysdeps/arm/math_private.h: New file.
52371         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52373 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
52375         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52376         with __int128_t.
52377         (La_x86_64_retval): Likewise.
52379 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
52381         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52382         fpsr if value didn't change.
52383         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52384         to fpcr if value didn't change.
52385         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52386         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52387         fpsr or fpcr if value didn't change.
52388         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52389         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52390         fpcr if value didn't change.
52391         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52392         to fpsr if value didn't change.
52394 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52396         * nptl/tst-sem3.c: Use test-skeleton.c
52397         (main): Rename to do_test.  Use return instead of
52398         exit.
52399         * nptl/tst-sem4.c: Use test-skeleton.c
52400         (main): Rename to do_test.
52402 2014-04-22  David S. Miller  <davem@davemloft.net>
52404         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
52405         (struct sigaction): New struct member __glibc_reserved0, change
52406         type of sa_flags to int.
52408 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
52410         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52411         (COUNT_LEADING_ZEROS_0): Define for AArch64.
52413 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52415         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52416         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52418 2014-04-22  Will Newton  <will.newton@linaro.org>
52419             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
52421         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52422         (__longjmp): Add longjmp and longjmp_target SystemTap
52423         probes.
52424         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52425         (__sigsetjmp): Add setjmp SystemTap probe.
52427 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
52429         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52430         match manual order.
52432 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52434         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52436         * sysdeps/powerpc/fpu/fenv_private.h
52437         (libc_feholdexcept_setroundl_ctx): Define to
52438         libc_feholdexcept_setround_ppc_ctx.
52439         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52440         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52441         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52442         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52444 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52446         * sysdeps/aarch64/math-tests.h: New file.
52448 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
52450         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52451         New.
52452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52453         Check and set bit_AVX2_Usable.
52454         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52455         macro.
52456         (bit_AVX2): Likewise.
52457         (index_AVX2_Usable): Likewise.
52458         (CPUID_AVX2): Likewise.
52459         (HAS_AVX2): Likewise.
52461 2014-04-17  Will Newton  <will.newton@linaro.org>
52463         * manual/setjmp.texi (System V contexts): Add note that
52464         calling setcontext on a context created by a call to a
52465         signal handler is undefined.  Update text to note that
52466         setcontext from a signal handler is possible but not
52467         recommended.
52469         [BZ #16629]
52470         * stdlib/tst-setcontext.c: Include signal.h.
52471         (main): Check that the signal stack before and
52472         after swapcontext is the same.
52474         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52475         Re-implement to restore registers in user code and avoid
52476         rt_sigreturn system call.
52478 2014-04-17  Wilco  <wdijkstr@arm.com>
52480         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52481         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52482         * math/test-fenv.c: Skip exception trap tests on targets which only
52483         support non-stop mode.
52485 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52486             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52488         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52489         (libc_feholdsetround_aarch64_ctx)
52490         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52491         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52492         (libc_feresetround_ctx, libc_feresetroundf_ctx)
52493         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52494         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52495         (libc_feresetround_noexl_ctx): Define.
52497 2014-04-16  Richard Henderson  <rth@redhat.com>
52499         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52501         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52502         unwind tables.
52504         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52505         const from the non-libc, non-ldso copy.
52507         * sysdeps/alpha/libm-test-ulps: Regenerate.
52509 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
52510             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52512         * sysdeps/aarch64/fpu/math_private.h: New file.
52514 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52516         * sysdeps/aarch64/libm-test-ulps: Regenerate.
52518 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
52520         [BZ #16275]
52521         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52522         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52523         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52524         Intel MPX bound registers before _dl_profile_fixup.
52525         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52526         registers after _dl_profile_fixup.  Save and restore bound
52527         registers bnd0/bnd1 when calling _dl_call_pltexit.
52528         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52529         (LR_BND_OFFSET): Likewise.
52530         (LRV_BND0_OFFSET): Likewise.
52531         (LRV_BND1_OFFSET): Likewise.
52533 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52535         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52536         to...
52537         * sysdeps/mach/hurd/i386/tls.h: ... here.
52538         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52539         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52540         fields.
52542 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52544         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52546 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52548         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52550 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52552         [BZ #14770]
52553         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52554         * sysdeps/s390/configure: Regenerate.
52556         [BZ #16824]
52557         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52558         Set round-to-nearest internally to reduce error accumulation.
52560 2014-04-16  Alan Modra  <amodra@gmail.com>
52562         [BZ #16740]
52563         [BZ #16619]
52564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52565         * math/libm-test.inc (frexp_test_data): Add tests.
52566         * NEWS: Update fixed bug list.
52568 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52570         * benchtests/Makefile: Depend on libraries in build directory.
52571         (bench-math): Separate out math tests.
52572         (bench-pthread): Separate out pthread tests.
52573         (bench): Include math and pthread tests.
52575 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
52577         [BZ #16831]
52578         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52579         _dl_debug_initialize.
52581         * configure.ac: Remove SELinux header check.
52582         * configure: Regenerate.
52583         * nscd/selinux.c (perms): Array of const char* to permission names.
52584         (nscd_request_avc_has_perm): Call security_deny_unknown to find
52585         default policy. Call string_to_security_class and string_to_av_perm to
52586         translate strings. Enforce default policy and call avs_has_perm with
52587         results of translated strings.
52589 2014-04-13  David S. Miller  <davem@davemloft.net>
52591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52593 2014-04-12  Allan McRae  <allan@archlinux.org>
52595         [BZ #16838]
52596         * manual/string.texi (Collation Functions): Fix qsort argument
52597         order in example.
52598         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52600 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
52602         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52603         Make the test a no-op if there are no exceptions defined.
52605 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
52607         * elf/Makefile (tests): make tst-dlopen-aout conditional on
52608         enable-hardcoded-path-in-tests
52610 2014-04-11  Will Newton  <will.newton@linaro.org>
52612         * benchtests/Makefile (extra-objs): Add json-lib.o.
52613         (bench-func): Tidy up JSON output.
52614         * benchtests/bench-skeleton.c: Include json-lib.h.
52615         (main): Use JSON library functions to do output of
52616         benchmark results.
52617         * benchtests/bench-timing-type.c (main): Output the
52618         timing type simply, leaving formatting to the user.
52619         * benchtests/json-lib.c: New file.
52620         * benchtests/json-lib.h: Likewise.
52622 2014-04-11  Torvald Riegel  <triegel@redhat.com>
52624         [BZ #15215]
52625         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52626         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
52627         memory barriers.  Add comments.
52628         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52629         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52630         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52631         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52632         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52633         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52635 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52637         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52638         * sysdeps/s390/s390-64/configure.ac: ... this ...
52639         * sysdeps/s390/configure.ac: ... to here.
52640         * sysdeps/s390/s390-32/configure: Delete file.
52641         * sysdeps/s390/s390-64/configure: Delete file.
52642         * sysdeps/s390/configure: Regenerate.
52644 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52646         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52648 2014-04-11  Will Newton  <will.newton@linaro.org>
52650         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52651         to zero if it is not defined elsewhere.  (mtrim): Test
52652         the value of MALLOC_DEBUG with #if rather than #ifdef.
52654 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52656         * benchtests/pthread_once-inputs: New file.
52657         * benchtests/pthread_once-source.c: New file.
52658         * benchtests/README: Update documentation.
52660 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52661             H.J. Lu  <hongjiu.lu@intel.com>
52663         [BZ #16275]
52664         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52665         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52666         * sysdeps/x86_64/configure: Regenerated.
52667         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52668         macro.
52669         (REGISTER_SAVE_RAX): Likewise.
52670         (REGISTER_SAVE_RCX): Likewise.
52671         (REGISTER_SAVE_RDX): Likewise.
52672         (REGISTER_SAVE_RSI): Likewise.
52673         (REGISTER_SAVE_RDI): Likewise.
52674         (REGISTER_SAVE_R8): Likewise.
52675         (REGISTER_SAVE_R9): Likewise.
52676         (REGISTER_SAVE_BND0): Likewise.
52677         (REGISTER_SAVE_BND1): Likewise.
52678         (REGISTER_SAVE_BND2): Likewise.
52679         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52680         bound registers when calling _dl_fixup.
52682 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52684         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52685         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52686         of its definition.
52687         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52688         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52689         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52690         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52691         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52692         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52693         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52695 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52697         [BZ #15514]
52698         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52699         pathconf(_PC_NAME_MAX).
52701 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52703         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52704         Remove macro usage.
52705         (__PTHREAD_SPINS): Move definition to ...
52706         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52707         (__PTHREAD_SPINS): ... here.
52708         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52709         (__PTHREAD_SPIN): Likewise.
52710         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52711         (__PTHREAD_SPIN): Likewise.
52712         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52713         (__PTHREAD_SPIN): Likewise.
52714         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52715         (__PTHREAD_SPIN): Likewise.
52716         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52717         (__PTHREAD_SPIN): Likewise.
52718         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52719         (__PTHREAD_SPIN): Likewise.
52720         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52721         (__PTHREAD_SPIN): Likewise.
52722         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52723         (__PTHREAD_SPIN): Likewise.
52724         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52725         (__PTHREAD_SPIN): Likewise.
52726         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52727         (__PTHREAD_SPIN): Likewise.
52728         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52729         (__PTHREAD_SPIN): Likewise.
52730         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52731         (__PTHREAD_SPIN): Likewise.
52733         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52734         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52735         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52736         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52737         imply folder.
52738         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52739         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52740         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52741         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52742         correct imply path.
52743         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52744         strlen symbol for non multi-arch builds.
52745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52746         missing hidden_def and weak_alias.
52748 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52750         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52752 2014-04-07  Will Newton  <will.newton@linaro.org>
52754         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52755         and contents.  [!_LIBC] Remove #ifndef and contents.
52756         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52757         * string/memccpy.c (__memccpy): Use ANSI prototype.
52758         * string/memfrob.c (memfrob): Likewise.
52759         * string/strcoll.c (STRCOLL): Likewise.
52760         * string/strlen.c (strlen): Likewise.
52761         * string/strtok.c (STRTOK): Likewise.
52762         * string/strcat.c: Remove unused #include of memcopy.h.
52763         (strcat): Use ANSI prototype.
52764         * string/strchr.c: Remove unused #include of memcopy.h.
52765         (strchr): Use ANSI prototype.
52766         * string/strcmp.c: Remove unused #include of memcopy.h.
52767         (strcmp): Use ANSI prototype.
52768         * string/strcpy.c: Remove unused #include of memcopy.h.
52769         (strcpy): Use ANSI prototype.
52771 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52773         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52774         * config.make.in (config-extra-cppflags): Set it from
52775         libc_extra_cppflags.
52776         * configure.ac (libc_extra_cflags): Make it accumulate over
52777         configure fragments.
52778         (libc_extra_cppflags): New flag.
52779         * configure. Regenerate.
52780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52781         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52782         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52785         [BZ #16815]
52786         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52787         result for FE_DOWNWARD rounding mode.
52788         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52789         Likewise.
52790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52792 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52794         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52795         in function argument name.
52797 2014-04-03  David Svoboda  <svoboda@cert.org>
52799         [BZ #5666]
52800         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52801         explicitly.
52803 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52805         * elf/dl-unmap-segments.h: New file.
52806         * sysdeps/generic/ldsodefs.h
52807         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52808         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52809         * elf/dl-fptr.c: Likewise.
52810         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52811         * sysdeps/aarch64/tlsdesc.c: Likewise.
52812         * sysdeps/arm/tlsdesc.c: Likewise.
52813         * sysdeps/i386/tlsdesc.c: Likewise.
52814         * sysdeps/tile/dl-runtime.c: Likewise.
52815         * sysdeps/x86_64/tlsdesc.c: Likewise.
52816         * elf/dl-load.h: New file.
52817         * elf/dl-load.c: Include it.
52818         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52819         Macros moved to dl-load.h.
52820         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52821         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52822         Use _dl_unmap_segments in place of __munmap.
52823         Break out segment-mapping loop into ...
52824         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52826 2014-04-03  Will Newton  <will.newton@linaro.org>
52828         * elf/dl-lookup.c (do_lookup_x): Remove comment
52829         referring to nested function and move variable
52830         declarations down to before first use.
52832 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52834         [BZ #16799]
52835         [BZ #16800]
52836         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52837         with 0 numerator.
52838         * math/s_catanf.c (__catanf): Likewise.
52839         * math/s_catanh.c (__catanh): Likewise.
52840         * math/s_catanhf.c (__catanhf): Likewise.
52841         * math/s_catanhl.c (__catanhl): Likewise.
52842         * math/s_catanl.c (__catanl): Likewise.
52843         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52844         by positive zero when computing -Inf result.
52845         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52846         (catanh_test): Likewise.
52847         * sysdeps/i386/fpu/libm-test-ulps: Update.
52848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52850         [BZ #16789]
52851         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52852         instead of using underflowing value in computing result.
52853         * math/s_clog10.c (__clog10): Likewise.
52854         * math/s_clog10f.c (__clog10f): Likewise.
52855         * math/s_clog10l.c (__clog10l): Likewise.
52856         * math/s_clogf.c (__clogf): Likewise.
52857         * math/s_clogl.c (__clogl): Likewise.
52858         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52859         (clog10_test): Likewise.
52860         * sysdeps/i386/fpu/libm-test-ulps: Update.
52861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52863 2014-04-02  Alan Modra  <amodra@gmail.com>
52865         [BZ #16739]
52866         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52867         output when value is near a power of two.  Use int64_t for lx and
52868         remove casts.  Use decimal rather than hex exponent constants.
52869         Don't use long double multiplication when double will suffice.
52870         * math/libm-test.inc (nextafter_test_data): Add tests.
52871         * NEWS: Add 16739 and 16786 to bug list.
52873         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52875         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52877 2014-04-01  Will Newton  <will.newton@linaro.org>
52879         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52880         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52882 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52884         [BZ #13347]
52885         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52886         * nptl/tst-setuid2.c: New file.
52887         * nptl/Makefile (xtests): Add tst-setuid2.
52889 2014-04-01  Alan Modra  <amodra@gmail.com>
52891         [BZ #16786]
52892         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52894 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52896         [BZ #6803]
52897         [BZ #6804]
52898         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52899         set errno as appropriate.
52900         * math/w_scalbf.c (__scalbf): Likewise.
52901         * math/w_scalbl.c (__scalbl): Likewise.
52902         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52903         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52904         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52905         Add more NaN tests.
52907         [BZ #16349]
52908         * math/w_atan2.c: Include <errno.h>.
52909         (__atan2): Set errno for result underflowing to zero.
52910         * math/w_atan2f.c: Include <errno.h>.
52911         (__atan2f): Set errno for result underflowing to zero.
52912         * math/w_atan2l.c: Include <errno.h>.
52913         (__atan2l): Set errno for result underflowing to zero.
52914         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52915         tests.
52916         * math/auto-libm-test-out: Regenerated.
52918 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52920         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52921         Encode instruction correctly in little endian.
52922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52923         Likewise.
52924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52925         Likewise.
52926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52927         Likewise.
52928         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52929         Likewise.
52931 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52933         [BZ #9894]
52934         * sysdeps/unix/sysv/linux/kernel-features.h
52935         [__sparc__ && !__arch64__ && !__sparc_v9__]
52936         (__ASSUME_SET_ROBUST_LIST): Do not define.
52937         [__sparc__ && !__arch64__ && !__sparc_v9__]
52938         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52939         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52940         Likewise.
52941         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52942         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52943         (__ASSUME_REQUEUE_PI): Likewise.
52944         (__ASSUME_SET_ROBUST_LIST): Likewise.
52945         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52946         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52947         Undefine.
52948         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52949         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52950         Likewise.
52951         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52952         Likewise.
52953         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52954         Likewise.
52955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52956         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52957         Undefine.
52958         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52959         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52960         Likewise.
52962         [BZ #16648]
52963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52964         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52965         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52967 2014-03-31  Will Newton  <will.newton@linaro.org>
52969         * benchtests/Makefile (bench): Add ffs and ffsll to list
52970         of tests.
52971         * benchtests/ffs-inputs: New file.
52972         * benchtests/ffsll-inputs: Likewise.
52974 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52976         [BZ #16770]
52977         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52978         too large before casting to int.
52979         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52980         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52981         * math/libm-test.inc (scalb_test_data): Add more tests.
52983 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52985         * benchtests/Makefile (DETAILED_OPT): New make option.
52986         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52987         set.
52988         * benchtests/bench-skeleton.c: Include stdbool.h.
52989         (main): Store and print timings per input.
52990         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52991         member to each argument value.
52992         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52993         (_print_arg_data): Initialize per-input timing to 0.
52995         * benchtests/Makefile (timing-type): New binary.
52996         (bench-clean): Also remove bench-timing-type.
52997         (bench): New target for timing-type.
52998         (bench-func): Print output in JSON format.
52999         * benchtests/bench-skeleton.c (main): Print output in JSON
53000         format.
53001         * benchtests/bench-timing-type.c: New file.
53002         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53003         (TIMING_PRINT_STATS): Remove.
53004         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53005         name separately.
53007         * benchtests/bench-modf.c: Remove.
53008         * benchtests/modf-inputs: New inputs file.
53010 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53012         [BZ #16362]
53013         * math/s_clog10.c (M_PI_LOG10E): New macro.
53014         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53015         imaginary parts are 0.
53016         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53017         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53018         imaginary parts are 0.
53019         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53020         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53021         imaginary parts are 0.
53022         * math/libm-test.inc (clog10_test_data): Update expected results
53023         for when real and imaginary parts are 0.
53025 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53027         * elf/dl-load.c: Finish conversion of __builtin_expect into
53028         __glibc_{un}likely.
53030 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53032         [BZ #16348]
53033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53034         1+x for argument with exponent below -67.
53035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53036         Likewise.
53037         * math/auto-libm-test-in: Add more tests of exp.
53038         * math/auto-libm-test-out: Regenerated.
53040 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53042         [BZ #16759]
53043         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53044         (nscd_getnetgrent): Use it.
53046         [BZ #16760]
53047         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53048         of stpcpy.
53050 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53052         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53053         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53054         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53055         (lll_robust_unlock): Remove out of line section. Use cfi
53056         intrinsics.
53057         (LLL_STUB_UNWIND_INFO*): Remove.
53058         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53059         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53060         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53061         (lll_robust_unlock): Remove out of line section. Use cfi
53062         intrinsics.
53063         (LLL_STUB_UNWIND_INFO*): Remove.
53065 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53067         [BZ #16758]
53068         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53069         blank values.
53071 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53073         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53075 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53077         [BZ #16198]
53078         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53079         fnstenv.
53080         * math/test-fenv-preserve.c: New file.
53081         * math/Makefile (tests): Add test-fenv-preserve.
53083 2014-03-26  Will Newton <will.newton@linaro.org>
53085         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53087 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53089         * scripts/versionlist.awk: Partition the version sets and emit all
53090         GLIBC_* (sorted) before all others (sorted).
53092 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53094         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53095         GLIBC_2.2.5 version.
53097 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53099         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53100         calls.
53102         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53103         previous change.
53105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53107 2014-03-25  Andreas Schwab  <schwab@suse.de>
53109         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53110         label to be used after in6ailist is initialized.
53112 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53115         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53117 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53119         [BZ #16357]
53120         [BZ #16599]
53121         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53122         min_plus_half.
53123         (fp_formats): Update initializers.
53124         (init_fp_formats): Initialize new field.
53125         (output_for_one_input_case): Allow underflow for results up to
53126         min_plus_half.
53127         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53128         * math/auto-libm-test-in: Don't mark some underflows from asin and
53129         atanh as spurious.
53130         * math/auto-libm-test-out: Regenerated.
53131         * sysdeps/i386/fpu/libm-test-ulps: Update.
53132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53134 2014-03-25  Andreas Schwab  <schwab@suse.de>
53136         * libio/Makefile (tst-ftell-partial-wide-ENV)
53137         (tst-ftell-active-handler-ENV): Define.
53139 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
53141         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53143 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53145         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53147 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53149         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53150         * sysdeps/x86_64/fpu/multiarch/e_exp.c
53151         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53153 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53155         [BZ #16634]
53156         * elf/dl-load.c (open_verify): Add mode parameter.
53157         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53158         (open_path): Change from boolean 'secure' to complete flag 'mode'
53159         (_dl_map_object): Adjust.
53160         * elf/Makefile (tests): Add tst-dlopen-aout.
53161         * elf/tst-dlopen-aout.c: New test.
53163 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
53165         [BZ #16714]
53166         * sysdeps/unix/sysv/linux/s390/bits/stat.h
53167         (struct stat): Rename member pad0 to __glibc_reserved0.
53169         [BZ #16712]
53170         * sysdeps/s390/s390-32/bits/wordsize.h
53171         (__WORDSIZE32_SIZE_ULONG): New define.
53172         * sysdeps/s390/s390-64/bits/wordsize.h
53173         (__WORDSIZE32_SIZE_ULONG): Likewise.
53174         * sysdeps/generic/stdint.h (SIZE_MAX):
53175         Define as UL if __WORDSIZE32_SIZE_ULONG.
53177         [BZ #16713]
53178         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53179         (__glibc_reserved0): New variable.
53180         (sa_flags): Change type to int.
53182         * posix/Makefile (before-compile): Use += before-compile instead
53183         of a :=.
53185         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53186         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53188 2014-03-20  Andreas Schwab  <schwab@suse.de>
53190         [BZ #16743]
53191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53192         non-matching result from nscd.
53194 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53196         * scripts/bench.py: Moved to ...
53197         * benchtests/scripts/bench.py: ... here.
53198         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53200 2014-03-24  Andreas Schwab  <schwab@suse.de>
53202         [BZ #16002]
53203         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53204         alloca_account and account alloca use for struct in6ailist.
53206 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53208         [BZ #16284]
53209         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53210         rounding mode to recompute results that overflow to infinity or
53211         underflow to zero.
53212         * math/auto-libm-test-in: Don't mark tests as expected to fail for
53213         bug 16284.
53214         * math/auto-libm-test-out: Regenerated.
53215         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53216         (ccosh_test): Likewise.
53217         (csin_test_data): Use plus_oflow.
53218         (csin_test): Use ALL_RM_TEST.
53219         (csinh_test_data): Use plus_oflow.
53220         (csinh_test): Use ALL_RM_TEST.
53221         * sysdeps/i386/fpu/libm-test-ulps: Update.
53222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53224 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
53226         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53227         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53228         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53230         [BZ #16731]
53231         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53232         when x - 1 is zero.
53233         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53234         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53235         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53236         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53237         argument is 1.
53238         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53239         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53240         zero.
53241         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53242         * sysdeps/i386/fpu/libm-test-ulps: Update.
53243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53245 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53247         * scripts/bench.pl: Remove file.
53248         * scripts/bench.py: New benchmark script.
53249         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53250         * benchtests/README: Mention python dependency.
53251         * scripts/pylintrc: New file.
53252         * scripts/pylint: New file.
53254         * bits/mathdef.h: Use #ifdef instead of #if.
53255         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53256         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53257         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53258         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53259         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53260         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53262 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53263             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53265         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53267         and strpbrk-ppc64 objects.
53268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53269         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53270         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53271         multiarch strpbrk for POWER7.
53272         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53273         multiarch strpbrk for PPC64.
53274         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53275         ifunc selector.
53276         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53277         strpbrk for POWER7.
53279 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53281         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53282         (atan_test): Likewise.
53283         (atanh_test_data): Use NO_TEST_INLINE for two tests.
53284         (atanh_test): Use ALL_RM_TEST.
53285         (atan2_test_data): Likewise.
53286         (cabs_test): Likewise.
53287         (cacosh_test): Likewise.
53288         (carg_test): Likewise.
53289         (casin_test): Likewise.
53290         (casinh_test): Likewise.
53291         (cbrt_test): Likewise.
53292         (csqrt_test): Likewise.
53293         (erf_test): Likewise.
53294         (erfc_test): Likewise.
53295         (pow10_test): Likewise.
53296         (exp2_test): Likewise.
53297         (hypot_test): Likewise.
53298         (j0_test): Likewise.
53299         (j1_test): Likewise.
53300         (lgamma_test): Likewise.
53301         (gamma_test): Likewise.
53302         (sincos_test): Likewise.
53303         (tanh_test): Likewise.
53304         (y0_test): Likewise.
53305         (y1_test): Likewise.
53306         * sysdeps/i386/fpu/libm-test-ulps: Update.
53307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53309 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53311         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53313         and strcspn-ppc64 objects.
53314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53315         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53316         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53317         multiarch strcspn for POWER7.
53318         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53319         multiarch strcspn for PPC64.
53320         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53321         ifunc selector.
53322         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53323         strcspn for POWER7.
53325 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53327         * math/gen-libm-test.pl (generate_testfile): Expect only function
53328         name as argument to AUTO_TESTS_* and pass results for all rounding
53329         modes to parse_args.
53330         (parse_auto_input): Separate inputs of automatic tests from
53331         outputs before storing in %auto_tests.
53332         * math/libm-test.inc (acos_test_data): Update call to
53333         AUTO_TESTS_f_f.
53334         (acos_test): Use ALL_RM_TEST.
53335         (acos_tonearest_test_data): Remove.
53336         (acos_test_tonearest): Likewise.
53337         (acos_towardzero_test_data): Likewise.
53338         (acos_test_towardzero): Likewise.
53339         (acos_downward_test_data): Likewise.
53340         (acos_test_downward): Likewise.
53341         (acos_upward_test_data): Likewise.
53342         (acos_test_upward): Likewise.
53343         (acosh_test_data): Update call to AUTO_TESTS_f_f.
53344         (asin_test_data): Likewise.
53345         (asin_test): Use ALL_RM_TEST.
53346         (asin_tonearest_test_data): Remove.
53347         (asin_test_tonearest): Likewise.
53348         (asin_towardzero_test_data): Likewise.
53349         (asin_test_towardzero): Likewise.
53350         (asin_downward_test_data): Likewise.
53351         (asin_test_downward): Likewise.
53352         (asin_upward_test_data): Likewise.
53353         (asin_test_upward): Likewise.
53354         (asinh_test_data): Update call to AUTO_TESTS_f_f.
53355         (atan_test_data): Likewise.
53356         (atanh_test_data): Likewise.
53357         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53358         (cabs_test_data): Update call to AUTO_TESTS_c_f.
53359         (carg_test_data): Likewise.
53360         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53361         (ccos_test_data): Update call to AUTO_TESTS_c_c.
53362         (ccosh_test_data): Likewise.
53363         (cexp_test_data): Likewise.
53364         (clog_test_data): Likewise.
53365         (clog10_test_data): Likewise.
53366         (cos_test_data): Update call to AUTO_TESTS_f_f.
53367         (cos_test): Use ALL_RM_TEST.
53368         (cos_tonearest_test_data): Remove.
53369         (cos_test_tonearest): Likewise.
53370         (cos_towardzero_test_data): Likewise.
53371         (cos_test_towardzero): Likewise.
53372         (cos_downward_test_data): Likewise.
53373         (cos_test_downward): Likewise.
53374         (cos_upward_test_data): Likewise.
53375         (cos_test_upward): Likewise.
53376         (cosh_test_data): Update call to AUTO_TESTS_f_f.
53377         (cosh_test): Use ALL_RM_TEST.
53378         (cosh_tonearest_test_data): Remove.
53379         (cosh_test_tonearest): Likewise.
53380         (cosh_towardzero_test_data): Likewise.
53381         (cosh_test_towardzero): Likewise.
53382         (cosh_downward_test_data): Likewise.
53383         (cosh_test_downward): Likewise.
53384         (cosh_upward_test_data): Likewise.
53385         (cosh_test_upward): Likewise.
53386         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53387         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53388         (ctan_test_data): Likewise.
53389         (ctan_test): Use ALL_RM_TEST.
53390         (ctan_tonearest_test_data): Remove.
53391         (ctan_test_tonearest): Likewise.
53392         (ctan_towardzero_test_data): Likewise.
53393         (ctan_test_towardzero): Likewise.
53394         (ctan_downward_test_data): Likewise.
53395         (ctan_test_downward): Likewise.
53396         (ctan_upward_test_data): Likewise.
53397         (ctan_test_upward): Likewise.
53398         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
53399         (ctanh_test): Use ALL_RM_TEST.
53400         (ctanh_tonearest_test_data): Remove.
53401         (ctanh_test_tonearest): Likewise.
53402         (ctanh_towardzero_test_data): Likewise.
53403         (ctanh_test_towardzero): Likewise.
53404         (ctanh_downward_test_data): Likewise.
53405         (ctanh_test_downward): Likewise.
53406         (ctanh_upward_test_data): Likewise.
53407         (ctanh_test_upward): Likewise.
53408         (erf_test_data): Update call to AUTO_TESTS_f_f.
53409         (erfc_test_data): Likewise.
53410         (exp_test_data): Likewise.
53411         (exp_test): Use ALL_RM_TEST.
53412         (exp_tonearest_test_data): Remove.
53413         (exp_test_tonearest): Likewise.
53414         (exp_towardzero_test_data): Likewise.
53415         (exp_test_towardzero): Likewise.
53416         (exp_downward_test_data): Likewise.
53417         (exp_test_downward): Likewise.
53418         (exp_upward_test_data): Likewise.
53419         (exp_test_upward): Likewise.
53420         (exp10_test_data): Update call to AUTO_TESTS_f_f.
53421         (exp10_test): Use ALL_RM_TEST.
53422         (exp10_tonearest_test_data): Remove.
53423         (exp10_test_tonearest): Likewise.
53424         (exp10_towardzero_test_data): Likewise.
53425         (exp10_test_towardzero): Likewise.
53426         (exp10_downward_test_data): Likewise.
53427         (exp10_test_downward): Likewise.
53428         (exp10_upward_test_data): Likewise.
53429         (exp10_test_upward): Likewise.
53430         (exp2_test_data): Update call to AUTO_TESTS_f_f.
53431         (expm1_test_data): Likewise.
53432         (expm1_test): Use ALL_RM_TEST.
53433         (expm1_tonearest_test_data): Remove.
53434         (expm1_test_tonearest): Likewise.
53435         (expm1_towardzero_test_data): Likewise.
53436         (expm1_test_towardzero): Likewise.
53437         (expm1_downward_test_data): Likewise.
53438         (expm1_test_downward): Likewise.
53439         (expm1_upward_test_data): Likewise.
53440         (expm1_test_upward): Likewise.
53441         (fma_test_data): Update call to AUTO_TESTS_fff_f.
53442         (fma_test): Use ALL_RM_TEST.
53443         (fma_towardzero_test_data): Remove.
53444         (fma_test_towardzero): Likewise.
53445         (fma_downward_test_data): Likewise.
53446         (fma_test_downward): Likewise.
53447         (fma_upward_test_data): Likewise.
53448         (fma_test_upward): Likewise.
53449         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53450         (j0_test_data): Update call to AUTO_TESTS_f_f.
53451         (j1_test_data): Likewise.
53452         (jn_test_data): Update call to AUTO_TESTS_if_f.
53453         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53454         (log_test_data): Update call to AUTO_TESTS_f_f.
53455         (log10_test_data): Likewise.
53456         (log1p_test_data): Likewise.
53457         (log2_test_data): Likewise.
53458         (pow_test_data): Update call to AUTO_TESTS_ff_f.
53459         (pow_tonearest_test_data): Likewise.
53460         (sin_test_data): Update call to AUTO_TESTS_f_f.
53461         (sin_test): Use ALL_RM_TEST.
53462         (sin_tonearest_test_data): Remove.
53463         (sin_test_tonearest): Likewise.
53464         (sin_towardzero_test_data): Likewise.
53465         (sin_test_towardzero): Likewise.
53466         (sin_downward_test_data): Likewise.
53467         (sin_test_downward): Likewise.
53468         (sin_upward_test_data): Likewise.
53469         (sin_test_upward): Likewise.
53470         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53471         (sinh_test_data): Update call to AUTO_TESTS_f_f.
53472         (sinh_test): Use ALL_RM_TEST.
53473         (sinh_tonearest_test_data): Remove.
53474         (sinh_test_tonearest): Likewise.
53475         (sinh_towardzero_test_data): Likewise.
53476         (sinh_test_towardzero): Likewise.
53477         (sinh_downward_test_data): Likewise.
53478         (sinh_test_downward): Likewise.
53479         (sinh_upward_test_data): Likewise.
53480         (sinh_test_upward): Likewise.
53481         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53482         (sqrt_test): Use ALL_RM_TEST.
53483         (sqrt_tonearest_test_data): Remove.
53484         (sqrt_test_tonearest): Likewise.
53485         (sqrt_towardzero_test_data): Likewise.
53486         (sqrt_test_towardzero): Likewise.
53487         (sqrt_downward_test_data): Likewise.
53488         (sqrt_test_downward): Likewise.
53489         (sqrt_upward_test_data): Likewise.
53490         (sqrt_test_upward): Likewise.
53491         (tan_test_data): Update call to AUTO_TESTS_f_f.
53492         (tan_test): Use ALL_RM_TEST.
53493         (tan_tonearest_test_data): Remove.
53494         (tan_test_tonearest): Likewise.
53495         (tan_towardzero_test_data): Likewise.
53496         (tan_test_towardzero): Likewise.
53497         (tan_downward_test_data): Likewise.
53498         (tan_test_downward): Likewise.
53499         (tan_upward_test_data): Likewise.
53500         (tan_test_upward): Likewise.
53501         (tanh_test_data): Update call to AUTO_TESTS_f_f.
53502         (tgamma_test_data): Likewise.
53503         (y0_test_data): Likewise.
53504         (y1_test_data): Likewise.
53505         (yn_test_data): Update call to AUTO_TESTS_if_f.
53506         (main): Do not call removed functions.
53508 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53510         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53511         (ldexp_test_data): Remove.
53512         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
53513         scalbn_test_data.
53514         (scalb_test): Use ALL_RM_TEST.
53516 2014-03-19  Andreas Schwab  <schwab@suse.de>
53518         * nscd/nscd.service: Also invalidate netgroup cache on reload.
53520 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53522         [BZ #16649]
53523         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53524         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53525         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53527         (__ASSUME_PREADV): Undefine.
53528         (__ASSUME_PWRITEV): Likewise.
53530 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53532         * bits/mman-linux.h: Add comment about non-Linux use.
53533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53534         bits/mman-linux.h resting place.
53536         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53537         * bits/mman-linux.h: ... here.
53539 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53541         * conform/conformtest.pl: Add standard definition when calling C
53542         preprocessor on data files.
53543         (checknamespace): Remove unused variable.
53545 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53547         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53548         minus_oflow, plus_uflow and minus_uflow in expected results.
53549         * math/libm-test.inc (scalbn_test_data): Add more tests of
53550         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
53551         minus_uflow.
53552         (scalbn_test): Use ALL_RM_TEST.
53553         (scalbln_test_data): Add more tests of negative arguments.  Use
53554         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53555         (scalbln_test): Use ALL_RM_TEST.
53557 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53559         * scripts/abilist.awk: Ignore symbols marked with .hidden.
53561 2014-03-18  Will Newton  <will.newton@linaro.org>
53563         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53564         inaccurate comment.
53566 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53568         * Makerules [!subdir] (check-abi): Exit with error status if a
53569         test failed.
53571 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53573         * math/libm-test.inc (nearbyint_test_data): Include all tests used
53574         for rint.  Include results for all rounding modes.
53575         (nearbyint_test): Use ALL_RM_TEST.
53576         (rint_test_data): Include all tests used for nearbyint.
53578 2014-03-17  Will Newton  <will.newton@linaro.org>
53580         * nptl/sysdeps/pthread/pthread.h: Revert previous
53581         change.
53583         * sysdeps/generic/ldsodefs.h: Revert previous
53584         change.
53586         * libio/genops.c: Revert previous change.
53587         * libio/libioP.h: Likewise.
53588         * stdio-common/vfprintf.c: Likewise.
53590         * sysdeps/generic/math_private.h: Revert previous
53591         change.
53593         * sysdeps/generic/math_private.h: Check whether
53594         HAVE_RM_CTX is defined with #ifdef rather
53595         than #if.
53597         * argp/argp-fmtstream.h: Check whether
53598         __STRICT_ANSI__ is defined with #ifdef rather
53599         than #if.
53600         * argp/argp.h: Likewise.
53602         * libio/genops.c: Check whether
53603         _IO_JUMPS_OFFSET is defined with #ifdef rather
53604         than #if.
53605         * libio/libioP.h: Likewise.
53606         * stdio-common/vfprintf.c: Likewise.
53608         * sysdeps/generic/ldsodefs.h: Check whether
53609         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53610         than #if.
53612         * nptl/sysdeps/pthread/pthread.h: Check
53613         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53614         its value.
53616 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53618         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53619         setting O_APPEND.
53620         * libio/tst-ftell-active-handler.c (do_append_test): Add a
53621         test case.
53623         [BZ #16680]
53624         * libio/fileops.c (_IO_file_open): Seek to end of file but
53625         don't cache the offset.
53626         (get_file_offset): Remove function.
53627         (do_ftell): Use cached offset when available.
53628         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53629         don't cache the offset.
53630         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53631         case.
53632         (do_one_test): Call it.
53633         (do_ftell_test): Fix up expected old offset for a+ mode.
53634         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53635         available.
53637         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53638         up test status with function return status.
53639         (do_write_test): Likewise.
53640         (do_append_test): Likewise.
53642         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53643         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53644         Remove.
53646 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53648         * math/gen-libm-test.pl (parse_args): Handle results specified for
53649         each rounding mode separately.
53650         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53651         tests and results from lrint_tonearest_test_data,
53652         lrint_towardzero_test_data, lrint_downward_test_data and
53653         lrint_upward_test_data.
53654         (lrint_test): Use ALL_RM_TEST.
53655         (lrint_tonearest_test_data): Remove.
53656         (lrint_test_tonearest): Likewise.
53657         (lrint_towardzero_test_data): Likewise.
53658         (lrint_test_towardzero): Likewise.
53659         (lrint_downward_test_data): Likewise.
53660         (lrint_test_downward): Likewise.
53661         (lrint_upward_test_data): Likewise.
53662         (lrint_test_upward): Likewise.
53663         (llrint_test_data): Merge in per-rounding-mode tests and results
53664         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53665         llrint_downward_test_data and llrint_upward_test_data.
53666         (llrint_test): Use ALL_RM_TEST.
53667         (llrint_tonearest_test_data): Remove.
53668         (llrint_test_tonearest): Likewise.
53669         (llrint_towardzero_test_data): Likewise.
53670         (llrint_test_towardzero): Likewise.
53671         (llrint_downward_test_data): Likewise.
53672         (llrint_test_downward): Likewise.
53673         (llrint_upward_test_data): Likewise.
53674         (llrint_test_upward): Likewise.
53675         (rint_test_data): Merge in per-rounding-mode tests and results
53676         from rint_tonearest_test_data, rint_towardzero_test_data,
53677         rint_downward_test_data and rint_upward_test_data.  Add
53678         per-rounding-mode results for tests not in those arrays.
53679         (rint_test): Use ALL_RM_TEST.
53680         (rint_tonearest_test_data): Remove.
53681         (rint_test_tonearest): Likewise.
53682         (rint_towardzero_test_data): Likewise.
53683         (rint_test_towardzero): Likewise.
53684         (rint_downward_test_data): Likewise.
53685         (rint_test_downward): Likewise.
53686         (rint_upward_test_data): Likewise.
53687         (rint_test_upward): Likewise.
53688         (main): Don't call removed functions.
53690 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53692         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53693         "Compiled on ..." crapola.  It is anti-useful.
53695 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53697         * scripts/evaluate-test.sh: Handle fourth argument to determine
53698         whether test run should stop on failure.
53699         * Makeconfig (stop-on-test-failure): New variable.
53700         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53701         $(stop-on-test-failure).
53702         * Makefile (tests): Give a summary of results from testing and
53703         exit with failure status if they include an ERROR or FAIL.
53704         (xtests): Likewise.
53705         * manual/install.texi (Configuring and compiling): Mention
53706         stop-on-test-failure=y.
53707         * INSTALL: Regenerated.
53709 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53711         * scripts/versionlist.awk: New file.
53712         * Makerules [$(build-shared) = yes]
53713         (postclean-generated): Add Versions.def, not Versions.def.v and
53714         Versions.def.v.i.
53715         ($(common-objpfx)Versions.def.v.i): Target removed.
53716         ($(common-objpfx)Versions.def): New target.
53717         ($(common-objpfx)Versions.all): Depend on that rather that
53718         $(common-objpfx)Versions.def.v.
53719         * Versions.def: File removed.
53721         * Makeconfig (+gccwarn): Add -Wundef.
53722         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53723         a dl-sysdep.h breaking its contract.
53724         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53725         * include/stackinfo.h: New file.
53726         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53727         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53728         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53729         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53730         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53731         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53732         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53733         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53734         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53735         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53736         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53737         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53738         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53739         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53740         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53742 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         [BZ #16707]
53745         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53746         implementation.
53747         * math/libm-test.inc (round_test_data): Add more tests.
53749         [BZ #16706]
53750         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53751         implementation.
53752         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53754         [BZ #16701]
53755         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53756         implementation.
53757         * math/libm-test.inc (ceil_test_data): Add more tests.
53759         * math/libm-test.inc (trunc_test_data): Add more tests related to
53760         BZ#16414.
53762 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53764         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53765         with #if rather than #ifdef.
53766         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53768 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53770         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53771         first.  Disable AVX-512 GCC support if assembler doesn't support
53772         it.
53773         * sysdeps/x86_64/configure: Regenerated.
53775 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53777         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53778         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53779         (__old_pthread_attr_setstack): Likewise.
53780         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53781         [!_STACK_GROWS_DOWN]: Likewise.
53783 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53785         * config.make.in (have-bash2): Delete.
53786         * configure.ac (libc_cv_have_bash2): Delete.
53787         * configure: Regenerate.
53788         * elf/Makefile (common-ldd-rewrite): Rename to ...
53789         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53790         (sh-ldd-rewrite): Delete.
53791         (bash-ldd-rewrite): Delete.
53792         (have-bash2): Delete checks.
53793         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53794         ldd-rewrite.
53796         * config.make.in (have-ksh): Delete.
53797         (KSH): Delete.
53798         * configure.ac (libc_cv_have_ksh): Delete.
53799         * configure: Regenerate.
53801         * elf/Makefile: Delete $(have-ksh) check.
53802         ($(objpfx)sotruss): Change KSH to BASH.
53803         * elf/sotruss.ksh: Rename to ...
53804         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53805         function style to match POSIX.  Drop ksh vim mode setting.
53807         * manual/time.texi (Specifying the Time Zone with TZ): Change
53808         Tuesday to Thursday.
53810         * debug/tst-longjmp_chk2.c: Update header comment.
53811         (stackoverflow_handler): Add comment.  Call assert on pass value.
53813 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53815         [BZ #16194]
53816         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53817         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53818         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53819         (La_x86_64_vector): Add zmm.
53820         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53821         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53822         ($(objpfx)tst-audit10): New target.
53823         ($(objpfx)tst-audit10.out): Likewise.
53824         (tst-audit10-ENV): New.
53825         (AVX512-CFLAGS): Likewise.
53826         (CFLAGS-tst-audit10.c): Likewise.
53827         (CFLAGS-tst-auditmod10a.c): Likewise.
53828         (CFLAGS-tst-auditmod10b.c): Likewise.
53829         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53830         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53831         * sysdeps/x86_64/configure: Regenerated.
53832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53833         AVX-512 zmm register support.
53834         (_dl_x86_64_save_sse): Likewise.
53835         (_dl_x86_64_restore_sse): Likewise.
53836         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53837         size vector registers.
53838         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53839         (ZMM_SIZE): Likewise.
53840         * sysdeps/x86_64/tst-audit10.c: New file.
53841         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53842         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53844 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53846         * configure.ac (HAVE_EHDR_START): New check.
53847         * configure: Regenerated.
53848         * config.h.in (HAVE_EHDR_START): New #undef.
53849         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53850         assuming the lowest-addressed segment maps the start of the file.
53852 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53854         * INSTALL: Regenerated.
53856 2014-03-13  Will Newton  <will.newton@linaro.org>
53858         * manual/setjmp.texi (System V contexts): Improve
53859         clarity and grammar of documentation.
53861 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53863         [BZ #16381]
53864         * elf/Makefile (tests): Add tst-pie2.
53865         (tests-pie): Add tst-pie2.
53866         * elf/tst-pie2.c: New file.
53867         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53868         for ET_EXEC.
53869         * elf/rtld.c (map_doit): Load executable as lt_executable.
53870         (dl_main): Likewise.
53872 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53874         [BZ #16642]
53875         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53876         (__ASSUME_PSELECT): Undefine.
53878 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53880         [BZ #16689]
53881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53882         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53883         static build.
53884         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53885         selector for static builds.
53887 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53889         [BZ #16695]
53890         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53891         key in the buffer.
53893 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53895         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53896         IFUNC selector for static builds.
53898 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53900         * sysdeps/mips/math_private.h [__mips_hard_float]
53901         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53902         libc_feresetround_mips_ctx.
53903         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53904         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53905         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53907         [BZ #16677]
53908         * math/s_nextafter.c (__nextafter): Do not return value from
53909         overflowing computation.
53910         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53911         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53913         Likewise.
53914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53915         Likewise.
53916         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53917         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53919 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53921         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53922         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53923         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53924         the new mov targetting sp.
53926 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53928         [BZ #16683]
53929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53930         Define it for static builds as well.
53931         (NO_BZERO_IMPL): Likewise.
53933 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53935         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53936         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53937         multiarch strspn for PPC64.
53938         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53939         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53941         (__libc_ifunc_impl_list): Likewise.
53942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53943         multiarch optimizations
53944         * string/strspn.c (strspn): Using macro to redefine symbol name.
53946 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53947             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53949         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53950         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53951         multiarch strncat for PPC64.
53952         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53953         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53955         (__libc_ifunc_impl_list): Likewise.
53956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53957         multiarch optimizations
53959 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53961         [BZ #16639]
53962         * nscd/nscd.service: Make service type forking.
53964 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53966         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53967         sign in non default rounding modes.
53968         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53970 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53972         * math/libm-test.inc (ALL_RM_TEST): New macro.
53973         (ceil_test): Use ALL_RM_TEST.
53974         (cimag_test): Likewise.
53975         (conj_test): Likewise.
53976         (copysign_test): Likewise.
53977         (cproj_test): Likewise.
53978         (creal_test): Likewise.
53979         (fabs_test): Likewise.
53980         (floor_test): Likewise.
53981         (fmax_test): Likewise.
53982         (fmin_test): Likewise.
53983         (fmod_test): Likewise.
53984         (fpclassify_test): Likewise.
53985         (frexp_test): Likewise.
53986         (ilogb_test): Likewise.
53987         (isfinite_test): Likewise.
53988         (finite_test): Likewise.
53989         (isgreater_test): Likewise.
53990         (isgreaterequal_test): Likewise.
53991         (isinf_test): Likewise.
53992         (isless_test): Likewise.
53993         (islessequal_test): Likewise.
53994         (islessgreater_test): Likewise.
53995         (isnan_test): Likewise.
53996         (isnormal_test): Likewise.
53997         (issignaling_test): Likewise.
53998         (isunordered_test): Likewise.
53999         (logb_test): Likewise.
54000         (logb_downward_test_data): Remove.
54001         (logb_test_downward): Likewise.
54002         (lround_test): Use ALL_RM_TEST.
54003         (llround_test): Likewise.
54004         (modf_test): Likewise.
54005         (nexttoward_test): Likewise.
54006         (remainder_test): Likewise.
54007         (drem_test): Likewise.
54008         (remainder_tonearest_test_data): Likewise.
54009         (remainder_test_tonearest): Likewise.
54010         (drem_test_tonearest): Likewise.
54011         (remainder_towardzero_test_data): Likewise.
54012         (remainder_test_towardzero): Likewise.
54013         (drem_test_towardzero): Likewise.
54014         (remainder_downward_test_data): Likewise.
54015         (remainder_test_downward): Likewise.
54016         (drem_test_downward): Likewise.
54017         (remainder_upward_test_data): Likewise.
54018         (remainder_test_upward): Likewise.
54019         (drem_test_upward): Likewise.
54020         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54021         (round_test): Use ALL_RM_TEST.
54022         (signbit_test): Likewise.
54023         (trunc_test): Likewise.
54024         (significand_test): Likewise.
54025         (main): Don't call removed functions.
54027 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54029         [BZ #16674]
54030         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54031         || __USE_XOPEN2K8].
54032         (ILL_ILLOPN): Likewise.
54033         (ILL_ILLADR): Likewise.
54034         (ILL_ILLTRP): Likewise.
54035         (ILL_PRVOPC): Likewise.
54036         (ILL_PRVREG): Likewise.
54037         (ILL_COPROC): Likewise.
54038         (ILL_BADSTK): Likewise.
54039         (FPE_INTDIV): Likewise.
54040         (FPE_INTOVF): Likewise.
54041         (FPE_FLTDIV): Likewise.
54042         (FPE_FLTOVF): Likewise.
54043         (FPE_FLTUND): Likewise.
54044         (FPE_FLTRES): Likewise.
54045         (FPE_FLTINV): Likewise.
54046         (FPE_FLTSUB): Likewise.
54047         (SEGV_MAPERR): Likewise.
54048         (SEGV_ACCERR): Likewise.
54049         (BUS_ADRALN): Likewise.
54050         (BUS_ADRERR): Likewise.
54051         (BUS_OBJERR): Likewise.
54052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54053         (TRAP_TRACE): Likewise.
54054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54055         __USE_XOPEN2K8].
54056         (CLD_KILLED): Likewise.
54057         (CLD_DUMPED): Likewise.
54058         (CLD_TRAPPED): Likewise.
54059         (CLD_STOPPED): Likewise.
54060         (CLD_CONTINUED): Likewise.
54061         (POLL_IN): Likewise.
54062         (POLL_OUT): Likewise.
54063         (POLL_MSG): Likewise.
54064         (POLL_ERR): Likewise.
54065         (POLL_PRI): Likewise.
54066         (POLL_HUP): Likewise.
54067         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54068         Likewise.
54069         (ILL_ILLOPN): Likewise.
54070         (ILL_ILLADR): Likewise.
54071         (ILL_ILLTRP): Likewise.
54072         (ILL_PRVOPC): Likewise.
54073         (ILL_PRVREG): Likewise.
54074         (ILL_COPROC): Likewise.
54075         (ILL_BADSTK): Likewise.
54076         (FPE_INTDIV): Likewise.
54077         (FPE_INTOVF): Likewise.
54078         (FPE_FLTDIV): Likewise.
54079         (FPE_FLTOVF): Likewise.
54080         (FPE_FLTUND): Likewise.
54081         (FPE_FLTRES): Likewise.
54082         (FPE_FLTINV): Likewise.
54083         (FPE_FLTSUB): Likewise.
54084         (SEGV_MAPERR): Likewise.
54085         (SEGV_ACCERR): Likewise.
54086         (BUS_ADRALN): Likewise.
54087         (BUS_ADRERR): Likewise.
54088         (BUS_OBJERR): Likewise.
54089         (BUS_MCEERR_AR): Likewise.
54090         (BUS_MCEERR_AO): Likewise.
54091         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54092         (TRAP_TRACE): Likewise.
54093         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54094         __USE_XOPEN2K8].
54095         (CLD_KILLED): Likewise.
54096         (CLD_DUMPED): Likewise.
54097         (CLD_TRAPPED): Likewise.
54098         (CLD_STOPPED): Likewise.
54099         (CLD_CONTINUED): Likewise.
54100         (POLL_IN): Likewise.
54101         (POLL_OUT): Likewise.
54102         (POLL_MSG): Likewise.
54103         (POLL_ERR): Likewise.
54104         (POLL_PRI): Likewise.
54105         (POLL_HUP): Likewise.
54106         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54107         (ILL_ILLOPN): Likewise.
54108         (ILL_ILLADR): Likewise.
54109         (ILL_ILLTRP): Likewise.
54110         (ILL_PRVOPC): Likewise.
54111         (ILL_PRVREG): Likewise.
54112         (ILL_COPROC): Likewise.
54113         (ILL_BADSTK): Likewise.
54114         (FPE_INTDIV): Likewise.
54115         (FPE_INTOVF): Likewise.
54116         (FPE_FLTDIV): Likewise.
54117         (FPE_FLTOVF): Likewise.
54118         (FPE_FLTUND): Likewise.
54119         (FPE_FLTRES): Likewise.
54120         (FPE_FLTINV): Likewise.
54121         (FPE_FLTSUB): Likewise.
54122         (SEGV_MAPERR): Likewise.
54123         (SEGV_ACCERR): Likewise.
54124         (BUS_ADRALN): Likewise.
54125         (BUS_ADRERR): Likewise.
54126         (BUS_OBJERR): Likewise.
54127         (BUS_MCEERR_AR): Likewise.
54128         (BUS_MCEERR_AO): Likewise.
54129         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54130         (TRAP_TRACE): Likewise.
54131         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54132         __USE_XOPEN2K8].
54133         (CLD_KILLED): Likewise.
54134         (CLD_DUMPED): Likewise.
54135         (CLD_TRAPPED): Likewise.
54136         (CLD_STOPPED): Likewise.
54137         (CLD_CONTINUED): Likewise.
54138         (POLL_IN): Likewise.
54139         (POLL_OUT): Likewise.
54140         (POLL_MSG): Likewise.
54141         (POLL_ERR): Likewise.
54142         (POLL_PRI): Likewise.
54143         (POLL_HUP): Likewise.
54144         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54145         Likewise.
54146         (ILL_ILLOPN): Likewise.
54147         (ILL_ILLADR): Likewise.
54148         (ILL_ILLTRP): Likewise.
54149         (ILL_PRVOPC): Likewise.
54150         (ILL_PRVREG): Likewise.
54151         (ILL_COPROC): Likewise.
54152         (ILL_BADSTK): Likewise.
54153         (ILL_BADIADDR): Likewise.
54154         (ILL_BREAK): Likewise.
54155         (FPE_INTDIV): Likewise.
54156         (FPE_INTOVF): Likewise.
54157         (FPE_FLTDIV): Likewise.
54158         (FPE_FLTOVF): Likewise.
54159         (FPE_FLTUND): Likewise.
54160         (FPE_FLTRES): Likewise.
54161         (FPE_FLTINV): Likewise.
54162         (FPE_FLTSUB): Likewise.
54163         (FPE_DECOVF): Likewise.
54164         (FPE_DECDIV): Likewise.
54165         (FPE_DECERR): Likewise.
54166         (FPE_INVASC): Likewise.
54167         (FPE_INVDEC): Likewise.
54168         (SEGV_MAPERR): Likewise.
54169         (SEGV_ACCERR): Likewise.
54170         (SEGV_PSTKOVF): Likewise.
54171         (BUS_ADRALN): Likewise.
54172         (BUS_ADRERR): Likewise.
54173         (BUS_OBJERR): Likewise.
54174         (BUS_MCEERR_AR): Likewise.
54175         (BUS_MCEERR_AO): Likewise.
54176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54177         (TRAP_TRACE): Likewise.
54178         (TRAP_BRANCH): Likewise.
54179         (TRAP_HWBKPT): Likewise.
54180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54181         __USE_XOPEN2K8].
54182         (CLD_KILLED): Likewise.
54183         (CLD_DUMPED): Likewise.
54184         (CLD_TRAPPED): Likewise.
54185         (CLD_STOPPED): Likewise.
54186         (CLD_CONTINUED): Likewise.
54187         (POLL_IN): Likewise.
54188         (POLL_OUT): Likewise.
54189         (POLL_MSG): Likewise.
54190         (POLL_ERR): Likewise.
54191         (POLL_PRI): Likewise.
54192         (POLL_HUP): Likewise.
54193         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54194         (ILL_ILLOPN): Likewise.
54195         (ILL_ILLADR): Likewise.
54196         (ILL_ILLTRP): Likewise.
54197         (ILL_PRVOPC): Likewise.
54198         (ILL_PRVREG): Likewise.
54199         (ILL_COPROC): Likewise.
54200         (ILL_BADSTK): Likewise.
54201         (FPE_INTDIV): Likewise.
54202         (FPE_INTOVF): Likewise.
54203         (FPE_FLTDIV): Likewise.
54204         (FPE_FLTOVF): Likewise.
54205         (FPE_FLTUND): Likewise.
54206         (FPE_FLTRES): Likewise.
54207         (FPE_FLTINV): Likewise.
54208         (FPE_FLTSUB): Likewise.
54209         (SEGV_MAPERR): Likewise.
54210         (SEGV_ACCERR): Likewise.
54211         (BUS_ADRALN): Likewise.
54212         (BUS_ADRERR): Likewise.
54213         (BUS_OBJERR): Likewise.
54214         (BUS_MCEERR_AR): Likewise.
54215         (BUS_MCEERR_AO): Likewise.
54216         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54217         (TRAP_TRACE): Likewise.
54218         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54219         __USE_XOPEN2K8].
54220         (CLD_KILLED): Likewise.
54221         (CLD_DUMPED): Likewise.
54222         (CLD_TRAPPED): Likewise.
54223         (CLD_STOPPED): Likewise.
54224         (CLD_CONTINUED): Likewise.
54225         (POLL_IN): Likewise.
54226         (POLL_OUT): Likewise.
54227         (POLL_MSG): Likewise.
54228         (POLL_ERR): Likewise.
54229         (POLL_PRI): Likewise.
54230         (POLL_HUP): Likewise.
54231         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54232         (ILL_ILLOPN): Likewise.
54233         (ILL_ILLADR): Likewise.
54234         (ILL_ILLTRP): Likewise.
54235         (ILL_PRVOPC): Likewise.
54236         (ILL_PRVREG): Likewise.
54237         (ILL_COPROC): Likewise.
54238         (ILL_BADSTK): Likewise.
54239         (FPE_INTDIV): Likewise.
54240         (FPE_INTOVF): Likewise.
54241         (FPE_FLTDIV): Likewise.
54242         (FPE_FLTOVF): Likewise.
54243         (FPE_FLTUND): Likewise.
54244         (FPE_FLTRES): Likewise.
54245         (FPE_FLTINV): Likewise.
54246         (FPE_FLTSUB): Likewise.
54247         (SEGV_MAPERR): Likewise.
54248         (SEGV_ACCERR): Likewise.
54249         (BUS_ADRALN): Likewise.
54250         (BUS_ADRERR): Likewise.
54251         (BUS_OBJERR): Likewise.
54252         (BUS_MCEERR_AR): Likewise.
54253         (BUS_MCEERR_AO): Likewise.
54254         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54255         (TRAP_TRACE): Likewise.
54256         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54257         __USE_XOPEN2K8].
54258         (CLD_KILLED): Likewise.
54259         (CLD_DUMPED): Likewise.
54260         (CLD_TRAPPED): Likewise.
54261         (CLD_STOPPED): Likewise.
54262         (CLD_CONTINUED): Likewise.
54263         (POLL_IN): Likewise.
54264         (POLL_OUT): Likewise.
54265         (POLL_MSG): Likewise.
54266         (POLL_ERR): Likewise.
54267         (POLL_PRI): Likewise.
54268         (POLL_HUP): Likewise.
54269         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54270         (ILL_ILLOPN): Likewise.
54271         (ILL_ILLADR): Likewise.
54272         (ILL_ILLTRP): Likewise.
54273         (ILL_PRVOPC): Likewise.
54274         (ILL_PRVREG): Likewise.
54275         (ILL_COPROC): Likewise.
54276         (ILL_BADSTK): Likewise.
54277         (FPE_INTDIV): Likewise.
54278         (FPE_INTOVF): Likewise.
54279         (FPE_FLTDIV): Likewise.
54280         (FPE_FLTOVF): Likewise.
54281         (FPE_FLTUND): Likewise.
54282         (FPE_FLTRES): Likewise.
54283         (FPE_FLTINV): Likewise.
54284         (FPE_FLTSUB): Likewise.
54285         (SEGV_MAPERR): Likewise.
54286         (SEGV_ACCERR): Likewise.
54287         (BUS_ADRALN): Likewise.
54288         (BUS_ADRERR): Likewise.
54289         (BUS_OBJERR): Likewise.
54290         (BUS_MCEERR_AR): Likewise.
54291         (BUS_MCEERR_AO): Likewise.
54292         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54293         (TRAP_TRACE): Likewise.
54294         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54295         __USE_XOPEN2K8].
54296         (CLD_KILLED): Likewise.
54297         (CLD_DUMPED): Likewise.
54298         (CLD_TRAPPED): Likewise.
54299         (CLD_STOPPED): Likewise.
54300         (CLD_CONTINUED): Likewise.
54301         (POLL_IN): Likewise.
54302         (POLL_OUT): Likewise.
54303         (POLL_MSG): Likewise.
54304         (POLL_ERR): Likewise.
54305         (POLL_PRI): Likewise.
54306         (POLL_HUP): Likewise.
54307         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54308         (ILL_ILLOPN): Likewise.
54309         (ILL_ILLADR): Likewise.
54310         (ILL_ILLTRP): Likewise.
54311         (ILL_PRVOPC): Likewise.
54312         (ILL_PRVREG): Likewise.
54313         (ILL_COPROC): Likewise.
54314         (ILL_BADSTK): Likewise.
54315         (ILL_DBLFLT): Likewise.
54316         (ILL_HARDWALL): Likewise.
54317         (FPE_INTDIV): Likewise.
54318         (FPE_INTOVF): Likewise.
54319         (FPE_FLTDIV): Likewise.
54320         (FPE_FLTOVF): Likewise.
54321         (FPE_FLTUND): Likewise.
54322         (FPE_FLTRES): Likewise.
54323         (FPE_FLTINV): Likewise.
54324         (FPE_FLTSUB): Likewise.
54325         (SEGV_MAPERR): Likewise.
54326         (SEGV_ACCERR): Likewise.
54327         (BUS_ADRALN): Likewise.
54328         (BUS_ADRERR): Likewise.
54329         (BUS_OBJERR): Likewise.
54330         (BUS_MCEERR_AR): Likewise.
54331         (BUS_MCEERR_AO): Likewise.
54332         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54333         (TRAP_TRACE): Likewise.
54334         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54335         __USE_XOPEN2K8].
54336         (CLD_KILLED): Likewise.
54337         (CLD_DUMPED): Likewise.
54338         (CLD_TRAPPED): Likewise.
54339         (CLD_STOPPED): Likewise.
54340         (CLD_CONTINUED): Likewise.
54341         (POLL_IN): Likewise.
54342         (POLL_OUT): Likewise.
54343         (POLL_MSG): Likewise.
54344         (POLL_ERR): Likewise.
54345         (POLL_PRI): Likewise.
54346         (POLL_HUP): Likewise.
54347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54348         (ILL_ILLOPN): Likewise.
54349         (ILL_ILLADR): Likewise.
54350         (ILL_ILLTRP): Likewise.
54351         (ILL_PRVOPC): Likewise.
54352         (ILL_PRVREG): Likewise.
54353         (ILL_COPROC): Likewise.
54354         (ILL_BADSTK): Likewise.
54355         (FPE_INTDIV): Likewise.
54356         (FPE_INTOVF): Likewise.
54357         (FPE_FLTDIV): Likewise.
54358         (FPE_FLTOVF): Likewise.
54359         (FPE_FLTUND): Likewise.
54360         (FPE_FLTRES): Likewise.
54361         (FPE_FLTINV): Likewise.
54362         (FPE_FLTSUB): Likewise.
54363         (SEGV_MAPERR): Likewise.
54364         (SEGV_ACCERR): Likewise.
54365         (BUS_ADRALN): Likewise.
54366         (BUS_ADRERR): Likewise.
54367         (BUS_OBJERR): Likewise.
54368         (BUS_MCEERR_AR): Likewise.
54369         (BUS_MCEERR_AO): Likewise.
54370         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54371         (TRAP_TRACE): Likewise.
54372         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54373         __USE_XOPEN2K8].
54374         (CLD_KILLED): Likewise.
54375         (CLD_DUMPED): Likewise.
54376         (CLD_TRAPPED): Likewise.
54377         (CLD_STOPPED): Likewise.
54378         (CLD_CONTINUED): Likewise.
54379         (POLL_IN): Likewise.
54380         (POLL_OUT): Likewise.
54381         (POLL_MSG): Likewise.
54382         (POLL_ERR): Likewise.
54383         (POLL_PRI): Likewise.
54384         (POLL_HUP): Likewise.
54385         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54386         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54388         [BZ #16670]
54389         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54390         before #include of <time.h>.
54391         [!__USE_XOPEN2K] (__need_timespec): Likewise.
54392         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54393         (test-xfail-UNIX98/sched.h/conform): Likewise.
54395 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54397         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54398         error absence of trapping exception support.
54399         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
54401 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54403         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
54404         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
54405         * timezone/Makefile (testdata): Move definition above include of
54406         Rules.
54407         (test-zones): New variable.
54408         (tests-special): Add zone files.
54409         (build-testdata): Use $(evaluate-test).
54411         * elf/Makefile (tests-special): Rename tests to end with .out.
54412         ($(objpfx)noload-mem): Likewise.
54413         ($(objpfx)tst-leaks1-mem): Likewise.
54414         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54415         * iconv/Makefile (xtests-special): Change test-iconvconfig to
54416         $(objpfx)test-iconvconfig.out.
54417         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
54418         set -e inside subshell and redirect output to file.
54419         * iconvdata/Makefile (generated): Rename tests to end with .out.
54420         Correct type.
54421         (tests-special): Rename tests to end with .out.
54422         ($(objpfx)mtrace-tst-loading): Likewise.
54423         * intl/Makefile (generated): Likewise.
54424         (tests-special): Likewise.
54425         ($(objpfx)mtrace-tst-gettext): Likewise.
54426         * misc/Makefile (generated): Likewise.
54427         (tests-special): Likewise.
54428         ($(objpfx)tst-error1-mem): Likewise.
54429         * nptl/Makefile (tests-special): Likewise.
54430         ($(objpfx)tst-stack3-mem): Likewise.
54431         (generated): Likewise.
54432         * posix/Makefile (generated): Likewise.
54433         (tests-special): Likewise.
54434         (xtests-special): Likewise.
54435         ($(objpfx)tst-fnmatch-mem): Likewise.
54436         ($(objpfx)bug-regex2-mem): Likewise.
54437         ($(objpfx)bug-regex14-mem): Likewise.
54438         ($(objpfx)bug-regex21-mem): Likewise.
54439         ($(objpfx)bug-regex31-mem): Likewise.
54440         ($(objpfx)tst-vfork3-mem): Likewise.
54441         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54442         ($(objpfx)tst-pcre-mem): Likewise.
54443         ($(objpfx)tst-boost-mem): Likewise.
54444         ($(objpfx)bug-ga2-mem): Likewise.
54445         ($(objpfx)bug-glob2-mem): Likewise.
54446         * resolv/Makefile (generate): Likewise.
54447         (tests-special): Likewise.
54448         (xtests-special): Likewise.
54449         (generated): Likewise.
54450         ($(objpfx)mtrace-tst-leaks): Likewise.
54451         ($(objpfx)mtrace-tst-leaks2): Likewise.
54453         * scripts/merge-test-results.sh: New file.
54454         * Makefile (tests-special-notdir): New variable.
54455         (tests): Run merge-test-results.sh.
54456         (xtests): Likewise.
54457         * Rules (tests-special-notdir): New variable.
54458         (xtests-special-notdir): Likewise.
54459         (tests): Run merge-test-results.sh
54460         (xtests): Likewise.
54462         * Makeconfig (test-xfail-name): New variable.
54463         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54464         compute variable name for expected failures.
54465         * conform/Makefile (conformtest-headers-data): New variable.
54466         (conformtest-standards): Likewise.
54467         (conformtest-headers-ISO): Likewise.
54468         (conformtest-headers-ISO99): Likewise.
54469         (conformtest-headers-ISO11): Likewise.
54470         (conformtest-headers-POSIX): Likewise.
54471         (conformtest-headers-XPG3): Likewise.
54472         (conformtest-headers-XPG4): Likewise.
54473         (conformtest-headers-UNIX98): Likewise.
54474         (conformtest-headers-XOPEN2K): Likewise.
54475         (conformtest-headers-POSIX2008): Likewise.
54476         (conformtest-headers-XOPEN2K8): Likewise.
54477         (conformtest-header-list-base): Likewise.
54478         (conformtest-header-list-tests): Likewise.
54479         (conformtest-header-base): Likewise.
54480         (conformtest-header-tests): Likewise.
54481         (tests-special): Add $(conformtest-header-list-tests).  If
54482         [$(fast-check) && !$(cross-compiling)], add
54483         $(conformtest-header-tests) instead of
54484         $(objpfx)run-conformtest.out.
54485         (generated): Add $(conformtest-header-list-base).  If
54486         [$(fast-check) && !$(cross-compiling)], add
54487         $(conformtest-header-base).  Remove previous setting.
54488         ($(conformtest-header-list-tests)): New target.
54489         (test-xfail-run-conformtest): Remove variable.
54490         ($(objpfx)run-conformtest.out): Remove target.
54491         (test-xfail-ISO11/complex.h/conform): New variable.
54492         (test-xfail-ISO11/stdalign.h/conform): Likewise.
54493         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54494         (test-xfail-XPG3/varargs.h/conform): Likewise.
54495         (test-xfail-XPG4/varargs.h/conform): Likewise.
54496         (test-xfail-UNIX98/varargs.h/conform): Likewise.
54497         (test-xfail-XPG4/ndbm.h/conform): Likewise.
54498         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54499         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54500         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54501         (test-xfail-XPG3/fcntl.h/conform): Likewise.
54502         (test-xfail-XPG3/ftw.h/conform): Likewise.
54503         (test-xfail-XPG3/grp.h/conform): Likewise.
54504         (test-xfail-XPG3/langinfo.h/conform): Likewise.
54505         (test-xfail-XPG3/limits.h/conform): Likewise.
54506         (test-xfail-XPG3/pwd.h/conform): Likewise.
54507         (test-xfail-XPG3/search.h/conform): Likewise.
54508         (test-xfail-XPG3/signal.h/conform): Likewise.
54509         (test-xfail-XPG3/stdio.h/conform): Likewise.
54510         (test-xfail-XPG3/stdlib.h/conform): Likewise.
54511         (test-xfail-XPG3/string.h/conform): Likewise.
54512         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54513         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54514         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54515         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54516         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54517         (test-xfail-XPG3/sys/types.h/conform): Likewise.
54518         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54519         (test-xfail-XPG3/termios.h/conform): Likewise.
54520         (test-xfail-XPG3/time.h/conform): Likewise.
54521         (test-xfail-XPG3/unistd.h/conform): Likewise.
54522         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54523         (test-xfail-XPG4/fcntl.h/conform): Likewise.
54524         (test-xfail-XPG4/langinfo.h/conform): Likewise.
54525         (test-xfail-XPG4/netdb.h/conform): Likewise.
54526         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54527         (test-xfail-XPG4/signal.h/conform): Likewise.
54528         (test-xfail-XPG4/stdio.h/conform): Likewise.
54529         (test-xfail-XPG4/stdlib.h/conform): Likewise.
54530         (test-xfail-XPG4/stropts.h/conform): Likewise.
54531         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54532         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54533         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54534         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54535         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54536         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54537         (test-xfail-XPG4/sys/time.h/conform): Likewise.
54538         (test-xfail-XPG4/sys/types.h/conform): Likewise.
54539         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54540         (test-xfail-XPG4/termios.h/conform): Likewise.
54541         (test-xfail-XPG4/ucontext.h/conform): Likewise.
54542         (test-xfail-XPG4/unistd.h/conform): Likewise.
54543         (test-xfail-XPG4/utmpx.h/conform): Likewise.
54544         (test-xfail-POSIX/sched.h/conform): Likewise.
54545         (test-xfail-POSIX/signal.h/conform): Likewise.
54546         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54547         (test-xfail-POSIX/tar.h/conform): Likewise.
54548         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54549         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54550         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54551         (test-xfail-UNIX98/netdb.h/conform): Likewise.
54552         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54553         (test-xfail-UNIX98/sched.h/conform): Likewise.
54554         (test-xfail-UNIX98/signal.h/conform): Likewise.
54555         (test-xfail-UNIX98/stdio.h/conform): Likewise.
54556         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54557         (test-xfail-UNIX98/stropts.h/conform): Likewise.
54558         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54559         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54560         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54561         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54562         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54563         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54564         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54565         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54566         (test-xfail-UNIX98/unistd.h/conform): Likewise.
54567         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54568         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54569         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54570         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54571         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54572         (test-xfail-XOPEN2K/math.h/conform): Likewise.
54573         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54574         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54575         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54576         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54577         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54578         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54579         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54580         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54581         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54582         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54583         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54584         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54585         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54586         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54587         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54588         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54589         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54590         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54591         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54592         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54593         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54594         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54595         (test-xfail-POSIX2008/signal.h/conform): Likewise.
54596         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54597         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54598         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54599         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54600         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54601         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54602         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54603         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54604         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54605         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54606         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54607         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54608         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54609         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54610         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54611         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54612         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54613         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54614         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54615         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54616         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54617         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54618         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54619         (conformtest-cc-flags): Likewise.
54620         ($(conformtest-header-tests): New target.
54621         * conform/check-header-lists.sh: New file.
54622         * conform/run-conformtest.sh: Remove.
54624         * conform/conformtest.pl: Allow ' and \ in values given for
54625         constants.
54626         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54627         inclusion.
54628         [POSIX] (sys/types.h): Likewise.
54629         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54630         inclusion.
54631         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54632         inclusion.
54633         * conform/data/signal.h-data (SIGIO): Remove expectation.
54634         [XPG3] (SIGBUS): Do not expect.
54635         [POSIX || XPG3] (SIGPOLL): Likewise.
54636         [POSIX || XPG3] (SIGPROF): Likewise.
54637         [POSIX || XPG3] (SIGSYS): Likewise.
54638         [XPG3] (SIGTRAP): Likewise.
54639         [POSIX || XPG3] (SIGURG): Likewise.
54640         [POSIX || XPG3] (SIGVTALRM): Likewise.
54641         [POSIX || XPG3] (SIGXCPU): Likewise.
54642         [POSIX || XPG3] (SIGXFSZ): Likewise.
54643         [POSIX] (SA_SIGINFO): Expect.
54644         [XPG3] (siginfo_t): Do not expect type or contents.
54645         [POSIX] (si_pid): Do not expect element.
54646         [POSIX] (si_uid): Likewise.
54647         [POSIX] (si_addr): Likewise.
54648         [POSIX] (si_status): Likewise.
54649         [POSIX] (si_band): Likewise.
54650         [XPG4] (si_value): Likewise.
54651         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54652         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54653         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54654         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54655         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54656         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54657         [POSIX || XPG3] (ILL_COPROC): Likewise.
54658         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54659         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54660         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54661         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54662         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54663         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54664         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54665         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54666         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54667         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54668         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54669         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54670         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54671         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54672         [POSIX || XPG3] (CLD_EXITED): Likewise.
54673         [POSIX || XPG3] (CLD_KILLED): Likewise.
54674         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54675         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54676         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54677         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54678         [POSIX || XPG3] (POLL_IN): Likewise.
54679         [POSIX || XPG3] (POLL_OUT): Likewise.
54680         [POSIX || XPG3] (POLL_MSG): Likewise.
54681         [POSIX || XPG3] (POLL_ERR): Likewise.
54682         [POSIX || XPG3] (POLL_PRI): Likewise.
54683         [POSIX || XPG3] (POLL_HUP): Likewise.
54684         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54685         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54686         (SIG*): Do not allow.
54687         [XPG3] (si_*): Likewise.
54688         [XPG3] (SI_*): Likewise.
54689         [XPG3 || XPG4] (sigev_*): Likewise.
54690         [XPG3 || XPG4] (SIGEV_*): Likewise.
54691         [XPG3 || XPG4] (sival_*): Likewise.
54692         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54693         [POSIX || XPG3] (BUS_*): Likewise.
54694         [POSIX || XPG3] (CLD_*): Likewise.
54695         [POSIX || XPG3] (FPE_*): Likewise.
54696         [POSIX || XPG3] (ILL_*): Likewise.
54697         [POSIX || XPG3] (POLL_*): Likewise.
54698         [POSIX || XPG3] (SEGV_*): Likewise.
54699         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54700         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54701         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54702         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54703         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54704         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54705         Specify type and value.
54706         (TVERSLEN): Likewise.
54707         (REGTYPE): Likewise.
54708         (AREGTYPE): Likewise.
54709         (LNKTYPE): Likewise.
54710         (SYMTYPE): Likewise.
54711         (CHRTYPE): Likewise.
54712         (BLKTYPE): Likewise.
54713         (DIRTYPE): Likewise.
54714         (FIFOTYPE): Likewise.
54715         (CONTTYPE): Likewise.
54716         (TSUID): Likewise.
54717         (TSGID): Likewise.
54718         (TSVTX): Likewise.
54719         (TUREAD): Likewise.
54720         (TUWRITE): Likewise.
54721         (TUEXEC): Likewise.
54722         (TGREAD): Likewise.
54723         (TGWRITE): Likewise.
54724         (TGEXEC): Likewise.
54725         (TOREAD): Likewise.
54726         (TOWRITE): Likewise.
54727         (TOEXEC): Likewise.
54728         [POSIX] (TSVTX): Expect constant.
54730 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54732         * Makefile (tests): Change dependencies to ....
54733         (tests-special): ... additions to this variable.
54734         (tests): Depend on $(tests-special).
54735         * Makerules (check-abi-list): New variable.
54736         (check-abi): Depend on $(check-abi-list).
54737         [$(subdir) = elf] (tests-special): Add
54738         $(objpfx)check-abi-libc.out.
54739         [$(build-shared) = yes && subdir] (tests-special): Add
54740         $(check-abi-list).
54741         [$(build-shared) = yes && subdir] (tests): Do not depend on
54742         check-abi.
54743         * Rules (tests): Depend on $(tests-special).
54744         (xtests): Depend on $(xtests-special).
54745         * catgets/Makefile (tests): Change dependencies to ....
54746         (tests-special): ... additions to this variable.
54747         * conform/Makefile (tests): Change dependencies to ....
54748         (tests-special): ... additions to this variable.
54749         * elf/Makefile (tests): Change dependencies to ....
54750         (tests-special): ... additions to this variable.
54751         * grp/Makefile (tests): Change dependencies to ....
54752         (tests-special): ... additions to this variable.
54753         * iconv/Makefile (xtests): Change dependencies to ....
54754         (xtests-special): ... additions to this variable.
54755         * iconvdata/Makefile (tests): Change dependencies to ....
54756         (tests-special): ... additions to this variable.
54757         * intl/Makefile (tests): Change dependencies to ....
54758         (tests-special): ... additions to this variable.  Also add
54759         $(objpfx)tst-gettext.out.
54760         * io/Makefile (tests): Change dependencies to ....
54761         (tests-special): ... additions to this variable.
54762         * libio/Makefile (tests): Change dependencies to ....
54763         (tests-special): ... additions to this variable.
54764         * malloc/Makefile (tests): Change dependencies to ....
54765         (tests-special): ... additions to this variable.
54766         * misc/Makefile (tests): Change dependencies to ....
54767         (tests-special): ... additions to this variable.
54768         * nptl/Makefile (tests): Change dependencies to ....
54769         (tests-special): ... additions to this variable.
54770         * nptl_db/Makefile (tests): Change dependencies to ....
54771         (tests-special): ... additions to this variable.
54772         * posix/Makefile (tests): Change dependencies to ....
54773         (tests-special): ... additions to this variable.
54774         (xtests): Change dependencies to ....
54775         (xtests-special): ... additions to this variable.
54776         * resolv/Makefile (tests): Change dependencies to ....
54777         (tests-special): ... additions to this variable.
54778         (xtests): Change dependencies to ....
54779         (xtests-special): ... additions to this variable.
54780         * stdio-common/Makefile (tests): Change dependencies to ....
54781         (tests-special): ... additions to this variable.
54782         (do-tst-unbputc): Remove target.
54783         (do-tst-printf): Likewise.
54784         * stdlib/Makefile (tests): Change dependencies to ....
54785         (tests-special): ... additions to this variable.
54786         * string/Makefile (tests): Change dependencies to ....
54787         (tests-special): ... additions to this variable.
54788         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54789         (tests-special): ... additions to this variable.
54791         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54792         whole file.
54793         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54794         whole file.
54795         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54796         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54798         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54799         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54800         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54801         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54802         * conform/data/libgen.h-data [XPG3]: Likewise.
54803         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54804         * conform/data/ndbm.h-data [XPG3]: Likewise.
54805         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54806         * conform/data/netdb.h-data [XPG3]: Likewise.
54807         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54808         * conform/data/poll.h-data [XPG3]: Likewise.
54809         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54810         * conform/data/strings.h-data [XPG3]: Likewise.
54811         * conform/data/stropts.h-data [XPG3]: Likewise.
54812         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54813         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54814         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54815         Likewise.
54816         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54817         * conform/data/sys/time.h-data [XPG3]: Likewise.
54818         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54819         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54820         * conform/data/sys/un.h-data [XPG3]: Likewise.
54821         * conform/data/syslog.h-data [XPG3]: Likewise.
54822         * conform/data/ucontext.h-data [XPG3]: Likewise.
54823         * conform/data/utmpx.h-data [XPG3]: Likewise.
54824         * conform/data/varargs.h-data [UNIX98]: Enable file.
54826         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54828         * math/libm-test.inc (struct test_f_f_data): Move expected results
54829         into structure for each rounding mode.
54830         (struct test_ff_f_data): Likewise.
54831         (struct test_ff_f_data_nexttoward): Likewise.
54832         (struct test_fi_f_data): Likewise.
54833         (struct test_fl_f_data): Likewise.
54834         (struct test_if_f_data): Likewise.
54835         (struct test_fff_f_data): Likewise.
54836         (struct test_c_f_data): Likewise.
54837         (struct test_f_f1_data): Likewise.
54838         (struct test_fF_f1_data): Likewise.
54839         (struct test_ffI_f1_data): Likewise.
54840         (struct test_c_c_data): Likewise.
54841         (struct test_cc_c_data): Likewise.
54842         (struct test_f_i_data): Likewise.
54843         (struct test_ff_i_data): Likewise.
54844         (struct test_f_l_data): Likewise.
54845         (struct test_f_L_data): Likewise.
54846         (struct test_fFF_11_data): Likewise.
54847         (RM_): New macro.
54848         (RM_FE_DOWNWARD): Likewise.
54849         (RM_FE_TONEAREST): Likewise.
54850         (RM_FE_TOWARDZERO): Likewise.
54851         (RM_FE_UPWARD): Likewise.
54852         (RUN_TEST_LOOP_f_f): Update references to expected results.
54853         (RUN_TEST_LOOP_2_f): Likewise.
54854         (RUN_TEST_LOOP_fff_f): Likewise.
54855         (RUN_TEST_LOOP_c_f): Likewise.
54856         (RUN_TEST_LOOP_f_f1): Likewise.
54857         (RUN_TEST_LOOP_fF_f1): Likewise.
54858         (RUN_TEST_LOOP_fI_f1): Likewise.
54859         (RUN_TEST_LOOP_ffI_f1): Likewise.
54860         (RUN_TEST_LOOP_c_c): Likewise.
54861         (RUN_TEST_LOOP_cc_c): Likewise.
54862         (RUN_TEST_LOOP_f_i): Likewise.
54863         (RUN_TEST_LOOP_f_i_tg): Likewise.
54864         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54865         (RUN_TEST_LOOP_f_b): Likewise.
54866         (RUN_TEST_LOOP_f_b_tg): Likewise.
54867         (RUN_TEST_LOOP_f_l): Likewise.
54868         (RUN_TEST_LOOP_f_L): Likewise.
54869         (RUN_TEST_LOOP_fFF_11): Likewise.
54870         * math/gen-libm-test.pl (parse_args): Output four copies of
54871         expected results for each test.
54873         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54874         (__ASSUME_UTIMES): Remove.
54875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54876         (__ASSUME_UTIMES): Likewise.
54878         * math/gen-auto-libm-tests.c: Update comment on output format.
54879         (output_for_one_input_case): Generate before-rounding and
54880         after-rounding information as conditions on output flags not
54881         floating-point format.
54882         * math/auto-libm-test-out: Regenerated.
54883         * math/gen-libm-test.pl (cond_value): New function.
54884         (or_cond_value): Use cond_value.
54885         (generate_testfile): Handle conditional exceptions.
54887 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54889         * math/libm-test.inc (max_valid_error): New variable.
54890         (init_max_error): Take new argument specifying whether function
54891         results are exactly determined.  Set max_valid_error and bound
54892         other variables for errors based on this argument.
54893         (set_max_error): Do not record results above max_valid_error.
54894         (check_float_internal): Only accept errors of up to 0.5ulps if
54895         also at most max_valid_error.
54896         (START): Take new argument EXACT and pass it to init_max_error.
54897         (acos_test): Update call to START.
54898         (acos_test_tonearest): Likewise.
54899         (acos_test_towardzero): Likewise.
54900         (acos_test_downward): Likewise.
54901         (acos_test_upward): Likewise.
54902         (acosh_test): Likewise.
54903         (asin_test): Likewise.
54904         (asin_test_tonearest): Likewise.
54905         (asin_test_towardzero): Likewise.
54906         (asin_test_downward): Likewise.
54907         (asin_test_upward): Likewise.
54908         (asinh_test): Likewise.
54909         (atan_test): Likewise.
54910         (atanh_test): Likewise.
54911         (atan2_test): Likewise.
54912         (cabs_test): Likewise.
54913         (cacos_test): Likewise.
54914         (cacosh_test): Likewise.
54915         (carg_test): Likewise.
54916         (casin_test): Likewise.
54917         (casinh_test): Likewise.
54918         (catan_test): Likewise.
54919         (catanh_test): Likewise.
54920         (cbrt_test): Likewise.
54921         (ccos_test): Likewise.
54922         (ccosh_test): Likewise.
54923         (ceil_test): Likewise.
54924         (cexp_test): Likewise.
54925         (cimag_test): Likewise.
54926         (clog_test): Likewise.
54927         (clog10_test): Likewise.
54928         (conj_test): Likewise.
54929         (copysign_test): Likewise.
54930         (cos_test): Likewise.
54931         (cos_test_tonearest): Likewise.
54932         (cos_test_towardzero): Likewise.
54933         (cos_test_downward): Likewise.
54934         (cos_test_upward): Likewise.
54935         (cosh_test): Likewise.
54936         (cosh_test_tonearest): Likewise.
54937         (cosh_test_towardzero): Likewise.
54938         (cosh_test_downward): Likewise.
54939         (cosh_test_upward): Likewise.
54940         (cpow_test): Likewise.
54941         (cproj_test): Likewise.
54942         (creal_test): Likewise.
54943         (csin_test): Likewise.
54944         (csinh_test): Likewise.
54945         (csqrt_test): Likewise.
54946         (ctan_test): Likewise.
54947         (ctan_test_tonearest): Likewise.
54948         (ctan_test_towardzero): Likewise.
54949         (ctan_test_downward): Likewise.
54950         (ctan_test_upward): Likewise.
54951         (ctanh_test): Likewise.
54952         (ctanh_test_tonearest): Likewise.
54953         (ctanh_test_towardzero): Likewise.
54954         (ctanh_test_downward): Likewise.
54955         (ctanh_test_upward): Likewise.
54956         (erf_test): Likewise.
54957         (erfc_test): Likewise.
54958         (exp_test): Likewise.
54959         (exp_test_tonearest): Likewise.
54960         (exp_test_towardzero): Likewise.
54961         (exp_test_downward): Likewise.
54962         (exp_test_upward): Likewise.
54963         (exp10_test): Likewise.
54964         (exp10_test_tonearest): Likewise.
54965         (exp10_test_towardzero): Likewise.
54966         (exp10_test_downward): Likewise.
54967         (exp10_test_upward): Likewise.
54968         (pow10_test): Likewise.
54969         (exp2_test): Likewise.
54970         (expm1_test): Likewise.
54971         (expm1_test_tonearest): Likewise.
54972         (expm1_test_towardzero): Likewise.
54973         (expm1_test_downward): Likewise.
54974         (expm1_test_upward): Likewise.
54975         (fabs_test): Likewise.
54976         (fdim_test): Likewise.
54977         (floor_test): Likewise.
54978         (fma_test): Likewise.
54979         (fma_test_towardzero): Likewise.
54980         (fma_test_downward): Likewise.
54981         (fma_test_upward): Likewise.
54982         (fmax_test): Likewise.
54983         (fmin_test): Likewise.
54984         (fmod_test): Likewise.
54985         (fpclassify_test): Likewise.
54986         (frexp_test): Likewise.
54987         (hypot_test): Likewise.
54988         (ilogb_test): Likewise.
54989         (isfinite_test): Likewise.
54990         (finite_test): Likewise.
54991         (isgreater_test): Likewise.
54992         (isgreaterequal_test): Likewise.
54993         (isinf_test): Likewise.
54994         (isless_test): Likewise.
54995         (islessequal_test): Likewise.
54996         (islessgreater_test): Likewise.
54997         (isnan_test): Likewise.
54998         (isnormal_test): Likewise.
54999         (issignaling_test): Likewise.
55000         (isunordered_test): Likewise.
55001         (j0_test): Likewise.
55002         (j1_test): Likewise.
55003         (jn_test): Likewise.
55004         (ldexp_test): Likewise.
55005         (lgamma_test): Likewise.
55006         (gamma_test): Likewise.
55007         (lrint_test): Likewise.
55008         (lrint_test_tonearest): Likewise.
55009         (lrint_test_towardzero): Likewise.
55010         (lrint_test_downward): Likewise.
55011         (lrint_test_upward): Likewise.
55012         (llrint_test): Likewise.
55013         (llrint_test_tonearest): Likewise.
55014         (llrint_test_towardzero): Likewise.
55015         (llrint_test_downward): Likewise.
55016         (llrint_test_upward): Likewise.
55017         (log_test): Likewise.
55018         (log10_test): Likewise.
55019         (log1p_test): Likewise.
55020         (log2_test): Likewise.
55021         (logb_test): Likewise.
55022         (logb_test_downward): Likewise.
55023         (lround_test): Likewise.
55024         (llround_test): Likewise.
55025         (modf_test): Likewise.
55026         (nearbyint_test): Likewise.
55027         (nextafter_test): Likewise.
55028         (nexttoward_test): Likewise.
55029         (pow_test): Likewise.
55030         (pow_test_tonearest): Likewise.
55031         (pow_test_towardzero): Likewise.
55032         (pow_test_downward): Likewise.
55033         (pow_test_upward): Likewise.
55034         (remainder_test): Likewise.
55035         (drem_test): Likewise.
55036         (remainder_test_tonearest): Likewise.
55037         (drem_test_tonearest): Likewise.
55038         (remainder_test_towardzero): Likewise.
55039         (drem_test_towardzero): Likewise.
55040         (remainder_test_downward): Likewise.
55041         (drem_test_downward): Likewise.
55042         (remainder_test_upward): Likewise.
55043         (drem_test_upward): Likewise.
55044         (remquo_test): Likewise.
55045         (rint_test): Likewise.
55046         (rint_test_tonearest): Likewise.
55047         (rint_test_towardzero): Likewise.
55048         (rint_test_downward): Likewise.
55049         (rint_test_upward): Likewise.
55050         (round_test): Likewise.
55051         (scalb_test): Likewise.
55052         (scalbn_test): Likewise.
55053         (scalbln_test): Likewise.
55054         (signbit_test): Likewise.
55055         (sin_test): Likewise.
55056         (sin_test_tonearest): Likewise.
55057         (sin_test_towardzero): Likewise.
55058         (sin_test_downward): Likewise.
55059         (sin_test_upward): Likewise.
55060         (sincos_test): Likewise.
55061         (sinh_test): Likewise.
55062         (sinh_test_tonearest): Likewise.
55063         (sinh_test_towardzero): Likewise.
55064         (sinh_test_downward): Likewise.
55065         (sinh_test_upward): Likewise.
55066         (sqrt_test): Likewise.
55067         (sqrt_test_tonearest): Likewise.
55068         (sqrt_test_towardzero): Likewise.
55069         (sqrt_test_downward): Likewise.
55070         (sqrt_test_upward): Likewise.
55071         (tan_test): Likewise.
55072         (tan_test_tonearest): Likewise.
55073         (tan_test_towardzero): Likewise.
55074         (tan_test_downward): Likewise.
55075         (tan_test_upward): Likewise.
55076         (tanh_test): Likewise.
55077         (tgamma_test): Likewise.
55078         (trunc_test): Likewise.
55079         (y0_test): Likewise.
55080         (y1_test): Likewise.
55081         (yn_test): Likewise.
55082         (significand_test): Likewise.
55084         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55085         individual tests in comment.
55086         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55087         (prev_max_error): New variable.
55088         (prev_real_max_error): Likewise.
55089         (prev_imag_max_error): Likewise.
55090         (compare_ulp_data): Don't refer to test names in comment.
55091         (find_test_ulps): Remove function.
55092         (find_function_ulps): Likewise.
55093         (find_complex_function_ulps): Likewise.
55094         (init_max_error): Take function name as argument.  Look up ulps
55095         for that function.
55096         (print_ulps): Remove function.
55097         (print_max_error): Use prev_max_error instead of calling
55098         find_function_ulps.
55099         (print_complex_max_error): Use prev_real_max_error and
55100         prev_imag_max_error instead of calling find_complex_function_ulps.
55101         (check_float_internal): Take max_ulp parameter instead of calling
55102         find_test_ulps.  Don't call print_ulps.
55103         (check_float): Update call to check_float_internal.
55104         (check_complex): Update calls to check_float_internal.
55105         (START): Pass argument to init_max_error.
55106         * math/gen-libm-test.pl (%results): Don't include "kind"
55107         information.
55108         (parse_ulps): Don't handle ulps of individual tests.
55109         (print_ulps_file): Likewise.
55110         (output_ulps): Likewise.
55111         * math/README.libm-test: Update.
55112         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55113         individual tests.
55114         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55115         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55116         * sysdeps/arm/libm-test-ulps: Likewise.
55117         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55118         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55119         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55120         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55121         * sysdeps/microblaze/libm-test-ulps: Likewise.
55122         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55123         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55124         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55125         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55126         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55127         * sysdeps/sh/libm-test-ulps: Likewise.
55128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55129         * sysdeps/tile/libm-test-ulps: Likewise.
55130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55132 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
55134         * math/libm-test.inc (print_complex_max_error): Check separately
55135         whether real and imaginary errors are within allowed range and
55136         pass 0 to print_complex_function_ulps instead of value within
55137         allowed range.
55139 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55141         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55142         formatting.
55143         (get_handles_fopen): Likewise.
55144         (do_write_test): Likewise.
55146         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55148         * libio/fileops.c (do_ftell): Use cached offset when
55149         available.
55150         * libio/iofwide.c (do_ftell_wide): Likewise.
55151         * libio/iofdopen.c (_IO_new_fdopen): Don't use
55152         _IO_file_attach.
55153         * libio/wfileops.c (_IO_fwide): Don't cache offset.
55155         [BZ #16532]
55156         * libio/libioP.h (get_file_offset): New function.
55157         * libio/fileops.c (get_file_offset): Likewise.
55158         (do_ftell): Likewise.
55159         (_IO_new_file_seekoff): Split out ftell logic.
55160         * libio/wfileops.c (do_ftell_wide): Likewise.
55161         (_IO_wfile_seekoff): Split out ftell logic.
55162         * libio/tst-ftell-active-handler.c: New test case.
55163         * libio/Makefile (tests): Add it.
55165 2014-03-03  Roland McGrath  <roland@hack.frob.com>
55167         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55168         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55170 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55172         [BZ #16639]
55173         * nscd/connections.c (nscd_init): Call do_exit.
55174         (start_threads): Call do_exit and notify_parent.
55175         (begin_drop_privileges): Call do_exit.
55176         (finish_drop_privileges): Likewise.
55177         * nscd/selinux.c (preserve_capabilities): Likewise.
55178         (install_real_capabilities): Likewise.
55179         (nscd_selinux_enabled): Likewise.
55180         (avc_create_thread): Likewise.
55181         (avc_alloc_lock): Likewise.
55182         (nscd_avc_init): Likewise.
55183         * nscd/nscd.c (parent_fd): New static variable.
55184         (main): Create a pipe between parent and child processes.
55185         Skip closing parent_fd.
55186         (monitor_child): New function.
55187         (do_exit): Likewise.
55188         (notify_parent): Likewise.
55189         * nscd/nscd.h (notify_parent): Likewise.
55190         (do_exit): Likewise.
55192 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
55194         * malloc/malloc.c (__libc_calloc): Revert last change.
55196 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55200 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55202         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55204         implementation.
55205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55206         (__libc_ifunc_impl_list): Likewise.
55207         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55208         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55209         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55210         * string/strrchr.c: Define STRRCHR.
55212 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
55214         * benchtest/bench-strtok.c (simple_strtok): Delete.
55215         (strtok_string): Use as benchmark.
55216         * string/strtok (STRTOK): New macro.
55218 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
55220         * manual/threads.texi: Add header and standard comments to all
55221         functions.
55223         * elf/dl-lookup.c (check_match): New function.
55224         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55225         (do_lookup_x): Remove nested function check_match. Use non-nested
55226         function check_match.
55228 2014-02-28  Roland McGrath  <roland@hack.frob.com>
55230         * csu/Makefile (generated, before-compile): Use += rather than =.
55231         * catgets/Makefile (generated, generated-dirs): Likewise.
55232         * debug/Makefile (generated): Likewise.
55233         * dlfcn/Makefile (generated): Likewise.
55234         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55235         * iconvdata/Makefile (before-compile, generated): Likewise.
55236         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55237         * libio/Makefile (generated): Likewise.
55238         * malloc/Makefile (generated): Likewise.
55239         * manual/Makefile (generated, generated-dirs): Likewise.
55240         * misc/Makefile (generated): Likewise.
55241         * posix/Makefile (generated): Likewise.
55242         * resolv/Makefile (generated): Likewise.
55243         * sunrpc/Makefile (generated, generated-dirs): Likewise.
55244         * timezone/Makefile (generated, generated-dirs): Likewise.
55246         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55248 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55251         power8 implementation.
55252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55253         file: POWER8 llround ifunc implementation.
55254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55255         (__lllround): Add POWER8 implementation.
55256         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55257         POWER8 llround implementation.
55259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55260         power8 implementation.
55261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55262         file: POWER8 llrint ifunc implementation.
55263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55264         Add POWER8 implementation.
55265         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55266         POWER8 llrint implementation.
55268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55269         power8 implementation.
55270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55271         file: POWER8 finite ifunc implementation.
55272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55273         Add POWER8 implementation.
55274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55275         Likewise.
55276         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55277         POWER8 finite implementation.
55278         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55281         power8 implementation.
55282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55283         file: POWER8 isinf ifunc implementation.
55284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55285         POWER8 implementation.
55286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55287         Likewise.
55288         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55289         isinf implementation.
55290         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55292         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55293         (INIT_ARCH): Add hwcap2 initialization.
55294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55295         power8 implementation.
55296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55297         file: POWER8 isnan ifunc implementation.
55298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55299         POWER8 implementation.
55300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55301         Likewise.
55302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55303         isnan implementation.
55304         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55306 2014-02-27  Joey Ye  <joey.ye@arm.com>
55308         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55309         (_FP_NANFRAC_Q): Set to zero.
55311 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55313         [BZ #16623]
55314         * math/auto-libm-test-in: New test inputs.
55315         * math/auto-libm-test-out: Regenerate.
55316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55317         and DA.
55318         (__cos): Likewise.
55319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55321 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
55323         * scripts/evaluate-test.sh: Take new argument indicating whether
55324         failure is expected.
55325         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55326         indicating whether failure is expected.
55327         * conform/Makefile (test-xfail-run-conformtest): New variable.
55328         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55329         level.
55330         * posix/Makefile (test-xfail-annexc): New variable.
55331         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55333 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
55335         * argp/Makefile: Include Makeconfig immediately after defining
55336         subdir.
55337         * assert/Makefile: Likewise.
55338         * benchtests/Makefile: Likewise.
55339         * catgets/Makefile: Likewise.
55340         * conform/Makefile: Likewise.
55341         * crypt/Makefile: Likewise.
55342         * csu/Makefile: Likewise.
55343         (all): Remove target.
55344         * ctype/Makefile: Include Makeconfig immediately after defining
55345         subdir.
55346         * debug/Makefile: Likewise.
55347         * dirent/Makefile: Likewise.
55348         * dlfcn/Makefile: Likewise.
55349         * gmon/Makefile: Likewise.
55350         * gnulib/Makefile: Likewise.
55351         * grp/Makefile: Likewise.
55352         * gshadow/Makefile: Likewise.
55353         * hesiod/Makefile: Likewise.
55354         * hurd/Makefile: Likewise.
55355         (all): Remove target.
55356         * iconvdata/Makefile: Include Makeconfig immediately after
55357         defining subdir.
55358         * inet/Makefile: Likewise.
55359         * intl/Makefile: Likewise.
55360         * io/Makefile: Likewise.
55361         * libio/Makefile: Likewise.
55362         (all): Remove target.
55363         * locale/Makefile: Include Makeconfig immediately after defining
55364         subdir.
55365         * login/Makefile: Likewise.
55366         * mach/Makefile: Likewise.
55367         (all): Remove target.
55368         * malloc/Makefile: Include Makeconfig immediately after defining
55369         subdir.
55370         (all): Remove target.
55371         * manual/Makefile: Include Makeconfig immediately after defining
55372         subdir.
55373         * math/Makefile: Likewise.
55374         * misc/Makefile: Likewise.
55375         * nis/Makefile: Likewise.
55376         * nss/Makefile: Likewise.
55377         * po/Makefile: Likewise.
55378         (all): Remove target.
55379         * posix/Makefile: Include Makeconfig immediately after defining
55380         subdir.
55381         * pwd/Makefile: Likewise.
55382         * resolv/Makefile: Likewise.
55383         * resource/Makefile: Likewise.
55384         * rt/Makefile: Likewise.
55385         * setjmp/Makefile: Likewise.
55386         * shadow/Makefile: Likewise.
55387         * signal/Makefile: Likewise.
55388         * socket/Makefile: Likewise.
55389         * soft-fp/Makefile: Likewise.
55390         * stdio-common/Makefile: Likewise.
55391         * stdlib/Makefile: Likewise.
55392         * streams/Makefile: Likewise.
55393         * string/Makefile: Likewise.
55394         * sunrpc/Makefile: Likewise.
55395         (all): Remove target.
55396         * sysvipc/Makefile: Include Makeconfig immediately after defining
55397         subdir.
55398         * termios/Makefile: Likewise.
55399         * time/Makefile: Likewise.
55400         * timezone/Makefile: Likewise.
55401         (all): Remove target.
55402         * wcsmbs/Makefile: Include Makeconfig immediately after defining
55403         subdir.
55404         * wctype/Makefile: Likewise.
55406 2014-02-26  Steve Ellcey  <sellcey@mips.com>
55408         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
55409         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
55410         (libc_feholdexcept_setround_mips): Ditto.
55411         (libc_feholdsetround): New.
55412         (libc_feholdsetroundf): New.
55413         (libc_feholdsetroundl): New.
55414         (libc_feupdateenv_test_mips): New.
55415         (libc_feupdateenv_test): New.
55416         (libc_feupdateenv_testf): New.
55417         (libc_feupdateenv_testl): New.
55418         (libc_feresetround): New.
55419         (libc_feresetroundf): New.
55420         (libc_feresetroundl): New.
55421         (libc_fetestexcept_mips): New.
55422         (libc_fetestexcept): New.
55423         (libc_fetestexceptf): New.
55424         (libc_fetestexceptl): New.
55425         (HAVE_RM_CTX): New.
55426         (libc_feholdexcept_setround_mips_ctx): New.
55427         (libc_feholdexcept_setround_ctx): New.
55428         (libc_feholdexcept_setroundf_ctx): New.
55429         (libc_feholdexcept_setroundl_ctx): New.
55430         (libc_fesetenv_mips_ctx): New.
55431         (libc_fesetenv_ctx): New.
55432         (libc_fesetenv_ctxf): New.
55433         (libc_fesetenv_ctxl): New.
55434         (libc_feupdateenv_mips_ctx): New.
55435         (libc_feupdateenv_ctx): New.
55436         (libc_feupdateenvf_ctx): New.
55437         (libc_feupdateenvl_ctx): New.
55438         (libc_feholdsetround_mips_ctx): New.
55439         (libc_feholdsetround_ctx): New.
55440         (libc_feholdsetroundf_ctx): New.
55441         (libc_feholdsetroundl_ctx): New.
55442         (libc_feresetround_mips_ctx): New.
55443         (libc_feresetround_ctx): New.
55444         (libc_feresetroundf_ctx): New.
55445         (libc_feresetroundl_ctx): New.
55447 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
55449         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55451         * manual/ipc.texi: New file.
55452         * manual/Makefile (chapters): Add ipc.
55453         * manual/job.texi: Add "Inter-Process Communication" to next.
55454         * manual/process.texi: Add "Inter-Process Communication" to prev.
55456 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55460 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
55462         * malloc/malloc.c (__libc_calloc): Simplify implementation.
55464         * manual/arith.texi: Fix spaces after sentences.
55465         * manual/charset.texi: Likewise.
55466         * manual/errno.texi: Likewise.
55467         * manual/install.texi: Likewise.
55468         * manual/llio.texi: Likewise.
55469         * manual/locale.texi: Likewise.
55470         * manual/maint.texi: Likewise.
55471         * manual/math.texi: Likewise.
55472         * manual/memory.texi: Likewise.
55473         * manual/message.texi: Likewise.
55474         * manual/probes.texi: Likewise.
55475         * manual/resource.texi: Likewise.
55476         * manual/signal.texi: Likewise.
55477         * manual/socket.texi: Likewise.
55478         * manual/stdio.texi: Likewise.
55479         * manual/string.texi: Likewise.
55480         * manual/time.texi: Likewise.
55481         * manual/users.texi: Likewise.
55483 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
55485         [BZ #16632]
55486         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55487         _DEFAULT_SOURCE is defined.
55489 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
55490             Carlos O'Donell  <carlos@redhat.com>
55492         [BZ #16613]
55493         * elf/dl-tls.c (_dl_count_modids): New function.
55494         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55495         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55496         audit library and increment generation counter.
55497         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55498         * elf/tst-audit9.c: New file.
55499         * elf/tst-auditmod9a.c: New file.
55500         * elf/tst-auditmod9b.c: New file.
55501         * elf/Makefile: Add rules to build and run tst-audit9.
55503 2014-02-25  Florian Weimer  <fweimer@redhat.com>
55505         [BZ #15347]
55506         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55508 2014-02-25  Will Newton  <will.newton@linaro.org>
55510         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55511         (__longjmp): Restore sp and lr before restoring callee
55512         saved registers.  Add longjmp and longjmp_target
55513         SystemTap probe point.
55514         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55515         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55516         Define to zero to match jmpbuf layout.
55517         * sysdeps/arm/setjmp.S: Include stap-probe.h.
55518         (__sigsetjmp): Save sp and lr before saving callee
55519         saved registers.  Add setjmp SystemTap probe point.
55521 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
55523         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55525 2014-02-24  Andreas Schwab  <schwab@suse.de>
55527         [BZ #15804]
55528         * elf/pldd.c (wait_for_ptrace_stop): New function.
55529         (main): Call it after attaching.
55531 2014-02-22  Roland McGrath  <roland@hack.frob.com>
55533         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55534         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55535         Versions files is now verboten.
55536         * hurd/Versions (libc: GLIBC_2.0):
55537         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55538         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55539         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55540         * mach/Versions: Likewise.
55542         * csu/Versions: Remove unused %include.
55543         * resolv/Versions: Likewise.
55545 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
55547         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55548         ($(objpfx)check-local-headers.out): Likewise.
55549         ($(objpfx)begin-end-check.out): Likewise.
55550         * Makerules (check-abi-%.out): Likewise.
55551         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55552         ($(objpfx)test2.cat): Likewise.
55553         ($(objpfx)de/libc.cat): Likewise.
55554         ($(objpfx)test-gencat.out): Likewise.
55555         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55556         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55557         ($(objpfx)noload-mem): Likewise.
55558         ($(objpfx)tst-pathopt.out): Likewise.
55559         ($(objpfx)tst-rtld-load-self.out): Likewise.
55560         ($(objpfx)tst-array1-cmp.out): Likewise.
55561         ($(objpfx)tst-array1-static-cmp.out): Likewise.
55562         ($(objpfx)tst-array2-cmp.out): Likewise.
55563         ($(objpfx)tst-array3-cmp.out): Likewise.
55564         ($(objpfx)tst-array4-cmp.out): Likewise.
55565         ($(objpfx)tst-array5-cmp.out): Likewise.
55566         ($(objpfx)tst-array5-static-cmp.out): Likewise.
55567         ($(objpfx)check-textrel.out): Likewise.
55568         ($(objpfx)check-execstack.out): Likewise.
55569         ($(objpfx)check-localplt.out): Likewise.
55570         ($(objpfx)order2-cmp.out): Likewise.
55571         ($(objpfx)tst-leaks1-mem): Likewise.
55572         ($(objpfx)tst-leaks1-static-mem): Likewise.
55573         ($(objpfx)tst-initorder-cmp.out): Likewise.
55574         ($(objpfx)tst-initorder2-cmp.out): Likewise.
55575         ($(objpfx)tst-unused-dep.out): Likewise.
55576         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55577         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55578         * iconv/Makefile (test-iconvconfig): Likewise.
55579         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55580         ($(objpfx)iconv-test.out): Likewise.
55581         ($(objpfx)tst-tables.out): Likewise.
55582         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55583         ($(objpfx)tst-gettext.out): Likewise.
55584         ($(objpfx)tst-translit.out): Likewise.
55585         ($(objpfx)tst-gettext2.out): Likewise.
55586         ($(objpfx)tst-gettext4.out): Likewise.
55587         ($(objpfx)tst-gettext6.out): Likewise.
55588         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55589         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55590         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55591         ($(objpfx)tst-fopenloc-mem.out): Likewise.
55592         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55593         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55594         * posix/Makefile ($(objpfx)globtest.out): Likewise.
55595         ($(objpfx)wordexp-tst.out): Likewise.
55596         ($(objpfx)annexc.out): Likewise.
55597         ($(objpfx)tst-fnmatch-mem): Likewise.
55598         ($(objpfx)bug-regex2-mem): Likewise.
55599         ($(objpfx)bug-regex14-mem): Likewise.
55600         ($(objpfx)bug-regex21-mem): Likewise.
55601         ($(objpfx)bug-regex31-mem): Likewise.
55602         ($(objpfx)tst-vfork3-mem): Likewise.
55603         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55604         ($(objpfx)tst-pcre-mem): Likewise.
55605         ($(objpfx)tst-boost-mem): Likewise.
55606         ($(objpfx)tst-getconf.out): Likewise.
55607         ($(objpfx)bug-ga2-mem): Likewise.
55608         ($(objpfx)bug-glob2-mem): Likewise.
55609         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55610         ($(objpfx)mtrace-tst-leaks2): Likewise.
55611         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55612         ($(objpfx)tst-printf.out): Likewise.
55613         ($(objpfx)tst-setvbuf1.out): Likewise.
55614         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55615         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55616         ($(objpfx)tst-fmtmsg.out): Likewise.
55617         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55618         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55620         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55621         * bits/sigaction.h [__USE_MISC]: Likewise.
55622         * bits/waitstatus.h: Update #endif comments.
55623         * ctype/ctype.h: Likewise.
55624         * dirent/dirent.h: Likewise.
55625         [__USE_MISC]: Remove redundant conditionals.
55626         * grp/grp.h: Update #endif comments.
55627         [__USE_GNU]: Remove redundant conditionals.
55628         [__USE_MISC]: Likewise.
55629         * inet/netinet/in.h [__USE_GNU]: Likewise.
55630         * io/sys/stat.h [__USE_MISC]: Likewise.
55631         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55632         * libio/bits/stdio.h: Update #endif comments.
55633         [__USE_MISC]: Remove redundant conditionals.
55634         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55635         * libio/stdio.h: Update #endif comments.
55636         [__USE_MISC]: Remove redundant conditionals.
55637         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55638         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55639         * math/math.h: Update #else and #endif comments.
55640         [__USE_MISC]: Remove redundant conditionals.
55641         * misc/sys/uio.h: Update #endif comments.
55642         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55643         * posix/glob.h [__USE_MISC]: Likewise.
55644         * posix/sys/types.h: Update #endif comments.
55645         [__USE_MISC]: Remove redundant conditionals.
55646         * posix/sys/wait.h: Update #endif comments.
55647         [__USE_MISC]: Remove redundant conditionals.
55648         * posix/unistd.h: Update #endif comments.
55649         [__USE_MISC]: Remove redundant conditionals.
55650         * pwd/pwd.h [__USE_GNU]: Likewise.
55651         [__USE_MISC]: Likewise.
55652         * resolv/netdb.h [__USE_GNU]: Likewise.
55653         * signal/signal.h: Update #endif comments.
55654         [__USE_MISC]: Remove redundant conditionals.
55655         * stdlib/stdlib.h: Update #else and #endif comments.
55656         [__USE_MISC]: Remove redundant conditionals.
55657         [__USE_GNU]: Likewise.
55658         * string/bits/string2.h [__USE_MISC]: Likewise.
55659         * string/string.h: Update #endif comments.
55660         [__USE_MISC]: Remove redundant conditionals.
55661         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55662         Likewise.
55663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55664         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55665         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55666         Likewise.
55667         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55668         Likewise.
55669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55670         comments.
55671         [__USE_MISC]: Remove redundant conditionals.
55672         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55673         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55674         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55675         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55676         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55677         Likewise.
55678         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55679         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55680         Likewise.
55681         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55682         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55683         Likewise.
55684         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55685         Likewise.
55686         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55687         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55688         Likewise.
55689         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55690         Likewise.
55691         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55692         * sysdeps/x86/bits/string.h: Update #endif comments.
55693         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55694         conditionals.
55695         * time/sys/time.h: Update #endif comments.
55696         * time/time.h: Likewise.
55697         [__USE_MISC]: Remove redundant conditionals.
55699 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55701         [BZ #16600]
55702         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55704 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55706         * Versions.def (librt): Add GLIBC_2.17.
55708 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55710         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55711         synonym for _SYS_AUXV_H to allow direct inclusion.
55712         * sysdeps/sparc/bits/hwcap.h: Likewise.
55713         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55714         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55715         * sysdeps/sparc/sysdep.h: Likewise.
55717 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55719         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55721 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55723         * benchtests/bench-strrchr.c: Print length instead of position.
55725 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55727         [BZ #16611]
55728         * sysdeps/unix/sysv/linux/kernel-features.h
55729         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55730         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55731         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55732         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55733         Likewise.
55734         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55735         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55736         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55737         (__ASSUME_SENDMMSG): Define instead of using previous
55738         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55739         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55740         (__ASSUME_SENDMMSG_SYSCALL): Define.
55741         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55742         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55743         Likewise.
55744         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55745         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55746         Likewise.
55747         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55748         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55749         Likewise.
55750         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55751         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55752         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55753         [__ASSUME_SENDMMSG]: Change conditionals to
55754         [__ASSUME_SENDMMSG_SOCKETCALL].
55755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55756         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55757         Define.
55758         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55759         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55760         Likewise.
55761         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55762         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55763         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55764         [!__ASSUME_SENDMMSG]: Change conditional to
55765         [!__ASSUME_SENDMMSG_SOCKETCALL].
55766         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55767         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55768         Define.
55770         [BZ #16610]
55771         * sysdeps/unix/sysv/linux/kernel-features.h
55772         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55773         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55774         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55775         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55776         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55777         [__i386__ || __sparc__]
55778         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55779         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55780         (__ASSUME_RECVMMSG): Define instead of using previous
55781         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55782         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55783         (__ASSUME_RECVMMSG_SYSCALL): Define.
55784         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55786         Likewise.
55787         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55789         Likewise.
55790         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55791         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55792         Likewise.
55793         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55794         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55795         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55796         [__ASSUME_RECVMMSG]: Change condition to
55797         [__ASSUME_RECVMMSG_SOCKETCALL].
55798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55799         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55800         Define.
55801         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55802         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55803         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55804         Likewise.
55805         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55806         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55807         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55808         [!__ASSUME_RECVMMSG]: Change condition to
55809         [!__ASSUME_RECVMMSG_SOCKETCALL].
55810         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55811         (__ASSUME_RECVMMSG_SYSCALL): Define.
55813         [BZ #16609]
55814         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55815         __powerpc__ || __s390__ || __sh__ || __sparc__]
55816         (__ASSUME_SOCKETCALL): Define.
55817         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55818         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55819         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55820         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55821         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55822         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55823         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55824         (__ASSUME_ACCEPT4): Define instead of using previous
55825         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55826         __powerpc__ || __sparc__ || __s390__)] condition.
55827         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55828         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55829         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55830         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55831         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55832         [!__ASSUME_ACCEPT4]: Change condition to
55833         [!__ASSUME_ACCEPT4_SOCKETCALL].
55834         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55835         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55836         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55838         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55839         __ASSUME_ACCEPT4_SYSCALL.
55840         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55841         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55842         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55843         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55844         __ASSUME_ACCEPT4_SYSCALL.
55845         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55846         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55847         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55848         [__ASSUME_ACCEPT4]: Change condition to
55849         [__ASSUME_ACCEPT4_SOCKETCALL].
55850         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55851         (__ASSUME_SOCKETCALL): Define.
55852         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55854         (__ASSUME_SOCKETCALL): Define.
55855         (__ASSUME_ACCEPT4): Remove.
55856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55857         Define.
55858         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55859         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55860         Likewise.
55861         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55862         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55864         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55865         macro.
55866         (HWCAP_ARM_LPAE): Likewise.
55867         (HWCAP_ARM_EVTSTRM): Likewise.
55868         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55869         Add vpfd32, lpae and evtstrm.
55870         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55871         Increase to 22.
55873 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55875         * math/auto-libm-test-in: Add tests of clog10.
55876         * math/auto-libm-test-out: Regenerated.
55877         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55878         * sysdeps/i386/fpu/libm-test-ulps: Update.
55879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55881 2014-02-18  Andreas Schwab  <schwab@suse.de>
55883         [BZ #16574]
55884         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55885         Store non-zero if the second buffer was newly allocated.
55886         (send_dg): Likewise.
55887         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55888         to send_vc and send_dg.
55889         (res_nsend): Pass NULL for ansp2_malloced.
55890         * resolv/res_query.c (__libc_res_nquery): Add parameter
55891         answerp2_malloced and pass it down to __libc_res_nsend.
55892         (res_nquery): Pass additional NULL to __libc_res_nquery.
55893         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55894         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55895         second answer buffer if answerp2_malloced was set.
55896         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55897         (__libc_res_nquerydomain): Add parameter
55898         answerp2_malloced and pass it down to __libc_res_nquery.
55899         (res_nquerydomain): Pass additional NULL to
55900         __libc_res_nquerydomain.
55901         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55902         additional NULL to __libc_res_nsend and __libc_res_nquery.
55903         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55904         additional NULL to __libc_res_nsearch.
55905         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55906         parameter of __libc_res_nsearch to check for separately allocated
55907         second buffer.
55908         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55909         __libc_res_nquery.
55910         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55911         additional NULL to __libc_res_nquery.
55912         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55913         __libc_res_nsearch.
55914         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55915         * include/resolv.h: Update prototypes of __libc_res_nquery,
55916         __libc_res_nsearch, __libc_res_nsend.
55918 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55920         * math/auto-libm-test-in: Add tests of fma.
55921         * math/auto-libm-test-out: Regenerated.
55922         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55923         (fma_towardzero_test_data): Likewise.
55924         (fma_downward_test_data): Likewise.
55925         (fma_upward_test_data): Likewise.
55926         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55927         mpc_mode.
55928         (rounding_modes): Add values for new field.
55929         (func_calc_method): Add value mpfr_fff_f.
55930         (func_calc_desc): Add mpfr_fff_f union field.
55931         (test_function): Add field exact_args.
55932         (FUNC): Add macro argument EXACT_ARGS.
55933         (FUNC_mpfr_f_f): Update call to FUNC.
55934         (FUNC_mpfr_f_f): Likewise.
55935         (FUNC_mpfr_ff_f): Likewise.
55936         (FUNC_mpfr_if_f): Likewise.
55937         (FUNC_mpc_c_f): Likewise.
55938         (FUNC_mpc_c_c): Likewise.
55939         (test_functions): Add fma.  Update calls to FUNC.
55940         (handle_input_arg): Add argument exact_args.
55941         (add_test): Update call to handle_input_arg.
55942         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55943         (output_for_one_input_case): Update call to calc_generic_results.
55944         Recalculate exact zero results in each rounding mode.
55946         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55947         non-negative before setting low bit.
55948         * math/auto-libm-test-in: Mark one asin test possibly having
55949         spurious underflow.
55950         * math/auto-libm-test-out: Regenerated.
55951         * sysdeps/i386/fpu/libm-test-ulps: Update.
55952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55954 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55956         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55957         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55958         ports/sysdeps/unix/sysv/linux/microblaze.
55959         * README: Add missing listing for microblaze*-*-linux-gnu.
55961 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55964         duplicate code
55966 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55968         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55969         * sysdeps/unix/sysv/linux/ia64: Move directory from
55970         ports/sysdeps/unix/sysv/linux/ia64.
55971         * README: Update listing for ia64-*-linux-gnu.
55973 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55974             Joseph Myers  <joseph@codesourcery.com>
55976         * Makeconfig (test-name): New variable.
55977         (evaluate-test): Likewise.
55978         * Makerules (do-test-clean): Remove .test-result files.
55979         (common-mostlyclean): Likewise.
55980         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55981         * scripts/evaluate-test.sh: New file.
55983 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55985         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55986         separate $(objpfx)tst-fopenloc-cmp.out and
55987         $(objpfx)tst-fopenloc-mem.out targets.
55988         (tests): Update dependencies.
55989         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55990         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55991         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55992         (tst-rxspencer-no-utf8-ARGS): New variable.
55993         (tst-rxspencer-no-utf8-ENV): Likewise.
55994         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55995         instead of $(objpfx)tst-rxspencer-mem.
55996         ($(objpfx)tst-rxspencer-mem): Change target to
55997         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55998         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55999         * posix/tst-rxspencer-no-utf8.c: New file.
56001         * elf/Makefile ($(objpfx)order.out): Remove rule.
56002         [$(run-built-tests) = yes] (tests): Depend on
56003         $(objpfx)order-cmp.out.
56004         ($(objpfx)order-cmp.out): New rule.
56005         [$(run-built-tests) = yes] (tests): Depend on
56006         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56007         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56008         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56009         $(objpfx)tst-array5-static-cmp.out.
56010         ($(objpfx)tst-array1.out): Remove rule.
56011         ($(objpfx)tst-array1-cmp.out): New rule.
56012         ($(objpfx)tst-array1-static.out): Remove rule.
56013         ($(objpfx)tst-array1-static-cmp.out): New rule.
56014         ($(objpfx)tst-array2.out): Remove rule.
56015         ($(objpfx)tst-array2-cmp.out): New rule.
56016         ($(objpfx)tst-array3.out): Remove rule.
56017         ($(objpfx)tst-array3-cmp.out): New rule.
56018         ($(objpfx)tst-array4.out): Remove rule.
56019         ($(objpfx)tst-array4-cmp.out): New rule.
56020         ($(objpfx)tst-array5.out): Remove rule.
56021         ($(objpfx)tst-array5-cmp.out): New rule.
56022         ($(objpfx)tst-array5-static.out): Remove rule.
56023         ($(objpfx)tst-array5-static-cmp.out): New rule.
56024         [$(run-built-tests) = yes] (tests): Depend on
56025         $(objpfx)order2-cmp.out.
56026         ($(objpfx)order2.out): Remove rule.
56027         ($(objpfx)order2-cmp.out): New rule.
56028         ($(objpfx)tst-initorder.out): Remove rule.
56029         [$(run-built-tests) = yes] (tests): Depend on
56030         $(objpfx)tst-initorder-cmp.out.
56031         ($(objpfx)tst-initorder-cmp.out): New rule.
56032         ($(objpfx)tst-initorder2.out): Remove rule.
56033         [$(run-built-tests) = yes] (tests): Depend on
56034         $(objpfx)tst-initorder2-cmp.out.
56035         ($(objpfx)tst-initorder2-cmp.out): New rule.
56036         [$(run-built-tests) = yes] (tests): Depend on
56037         $(objpfx)tst-unused-dep-cmp.out.
56038         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56039         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56040         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56041         on $(objpfx)tst-setvbuf1-cmp.out.
56042         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56043         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56044         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56045         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56046         ($(objpfx)tst-svc.out): Remove rule.
56047         ($(objpfx)tst-svc-cmp.out): New rule.
56049 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56051         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56052         * ctype/ctype.h [__USE_MISC]: Likewise.
56053         * dirent/dirent.h [__USE_MISC]: Likewise.
56054         * grp/grp.h [__USE_MISC]: Likewise.
56055         * io/fcntl.h [__USE_MISC]: Likewise.
56056         * io/sys/stat.h [__USE_MISC]: Likewise.
56057         * libio/stdio.h [__USE_MISC]: Likewise.
56058         * posix/unistd.h [__USE_MISC]: Likewise.
56059         * pwd/pwd.h [__USE_MISC]: Likewise.
56060         * stdlib.h [__USE_MISC]: Likewise.
56061         * string/bits/string2.h [__USE_MISC]: Likewise.
56062         * string/string.h [__USE_MISC]: Likewise.
56063         * time/time.h [__USE_MISC]: Likewise.
56065 2014-02-13  Andreas Schwab  <schwab@suse.de>
56067         [BZ #16574]
56068         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56069         second answer buffer if it was separately allocated.
56071 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56073         * sysdeps/mips/math-tests.h: Include <features.h>.
56074         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56075         (ROUNDING_TESTS_long_double): Do not define.
56076         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56077         (EXCEPTION_TESTS_long_double): Likewise.
56078         * sysdeps/mips/mips64/libm-test-ulps: Update.
56080         * include/features.h (__USE_BSD): Remove macro definitions.
56081         (__USE_SVID): Likewise.
56082         (_BSD_SOURCE): Likewise.
56083         (_SVID_SOURCE): Likewise.
56084         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56085         from definition of _DEFAULT_SOURCE.
56086         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56087         [_DEFAULT_SOURCE].
56088         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56089         * bits/mman.h [__USE_BSD]: Likewise.
56090         * bits/termios.h [__USE_BSD]: Likewise.
56091         * bits/waitstatus.h [__USE_BSD]: Likewise.
56092         * ctype/ctype.h [__USE_SVID]: Likewise.
56093         * dirent/dirent.h [__USE_BSD]: Likewise.
56094         * grp/grp.h [__USE_SVID]: Likewise.
56095         [__USE_BSD]: Likewise.
56096         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56097         * io/fcntl.h [__USE_BSD]: Likewise.
56098         * io/ftw.h [__USE_BSD]: Likewise.
56099         * io/sys/stat.h [__USE_BSD]: Likewise.
56100         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56101         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56102         * libio/stdio.h [__USE_SVID]: Likewise.
56103         [__USE_BSD]: Likewise.
56104         * math/math.h [__USE_SVID]: Likewise.
56105         [__USE_BSD]: Likewise.
56106         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56107         * misc/bits/syslog.h [__USE_BSD]: Likewise.
56108         * misc/search.h [__USE_SVID]: Likewise.
56109         * misc/sys/mman.h [__USE_BSD]: Likewise.
56110         * misc/sys/syslog.h [__USE_BSD]: Likewise.
56111         * misc/sys/uio.h [__USE_BSD]: Likewise.
56112         * posix/bits/unistd.h [__USE_BSD]: Likewise.
56113         * posix/glob.h [__USE_BSD]: Likewise.
56114         * posix/regex.h [__USE_BSD]: Likewise.
56115         * posix/sys/types.h [__USE_BSD]: Likewise.
56116         [__USE_SVID]: Likewise.
56117         * posix/sys/utsname.h [__USE_SVID]: Likewise.
56118         * posix/sys/wait.h [__USE_BSD]: Likewise.
56119         [__USE_SVID]: Likewise.
56120         * posix/unistd.h [__USE_BSD]: Likewise.
56121         [__USE_SVID]: Likewise.
56122         * pwd/pwd.h [__USE_SVID]: Likewise.
56123         * resolv/netdb.h [__USE_BSD]: Likewise.
56124         * setjmp/setjmp.h [__USE_BSD]: Likewise.
56125         * signal/signal.h [__USE_BSD]: Likewise.
56126         [__USE_SVID]: Likewise.
56127         * socket/sys/socket.h [__USE_BSD]: Likewise.
56128         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56129         * stdlib/stdlib.h [__USE_BSD]: Likewise.
56130         [__USE_SVID]: Likewise.
56131         * string/bits/string2.h [__USE_BSD]: Likewise.
56132         [__USE_SVID]: Likewise.
56133         * string/bits/string3.h [__USE_BSD]: Likewise.
56134         * string/endian.h [__USE_BSD]: Likewise.
56135         * string/string.h [__USE_SVID]: Likewise.
56136         [__USE_BSD]: Likewise.
56137         * string/strings.h [__USE_BSD]: Likewise.
56138         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56139         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56140         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56141         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56142         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56143         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56144         Likewise.
56145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56146         Likewise.
56147         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56148         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56149         Likewise.
56150         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56151         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56152         Likewise.
56153         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56154         Likewise.
56155         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56156         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56157         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56158         Likewise.
56159         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56160         Likewise.
56161         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56162         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56163         * termios/termios.h [__USE_BSD]: Likewise.
56164         * time/sys/time.h [__USE_BSD]: Likewise.
56165         * time/time.h [__USE_BSD]: Likewise.
56166         [__USE_SVID]: Likewise.
56168         * Makefile (subdir_targets): Remove subdir_lint.out.
56170         * stdio-common/Makefile (do-tst-unbputc): Remove target.
56171         (do-tst-printf): Likewise.
56172         (tests): Depend directly on $(objpfx)tst-unbputc.out and
56173         $(objpfx)tst-printf.out.
56175         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56177         * Makerules (check-abi-%): Change target to
56178         $(objpfx)check-abi-%.out.
56179         (check-abi target): Update dependencies.
56180         (check-abi-pattern variable): Redirect output of diff to $@.
56181         (check-abi variable): Likewise.
56182         * elf/Makefile (check-abi): Update dependencies.
56184         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56185         unused.
56186         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56187         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56188         subnormal range.
56189         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56190         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56191         value has largest subnormal exponent.
56192         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56193         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56194         * sysdeps/aarch64/soft-fp/sfp-machine.h
56195         (_FP_TININESS_AFTER_ROUNDING): New macro.
56196         * sysdeps/alpha/soft-fp/sfp-machine.h
56197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56198         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56199         Likewise.
56200         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56201         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56202         * sysdeps/mips/soft-fp/sfp-machine.h
56203         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56204         * sysdeps/powerpc/soft-fp/sfp-machine.h
56205         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56206         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56207         Likewise.
56208         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56209         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56210         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56211         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56212         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56213         Likewise.
56215 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
56217         [BZ #16545]
56218         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56219         model 1.
56221 2014-02-12  Richard Henderson  <rth@redhat.com>
56223         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56224         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56225         * sysdeps/unix/sysv/linux/alpha: Move directory from
56226         ports/sysdeps/unix/sysv/linux/alpha.
56227         * README: Update listing for alpha-*-linux-gnu.
56229 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
56231         * include/features.h: Update comment documenting feature test
56232         macros.
56233         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
56234         _DEFAULT_SOURCE.
56235         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56236         (_SVID_SOURCE): Likewise.
56237         (_DEFAULT_SOURCE): Update description of default features.
56238         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56239         with _GNU_SOURCE.
56240         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56241         (S_ISVTX): Likewise.
56242         * manual/math.texi (Mathematical Constants): Likewise.
56243         * manual/signal.texi (Interrupted Primitives): Likewise.
56244         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56245         * math/test-matherr.c (_SVID_SOURCE): Do not define.
56246         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56247         Don't refer to _SVID_SOURCE in warning text.
56249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56251         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56252         already defined.
56253         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56254         * sysdeps/mips/dl-lookup.c: Remove.
56255         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56257 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
56259         [BZ #16447]
56260         * math/auto-libm-test-in: Add testcase for expl.
56261         * math/auto-libm-test-out: Regenerate.
56262         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56263         calculation of unsafe.
56264         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56266 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
56268         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56269         * sysdeps/unix/sysv/linux/aarch64: Move directory from
56270         ports/sysdeps/unix/sysv/linux/aarch64.
56271         * README: Update listing for aarch64*-*-linux-gnu.
56273 2014-02-11  Will Newton  <will.newton@linaro.org>
56275         * manual/probes.texi (Mathematical Function Probes): Use
56276         "triggered" instead of "hit".
56278         * manual/probes.texi (Internal Probes): Add documentation
56279         of setjmp, longjmp and longjmp_target probes.
56281         * include/stap-probe.h: Add comment about probe argument
56282         format.
56284         * malloc/mtrace.c (attribute_hidden): Remove unused macro
56285         definition.  (tr_where, tr_freehook, tr_mallochook,
56286         tr_reallochook, tr_memalignhook): Use ANSI protoype.
56288 2014-02-11  David S. Miller  <davem@davemloft.net>
56290         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56291         processing int_tests.
56293 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
56295         * sysdeps/mips: Move directory from ports/sysdeps/mips.
56296         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56297         * sysdeps/unix/sysv/linux/mips: Move directory from
56298         ports/sysdeps/unix/sysv/linux/mips.
56299         * README: Update listing for mips-*-linux-gnu and
56300         mips64-*-linux-gnu.
56302 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
56304         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56305         * sysdeps/unix/sysv/linux/m68k: Move directory from
56306         ports/sysdeps/unix/sysv/linux/m68k.
56307         * README: Update listing for m68k-*-linux-gnu.
56309 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
56311         * sysdeps/tile: Move directory from ports/sysdeps/tile.
56312         * sysdeps/unix/sysv/linux/generic: Move directory from
56313         ports/sysdeps/unix/sysv/linux/generic.
56314         * sysdeps/unix/sysv/linux/tile: Move directory from
56315         ports/sysdeps/unix/sysv/linux/tile.
56316         * README: Update listing for tile*-*-linux-gnu.
56318 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
56320         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56321         __builtin_expect.
56322         * benchtests/bench-memmem.c (simple_memmem): Likewise.
56323         * catgets/open_catalog.c (__open_catalog): Likewise.
56324         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56325         * debug/confstr_chk.c: Likewise.
56326         * debug/fread_chk.c (__fread_chk): Likewise.
56327         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56328         * debug/getgroups_chk.c: Likewise.
56329         * debug/mbsnrtowcs_chk.c: Likewise.
56330         * debug/mbsrtowcs_chk.c: Likewise.
56331         * debug/mbstowcs_chk.c: Likewise.
56332         * debug/memcpy_chk.c: Likewise.
56333         * debug/memmove_chk.c: Likewise.
56334         * debug/mempcpy_chk.c: Likewise.
56335         * debug/memset_chk.c: Likewise.
56336         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56337         * debug/strcat_chk.c (__strcat_chk): Likewise.
56338         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56339         * debug/strncat_chk.c (__strncat_chk): Likewise.
56340         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56341         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56342         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56343         * debug/wcpncpy_chk.c: Likewise.
56344         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56345         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56346         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56347         * debug/wcsncpy_chk.c: Likewise.
56348         * debug/wcsnrtombs_chk.c: Likewise.
56349         * debug/wcsrtombs_chk.c: Likewise.
56350         * debug/wcstombs_chk.c: Likewise.
56351         * debug/wmemcpy_chk.c: Likewise.
56352         * debug/wmemmove_chk.c: Likewise.
56353         * debug/wmempcpy_chk.c: Likewise.
56354         * debug/wmemset_chk.c: Likewise.
56355         * dirent/scandirat.c (SCANDIRAT): Likewise.
56356         * dlfcn/dladdr1.c (dladdr1): Likewise.
56357         * dlfcn/dladdr.c (dladdr): Likewise.
56358         * dlfcn/dlclose.c (dlclose_doit): Likewise.
56359         * dlfcn/dlerror.c (__dlerror): Likewise.
56360         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56361         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56362         * dlfcn/dlopen.c (dlopen_doit): Likewise.
56363         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56364         * dlfcn/dlsym.c (dlsym_doit): Likewise.
56365         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56366         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56367         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56368         Likewise.
56369         * elf/dl-conflict.c: Likewise.
56370         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56371         * elf/dl-dst.h: Likewise.
56372         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56373         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56374         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56375         * elf/dl-init.c (call_init, _dl_init): Likewise.
56376         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56377         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56378         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56379         Likewise.
56380         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56381         Likewise.
56382         * elf/dl-minimal.c (__libc_memalign): Likewise.
56383         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56384         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56385         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56386         * elf/dl-sym.c (do_sym): Likewise.
56387         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56388         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56389         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56390         * elf/dl-writev.h (_dl_writev): Likewise.
56391         * elf/ldconfig.c (search_dir): Likewise.
56392         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56393         (dl_main): Likewise.
56394         * elf/setup-vdso.h (setup_vdso): Likewise.
56395         * grp/compat-initgroups.c (compat_call): Likewise.
56396         * grp/fgetgrent.c (fgetgrent): Likewise.
56397         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56398         * grp/putgrent.c (putgrent): Likewise.
56399         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56400         Likewise.
56401         * hurd/hurdinit.c: Likewise.
56402         * iconvdata/8bit-gap.c (struct): Likewise.
56403         * iconvdata/ansi_x3.110.c : Likewise.
56404         * iconvdata/big5.c : Likewise.
56405         * iconvdata/big5hkscs.c : Likewise.
56406         * iconvdata/cp1255.c: Likewise.
56407         * iconvdata/cp1258.c : Likewise.
56408         * iconvdata/cp932.c : Likewise.
56409         * iconvdata/euc-cn.c: Likewise.
56410         * iconvdata/euc-jisx0213.c : Likewise.
56411         * iconvdata/euc-jp.c: Likewise.
56412         * iconvdata/euc-jp-ms.c : Likewise.
56413         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56414         * iconvdata/gb18030.c : Likewise.
56415         * iconvdata/gbbig5.c (const): Likewise.
56416         * iconvdata/gbgbk.c: Likewise.
56417         * iconvdata/gbk.c : Likewise.
56418         * iconvdata/ibm1364.c : Likewise.
56419         * iconvdata/ibm930.c : Likewise.
56420         * iconvdata/ibm932.c: Likewise.
56421         * iconvdata/ibm933.c : Likewise.
56422         * iconvdata/ibm935.c : Likewise.
56423         * iconvdata/ibm937.c : Likewise.
56424         * iconvdata/ibm939.c : Likewise.
56425         * iconvdata/ibm943.c: Likewise.
56426         * iconvdata/iso_11548-1.c: Likewise.
56427         * iconvdata/iso-2022-cn.c : Likewise.
56428         * iconvdata/iso-2022-cn-ext.c : Likewise.
56429         * iconvdata/iso-2022-jp-3.c: Likewise.
56430         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56431         * iconvdata/iso-2022-kr.c : Likewise.
56432         * iconvdata/iso646.c (gconv_end): Likewise.
56433         * iconvdata/iso_6937-2.c : Likewise.
56434         * iconvdata/iso_6937.c : Likewise.
56435         * iconvdata/iso8859-1.c: Likewise.
56436         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56437         * iconvdata/shift_jisx0213.c : Likewise.
56438         * iconvdata/sjis.c : Likewise.
56439         * iconvdata/t.61.c : Likewise.
56440         * iconvdata/tcvn5712-1.c : Likewise.
56441         * iconvdata/tscii.c: Likewise.
56442         * iconvdata/uhc.c : Likewise.
56443         * iconvdata/unicode.c (gconv_end): Likewise.
56444         * iconvdata/utf-16.c (gconv_end): Likewise.
56445         * iconvdata/utf-32.c (gconv_end): Likewise.
56446         * iconvdata/utf-7.c (base64): Likewise.
56447         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56448         * iconv/gconv_close.c (__gconv_close): Likewise.
56449         * iconv/gconv_open.c (__gconv_open): Likewise.
56450         * iconv/gconv_simple.c (internal_ucs4_loop_single)
56451         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56452         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56453         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56454         (ucs4le_internal_loop_single): Likewise.
56455         * iconv/iconv.c (iconv): Likewise.
56456         * iconv/iconv_close.c: Likewise.
56457         * iconv/loop.c (SINGLE): Likewise.
56458         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56459         * include/atomic.h: Likewise.
56460         * inet/inet6_option.c (option_alloc): Likewise.
56461         * intl/bindtextdom.c (set_binding_values): Likewise.
56462         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56463         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56464         * intl/localealias.c (read_alias_file): Likewise.
56465         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56466         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56467         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56468         * libio/fmemopen.c (fmemopen): Likewise.
56469         * libio/iofgets.c (_IO_fgets): Likewise.
56470         * libio/iofgets_u.c (fgets_unlocked): Likewise.
56471         * libio/iofgetws.c (fgetws): Likewise.
56472         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56473         * libio/iogetdelim.c (_IO_getdelim): Likewise.
56474         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56475         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56476         * locale/findlocale.c (_nl_find_locale): Likewise.
56477         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56478         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56479         Likewise.
56480         * locale/setlocale.c (setlocale): Likewise.
56481         * login/programs/pt_chown.c (main): Likewise.
56482         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56483         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56484         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56485         (mmap, mmap64, mremap, munmap): Likewise.
56486         * math/e_exp2l.c: Likewise.
56487         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56488         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56489         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56490         * math/s_catan.c (__catan): Likewise.
56491         * math/s_catanf.c (__catanf): Likewise.
56492         * math/s_catanh.c (__catanh): Likewise.
56493         * math/s_catanhf.c (__catanhf): Likewise.
56494         * math/s_catanhl.c (__catanhl): Likewise.
56495         * math/s_catanl.c (__catanl): Likewise.
56496         * math/s_ccosh.c (__ccosh): Likewise.
56497         * math/s_ccoshf.c (__ccoshf): Likewise.
56498         * math/s_ccoshl.c (__ccoshl): Likewise.
56499         * math/s_cexp.c (__cexp): Likewise.
56500         * math/s_cexpf.c (__cexpf): Likewise.
56501         * math/s_cexpl.c (__cexpl): Likewise.
56502         * math/s_clog10.c (__clog10): Likewise.
56503         * math/s_clog10f.c (__clog10f): Likewise.
56504         * math/s_clog10l.c (__clog10l): Likewise.
56505         * math/s_clog.c (__clog): Likewise.
56506         * math/s_clogf.c (__clogf): Likewise.
56507         * math/s_clogl.c (__clogl): Likewise.
56508         * math/s_csin.c (__csin): Likewise.
56509         * math/s_csinf.c (__csinf): Likewise.
56510         * math/s_csinh.c (__csinh): Likewise.
56511         * math/s_csinhf.c (__csinhf): Likewise.
56512         * math/s_csinhl.c (__csinhl): Likewise.
56513         * math/s_csinl.c (__csinl): Likewise.
56514         * math/s_csqrt.c (__csqrt): Likewise.
56515         * math/s_csqrtf.c (__csqrtf): Likewise.
56516         * math/s_csqrtl.c (__csqrtl): Likewise.
56517         * math/s_ctan.c (__ctan): Likewise.
56518         * math/s_ctanf.c (__ctanf): Likewise.
56519         * math/s_ctanh.c (__ctanh): Likewise.
56520         * math/s_ctanhf.c (__ctanhf): Likewise.
56521         * math/s_ctanhl.c (__ctanhl): Likewise.
56522         * math/s_ctanl.c (__ctanl): Likewise.
56523         * math/w_pow.c: Likewise.
56524         * math/w_powf.c: Likewise.
56525         * math/w_powl.c: Likewise.
56526         * math/w_scalb.c (sysv_scalb): Likewise.
56527         * math/w_scalbf.c (sysv_scalbf): Likewise.
56528         * math/w_scalbl.c (sysv_scalbl): Likewise.
56529         * misc/error.c (error_tail): Likewise.
56530         * misc/pselect.c (__pselect): Likewise.
56531         * nis/nis_callback.c (__nis_create_callback): Likewise.
56532         * nis/nis_call.c (__nisfind_server): Likewise.
56533         * nis/nis_creategroup.c (nis_creategroup): Likewise.
56534         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56535         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56536         * nis/nis_getservlist.c (nis_getservlist): Likewise.
56537         * nis/nis_lookup.c (nis_lookup): Likewise.
56538         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56539         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56540         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56541         * nis/nis_xdr.c (xdr_endpoint): Likewise.
56542         * nis/nss_compat/compat-grp.c (getgrent_next_file)
56543         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56544         * nis/nss_compat/compat-initgroups.c (add_group)
56545         (internal_getgrent_r): Likewise.
56546         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56547         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56548         * nis/nss_compat/compat-spwd.c (getspent_next_file)
56549         (internal_getspnam_r): Likewise.
56550         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56551         (_nss_nis_getaliasbyname_r): Likewise.
56552         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56553         (_nss_nis_getntohost_r): Likewise.
56554         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56555         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56556         (_nss_nis_getgrgid_r): Likewise.
56557         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56558         (internal_nis_gethostent_r, internal_gethostbyname2_r)
56559         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56560         (_nss_nis_gethostbyname4_r): Likewise.
56561         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56562         (initgroups_netid): Likewise.
56563         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56564         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56565         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56566         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56567         (_nss_nis_getprotobynumber_r): Likewise.
56568         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56569         (_nss_nis_getsecretkey): Likewise.
56570         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56571         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56572         (_nss_nis_getpwuid_r): Likewise.
56573         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56574         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56575         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56576         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56577         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56578         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56579         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56580         Likewise.
56581         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56582         (_nss_nisplus_getntohost_r): Likewise.
56583         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56584         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56585         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56586         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56587         Likewise.
56588         * nis/nss_nisplus/nisplus-initgroups.c
56589         (_nss_nisplus_initgroups_dyn): Likewise.
56590         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56591         (_nss_nisplus_getnetbyaddr_r): Likewise.
56592         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56593         (_nss_nisplus_getprotobynumber_r): Likewise.
56594         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56595         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56596         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56597         Likewise.
56598         * nis/nss_nisplus/nisplus-service.c
56599         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56600         (_nss_nisplus_getservbyport_r): Likewise.
56601         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56602         (_nss_nisplus_getspnam_r): Likewise.
56603         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56604         Likewise.
56605         * nscd/aicache.c (addhstaiX): Likewise.
56606         * nscd/cache.c (cache_search, prune_cache): Likewise.
56607         * nscd/connections.c (register_traced_file, send_ro_fd)
56608         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56609         (main_loop_epoll): Likewise.
56610         * nscd/grpcache.c (addgrbyX): Likewise.
56611         * nscd/hstcache.c (addhstbyX): Likewise.
56612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56613         * nscd/mem.c (gc, mempool_alloc): Likewise.
56614         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56615         (addinnetgrX): Likewise.
56616         * nscd/nscd-client.h (__nscd_acquire_maplock)
56617         (__nscd_drop_map_ref): Likewise.
56618         * nscd/nscd_getai.c (__nscd_getai): Likewise.
56619         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56620         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56621         Likewise.
56622         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56623         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56624         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56625         (__nscd_get_map_ref): Likewise.
56626         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56627         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56628         Likewise.
56629         * nscd/pwdcache.c (addpwbyX): Likewise.
56630         * nscd/selinux.c (preserve_capabilities): Likewise.
56631         * nscd/servicescache.c (addservbyX): Likewise.
56632         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56633         * posix/fnmatch.c (fnmatch): Likewise.
56634         * posix/getopt.c (_getopt_internal_r): Likewise.
56635         * posix/glob.c (glob, glob_in_dir): Likewise.
56636         * posix/wordexp.c (exec_comm_child): Likewise.
56637         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56638         (getanswer_r, gaih_getanswer_slice): Likewise.
56639         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56640         * resolv/res_init.c: Likewise.
56641         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56642         * resolv/res_query.c (__libc_res_nquery): Likewise.
56643         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56644         Likewise.
56645         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56646         * stdio-common/perror.c (perror): Likewise.
56647         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56648         * stdio-common/tmpnam.c (tmpnam): Likewise.
56649         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56650         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56651         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56652         Likewise.
56653         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56654         * stdlib/putenv.c (putenv): Likewise.
56655         * stdlib/setenv.c (__add_to_environ): Likewise.
56656         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56657         * stdlib/strtol_l.c (INTERNAL): Likewise.
56658         * string/memmem.c (memmem): Likewise.
56659         * string/strerror.c (strerror): Likewise.
56660         * string/strnlen.c (__strnlen): Likewise.
56661         * string/test-memmem.c (simple_memmem): Likewise.
56662         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56663         * sunrpc/pm_getport.c (__get_socket): Likewise.
56664         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56665         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56666         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56667         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56668         Likewise.
56669         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56670         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56671         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56672         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56673         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56674         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56675         Likewise.
56676         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56677         Likewise.
56678         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56679         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56681         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56682         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56684         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56685         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56686         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56687         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56688         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56689         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56690         Likewise.
56691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56692         Likewise.
56693         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56694         Likewise.
56695         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56697         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56698         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56699         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56700         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56701         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56704         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56705         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56707         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56708         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56711         Likewise.
56712         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56713         Likewise.
56714         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56715         Likewise.
56716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56717         Likewise.
56718         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56720         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56721         Likewise.
56722         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56723         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56724         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56725         * sysdeps/posix/sleep.c: Likewise.
56726         * sysdeps/posix/tempname.c: Likewise.
56727         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56728         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56729         Likewise.
56730         * sysdeps/powerpc/powerpc32/dl-machine.h
56731         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56732         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56734         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56735         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56736         Likewise.
56737         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56739         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56740         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56741         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56742         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56743         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56744         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56745         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56746         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56748         (elf_machine_lazy_rel): Likewise.
56749         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56750         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56751         (elf_machine_lazy_rel): Likewise.
56752         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56753         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56754         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56755         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56756         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56757         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56758         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56760         Likewise.
56761         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56762         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56763         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56764         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56765         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56766         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56767         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56768         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56769         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56770         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56771         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56772         Likewise.
56773         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56774         (__posix_fallocate64_l64): Likewise.
56775         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56776         (posix_fallocate): Likewise.
56777         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56778         Likewise.
56779         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56780         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56781         (getifaddrs_internal): Likewise.
56782         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56783         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56784         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56785         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56786         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56787         (__posix_fallocate64_l64): Likewise.
56788         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56789         Likewise.
56790         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56791         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56792         (__get_clockfreq): Likewise.
56793         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56794         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56795         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56798         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56799         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56800         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56801         Likewise.
56802         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56803         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56804         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56806         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56807         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56808         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56809         Likewise.
56810         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56811         (posix_fallocate): Likewise.
56812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56813         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56814         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56815         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56816         (elf_machine_rela, elf_machine_rela_relative)
56817         (elf_machine_lazy_rel): Likewise.
56818         * time/asctime.c (asctime_internal): Likewise.
56819         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56820         * time/tzset.c (__tzset_parse_tz): Likewise.
56821         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56822         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56823         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56824         * wcsmbs/wcsmbsload.h: Likewise.
56826         [BZ #15894]
56827         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56829         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56830         (arena_get2): Remove THREAD_STATS conditionals.
56831         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56832         (__malloc_stats, int): Likewise.
56834 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56836         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56837         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56839         * manual/setjmp.texi: Fix typos/grammar errors.
56841         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56842         Only return early when n is <= 0.  Delete unused return statement.
56844         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56845         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56846         * debug/tst-longjmp_chk3.c: New file.
56848         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56849         (test_main): Replace code with set_fortify_handler call.
56850         * debug/test-strcpy_chk.c: Likewise.
56851         * debug/tst-chk1.c: Likewise.
56852         * debug/tst-longjmp_chk.c: Likewise.
56853         * test-skeleton.c: Include fcntl.h & paths.h
56854         (set_fortify_handler): Define.
56856         * debug/tst-longjmp_chk.c: Add header comment and include
56857         ../test-skeleton.c.
56858         (do_test): Mark static.
56859         (TEST_FUNCTION): Define.
56861         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56862         (IP_PMTUDISC_INTERFACE): Likewise.
56863         (IP_MULTICAST_IF): Likewise.
56864         (IP_MULTICAST_TTL): Likewise.
56865         (IP_MULTICAST_LOOP): Likewise.
56866         (IP_ADD_MEMBERSHIP): Likewise.
56867         (IP_DROP_MEMBERSHIP): Likewise.
56868         (IP_UNBLOCK_SOURCE): Likewise.
56869         (IP_BLOCK_SOURCE): Likewise.
56870         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56871         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56872         (IP_MSFILTER): Likewise.
56873         (MCAST_JOIN_GROUP): Likewise.
56874         (MCAST_BLOCK_SOURCE): Likewise.
56875         (MCAST_UNBLOCK_SOURCE): Likewise.
56876         (MCAST_LEAVE_GROUP): Likewise.
56877         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56878         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56879         (MCAST_MSFILTER): Likewise.
56880         (IP_MULTICAST_ALL): Likewise.
56881         (IP_UNICAST_IF): Likewise.
56883         * timezone/Makefile: Delete $(have-ksh) check.
56884         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56885         * timezone/tzselect.ksh: Add +x mode bits.
56887         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56888         (ANON_INODE_FS_MAGIC): Likewise.
56889         (BDEVFS_MAGIC): Likewise.
56890         (BINFMTFS_MAGIC): Likewise.
56891         (BTRFS_TEST_MAGIC): Likewise.
56892         (CRAMFS_MAGIC_WEND): Likewise.
56893         (DEBUGFS_MAGIC): Likewise.
56894         (ECRYPTFS_SUPER_MAGIC): Likewise.
56895         (EXT3_SUPER_MAGIC): Likewise.
56896         (EXT4_SUPER_MAGIC): Likewise.
56897         (FUTEXFS_SUPER_MAGIC): Likewise.
56898         (HOSTFS_SUPER_MAGIC): Likewise.
56899         (HUGETLBFS_MAGIC): Likewise.
56900         (MINIX3_SUPER_MAGIC): Likewise.
56901         (MTD_INODE_FS_MAGIC): Likewise.
56902         (NILFS_SUPER_MAGIC): Likewise.
56903         (OPENPROM_SUPER_MAGIC): Likewise.
56904         (PIPEFS_MAGIC): Likewise.
56905         (PSTOREFS_MAGIC): Likewise.
56906         (QNX6_SUPER_MAGIC): Likewise.
56907         (RAMFS_MAGIC): Likewise.
56908         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56909         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56910         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56911         (SECURITYFS_MAGIC): Likewise.
56912         (SELINUX_MAGIC): Likewise.
56913         (SMACK_MAGIC): Likewise.
56914         (SOCKFS_MAGIC): Likewise.
56915         (SQUASHFS_MAGIC): Likewise.
56916         (STACK_END_MAGIC): Likewise.
56917         (TMPFS_MAGIC): Likewise.
56918         (USBDEVICE_SUPER_MAGIC): Likewise.
56919         (V9FS_MAGIC): Likewise.
56920         (XENFS_SUPER_MAGIC): Likewise.
56921         (CRAMFS_MAGIC): Fix typo in comment.
56922         (EXT2_SUPER_MAGIC): Update comment.
56923         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56925 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56927         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56928         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56929         * sysdeps/unix/sysv/linux/arm: Move directory from
56930         ports/sysdeps/unix/sysv/linux/arm.
56931         * README: Update listing for arm-*-linux-gnueabi.
56933         * README: Remove mention of am33.
56935 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56937         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56938         than the comma operator, to avoid "rhs of comma has no effect"
56939         compiler warnings.
56940         (__sigfillset, __sigandset, __sigorset): Likewise.
56941         * include/signal.h (__sigemptyset): Likewise.
56942         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56944 2014-02-07  Allan McRae  <allan@archlinux.org>
56946         * version.h (RELEASE): Set to "development".
56947         (VERSION): Set to "2.19.90"
56948         * NEWS: Add 2.20 section.
56950 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56952         [BZ #16529]
56953         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56955 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56957         * manual/contrib.texi: Update entry for Carlos O'Donell,
56958         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56960 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56962         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56964         * sysdeps/unix/sysv/linux/kernel-features.h
56965         [__LINUX_KERNEL_VERSION >= 0x020621]
56966         (__ASSUME_PROC_PID_TASK_COMM): Define.
56968 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56970         [BZ #16398]
56971         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56972         conversion when destination buffer does not have enough space.
56973         * libio/tst-ftell-partial-wide.c: New test case.
56974         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56976         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56977         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56978         Leonard and Allan McRae.
56980 2014-02-04  David S. Miller  <davem@davemloft.net>
56982         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56983         32-bit.
56985 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56988         New file
56989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56990         New file
56991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56992         New file.
56993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56994         New file.
56995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56996         New file.
56997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56998         New file.
56999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57000         New file.
57001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57002         New file.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57004         New file.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57006         New file.
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57008         New file.
57009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57010         New file.
57011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57012         New file.
57014 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57016         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57017         * shlib-versions: Likewise.
57019 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57020             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57022         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57023         (abilist-pattern): New variable, set to %-le.abilist.
57025         * Makerules (abilist-pattern): New variable.
57026         (vpath): Use $(abilist-pattern) in place of %.abilist.
57027         (check-abi-% pattern rule): Likewise.
57028         (check-abi, update-abi): Likewise.
57030 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57034 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57036         * manual/startup.texi: Add next, previous, and top entries for
57037         the `Program Arguments' and `Environment Variables' nodes.
57039 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57041         * manual/macros.texi: Add comments before MTASC-safety macros.
57043         * manual/users.texi: Document MTASC-safety properties.
57045         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57046         (pthread_getspecific, pthread_setspecific): Format with
57047         @deftypefun, and add @safety note.
57048         * manual/signal.texi: Move comments that analyze the above
57049         functions to their home place.
57051 2014-02-03  Allan McRae  <allan@archlinux.org>
57053         * po/sl.po: Update Slovenian translation from translation project.
57055 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57057         * manual/time.texi (timegm): Add missing blank after @c.
57058         Reported by Joseph Myers <joseph@codesourcery.com>.
57060 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57062         * manual/check-safety.sh: New.
57063         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57065         * manual/terminal.texi: Document MTASC-safety properties.
57067         * manual/filesys.texi: Document MTASC-safety properties.
57069         * manual/errno.texi: Document MTASC-safety properties.
57071         * manual/intro.texi: Document safety identifiers and
57072         conditionals.
57074         * manual/string.texi (wcstok): Fix prototype.
57075         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57077         * manual/time.texi: Document MTASC-safety properties.
57079         * manual/string.texi: Document MTASC-safety properties.
57081         * manual/threads.texi: Document MTASC-safety properties.
57083         * manual/stdio.texi: Document MTASC-safety properties.
57085         * manual/syslog.texi: Document MTASC-safety properties.
57087         * manual/sysinfo.texi: Document MTASC-safety properties.
57089         * manual/startup.texi: Document MTASC-safety properties.
57091         * manual/socket.texi: Document MTASC-safety properties.
57093         * manual/signal.texi: Document MTASC-safety properties.
57095 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57097         * manual/setjmp.texi: Document MTASC-safety properties.
57099         * manual/search.texi: Document MTASC-safety properties.
57101         * manual/resource.texi: Document MTASC-safety properties.
57103         * manual/process.texi: Document MTASC-safety properties.
57105         * manual/platform.texi: Document MTASC-safety properties.
57107         * manual/pipe.texi: Document MTASC-safety properties.
57109         * manual/pattern.texi: Document MTASC-safety properties.
57111         * manual/message.texi: Document MTASC-safety properties.
57113         [BZ #12751]
57114         * manual/memory.texi: Document MTASC-safety properties.
57116         * manual/math.texi: Document MTASC-safety properties.
57118         * manual/locale.texi: Document MTASC-safety properties.
57120         * manual/llio.texi: Document MTASC-safety properties.
57122         * manual/libdl.texi: New.
57124         * manual/lang.texi: Document MTASC-safety properties.
57126         * manual/job.texi: Document MTASC-safety properties.
57128         * manual/getopt.texi: Document MTASC-safety properties.
57130         * manual/ctype.texi: Document MTASC-safety properties.
57132 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
57134         [BZ #16046]
57135         * csu/libc-tls.c (static_map): Remove variable.
57136         (__libc_setup_tls): Use main executable's link map for TLS data.
57137         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57138         casing for LM_ID_BASE and GL(dl_nns).
57139         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57140         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
57141         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57142         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57143         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57144         member.
57145         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57146         l_phnum members.
57148 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
57150         * manual/debug.texi: Document MTASC-safety properties.
57152 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
57154         [BZ #16510]
57155         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57156         of __x86_64__ when disabling x87 inline functions.
57158 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
57160         * manual/charset.texi: Document MTASC-safety properties.
57162         * manual/crypt.texi: Document MTASC-safety properties.
57164         * manual/conf.texi: Document MTASC-safety properties.
57166         * manual/arith.texi: Document MTASC-safety properties.
57168         * manual/argp.texi: Document MTASC-safety properties.
57170         * manual/macros.texi: Introduce macros to document multi
57171         thread, asynchronous signal and asynchronous cancellation
57172         safety properties.
57173         * manual/intro.texi: Introduce the properties themselves.
57175 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57177         * sysdeps/sh/sh4/Makefile: New file.
57179 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
57181         * math/gen-libm-test.pl ($srcdir): New variable.
57182         ($auto_input): Use it.
57184 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57186         [BZ #16506]
57187         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57188         access beyond array bounds when parsing netgroups file.
57190         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57191         the old buffer before realloc.
57193 2014-01-27  Allan McRae  <allan@archlinux.org>
57195         * po/fr.po: Update French translation from translation project.
57197 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57199         * sysdeps/sh/libm-test-ulps: Regenerate.
57201 2014-01-24  David S. Miller  <davem@davemloft.net>
57203         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57205 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57208         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57210 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57212         [BZ #16474]
57213         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57214         string pointers after reallocation.
57216 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57218         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57219         __SH4A__ instead of __SH_FPU_ANY__.
57221 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57223         * sysdeps/sh/fpu_control.h: New file.
57224         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57225         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57226         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57227         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57228         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57229         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57230         * sysdeps/sh/sys/ucontext.h: Remove.
57231         * sysdeps/sh/sys: Remove directory.
57233 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57235         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57236         s390/sys/ucontext.h.
57237         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57240 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
57242         [BZ #15605]
57243         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57245 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57247         [BZ #16431]
57248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57249         Adjust the vDSO correctly for internal calls.
57250         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57252 2014-01-20  Allan McRae  <allan@archlinux.org>
57254         * po/ca.po: Update Catalan translation from translation project.
57256 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
57258         * sysdeps/s390/sotruss-lib.c: New file.
57260 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57262         [BZ #16430]
57263         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57264         (__GI___gettimeofday): Alias for a different internal symbol to avoid
57265         local calls issues by not having a PLT stub required for IFUNC calls.
57266         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57268 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
57270         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57271         * math/test-fpucw-static.c: Likewise.
57273 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57275         [BZ #16453]
57276         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57278 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57280         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57281         implementation for powerpc.
57283 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
57285         [BZ #14782]
57286         * sysdeps/posix/system.c (__libc_system): Do not enable
57287         asynchronous cancellation.
57289 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57291         [BZ #16427]
57292         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57293         handling only for numbers special also in the IEEE case.
57295 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57297         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57299 2014-01-11  Allan McRae  <allan@archlinux.org>
57301         * po/bg.po: Update Bulgarian translation from translation project.
57303         * po/de.po: Update German translation from translation project.
57305 2014-01-10  Roland McGrath  <roland@hack.frob.com>
57307         * sysdeps/generic/gcc-compat.h: New file.
57309 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57311         * benchtests/asin-inputs: Correct slow inputs.
57312         * benchtests/acos-inputs: Likewise.
57314 2014-01-10  Allan McRae  <allan@archlinux.org>
57316         * po:sv.po: Update Swedish translation from translation project.
57318         * po/vi.po: Update Vietnamese translation from translation project.
57320         * po/eo.po: Update Esperanto translation from translation project.
57322         * po/cs.po: Update Czech translation from translation project.
57324         * po/nl.po: Update Dutch translation from translation project.
57326         * po/pl.po: Update Polish translation from translation project.
57328         * po/ru.po: Update Russian translation from translation project.
57330         * po/uk.po: Update Ukrainian translation from translation project.
57332 2014-01-08  Brooks Moses  <bmoses@google.com>
57334         * elf/dl-load.c: Fix comment typo.
57336 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
57338         * po/header.pot: Rename to...
57339         * po/pot.header: ... this.
57340         * po/Makefile: Use pot.header.
57342 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
57343             Maxim Kuvyrkov  <maxim@kugelworks.com>
57345         [BZ #16394]
57346         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57347         SRC and DEST against LEN.
57349 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57351         [BZ #16414]
57352         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57353         implementation.
57354         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57356 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57360 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
57362         [BZ #16408]
57363         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57364         for large positive arguments.
57366 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
57368         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57370         * math/auto-libm-test-in: Mark various tests with
57371         xfail-rounding:ldbl-128ibm.
57372         * math/auto-libm-test-out: Regenerated.
57374         [BZ #16407]
57375         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57376         Increase overflow threshold.
57378 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
57380         [BZ #14286]
57381         * stdio-common/vfprintf.c: Check for integer overflow.
57383 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57385         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57386         the first argument and return value of __tls_get_addr_internal.
57388 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57390         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57391         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57393 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57395         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57396         * sysdeps/s390/rtld-global-offsets.sym: New file.
57397         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57398         GLIBC_2.19 symbol.
57399         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
57400         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
57401         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57402         ... this.
57403         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
57404         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
57405         ... this.
57406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57407         Regenerate.
57408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57409         Regenerate.
57410         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57411         halfs of GPRs for high_gprs contexts.
57412         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57413         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
57414         field.
57415         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57416         uc_flags field.
57417         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57418         64 bit versions:
57419         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57420         for high GPRs (uc_high_gprs) and for future extensions
57421         (__reserved).
57422         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57423         for future extensions (__reserved).
57424         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57425         64 bit versions:
57426         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57427         SC_HIGHGPRS offset definition.
57428         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57429         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57431         * Versions.def: Add GLIBC_2.19 for libpthread.
57432         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57433         siglongjmp for libpthread with GLIBC_2.19 symver.
57434         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57435         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57436         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57437         * sysdeps/s390/__longjmp.c: New file.
57438         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57439         * sysdeps/s390/longjmp.c: New file.
57440         * sysdeps/s390/setjmp.S: New file.
57441         * sysdeps/s390/sigjmp.S: New file.
57442         * sysdeps/s390/v1-longjmp.c: New file.
57443         * sysdeps/s390/v1-setjmp.h: New file.
57444         * sysdeps/s390/v1-sigjmp.c: New file.
57445         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57446         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57447         GLIBC_2.19 version.
57448         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57449         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57450         versioned symbols for ____longjmp_chk.
57451         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57452         Likewise.
57453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57454         Regenerate.
57455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57456         Regenerate.
57457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57458         Regenerate.
57459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57460         Regenerate.
57461         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57462         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57463         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57464         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57465         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57466         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57467         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57468         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57469         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57470         * sysdeps/s390/rtld-__longjmp.c: New file.
57471         * sysdeps/s390/rtld-setjmp.S: New file.
57473 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
57475         [BZ #16400]
57476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57477         Return -__logl (x) for small positive arguments without evaluating
57478         a polynomial.
57480 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
57482         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57483         Rename to ...
57484         (__ptrace_peeksiginfo_args): ... this.
57485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57487         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57489 2014-01-06  Allan McRae  <allan@archlinux.org>
57491         * inet/netinet/in.h: Fix typo in comment.
57493 2014-01-05  Andreas Jaeger  <aj@suse.de>
57495         * sysdeps/i386/fpu/libm-test-ulps: Update.
57497 2014-01-05  Allan McRae  <allan@archlinux.org>
57499         * po/libc.pot: Regenerated.
57501         * malloc/memusagestat.c: Fix gettext call formatting.
57503 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
57505         * nscd/nscd.c: Improve usage() output.
57507 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
57509         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57510         * sysdeps/unix/sysv/linux/configure: Regenerated.
57511         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57512         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57514 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57516         [BZ #16390]
57517         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57518         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57520 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57523         extra tokens at end of #undef directive.
57524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57525         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57526         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57528 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57530         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57532         * math/auto-libm-test-in: Mark various tests with
57533         xfail-rounding:ldbl-128ibm.
57534         * math/auto-libm-test-out: Regenerated.
57536 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
57538         [BZ #16386]
57539         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57540         numbers with subnormal high part when calculating exponent.
57542         [BZ #16385]
57543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57544         fabs.
57546         [BZ #16384]
57547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57548         M_LN2l.
57549         (__ieee754_acoshl): Use __log1pl not __log1p.
57551 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
57553         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57554         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57555         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57556         (grow_heap, heap_trim, _int_new_arena, get_free_list)
57557         (reused_arena, arena_get2): Convert to GNU style.
57558         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57559         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57560         (memalign_check, __malloc_set_state): Likewise.
57561         * malloc/mallocbug.c (main): Likewise.
57562         * malloc/malloc.c (__malloc_assert, malloc_init_state)
57563         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57564         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57565         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57566         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57567         (__posix_memalign, malloc_info): Likewise.
57568         * malloc/malloc.h: Likewise.
57569         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57570         (mallochook, memalignhook, reallochook, mabort): Likewise.
57571         * malloc/mcheck.h: Likewise.
57572         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57573         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57574         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57575         * malloc/morecore.c (__default_morecore): Likewise.
57576         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57577         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57578         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57579         (print_and_abort): Likewise.
57580         * malloc/obstack.h: Likewise.
57581         * malloc/set-freeres.c (__libc_freeres): Likewise.
57582         * malloc/tst-mallocstate.c (main): Likewise.
57583         * malloc/tst-mtrace.c (main): Likewise.
57584         * malloc/tst-realloc.c (do_test): Likewise.
57586 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57588         [BZ #16366]
57589         * nscd/netgroupcache.c (do_notfound): New function.
57590         (addgetnetgrentX): Use it.
57592         [BZ # 16365]
57593         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57594         NSS_STATUS_NOTFOUND.
57596 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
57598         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57601 2014-01-01  Allan McRae  <allan@archlinux.org>
57603         * scripts/update-copyrights: Update configure input file suffix.
57605         * NEWS: Update copyright year.
57606         * catgets/gencat.c: Likewise.
57607         * csu/version.c: Likewise.
57608         * debug/catchsegv.sh: Likewise.
57609         * debug/pcprofiledump.c: Likewise.
57610         * debug/xtrace.sh: Likewise.
57611         * elf/ldconfig.c: Likewise.
57612         * elf/ldd.bash.in: Likewise.
57613         * elf/pldd.c: Likewise.
57614         * elf/sotruss.ksh: Likewise.
57615         * elf/sprof.c: Likewise.
57616         * iconv/iconv_prog.c: Likewise.
57617         * iconv/iconvconfig.c: Likewise.
57618         * locale/programs/locale.c: Likewise.
57619         * locale/programs/localedef.c: Likewise.
57620         * login/programs/pt_chown.c: Likewise.
57621         * malloc/memusage.sh: Likewise.
57622         * malloc/memusagestat.c: Likewise.
57623         * malloc/mtrace.pl: Likewise.
57624         * manual/libc.texinfo: Likewise.
57625         * nscd/nscd.c: Likewise.
57626         * nss/getent.c: Likewise.
57627         * nss/makedb.c: Likewise.
57628         * posix/getconf.c: Likewise.
57629         * scripts/test-installation.pl: Likewise.
57631         * All files with FSF copyright notices: Update copyright dates
57632         using scripts/update-copyrights.
57633         * intl/plural.c: Regenerated.
57634         * locale/programs/charmap-kw.h: Likewise.
57635         * locale/programs/locfile-kw.h: Likewise.
57637 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57639         * sysdeps/unix/sysv/linux/configure: Regenerated.
57640         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57641         the linux/fanotify.h header.
57642         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57643         HAVE_LINUX_FANOTIFY_H is defined.
57645 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57647         * benchtests/cos-inputs: New inputs.
57648         * benchtests/sin-inputs: Likewise.
57650         * benchtests/atan-inputs: New inputs. Fix name of multiple
57651         precision fallback inputs.
57653         * benchtests/atanh-inputs: New inputs.
57654         * benchtests/tanh-inputs: Likewise.
57656         * benchtests/acosh-inputs: New inputs.
57657         * benchtests/asinh-inputs: Likewise.
57659         * benchtests/cosh-inputs: New inputs.
57660         * benchtests/sinh-inputs: Likewise.
57662         * benchtests/acos-inputs: Add more inputs.
57663         * benchtests/asin-inputs: Likewise.
57665 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57667         [BZ #16375]
57668         * manual/arith.texi: Fix spelling.
57669         * manual/charset.texi: Likewise.
57670         * manual/errno.texi: Likewise.
57671         * manual/filesys.texi: Likewise.
57672         * manual/lang.texi: Likewise.
57673         * manual/llio.texi: Likewise.
57674         * manual/locale.texi: Likewise.
57675         * manual/message.texi: Likewise.
57676         * manual/resource.texi: Likewise.
57677         * manual/search.texi: Likewise.
57678         * manual/setjmp.texi: Likewise.
57679         * manual/stdio.texi: Likewise.
57680         * manual/string.texi: Likewise.
57681         * manual/sysinfo.texi: Likewise.
57682         * manual/time.texi: Likewise.
57684 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57686         * po/sl.po: New file.
57688 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57690         * .gitignore: Add core/.gdbinit/.gdb_history.
57692 2013-12-27  Allan McRae  <allan@archlinux.org>
57694         [BZ #16369]
57695         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57696         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57698 2013-12-24  Brooks Moses  <bmoses@google.com>
57700         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57701         all compilers that claim C++98 compliance, not just GCC.
57702         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57703         Likewise.
57705 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57707         * NEWS: Restore accidentally deleted bug-fix entries.
57709 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57710             Ondřej Bílka  <neleai@seznam.cz>
57712         [BZ #15073]
57713         * malloc/malloc.c (_int_free): Perform sanity check only if we
57714         have_lock.
57716 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57718         [BZ #12986]
57719         * manual/stdio.texi (String Input Conversions): Clarify that character
57720         classes are not supported.
57722 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57726 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57728         [BZ #16337]
57729         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57730         Calculate results for small negative arguments directly rather
57731         than using reflection formula with special underflow handling.
57733         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57734         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57735         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57736         (fchflags): Likewise.
57737         (revoke): Likewise.
57738         (setlogin): Likewise.
57739         (sigaltstack): Likewise.
57740         (wait4): Likewise.
57741         (sigblock): Remove.
57742         (sigsetmask): Likewise.
57743         (wait3): Likewise.
57744         (waitpid): Likewise.
57745         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57746         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57747         file.
57748         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57749         * sysdeps/unix/bsd/Makefile: ... here.
57750         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57751         * sysdeps/unix/bsd/Versions: ... here.
57752         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57753         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57754         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57755         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57756         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57757         * sysdeps/unix/bsd/sigblock.c: ... here.
57758         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57759         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57760         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57761         * sysdeps/unix/bsd/sigvec.c: ... here.
57762         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57763         * sysdeps/unix/bsd/tcdrain.c: ... here.
57764         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57765         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57766         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57767         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57768         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57769         * sysdeps/unix/bsd/wait.c: ... here.
57770         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57771         * sysdeps/unix/bsd/wait3.c: ... here.
57772         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57773         * sysdeps/unix/bsd/waitpid.c: ... here.
57775 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57777         [BZ #16356]
57778         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57779         round-to-nearest for [!USE_AS_EXPM1L].
57780         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57781         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57782         more tests of exp and exp10.  Expect some exp10 tests to miss
57783         exceptions or fail in directed rounding modes.
57784         * math/auto-libm-test-out: Regenerated.
57785         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57786         (exp10_test_tonearest): New function.
57787         (exp10_towardzero_test_data): New array.
57788         (exp10_test_towardzero): New function.
57789         (exp10_downward_test_data): New array.
57790         (exp10_test_downward): New function.
57791         (exp10_upward_test_data): New array.
57792         (exp10_test_upward): New function.
57793         (main): Call the new functions.
57794         * sysdeps/i386/fpu/libm-test-ulps: Update.
57795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57797 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57799         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57800         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57801         * math/auto-libm-test-out: Regenerated.
57802         * math/libm-test.inc (acosh_test_data): Add more tests.
57803         (atanh_test_data): Likewise.
57804         (ceil_test_data): Likewise.
57805         (copysign_test_data): Likewise.
57806         * sysdeps/i386/fpu/libm-test-ulps: Update.
57807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57809         * timezone/checktab.awk: Update from tzcode 2013i.
57810         * timezone/private.h: Likewise.
57811         * timezone/scheck.c: Likewise.
57812         * timezone/tzfile.h: Likewise.
57813         * timezone/tzselect.ksh: Likewise.
57814         * timezone/zdump.c: Likewise.
57815         * timezone/zic.c: Likewise.
57817         * math/auto-libm-test-in: Add tests of cpow.
57818         * math/auto-libm-test-out: Regenerated.
57819         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57821         mpc_cc_c.
57822         (func_calc_desc): Add mpc_cc_c union field.
57823         (test_functions): Add cpow.
57824         (special_fill_2pi): New function.
57825         (special_real_inputs): Add 2pi.
57826         (calc_generic_results): Handle mpc_cc_c.
57827         * sysdeps/i386/fpu/libm-test-ulps: Update.
57828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57830         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57831         csqrt, ctan and ctanh.
57832         * math/auto-libm-test-out: Regenerated.
57833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57834         (TEST_COND_x86): Likewise.
57835         (ccos_test_data): Use AUTO_TESTS_c_c.
57836         (ccosh_test_data): Likewise.
57837         (cexp_test_data): Likewise.
57838         (clog_test_data): Likewise.
57839         (csqrt_test_data): Likewise.
57840         (ctan_test_data): Likewise.
57841         (ctan_tonearest_test_data): Likewise.
57842         (ctan_towardzero_test_data): Likewise.
57843         (ctan_downward_test_data): Likewise.
57844         (ctan_upward_test_data): Likewise.
57845         (ctanh_test_data): Likewise.
57846         (ctanh_tonearest_test_data): Likewise.
57847         (ctanh_towardzero_test_data): Likewise.
57848         (ctanh_downward_test_data): Likewise.
57849         (ctanh_upward_test_data): Likewise.
57850         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57851         mpc_c_c.
57852         (func_calc_desc): Add mpc_c_c union field.
57853         (FUNC_mpc_c_c): New macro.
57854         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57855         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57856         ctanh.
57857         (special_fill_min_subnorm_p120): New function.
57858         (special_real_inputs): Add min_subnorm_p120.
57859         (calc_generic_results): Handle mpc_c_c.
57860         * sysdeps/i386/fpu/libm-test-ulps: Update.
57861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57863 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57865         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57866         (do_sin_slow): New functions.
57867         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57868         (cslow2, csloww1, csloww2): Use the new functions.
57870         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57871         Use M to change sign of result instead of X.  Assume X is
57872         positive.
57873         (csloww1): Likewise.
57874         (__sin): Adjust.
57875         (__cos): Adjust.
57877         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57878         arguments A and DA.
57879         (__sin): Adjust.
57880         (__cos): Likewise.
57882         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57883         (__cos): Likewise.
57884         (sloww1): Don't adjust sign of DX.
57885         (csloww1): Likewise.
57886         (sloww2): Use X directly and don't adjust sign of DX.
57887         (csloww2): Likewise.
57889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57891         * math/auto-libm-test-in: Add tests of cabs and carg.
57892         * math/auto-libm-test-out: Regenerated.
57893         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57894         (carg_test_data): Likewise.
57895         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57896         mpc_c_f.
57897         (func_calc_desc): Add mpc_c_f union field.
57898         (test_functions): Add cabs and carg.
57899         (calc_generic_results): Handle mpc_c_f.
57901         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57902         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57903         as a macro and a compat symbol.
57904         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57905         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57906         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57907         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57908         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57909         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57910         not use .hidden.
57911         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57912         Likewise.
57913         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57914         Likewise.
57915         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57916         Likewise.
57917         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57918         Likewise.
57919         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57920         Likewise.
57921         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57922         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57923         from GLIBC_2.3.2.
57925 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57929 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57931         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57932         trailing whitespace removed.
57933         * scripts/config.guess: Update to version 2013-11-29.
57934         * scripts/config.sub: Update to version 2013-10-01.
57936         * math/auto-libm-test-in: Add tests of sincos.
57937         * math/auto-libm-test-out: Regenerated.
57938         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57939         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57940         mpfr_f_11.
57941         (func_calc_desc): Add mpfr_f_11 union field.
57942         (test_functions): Add sincos.
57943         (calc_generic_results): Handle mpfr_f_11.
57944         * sysdeps/i386/fpu/libm-test-ulps: Update.
57945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57947 2013-12-19  Andreas Schwab  <schwab@suse.de>
57949         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57950         CALL_MCOUNT.
57951         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57952         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57953         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57955 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57957         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57958         * sysdeps/i386/fpu/libm-test-ulps: Update.
57959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57961         [BZ #16293]
57962         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57963         round-to-nearest mode when using frndint.
57964         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57965         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57967         Likewise.
57968         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57969         sinh test to fail.
57970         * math/auto-libm-test-out: Regenerated.
57971         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57972         (TEST_COND_x86): Likewise.
57973         (expm1_tonearest_test_data): New array.
57974         (expm1_test_tonearest): New function.
57975         (expm1_towardzero_test_data): New array.
57976         (expm1_test_towardzero): New function.
57977         (expm1_downward_test_data): New array.
57978         (expm1_test_downward): New function.
57979         (expm1_upward_test_data): New array.
57980         (expm1_test_upward): New function.
57981         (main): Run the new test functions.
57982         * sysdeps/i386/fpu/libm-test-ulps: Update.
57983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57985         * include/features.h: Update comment documenting feature test
57986         macros.  Mention _DEFAULT_SOURCE in comment.
57987         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57988         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57989         _BSD_SOURCE and _SVID_SOURCE.
57990         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57991         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57992         !_SVID_SOURCE]: Likewise.
57993         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57994         (__USE_POSIX_IMPLICITLY): Define.
57995         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57996         (_POSIX_SOURCE): Undefine and redefine.
57997         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57998         (_POSIX_C_SOURCE): Likewise.
57999         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58000         (Feature Test Macros): Update documentation of default features.
58002 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58004         * benchtests/Makefile: Add bench-strtok.
58005         * benchtests/bench-strtok.c: New file: strtok benchtest.
58007 2013-12-19  Allan McRae  <allan@archlinux.org>
58009         * manual/install.texi: Suppress menu for plain text output.
58010         * INSTALL: Regenerated.
58012 2013-12-18  Brooks Moses  <bmoses@google.com>
58014         [BZ #15846]
58015         * misc/getauxval.c: Include errno.h.
58016         (__getauxval): Set errno to ENOENT if the requested type is not
58017         found.
58018         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58019         don't declare with __attribute_const__.
58020         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58021         * manual/startup.texi: Document that getauxval sets errno.
58023 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58025         * math/auto-libm-test-in: Add tests of jn and yn.
58026         * math/auto-libm-test-out: Regenerated.
58027         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58028         (yn_test_data): Likewise.
58029         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58030         mpfr_if_f.
58031         (func_calc_desc): Add mpfr_if_f union field.
58032         (FUNC_mpfr_if_f): New macro.
58033         (test_functions): Add jn and yn.
58034         (calc_generic_results): Assert type of second input for
58035         mpfr_ff_f.  Handle mpfr_if_f.
58036         (output_for_one_input_case): Disable all checking for arguments
58037         fitting floating-point types in case of an integer argument.
58038         * sysdeps/i386/fpu/libm-test-ulps: Update.
58039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58042         Don't expect fegetround reference in libm.so.
58044 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58046         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58047         $(config-cflags-nofma).
58049 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58051         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58052         * math/auto-libm-test-out: Regenerated.
58054         [BZ #16338]
58055         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58056         to determine exponent and adjust argument to have exponent of -1.
58057         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58058         log2.
58059         * math/auto-libm-test-out: Regenerated.
58060         * sysdeps/i386/fpu/libm-test-ulps: Update.
58061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58063 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
58065         * manual/probes.texi: Remove cases when per-thread arenas are
58066         disabled.
58068 2013-12-18  Andreas Schwab  <schwab@suse.de>
58070         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58071         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58072         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58073         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58074         * sysdeps/i386/i686/multiarch/Makefile: Update.
58075         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58077 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58079         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58080         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58082 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58084         [BZ #15968]
58085         Support TZ transition times < 00:00:00.
58086         This is needed for version-3 tz-format files; it supports time
58087         stamps past 2037 for America/Godthab (the only entry in the tz
58088         database for which this change is relevant).
58089         * manual/time.texi (TZ Variable): Document transition times
58090         from -167:59:59 through -00:00:01.
58091         * time/tzset.c (tz_rule): Time of day is now signed.
58092         (__tzset_parse_tz): Parse negative time of day.
58094         Document TZ transition times >= 25:00:00.
58095         * manual/time.texi (TZ Variable): Document transition times from
58096         25:00:00 through 167:59:59.  These are already supported, and this
58097         support will help with version-3 tz-format files.
58099         * manual/time.texi (TZ Variable): Modernize North America example
58100         to reflect current (i.e., 2007-and-later) daylight saving rules.
58102         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58104 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58106         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58107         * sysdeps/unix/bsd/bits/stat.h: Likewise.
58108         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58109         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58110         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58111         * sysdeps/unix/bsd/bsdstat.h: Likewise.
58112         * sysdeps/unix/bsd/clock.c: Likewise.
58113         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58114         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58115         * sysdeps/unix/bsd/init-posix.c: Likewise.
58116         * sysdeps/unix/bsd/poll.c: Likewise.
58117         * sysdeps/unix/bsd/ptsname.c: Likewise.
58118         * sysdeps/unix/bsd/seekdir.c: Likewise.
58119         * sysdeps/unix/bsd/setegid.c: Likewise.
58120         * sysdeps/unix/bsd/seteuid.c: Likewise.
58121         * sysdeps/unix/bsd/setgid.c: Likewise.
58122         * sysdeps/unix/bsd/setrgid.c: Likewise.
58123         * sysdeps/unix/bsd/setruid.c: Likewise.
58124         * sysdeps/unix/bsd/setsid.c: Likewise.
58125         * sysdeps/unix/bsd/setuid.c: Likewise.
58126         * sysdeps/unix/bsd/sigaction.c: Likewise.
58127         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58128         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58129         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58130         * sysdeps/unix/bsd/telldir.c: Likewise.
58131         * sysdeps/unix/bsd/times.c: Likewise.
58132         * sysdeps/unix/bsd/usleep.c: Likewise.
58134         * misc/Makefile (install-lib): Remove libbsd-compat.a.
58135         ($(objpfx)libbsd-compat.a): Remove rule.
58137         * include/features.h (__FAVOR_BSD): Do not define.
58138         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58139         features conflicting with POSIX.
58140         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58141         (_BSD_SOURCE): Remove description of not being a subset of other
58142         feature test macros.
58143         * manual/job.texi (getpgrp): Do not document BSD version.
58144         (getpgid): Do not document by reference to BSD getpgrp.
58145         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58146         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58147         * signal/signal.h [__FAVOR_BSD]: Likewise.
58148         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58149         instead of making contents conditional on [__FAVOR_BSD].
58150         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58152 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58156 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58158         [BZ #16314]
58159         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58160         values below 2**-450, not 2**-500.
58161         * math/auto-libm-test-in: Don't allow spurious underflow from
58162         hypot.
58163         * math/auto-libm-test-out: Regenerated.
58165         [BZ #16316]
58166         [BZ #16330]
58167         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58168         values of ha and hb and sort them after adjusting subnormal
58169         arguments.
58170         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58171         Likewise.
58172         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58173         values of ea and eb and sort them after adjusting subnormal
58174         arguments.
58175         * math/auto-libm-test-in: Do not expect some hypot tests of
58176         subnormals to fail.  Add more hypot tests.
58177         * math/auto-libm-test-out: Regenerated.
58179 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58181         [BZ #13304]
58182         * sysdeps/sh/s_fma.c: New file.
58183         * sysdeps/sh/s_fmaf.c: New file.
58184         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
58185         version.
58186         * sysdeps/sh/Implies: Add sh/soft-fp.
58188 2013-12-16  Roland McGrath  <roland@hack.frob.com>
58190         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
58191         level of indirection to members `objname', `errstring', `malloced'.
58192         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58193         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
58194         it as the __longjmp argument (just pass 1 instead).
58195         (_dl_catch_error): Initialize C with argument pointers and address of
58196         volatile local ERRCODE rather than copying values out of C at return.
58198 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
58200         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58201         * math/auto-libm-test-out: Regenerated.
58202         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58203         (hypot_test_data): Likewise.
58204         (pow_test_data): Likewise.
58205         (pow_tonearest_test_data): Likewise.
58206         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58207         mpfr_ff_f.
58208         (func_calc_desc): Add mpfr_ff_f union field.
58209         (FUNC_mpfr_ff_f): New macro.
58210         (test_functions): Add atan2, hypot and pow.
58211         (special_fill_min): New function.
58212         (special_fill_minus_min): Likewise.
58213         (special_fill_min_subnorm): Likewise.
58214         (special_fill_minus_min_subnorm): Likewise.
58215         (special_real_inputs): Add min, -min, min_subnorm and
58216         -min_subnorm.
58217         (calc_generic_results): Handle mpfr_ff_f.
58218         * sysdeps/i386/fpu/libm-test-ulps: Update.
58219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58221 2013-12-16  Will Newton  <will.newton@linaro.org>
58223         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58224         (Aligned Memory Blocks): Add documentation for aligned_alloc
58225         and suggest it as an alternative to posix_memalign.
58226         (Hooks for Malloc): Document __memalign_hook is also called
58227         for aligned_alloc.  (Summary of Malloc): Add summary for
58228         aligned alloc.  Document __memalign_hook is also called
58229         for aligned_alloc.
58231 2013-12-16  Will Newton  <will.newton@linaro.org>
58233         * manual/memory.texi (Malloc Examples): Clarify default
58234         alignment documentation.  Suggest posix_memalign rather
58235         than memalign or valloc.
58236         (Aligned Memory Blocks): Remove suggestion to use memalign
58237         or valloc.  Remove obsolete comment about BSD.
58238         Document memalign errno values and mark the function obsolete.
58239         Document posix_memalign returned error codes.  Mark valloc
58240         as obsolete.  (Hooks for Malloc): __memalign_hook is also
58241         called for posix_memalign and valloc.
58242         (Summary of Malloc): Add posix_memalign to function summary.
58243         __memalign_hook is also called for posix_memalign and valloc.
58245 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58247         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58248         TAYLOR_SIN.
58249         (__sin): Adjust.
58250         (__cos): Likewise.
58251         (sloww): Use mynumber union.  Expand ternary operator into
58252         if-else statements.
58253         (cslow): use mynumber union.
58255 2013-12-16  Allan McRae  <allan@archlinux.org>
58257         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58258         * configure: Regenerated.
58260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58262         [BZ #14120]
58263         * configure.ac: Added --enable-maintainer-mode. Check for
58264         autoconf when enabled.
58265         * configure: Regenerated.
58267         * nscd/nscd.service: New file.
58268         * nscd/nscd.tmpfiles: New file.
58270 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
58272         [BZ #12100]
58273         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58274         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58275         * sysdeps/x86_64/multiarch/strstr.c: ... here.
58276         (strstr): Add __strstr_sse2_unaligned ifunc.
58277         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58278         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58279         (strcasestr): Remove __strcasestr_sse42 ifunc.
58280         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58284 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58286         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58287         * sysdeps/sh/bits/fenv.h: ... here.
58288         * sysdeps/sh/sh4/fpu/bits: Remove directory.
58290 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58292         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58295         hypotf multiarch implementations.
58296         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58297         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58298         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58299         multiarch hypot for PPC64.
58300         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58301         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58302         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58303         multiarch hypotf for PPC64.
58305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58306         modff multiarch implementations.
58307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58310         multiarch modf for PPC64.
58311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58314         multiarch modff for PPC64.
58316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58317         and logl multiarch implementations.
58318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58321         multiarch logb for PPC64.
58322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58325         multiarch logb for PPC64.
58326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58329         multiarch logb for PPC64.
58331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58332         isinff multiarch implementation.
58333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58334         file.
58335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58337         multiarch isinf for PPC64.
58338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58339         file.
58340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58341         multiarch isinff for PPC64.
58343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58344         finitef multiarch implementation.
58345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58346         file.
58347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58349         multiarch finite for PPC64.
58350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58351         file.
58352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58353         multiarch finitef for PPC64.
58355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58356         lrint multiarch implementation.
58357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58358         file.
58359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58361         multiarch llrint for PPC64.
58362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58363         multiarch lrint for PPC64.
58365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58366         copysignf multiarch implementation.
58367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58368         file.
58369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58370         file.
58371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58372         multiarch copysign for PPC64.
58373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58374         multiarch copysignf for PPC64.
58376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58377         multiarch implementation.
58378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58379         file.
58380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58381         file.
58382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58383         file.
58384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58385         file.
58386         multiarch llround for PPC64.
58387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58388         multiarch trunc for PPC64.
58389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58390         multiarch truncf for PPC64.
58392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58393         multiarch implementation.
58394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58395         file.
58396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58397         file.
58398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
58399         file.
58400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
58401         file.
58402         multiarch llround for PPC64.
58403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
58404         multiarch round for PPC64.
58405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
58406         multiarch roundf for PPC64.
58408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
58409         multiarch implementation.
58410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58411         file.
58412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58413         file.
58414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58415         file.
58416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58417         file.
58418         multiarch llround for PPC64.
58419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58420         multiarch floor for PPC64.
58421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58422         multiarch floorf for PPC64.
58424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58425         multiarch implementation.
58426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58427         file.
58428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58429         file.
58430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58431         file.
58432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58433         file.
58434         multiarch llround for PPC64.
58435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58436         multiarch ceil for PPC64.
58437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58438         multiarch ceilf for PPC64.
58440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58441         multiarch implementation.
58442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58443         file.
58444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58445         file.
58446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58447         file.
58448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58449         multiarch llround for PPC64.
58450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58451         multiarch lround for PPC64.
58453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58454         multiarch implementation.
58455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58458         file.
58459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58462         multiarch isnan for PPC64.
58463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58464         multiarch isnanf for PPC64.
58466         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58467         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58468         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58469         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58470         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58473         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58474         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58475         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58476         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58479         multiarch implementations.
58480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58481         (__libc_ifunc_impl_list): Likewise.
58482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58483         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58485         multiarch stpcpy for PPC64.
58487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58488         multiarch implementations.
58489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58490         (__libc_ifunc_impl_list): Likewise.
58491         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58492         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58493         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58494         multiarch strcpy for PPC64.
58496         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58497         redefine function name.
58498         (_wordcopy_fwd_dest_aligned): Likewise.
58499         (_wordcopy_bwd_aligned): Likewise.
58500         (_wordcopy_bwd_dest_aligned): Likewise.
58501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58502         multiarch implementations.
58503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58504         (__libc_ifunc_impl_list): Likewise.
58505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58506         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58507         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58509         multiarch wcscpy for PPC64.
58511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58512         multiarch implementations.
58513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58514         (__libc_ifunc_impl_list): Likewise.
58515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58516         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58517         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58518         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58519         multiarch wcscpy for PPC64.
58521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58522         multiarch implementations.
58523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58524         (__libc_ifunc_impl_list): Likewise.
58525         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58526         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58527         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58528         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58529         multiarch wcsrchr for PPC64.
58531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58532         multiarch implementations.
58533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58534         (__libc_ifunc_impl_list): Likewise.
58535         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58536         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58537         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58538         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58539         multiarch wcschr for PPC64.
58541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58542         multiarch implementations.
58543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58544         (__libc_ifunc_impl_list): Likewise.
58545         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58546         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58547         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58548         multiarch strchrnul for PPC64.
58550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58551         implementations.
58552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58553         (__libc_ifunc_impl_list): Likewise.
58554         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58555         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58556         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58557         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58558         strchr for PPC64.
58560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58561         implementations.
58562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58563         (__libc_ifunc_impl_list): Likewise.
58564         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58565         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58566         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58567         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58568         strncmp for PPC64.
58570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58571         multiarch implementations.
58572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58573         (__libc_ifunc_impl_list): Likewise.
58574         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58575         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58576         strncasecmp for PPC64.
58577         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58578         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58579         multiarch strncasecmp_l for PPC64.
58581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58582         multiarch implementations.
58583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58584         (__libc_ifunc_impl_list): Likewise.
58585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58587         multiarch strcasecmp for PPC64.
58588         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58589         file.
58590         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58591         multiarch strcasecmp_l for PPC64.
58593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58594         implementations.
58595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58596         (__libc_ifunc_impl_list): Likewise.
58597         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58598         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58599         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58600         strnlen for PPC64.
58602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58603         implementations.
58604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58605         (__libc_ifunc_impl_list): Likewise.
58606         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58607         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58608         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58609         strlen for PPC64.
58611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58612         implementations.
58613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58614         (__libc_ifunc_impl_list): Likewise.
58615         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58616         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58617         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58618         rawmemrchr for PPC64.
58620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58621         implementation.
58622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58623         (__libc_ifunc_impl_list): Likewise.
58624         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58625         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58626         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58627         memrchr for PPC64.
58629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58630         implementation.
58631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58632         (__libc_ifunc_impl_list): Likewise.
58633         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58634         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58635         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58636         memchr for PPC64.
58638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58639         implementation.
58640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58641         (__libc_ifunc_impl_list): Likewise.
58642         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58643         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58644         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58645         mempcpy for PPC64.
58647         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58648         avoid cretion of __bzero symbol.
58649         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58650         Likewise.
58651         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58652         Likewise.
58653         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58654         Likewise.
58655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58656         multiarch implementations.
58657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58658         (__libc_ifunc_impl_list): Likewise.
58659         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58660         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58661         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58662         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58663         bzero for PPC32.
58664         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58665         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58666         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58667         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58668         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58669         memset for PPC64.
58670         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58672         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58674         implementations.
58675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58676         (__libc_ifunc_impl_list): Likewise.
58677         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58678         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58679         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58680         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58681         memcmp for PPC64.
58683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58684         multiarch for POWER/PPC64.
58685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58686         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58691         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58692         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58693         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58694         memcpy for PPC64.
58696         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58697         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58698         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58699         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58700         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58701         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58702         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58703         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58704         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58705         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58706         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58707         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58708         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58709         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58710         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58719 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58721         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58723 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58725         * benchtests/Makefile (bench): Add exp2 and log2.
58726         (LDLIBS-bench-exp2): Add -lm.
58727         (LDLIBS-bench-log2): Likewise.
58728         * benchtests/exp2-inputs: New inputs file.
58729         * benchtests/log2-inputs: New inputs file.
58730         * benchtests/log-inputs: Add new inputs.
58731         * benchtests/tan-inputs: Likewise.
58733 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58735         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58736         definition...
58737         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58738         (csloww2): ... from here.
58740         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58741         instead of structures.
58742         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58743         (POLYNOMIAL): Likewise.
58744         (TAYLOR_SLOW): Likewise.
58745         (__sin): Likewise.
58746         (__cos): Likewise.
58747         (slow1): Likewise.
58748         (slow2): Likewise.
58749         (sloww): Likewise.
58750         (sloww1); Likewise.
58751         (sloww2): Likewise.
58752         (bsloww1): Likewise.
58753         (bsloww2): Likewise.
58754         (cslow2): Likewise.
58755         (csloww): Likewise.
58756         (csloww1): Likewise.
58757         (csloww2): Likewise.
58759 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58761         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58762         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58763         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58764         * malloc/hooks.c (realloc_check): Likewise.
58766         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58767         * malloc/arena.c: Remove PER_THREAD conditional.
58768         [!PER_THREAD]: Remove code.
58769         (ptmalloc_unlock_all2): Likewise.
58770         (ptmalloc_init): Likewise.
58771         (_int_new_arena): Likewise.
58772         (arena_get2): Likewise.
58773         * malloc/hooks.c (__malloc_get_state): Likewise.
58774         (__malloc_set_state): Likewise.
58775         * malloc/malloc.c: Likewise.
58776         (struct malloc_state): Likewise.
58777         (struct malloc_par): Likewise.
58778         (__libc_realloc): Likewise.
58779         (__libc_mallopt): Likewise.
58781 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58783         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58785 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58787         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58788         macro to a function.  Check for zero perturb_byte.
58789         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58791         * malloc/malloc.c: (force_reg): Remove.
58792         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58793         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58794         force_reg by atomic_forced_read.
58795         * malloc/arena.c (ptmalloc_init): Likewise.
58796         * malloc/hooks.c (top_check): Likewise.
58798 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58802 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58806 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58808         * math/auto-libm-test-in: Add tests of lgamma.
58809         * math/auto-libm-test-out: Regenerated.
58810         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58811         (M_LOG_2_SQRT_PIl): Likewise.
58812         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58813         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58814         mpfr_f_f1.
58815         (func_calc_desc): Add mpfr_f_f1 union field.
58816         (ARGS1): New macro.
58817         (ARGS2): Likewise.
58818         (ARGS3): Likewise.
58819         (ARGS4): Likewise.
58820         (RET1): Likewise.
58821         (RET2): Likewise.
58822         (CALC): Likewise.
58823         (FUNC): Likewise.
58824         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58825         (test_functions): Add lgamma.
58826         (calc_generic_results): Handle mpfr_f_f1.
58827         * sysdeps/i386/fpu/libm-test-ulps: Update.
58828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58830 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58832         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58833         __mpn_add_n for PowerPC64/POWER7.
58834         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58835         __mpn_sub_n for PowerPC64/POWER7.
58837         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58838         __mpn_addmul_1 for PowerPC64.
58839         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58840         __mpn_submul_1 for PowerPC64.
58841         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58842         for PowerPC64.
58843         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58844         for PowerPC64.
58846 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58848         [BZ #15089]
58849         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58851 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58853         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58855         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58856         add multiarch folders.
58857         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58858         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58859         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58860         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58861         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58862         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58863         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58864         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58865         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58866         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58867         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58876         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58878         New file.
58879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58880         New file.
58881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58882         multiarch __ieee754_hypot for PowerPC32.
58883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58884         New file.
58885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58886         New file.
58887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58888         multiarch __ieee754_hypotf for PowerPC32.
58890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58891         long_double_symbol only if __logbl is defined.
58892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58893         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58895         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58896         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58897         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58899         path for implementation.
58900         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58903         logb, and logbl multiarch implementations for PowerPC32.
58904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58905         file.
58906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58907         file.
58908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58909         multiarch logb for PowerPC32.
58910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58911         file.
58912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58913         file.
58914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58915         multiarch logbf for PowerPC32.
58916         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58918         file.
58919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58920         multiarch logbl implementation for PowerPC32.
58922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58923         and modff multiarch implementations.
58924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58925         New file.
58926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58927         New file.
58928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58929         multiarch modf for PowerPC32.
58930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58931         New file.
58932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58933         New file.
58934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58935         multiarch modff for PowerPC32.
58937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58938         and lrintf multiarch implementations.
58939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58940         New file.
58941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58942         New file.
58943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58944         multiarch lrint for PowerPC32.
58945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58946         file: multiarch lrintf for PowerPC32.
58948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58949         and lroundf multiarch implementations.
58950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58951         New file.
58952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58953         New file.
58954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58955         New file.
58956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58957         multiarch lround for PowerPC32.
58958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58959         file: multiarch lroundf for PowerPC32.
58961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58962         copysign and copysignf multiarch implementations.
58963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58964         New file.
58965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58966         New file.
58967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58968         file: multiarch copysign for PowerPC32.
58969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58970         file: multiarch copysignf for PowerPC32.
58972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58973         and truncf multiarch implementations.
58974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58975         New file.
58976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58977         file.
58978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58979         multiarch trunc for PowerPC32.
58980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58981         New file.
58982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58983         New file.
58984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58985         multiarch truncf for PowerPC32.
58987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58988         and roundf multiarch implementations.
58989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58990         New file.
58991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58992         file.
58993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58994         multiarch round for PowerPC32.
58995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58996         New file.
58997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58998         New file.
58999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59000         multiarch roundf for PowerPC32.
59002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59003         and floorf multiarch implementations.
59004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59005         New file.
59006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59007         file.
59008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59009         multiarch floor for PowerPC32.
59010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59011         New file.
59012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59013         New file.
59014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59015         multiarch floorf for PowerPC32.
59017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59018         and ceilf multiarch implementations.
59019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59020         New file.
59021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59022         file.
59023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59024         multiarch ceil for PowerPC32.
59025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59026         New file.
59027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59028         file.
59029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59030         multiarch ceilf for PowerPC32.
59032         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59033         is defined.
59034         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59035         FINITEF is defined.
59036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59037         and finitef multiarch implementations.
59038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59039         New file.
59040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59041         file.
59042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59043         multiarch finite for PowerPC32.
59044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59045         New file.
59046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59047         file: multiarch finitef for PowerPC32.
59049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59050         and isinff multiarch implementations.
59051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59052         file.
59053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59054         file.
59055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59056         multiarch isinf for PowerPC32.
59057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59058         New file.
59059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59060         multiarch isinff for PowerPC32.
59062         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59063         alias when __isnan is defined.
59064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59065         and isnanf multiarch implementations.
59066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59067         file.
59068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59069         file.
59070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59071         file.
59072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59073         file.
59074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59075         multiarch isnan for PowerPC32.
59076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59077         New file.
59078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59079         New file.
59080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59081         multiarch isnanf for PowerPC32.
59083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59084         and sqrtf multiarch implementations.
59085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59086         file.
59087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59088         file.
59089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59090         multiarch sqrt for PowerPC32.
59091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59092         file.
59093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59094         file.
59095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59096         multiarch sqrtf for PowerPC32.
59098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59099         and llroundf multiarch implementations.
59100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59101         New file.
59102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59103         New file.
59104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59105         New file.
59106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59107         file: multiarch llround for PowerPC32.
59108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59109         file: multiarch llroundf for PowerPC32.
59111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59112         multiarch PowerPC32 fpu implementations.
59113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59114         New file.
59115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59116         New file.
59117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59118         multiarch llrint for PowerPC32.
59119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59120         New file.
59121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59122         New file.
59123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59124         file.
59126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59129         file.
59130         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59131         file.
59132         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59133         file.
59134         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59135         multiarch wordcopy for PPC32.
59136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59137         wordcopy objects.
59138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59139         (__libc_ifunc_impl_list): Likewise.
59140         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59141         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59142         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59143         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59144         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59145         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59147         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59149         file.
59150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59151         file.
59152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59153         file.
59154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59155         multiarch wcscpy for PPC32.
59156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59157         multiarch objects.
59158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59159         (__libc_ifunc_impl_list): Likewise.
59160         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59161         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59162         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59163         sysdeps/powerpc/power6/wcscpy.c.
59165         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59167         file.
59168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59169         file.
59170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59171         file.
59172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59173         multiarch wcsrchr for PPC32.
59174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59175         multiarch objects.
59176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59177         (__libc_ifunc_impl_list): Likewise.
59178         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59179         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59180         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59181         sysdeps/powerpc/power6/wcsrchr.c.
59183         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59184         file.
59185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59186         file.
59187         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59189         multiarch wcschr for PPc32.
59190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59191         multiarch objects.
59192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59193         (__libc_ifunc_impl_list): Likewise.
59194         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59195         * sysdeps/powerpc/power6/wcschr.c: ... to here.
59196         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59197         sysdeps/powerpc/power6/wcschr.c.
59199         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59200         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59201         file.
59202         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59203         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59204         file: multiarch strchr for PPC32.
59205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59206         multiarch objects.
59207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59208         (__libc_ifunc_impl_list): Likewise.
59210         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59211         name.
59212         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59213         file.
59214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59215         file.
59216         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59217         multiarch strchrnul for PPC32.
59218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59219         multiarch objects.
59220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59221         (__libc_ifunc_impl_list): Likewise.
59223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59224         file.
59225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59226         multiarch strncasecmp for PPC32.
59227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59228         file.
59229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59230         multiarch strncasecmp_l for PPC32.
59231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59232         strncasecmp multiarch objects.
59233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59234         (__libc_ifunc_impl_list): Likewise.
59236         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59237         file.
59238         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59239         multiarch strncasecmp for PPC32.
59240         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59241         New file.
59242         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59243         multiarch strcasecmp_l for PPC32.
59244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59245         multiarch objects.
59246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59247         (__libc_ifunc_impl_list): Likewise.
59249         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59250         file.
59251         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59252         file.
59253         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59254         multiarch strncmp for PPC32.
59255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59256         multiarch objects.
59257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59258         (__libc_ifunc_impl_list): Likewise.
59260         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59261         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59262         file.
59263         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59264         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59266         multiarch objects.
59267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59268         (__libc_ifunc_impl_list): Likewise.
59270         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59271         file.
59272         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59273         file.
59274         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59276         multiarch objects.
59277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59278         (__libc_ifunc_impl_list): Likewise.
59280         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59281         file.
59282         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59283         file.
59284         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59285         multiarch rawmemchr for PPC32.
59286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59287         multiarch objects.
59288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59289         (__libc_ifunc_impl_list): Likewise.
59291         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59292         file.
59293         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59294         file.
59295         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59296         file: memrchr multiarch for PPC32.
59297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59298         multiarch objects.
59299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59300         (__libc_ifunc_impl_list): Likewise.
59302         * string/memchr.c (__memchr): Using macro to redefine symbol name.
59303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59304         file.
59305         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59307         multiarch memchr for PPC32.
59308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59309         multiarch objects.
59310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59311         (__libc_ifunc_impl_list): Likewise.
59313         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59314         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59315         file.
59316         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59317         file.
59318         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59319         file: multiarch mempcpy for PPC32.
59320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59321         multiarch objects.
59322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59323         (__libc_ifunc_impl_list): Likewise.
59325         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59326         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59327         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59328         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59329         multiarch bzero for PPC32.
59330         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59331         file.
59332         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59333         file.
59334         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59335         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59336         file: multiarch memset for PPC32.
59337         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59339         memset multiarch objects.
59340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59341         (__libc_ifunc_impl_list): Likewise.
59343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59344         file.
59345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59347         memcmp for PPC32.
59348         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59350         multiarch objects.
59351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59352         (__libc_ifunc_impl_list): Likewise.
59354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59357         file.
59358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59359         file.
59360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59361         file.
59362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59363         multiarch memcpy for PPC32.
59364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59365         multiarch objects.
59366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59367         (__libc_ifunc_impl_list): Likewise.
59369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59370         support multiarch for POWER/PPC32.
59371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59372         Likewise.
59373         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59375         Implies file to make multiarch folder appers before the fpu and
59376         default folder for power4 configuration.
59378 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59380         * scripts/bench.pl: Append volatile keyword to type.
59382 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59384         * sysdeps/sh/sotruss-lib.c: New file.
59385         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59387 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59391 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
59393         [BZ #6810]
59394         * math/w_tgamma.c: Include <errno.h>.
59395         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
59396         * math/w_tgammaf.c: Include <errno.h>.
59397         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
59398         * math/w_tgammal.c: Include <errno.h>.
59399         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
59400         * math/auto-libm-test-in: Do not allow missing errno on tgamma
59401         underflow.  Add more tgamma tests.
59402         * math/auto-libm-test-out: Regenerated.
59403         * sysdeps/i386/fpu/libm-test-ulps: Update.
59404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59406         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
59407         sin, sinh, tan, tanh, tgamma, y0 and y1.
59408         * math/auto-libm-test-out: Regenerated.
59409         * math/libm-test.inc (TEST_COND_x86_64): New macro.
59410         (TEST_COND_x86): Likewise.
59411         (M_E2l): Remove macro.
59412         (M_E3l): Likewise.
59413         (M_2_SQRT_PIl): Likewise.
59414         (M_SQRT_PIl): Likewise.
59415         (M_1_DIV_El): Likewise.
59416         (log_test_data): Use AUTO_TESTS_f_f.
59417         (log10_test_data): Likewise.
59418         (log1p_test_data): Likewise.
59419         (log2_test_data): Likewise.
59420         (sin_test_data): Likewise.
59421         (sin_tonearest_test_data): Likewise.
59422         (sin_towardzero_test_data): Likewise.
59423         (sin_downward_test_data): Likewise.
59424         (sin_upward_test_data): Likewise.
59425         (sinh_test_data): Likewise.
59426         (sinh_tonearest_test_data): Likewise.
59427         (sinh_towardzero_test_data): Likewise.
59428         (sinh_downward_test_data): Likewise.
59429         (sinh_upward_test_data): Likewise.
59430         (tan_test_data): Likewise.
59431         (tan_tonearest_test_data): Likewise.
59432         (tan_towardzero_test_data): Likewise.
59433         (tan_downward_test_data): Likewise.
59434         (tan_upward_test_data): Likewise.
59435         (tanh_test_data): Likewise.
59436         (tgamma_test_data): Likewise.
59437         (y0_test_data): Likewise.
59438         (y1_test_data): Likewise.
59439         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59440         (special_real_inputs): Add pi/4.
59441         * sysdeps/i386/fpu/libm-test-ulps: Update.
59442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59444 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59446         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59447         "longjmp_target" static probes.
59448         (__longjmp): Rename to __longjmp_symbol.
59449         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59450         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59451         on which longjmp to generate.
59452         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59453         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59454         probe.
59455         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59456         (__sigjmp_save): Rename to __sigjmp_save_symbol.
59457         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59458         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59459         and __sigjmp_save_symbol based on which sigsetjmp to generated.
59460         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59462         __longjmp_symbol based on which __longjmp to generate.
59463         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59464         probe.
59465         (setjmp): Rename to setjmp_symbol.
59466         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59467         (_setjmp): Rename to _setjmp_symbol.
59468         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59469         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59470         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59471         which setjmp to generate.
59472         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59473         "longjmp_target" static probes.
59475 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59477         * benchtests/README: Add note about output arguments.
59478         * benchtests/bench-sincos.c: Remove file.
59479         * benchtests/sincos-inputs: New file.
59480         * scripts/bench.pl: Identify output arguments and define
59481         static variables for them.
59483         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59485         [BZ #15941]
59486         * Makefile (INSTALL): Add install-plain.texi as the primary
59487         dependency.
59488         * manual/install-plain.texi: New file.
59489         * manual/install.texi: Include node directive only for
59490         non-plaintext output.
59492 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
59494         * stdlib/longlong.h: Update from GCC.
59496         [BZ #6807]
59497         [BZ #15901]
59498         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59499         * math/w_j0f.c (y0f): Likewise.
59500         * math/w_j0l.c (__y0l): Likewise.
59501         * math/w_j1.c (y1): Likewise.
59502         * math/w_j1f.c (y1f): Likewise.
59503         * math/w_j1l.c (__y1l): Likewise.
59504         * math/w_jn.c (yn): Likewise.
59505         * math/w_jnf.c (ynf): Likewise.
59506         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59507         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
59508         value for Bessel function domain errors outside _SVID_ mode.
59509         Adjust sign of return value for yn (negative integer, 0).
59510         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59511         by zero in return for negative x and set sign appropriately for
59512         negative n.
59513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59514         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59515         * math/libm-test.inc (y0_test_data): Add more tests and adjust
59516         expectations in error cases.
59517         (y1_test_data): Likewise.
59518         (yn_test_data): Likewise.
59519         * sysdeps/i386/fpu/libm-test-ulps: Update.
59520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59522 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59524         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59525         "64" to "64-v1".  Add "64-v2".
59526         (abi-64-options): Rename to ...
59527         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
59528         (abi-64-condition): Rename to ...
59529         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
59530         (abi-64-ld-soname): Rename to ...
59531         (abi-64-v1-ld-soname): ... this.
59532         (abi-64-v2-options): Define.
59533         (abi-64-v2-condition): Likewise.
59534         (abi-64-v2-ld-soname): Likewise.
59535         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59536         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59541 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59542             Alan Modra  <amodra@gmail.com>
59544         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59545         New versions for use with the ELFv2 ABI.
59546         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59547         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59548         declaration.
59549         (struct La_ppc64v2_retval): Likewise.
59550         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59551         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59552         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59553         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59554         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59555         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59556         Do not save or restore CR.
59557         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59558         (_dl_profile_resolve): Do no save or restore CR.  Support extended
59559         return values for ELFv2 ABI.  Fix location of FPR return registers.
59560         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59561         updated values for _CALL_ELF == 2.
59562         (La_regs, La_retval, int_retval): Likewise.
59564 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59566         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59567         (FRAME_MIN_SIZE_PARM): Likewise.
59568         (FRAME_BACKCHAIN): Likewise.
59569         (FRAME_CR_SAVE): Likewise.
59570         (FRAME_LR_SAVE): Likewise.
59571         (FRAME_TOC_SAVE): Likewise.
59572         (FRAME_PARM_SAVE): Likewise.
59573         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59574         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59575         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59576         (call_mcount_parm_offset): New macro.
59577         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59578         (PROF): Use symbolic stack frame offsets.
59579         (TAIL_CALL_SYSCALL_ERROR): Likewise.
59580         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59581         Redefine in terms of FRAME_MIN_SIZE.
59582         (_dl_runtime_resolve): Use symbolic stack frame offsets.
59583         (_dl_profile_resolve): Likewise.  Update comment.
59584         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59585         symbols stack frame offsets.
59586         (__sigsetjmp): Likewise.
59587         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59588         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59589         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59590         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59593         (FRAME_BACKCHAIN): Remove.
59594         (FRAME_CR_SAVE): Likewise.
59595         (FRAME_LR_SAVE): Likewise.
59596         (FRAME_COMPILER_DW): Likewise.
59597         (FRAME_LINKER_DW): Likewise.
59598         (FRAME_TOC_SAVE): Likewise.
59599         (FRAME_PARM_SAVE): Likewise.
59600         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59601         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59602         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59604         (CHECK_SP): Use symbolic stack frame offsets.
59605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59606         zone" instead of caller's parameter save area for temp storage.
59607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59608         Likewise.  Also, use symbolic stack frame offsets.
59609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59610         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59611         our own stack frame instead of the caller's.
59612         (__socket): Use symbolic stack frame offsets.
59614 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59615             Alan Modra  <amodra@gmail.com>
59617         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59618         Define.
59619         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59620         (PPC64_LOCAL_ENTRY_OFFSET): Define.
59621         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59622         New function.
59623         (elf_machine_fixup_plt): Call it.
59624         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
59625         reloc arguments.
59626         (elf_machine_rela): Update call to elf_machine_plt_conflict.
59627         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59628         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59629         r2 before calling target.
59631 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59632             Alan Modra  <amodra@gmail.com>
59634         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59635         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59636         versions of macros to support ELFv2 ABI.
59637         (LOCALENTRY): New macro.
59638         (ENTRY, EALIGN): Use it.
59639         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59640         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59641         fall through into ENTRY entry point.
59642         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59643         Only define if _CALL_ELF != 2.
59645         (elf_machine_matches_host): Verify ABI version matches.
59646         (RTLD_START): Use LOCALENTRY.
59647         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59648         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59649         (PLT_ENTRY_WORDS): New macro.
59650         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59651         (elf_machine_runtime_setup): Support ELFv2 ABI.
59652         (elf_machine_fixup_plt): Likewise.
59653         (elf_machine_plt_conflict): Likewise.
59654         (resolve_ifunc): Likewise.
59655         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59657         Likewise.
59658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59659         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59661         (makecontext): Support ELFv2 ABI.
59662         * elf/elf.h (EF_PPC64_ABI): Define.
59664 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59666         * sysdeps/powerpc/powerpc64/sysdep.h
59667         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59668         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59669         (ENTRY) [ASSEMBLER]: ... but instead here ...
59670         (EALIGN) [ASSEMBLER]: ... and here.
59671         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59672         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59673         (ENTRY_2) [!ASSEMBLER]: Use it.
59674         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59675         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59676         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59677         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59678         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59680         Use PPC64_LOAD_FUNCPTR.
59682         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59684 2013-12-04  Alan Modra  <amodra@gmail.com>
59686         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59687         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59688         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59689         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59692         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59693         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59694         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59695         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59696         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59698 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59701         (__makecontext): Fix incorrect CFI when backtracing out of
59702         context created via makecontext.
59703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59704         (__setcontext): Fix incorrect CFI during switch to new context.
59705         (__novec_setcontext): Likewise.
59707 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59709         [BZ #4772]
59710         * time/strptime_l.c (__strptime_internal): Allow modifiers
59711         in strptime.
59712         * time/tst-strptime.c (day_tests): Add testcase.
59714 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59716         * scripts/bench.pl: Skip over blank lines.
59718 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59720         [BZ #926]
59721         * manual/time.texi (Calendar Time): Clarify what timezone functions
59722         use.
59724 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59728 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59730         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59731         implementation.
59732         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59733         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59734         * debug/memset_chk.c (__memset_chk): Likewise.
59735         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59736         * debug/strncpy_chk.c: Likewise.
59738 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59740         [BZ #15268]
59741         [BZ #15425]
59742         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59743         (__ieee754_exp): For possibly underflowing results, check size of
59744         result and force underflow exception if required.
59745         * math/auto-libm-test-in: Add more tests of exp.
59746         * math/auto-libm-test-out: Regenerated.
59747         * sysdeps/i386/fpu/libm-test-ulps: Update.
59748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59750         [BZ #16283]
59751         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59752         * math/w_exp2f.c (__exp2f): Likewise.
59753         * math/w_exp2l.c (__exp2l): Likewise.
59754         * math/auto-libm-test-in: Do not allow missing errno on exp2
59755         underflow.
59756         * math/auto-libm-test-out: Regenerated.
59758 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59760         [BZ #16274]
59761         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59762         handle filename validation.
59763         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59764         (do_open): Delete.
59766 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59768         [BZ #6786]
59769         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59770         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59771         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59772         <float.h>.
59773         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59774         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59775         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59777         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59778         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59779         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59780         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59781         Add more erfc tests.
59782         * math/auto-libm-test-out: Regenerated.
59783         * sysdeps/i386/fpu/libm-test-ulps: Update.
59784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59786         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59787         exp2, expm1, j0 and j1.
59788         * math/auto-libm-test-out: Regenerated.
59789         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59790         (erfc_test_data): Likewise.
59791         (exp_test_data): Likewise.
59792         (exp_tonearest_test_data): Likewise.
59793         (exp_towardzero_test_data): Likewise.
59794         (exp_downward_test_data): Likewise.
59795         (exp_upward_test_data): Likewise.
59796         (exp10_test_data): Likewise.
59797         (exp2_test_data): Likewise.
59798         (expm1_test_data): Likewise.
59799         (j0_test_data): Likewise.
59800         (j1_test_data): Likewise.
59801         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59802         (input_flag_type): Add flag_xfail_rounding.
59803         (input_flags): Add xfail-rounding.
59804         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59805         (output_for_one_input_case): Handle flag_xfail_rounding.
59806         * sysdeps/i386/fpu/libm-test-ulps: Update.
59807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59809 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59811         [BZ #16289]
59812         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59813         division by 0.
59815 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59817         [BZ #16195]
59818         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59819         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59820         (STAP_PROBE0): New macro.
59821         (STAP_PROBE1): Likewise.
59822         (STAP_PROBE2): Likewise.
59823         (STAP_PROBE3): Likewise.
59824         (STAP_PROBE4): Likewise.
59826 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59828         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59830 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59832         * benchtests/Makefile (bench): Add sqrt.
59833         (LDLIBS-bench-sqrt): New.
59834         * benchtests/sqrt-input: New.
59836 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59838         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59839         (GAIH_EAI): Likewise.
59840         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59841         (gaih_inet): Likewise.
59842         (getaddrinfo): Don't use GAIH_EAI.
59844         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59845         (struct gaih): Remove definition.
59847 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59849         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59850         Use HERRNOP directly.
59852 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59856 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59858         * math/gen-auto-libm-tests.c (test_functions): Add more
59859         single-argument functions.
59860         (special_fill_pi_2): New function.
59861         (special_fill_minus_pi_2): Likewise.
59862         (special_fill_pi_6): Likewise.
59863         (special_fill_minus_pi_6): Likewise.
59864         (special_fill_pi_3): Likewise.
59865         (special_fill_2pi_3): Likewise.
59866         (special_fill_e): Likewise.
59867         (special_fill_1_e): Likewise.
59868         (special_fill_e_minus_1): Likewise.
59869         (special_real_inputs): Add more special inputs.
59870         (output_for_one_input_case): Do not require ERANGE on underflow to
59871         zero if round-to-nearest result does not underflow to zero, unless
59872         exact results required.
59873         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59874         atan, atanh, cbrt, cos and cosh.
59875         * math/auto-libm-test-out: Regenerated.
59876         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59877         (acos_tonearest_test_data): Likewise.
59878         (acos_towardzero_test_data): Likewise.
59879         (acos_downward_test_data): Likewise.
59880         (acos_upward_test_data): Likewise.
59881         (acosh_test_data): Likewise.
59882         (asin_test_data): Likewise.
59883         (asin_tonearest_test_data): Likewise.
59884         (asin_towardzero_test_data): Likewise.
59885         (asin_upward_test_data): Likewise.
59886         (asinh_test_data): Likewise.
59887         (atan_test_data): Likewise.
59888         (atanh_test_data): Likewise.
59889         (cbrt_test_data): Likewise.
59890         (cos_test_data): Likewise.
59891         (cos_tonearest_test_data): Likewise.
59892         (cos_towardzero_test_data): Likewise.
59893         (cos_downward_test_data): Likewise.
59894         (cos_upward_test_data): Likewise.
59895         (cosh_test_data): Likewise.
59896         (cosh_tonearest_test_data): Likewise.
59897         (cosh_towardzero_test_data): Likewise.
59898         (cosh_downward_test_data): Likewise.
59899         (cosh_upward_test_data): Likewise.
59900         * sysdeps/i386/fpu/libm-test-ulps: Update.
59901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59903 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59905         [BZ #6787]
59906         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59907         * math/w_exp10f.c (__exp10f): Likewise.
59908         * math/w_exp10l.c (__exp10l): Likewise.
59909         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59910         errno settings in existing tests.
59912         [BZ #14032]
59913         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59914         precision control set to double precision.
59915         * sysdeps/i386/fpu/w_sqrt.c: New file.
59916         * math/auto-libm-test-in: Add more tests.
59917         * math/auto-libm-test-out: Update.
59919         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59920         (sqrt_test_tonearest): New function.
59921         (sqrt_towardzero_test_data): New variable.
59922         (sqrt_test_towardzero): New function.
59923         (sqrt_downward_test_data): New variable.
59924         (sqrt_test_downward): New function.
59925         (sqrt_upward_test_data): New variable.
59926         (sqrt_test_upward): New function.
59927         (main): Call the new functions.
59929         * math/gen-auto-libm-tests.c: New file.
59930         * math/auto-libm-test-in: Likewise.
59931         * math/auto-libm-test-out: New generated file.
59932         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59933         variables.
59934         (%beautify): Add generated representations of zero.
59935         (top level): Set $auto_input and call parse_auto_input.
59936         (beautify): Remove trailing "f" from hex float constants.
59937         (parse_args): Handle XFAIL_TEST.
59938         (convert_condition): New function.
59939         (or_value): Likewise.
59940         (or_cond_value): Likewise.
59941         (generate_testfile): Handle AUTO_TESTS_* lines.
59942         (parse_auto_input): New function.
59943         * math/libm-test.inc (XFAIL_TEST): New macro.
59944         (ERRNO_UNCHANGED): Update value.
59945         (ERRNO_EDOM): Likewise.
59946         (ERRNO_ERANGE): Likewise.
59947         (IGNORE_RESULT): Likewise.
59948         (TEST_COND_flt_32): New macro.
59949         (TEST_COND_dbl_64): Likewise.
59950         (TEST_COND_ldbl_96_intel): Likewise.
59951         (TEST_COND_ldbl_96_m68k): Likewise.
59952         (TEST_COND_ldbl_128): Likewise.
59953         (TEST_COND_ldbl_128ibm): Likewise.
59954         (TEST_COND_long32): Likewise.
59955         (TEST_COND_long64): Likewise.
59956         (TEST_COND_before_rounding): Likewise.
59957         (TEST_COND_after_rounding): Likewise.
59958         (enable_test): Handle XFAIL_TEST flag.
59959         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59960         with finite results.
59961         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59962         auto-libm-test-out.
59964 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59965             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59967         [BZ #16214]
59968         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59969         __tls_get_addr_internal instead of __tls_get_offset in order to
59970         avoid GOT pointer dependency.  Make rtld export
59971         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59972         __tls_get_addr since we are a __tls_get_offset platform.
59973         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59974         GOT pointer being set up before.
59975         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59977 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59979         * manual/math.texi (Errors in Math Functions): Document accuracy
59980         goals.
59982         [BZ #15004]
59983         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59984         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59985         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59986         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59987         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59988         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59989         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59990         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59991         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59992         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59993         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59994         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59995         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59996         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59997         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59998         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60000         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60001         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60002         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60003         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60004         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60005         Likewise.
60006         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60007         Likewise.
60008         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60009         Likewise.
60010         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60012         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60013         atomic-feupdateenv and flt-rounds.
60014         * sysdeps/powerpc/nofpu/Versions (libc): Add
60015         __atomic_feholdexcept, __atomic_feclearexcept,
60016         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60017         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60018         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60019         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60020         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60021         here.
60022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60023         Update.
60025         * manual/arith.texi (FP Exceptions): Document that exceptions may
60026         not be raised when matherr is used.
60027         (Math Error Reporting): Document overflow in directed rounding
60028         modes.  Document that errno may not be set when finite values are
60029         returned on overflow.  Document intent to set errno on underflow
60030         only for underflow to zero.
60032         [BZ #16271]
60033         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60034         round-to-nearest then adjust result for other rounding modes.
60035         * include/fenv.h (fegetround): Use libm_hidden_proto.
60036         * math/fegetround.c (fegetround): Use libm_hidden_def.
60037         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60038         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60039         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60040         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60041         Likewise.
60042         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60043         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60044         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60045         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60047 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60049         [BZ #16077]
60050         * nss/Versions (libnss_files): Add
60051         _nss_files_gethostbyname3_r.
60052         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60053         New function.
60054         (HOST_DB_LOOKUP): Remove macro.
60055         (_nss_files_gethostbyname_r): Implement function without the
60056         HOST_DB_LOOKUP macro.
60057         (_nss_files_gethostbyname2_r): Likewise.
60059 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
60061         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60063 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60065         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60066         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60067         warning.
60069 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60071         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60072         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60073         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60074         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60075         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60076         __fe_nomask_env_priv and attribute_hidden.
60077         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60078         (libc_feupdateenv_test_ppc): Likewise.
60079         (libc_feresetround_ppc): Likewise.
60080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60081         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60082         compat_symbol macro.
60083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60084         (__fe_nomask_env): Likewise.
60085         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60087 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60089         * string/Makefile: Remove ifunc tests.
60090         * string/test-string.h: Define TEST_IFUNC.
60091         * string/test-bcopy-ifunc.c: Remove.
60092         * string/test-bzero-ifunc.c: Likewise.
60093         * string/test-memccpy-ifunc.c: Likewise.
60094         * string/test-memchr-ifunc.c: Likewise.
60095         * string/test-memcmp-ifunc.c: Likewise.
60096         * string/test-memcpy-ifunc.c: Likewise.
60097         * string/test-memmem-ifunc.c: Likewise.
60098         * string/test-memmove-ifunc.c: Likewise.
60099         * string/test-mempcpy-ifunc.c: Likewise.
60100         * string/test-memrchr-ifunc.c: Likewise.
60101         * string/test-memset-ifunc.c: Likewise.
60102         * string/test-rawmemchr-ifunc.c: Likewise.
60103         * string/test-stpcpy-ifunc.c: Likewise.
60104         * string/test-stpncpy-ifunc.c: Likewise.
60105         * string/test-strcasecmp-ifunc.c: Likewise.
60106         * string/test-strcasestr-ifunc.c: Likewise.
60107         * string/test-strcat-ifunc.c: Likewise.
60108         * string/test-strchr-ifunc.c: Likewise.
60109         * string/test-strchrnul-ifunc.c: Likewise.
60110         * string/test-strcmp-ifunc.c: Likewise.
60111         * string/test-strcpy-ifunc.c: Likewise.
60112         * string/test-strcspn-ifunc.c: Likewise.
60113         * string/test-strlen-ifunc.c: Likewise.
60114         * string/test-strncasecmp-ifunc.c: Likewise.
60115         * string/test-strncat-ifunc.c: Likewise.
60116         * string/test-strncmp-ifunc.c: Likewise.
60117         * string/test-strncpy-ifunc.c: Likewise.
60118         * string/test-strnlen-ifunc.c: Likewise.
60119         * string/test-strpbrk-ifunc.c: Likewise.
60120         * string/test-strrchr-ifunc.c: Likewise.
60121         * string/test-strspn-ifunc.c: Likewise.
60122         * string/test-strstr-ifunc.c: Likewise.
60124 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60126         * benchtests/Makefile: Remove ifunc tests.
60127         * benchtests/bench-string.h: Define TEST_IFUNC.
60128         * benchtests/bench-bcopy-ifunc.c: Remove.
60129         * benchtests/bench-bzero-ifunc.c: Likewise.
60130         * benchtests/bench-memccpy-ifunc.c: Likewise.
60131         * benchtests/bench-memchr-ifunc.c: Likewise.
60132         * benchtests/bench-memcmp-ifunc.c: Likewise.
60133         * benchtests/bench-memcpy-ifunc.c: Likewise.
60134         * benchtests/bench-memmem-ifunc.c: Likewise.
60135         * benchtests/bench-memmove-ifunc.c: Likewise.
60136         * benchtests/bench-mempcpy-ifunc.c: Likewise.
60137         * benchtests/bench-memrchr-ifunc.c: Likewise.
60138         * benchtests/bench-memset-ifunc.c: Likewise.
60139         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60140         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60141         * benchtests/bench-stpcpy-ifunc.c: Likewise.
60142         * benchtests/bench-stpncpy-ifunc.c: Likewise.
60143         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60144         * benchtests/bench-strcasestr-ifunc.c: Likewise.
60145         * benchtests/bench-strcat-ifunc.c: Likewise.
60146         * benchtests/bench-strchr-ifunc.c: Likewise.
60147         * benchtests/bench-strchrnul-ifunc.c: Likewise.
60148         * benchtests/bench-strcmp-ifunc.c: Likewise.
60149         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60150         * benchtests/bench-strcpy-ifunc.c: Likewise.
60151         * benchtests/bench-strcspn-ifunc.c: Likewise.
60152         * benchtests/bench-strlen-ifunc.c: Likewise.
60153         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60154         * benchtests/bench-strncat-ifunc.c: Likewise.
60155         * benchtests/bench-strncmp-ifunc.c: Likewise.
60156         * benchtests/bench-strncpy-ifunc.c: Likewise.
60157         * benchtests/bench-strnlen-ifunc.c: Likewise.
60158         * benchtests/bench-strpbrk-ifunc.c: Likewise.
60159         * benchtests/bench-strrchr-ifunc.c: Likewise.
60160         * benchtests/bench-strsep-ifunc.c: Likewise.
60161         * benchtests/bench-strspn-ifunc.c: Likewise.
60162         * benchtests/bench-strstr-ifunc.c: Likewise.
60164 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60166         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60168 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60170         * resolv/netdb.h: Use __glibc_reserved instead __unused.
60171         * rt/aio.h: Likewise.
60172         * sysdeps/gnu/bits/utmp.h: Likewise.
60173         * sysdeps/gnu/bits/utmpx.h: Likewise.
60174         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60175         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60176         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60177         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60178         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60179         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60180         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60181         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60182         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60183         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60184         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60185         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60186         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60188         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60189         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60190         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60191         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60192         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60193         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60194         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60195         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60196         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60197         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60198         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60200         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60201         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60202         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60203         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60204         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60205         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60206         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60207         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60208         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60209         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60210         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60211         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60212         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60213         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60214         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60215         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60217 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
60219         [BZ #16245]
60220         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60221         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60223 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
60225         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60226         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60227         Likewise.
60229 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60231         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60232         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60233         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60234         (__fesetround): Remove define.
60235         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60236         rounding and exceptions handling.
60237         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60238         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60239         (__fe_nomask_env): Likewise.
60240         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60241         __fegetround instead of fegetround.
60242         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60243         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60245 2013-11-21  Roland McGrath  <roland@hack.frob.com>
60247         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60248         it's there.
60250         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60252 2013-11-21  Meador Inge  <meadori@codesourcery.com>
60254         [BZ #11157]
60255         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60256         (encrypt_r): Likewise.
60257         * malloc/obstack.h (obstack_free): Likewise.
60258         * posix/unistd.h (encrypt): Likewise.
60260 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
60262         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60263         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60264         DL_CALL_DT_FINI() that call the functions directly.
60265         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60266         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60267         * elf/dl-fini.c: Likewise.
60269 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
60271         * malloc/hooks.c (memalign_check): Add alignment rounding.
60272         * malloc/malloc.c (_mid_memalign): New function.
60273         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60274         Implement by calling _mid_memalign.
60275         * manual/probes.texi (Memory Allocation Probes): Remove
60276         memory_valloc_retry and memory_pvalloc_retry.
60278 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60280         * locale/programs/locarchive.c (open_archive): Add const
60281         qualifier to ARCHIVEFNAME and copy default fname to
60282         DEFAULT_FNAME.
60284         [BZ #15601]
60285         * libio/tst-widetext.input: Rename Oriya to Odia.
60286         * locale/iso-639.def: Likewise.
60288         * manual/probes.texi (Mathematical Function Probes): Add
60289         documentation for sin, cos, asin and acos probes.
60290         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60291         (__sin32): Add slowasin probe.
60292         (__cos32): Add slowacos probe.
60293         (__mpsin): Add slowsin probe.
60294         (__mpcos): Add slowcos probe.
60296 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
60298         [BZ #15483]
60299         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60300         thread-local __sim_exceptions_thread and global
60301         __sim_exceptions_global.
60302         (__sim_disabled_exceptions): Change to thread-local
60303         __sim_disabled_exceptions_thread and global
60304         __sim_disabled_exceptions_global.
60305         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60306         and global __sim_round_mode_global.
60307         (__simulate_exceptions): Use thread-local floating-point state and
60308         set global state from it as needed.
60309         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60310         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60311         __sim_round_mode_thread.
60312         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60313         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60314         and global __sim_exceptions_global.
60315         (__sim_disabled_exceptions): Change to thread-local
60316         __sim_disabled_exceptions_thread and global
60317         __sim_disabled_exceptions_global.
60318         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60319         and global __sim_round_mode_global.
60320         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60321         (SIM_SET_GLOBAL): Likewise.
60322         * sysdeps/powerpc/soft-fp/sfp-machine.h
60323         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60324         __sim_round_mode_thread.
60325         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60326         __sim_disabled_exceptions_thread.
60327         (__sim_exceptions): Change to __sim_exceptions_thread.
60328         (__sim_disabled_exceptions): Change to
60329         __sim_disabled_exceptions_thread.
60330         (__sim_round_mode): Change to __sim_round_mode_thread.
60331         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60332         thread-local floating-point state and set global state from it as
60333         needed.
60334         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60335         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60336         (__sim_disabled_exceptions): Remove extern declaration.
60337         (feenableexcept): Use thread-local floating-point state and set
60338         global state from it as needed.
60339         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60340         extern declaration.
60341         (__sim_disabled_exceptions): Likewise.
60342         (__sim_round_mode): Likewise.
60343         (__fegetenv): Use thread-local floating-point state.
60344         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60345         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60346         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60347         floating-point state and set global state from it as needed.
60348         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60349         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60350         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60351         Likewise.
60352         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60353         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60354         Likewise.
60355         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60356         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60357         Use __sim_round_mode_thread.
60358         * math/test-fenv-tls.c: New file.
60359         * math/Makefile (tests): Add test-fenv-tls.
60360         ($(objpfx)test-fenv-tls): Depend on
60361         $(common-objpfx)nptl/libpthread.so.
60363 2013-11-19  Andreas Schwab  <schwab@suse.de>
60365         * locale/programs/locale.c (show_info): Decode wordarray elements.
60366         * locale/categories.def (LC_MONETARY): Add element for
60367         _NL_MONETARY_CRNCYSTR.
60368         * locale/C-monetary.c (conversion_rate): New variable.
60369         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60370         element.
60372 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
60374         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60375         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60377 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60379         * elf/Makefile (tst-auxv): New test.
60380         * elf/tst-auxv.c: New
60381         * elf/rtld.c (dl_main): Adjust AT_EXECFN
60383 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
60385         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60386         (hidden_proto): Caller changed.
60387         (hidden_tls_proto): New macro.
60388         (libc_hidden_tls_proto): Likewise.
60389         (rtld_hidden_tls_proto): Likewise.
60390         (libm_hidden_tls_proto): Likewise.
60391         (libresolv_hidden_tls_proto): Likewise.
60392         (librt_hidden_tls_proto): Likewise.
60393         (libdl_hidden_tls_proto): Likewise.
60394         (libnss_files_hidden_tls_proto): Likewise.
60395         (libnsl_hidden_tls_proto): Likewise.
60396         (libnss_nisplus_hidden_tls_proto): Likewise.
60397         (libutil_hidden_tls_proto): Likewise.
60399 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
60401         [BZ #10253]
60402         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
60403         (decompose_rpath): Defer expansion to fillin_rpath.
60404         (_dl_init_paths): Pass linkmap to fillin_rpath.
60406 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
60408         * benchtests/Makefile: Add strsep.
60409         * benchtests/bench-strsep.c: New file: strsep benchtest.
60410         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60412 2013-11-18  Andreas Schwab  <schwab@suse.de>
60414         * locale/programs/locale.c (show_info) [case byte]: Check for
60415         '\377' instead of '\177'.
60416         * locale/C-monetary.c (not_available): Always use "\377".
60417         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60418         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
60419         detect unavailable sign_posn locale elements.
60420         * locale/localeconv.c (__localeconv): For grouping and
60421         mon_grouping handle "\177" and "\377" like no grouping.
60422         (INT_ELEM): New macro.  Use it to set all numeric members.
60423         * locale/programs/ld-monetary.c (monetary_read)
60424         <tok_mon_grouping>: Normalize single -1 to the empty string.
60425         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60426         Likewise.
60428 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60430         [BZ #16055]
60431         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60432         when we match (nil).
60433         * stdio-common/tst-sscanf.c (struct test): Add testcase.
60435 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
60437         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60438         (NO_TEST_INLINE): Update value.
60439         (ERRNO_UNCHANGED): Likewise.
60440         (ERRNO_EDOM): Likewise.
60441         (ERRNO_ERANGE): Likewise.
60442         (IGNORE_RESULT): Likewise.
60443         (check_float_internal): Check signs of NaN results if
60444         TEST_NAN_SIGN used.
60445         (check_complex): Pass TEST_NAN_SIGN flag through to second
60446         check_float_internal call.
60447         (copysign_test_data): Add tests with quiet NaNs as second
60448         argument.  Use TEST_NAN_SIGN.
60449         (fabs_test_data): Add test of negative quiet NaN argument.  Use
60450         TEST_NAN_SIGN.
60451         (signbit_test_data): Add tests of quiet NaN argument.
60452         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60454         * math/gen-libm-test.pl (show_exceptions): Take extra argument
60455         $ignore_result.
60456         (parse_args): Handle function results specified as IGNORE.
60457         * math/libm-test.inc (IGNORE_RESULT): New macro.
60458         (check_float_internal): Do not check numerical result if flag
60459         IGNORE_RESULT set.
60460         (check_complex): Pass through IGNORE_RESULT to second
60461         check_float_internal call.
60462         (check_int): Do not check numerical result if flag IGNORE_RESULT
60463         set.
60464         (check_long): Likewise.
60465         (check_bool): Likewise.
60466         (check_longlong): Likewise.
60467         (lrint_test_data): Add tests of infinite and NaN arguments.
60468         (lrint_tonearest_test_data): Likewise.
60469         (lrint_towardzero_test_data): Likewise.
60470         (lrint_downward_test_data): Likewise.
60471         (lrint_upward_test_data): Likewise.
60472         (llrint_test_data): Likewise.
60473         (llrint_tonearest_test_data): Likewise.
60474         (llrint_towardzero_test_data): Likewise.
60475         (llrint_downward_test_data): Likewise.
60476         (llrint_upward_test_data): Likewise.
60477         (lround_test_data): Likewise.
60478         (llround_test_data): Likewise.
60480         * math/libm-test.inc (NO_TEST_INLINE): New macro.
60481         (ERRNO_UNCHANGED): Update value.
60482         (ERRNO_EDOM): Likewise.
60483         (ERRNO_ERANGE): Likewise.
60484         (NO_TEST_INLINE_FLOAT): New macro.
60485         (NO_TEST_INLINE_DOUBLE): Likewise.
60486         (enable_test): New function.
60487         (RUN_TEST_f_f): Check enable_test before running test.
60488         (RUN_TEST_2_f): Likewise.
60489         (RUN_TEST_fff_f): Likewise.
60490         (RUN_TEST_c_f): Likewise.
60491         (RUN_TEST_f_f1): Likewise.
60492         (RUN_TEST_fF_f1): Likewise.
60493         (RUN_TEST_fI_f1): Likewise.
60494         (RUN_TEST_ffI_f1): Likewise.
60495         (RUN_TEST_c_c): Likewise.
60496         (RUN_TEST_cc_c): Likewise.
60497         (RUN_TEST_f_i): Likewise.
60498         (RUN_TEST_f_i_tg): Likewise.
60499         (RUN_TEST_ff_i_tg): Likewise.
60500         (RUN_TEST_f_b): Likewise.
60501         (RUN_TEST_f_b_tg): Likewise.
60502         (RUN_TEST_f_l): Likewise.
60503         (RUN_TEST_f_L): Likewise.
60504         (RUN_TEST_fFF_11): Likewise.
60505         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60506         conditionals.
60507         (cosh_test_data): Likewise.
60508         (exp_test_data): Likewise.
60509         (expm1_test_data): Likewise.
60510         (hypot_test_data): Likewise.
60511         (pow_test_data): Likewise.
60512         (sinh_test_data): Likewise.
60513         (tanh_test_data): Likewise.
60514         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60515         flags argument.
60517         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60518         tests with quiet NaN input and output.
60519         (acosh_test_data): Likewise.
60520         (asin_test_data): Likewise.
60521         (asinh_test_data): Likewise.
60522         (atan_test_data): Likewise.
60523         (atanh_test_data): Likewise.
60524         (atan2_test_data): Likewise.
60525         (cbrt_test_data): Likewise.
60526         (cos_test_data): Likewise.
60527         (cosh_test_data): Likewise.
60528         (erf_test_data): Likewise.
60529         (erfc_test_data): Likewise.
60530         (exp_test_data): Likewise.
60531         (exp10_test_data): Likewise.
60532         (exp2_test_data): Likewise.
60533         (expm1_test_data): Likewise.
60534         (hypot_test_data): Likewise.
60535         (j0_test_data): Likewise.
60536         (j1_test_data): Likewise.
60537         (jn_test_data): Likewise.
60538         (lgamma_test_data): Likewise.
60539         (log_test_data): Likewise.
60540         (log10_test_data): Likewise.
60541         (log1p_test_data): Likewise.
60542         (log2_test_data): Likewise.
60543         (pow_test_data): Likewise.
60544         (scalb_test_data): Likewise.
60545         (sin_test_data): Likewise.
60546         (sincos_test_data): Likewise.
60547         (sinh_test_data): Likewise.
60548         (tan_test_data): Likewise.
60549         (tanh_test_data): Likewise.
60550         (tgamma_test_data): Likewise.
60551         (y0_test_data): Likewise.
60552         (y1_test_data): Likewise.
60553         (yn_test_data): Likewise.
60555         [BZ #16167]
60556         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60557         argument being NaN and avoid computations with second argument in
60558         that case.
60559         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60560         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60561         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60563 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
60565         * locale/iso-639.def: Add Chitwani Tharu (the).
60567 2013-11-14  Andreas Schwab  <schwab@suse.de>
60569         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60570         word instead of empty string.
60572 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60575         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60577         (__fe_nomask_env): Likewise.
60579 2013-11-13  Steve Ellcey  <sellcey@mips.com>
60581         * benchtests/bench-timing.h: Include time.h.
60583 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
60585         [BZ #15997]
60586         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60587         to 3.4.0 for x32.
60588         * sysdeps/unix/sysv/linux/configure: Regenerated.
60590 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
60592         [BZ #16151]
60593         * stdlib/strtod_l.c (round_and_return): Do not consider
60594         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60595         exponent one less than half the least subnormal exponent.
60596         * stdlib/test-strtod-round-data: Add more tests.
60597         * stdlib/tst-strtod-round.c (tests): Regenerated.
60599 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60601         [BZ #14143]
60602         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60603         (__fe_mask_env): Likewise.
60604         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60605         libm_hidden_proto and add function prototype.
60606         (__fe_mask_env): Add function prototype.
60607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60608         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60610         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60612         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60614 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60616         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60617         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60619 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60621         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60622         of htab_find_slot().
60624 2013-11-11  David S. Miller  <davem@davemloft.net>
60626         [BZ #16150]
60627         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60628         symbol in the non-vis3 case in static builds.
60629         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60630         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60631         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60632         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60634 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60636         [BZ #387]
60637         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60638         it is empty.
60640 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60642         * benchtests/Makefile: Add bench-strtod.
60643         * benchtests/bench-strtod.c: New file: strtod benchtest
60645 2013-11-11  Andreas Schwab  <schwab@suse.de>
60647         [BZ #16153]
60648         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60649         terminating NUL in key length.
60651 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60653         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60654         Add artificial ODP entry for vDSO symbol for PPC64.
60655         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60656         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60658 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60660         [BZ #15374]
60661         * nss/getent.c (services_keys): Recognize services starting with digit.
60663 2013-11-06  David S. Miller  <davem@davemloft.net>
60665         [BZ #15985]
60666         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60667         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60669 2013-11-06  Will Newton  <will.newton@linaro.org>
60671         * manual/memory.texi (Malloc Examples): Remove register
60672         keyword from examples.
60674 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60676         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60678 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60680         [BZ #6981]
60681         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60682         depending on [__GCC_IEC_559 > 0].
60683         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60684         depending on [__GCC_IEC_559_COMPLEX > 0].
60686 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60688         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60689         to iso-639.def.
60691 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60693         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60695 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60697         [BZ #16112]
60698         * malloc/malloc (malloc_info): Do not handle first bin as
60699         special case.
60701 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60703         * locale/iso-639.def: Add Central Nahuatl (nhn).
60705 2013-11-01  Bruno Haible  <bruno@clisp.org>
60707         [BZ #7003]
60708         * manual/math.texi (BSD Random): Specify range upper bound as
60709         in POSIX.
60711 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60713         * locale/iso-639.def: Add Meadow Mari (mhr).
60715 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60717         [BZ #14752], [BZ #15763]
60718         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60719         Validate name.
60720         * rt/tst_shm.c: Add test for escaping directory.
60722 2013-10-31  Andreas Schwab  <schwab@suse.de>
60724         [BZ #15917]
60725         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60726         followed by 'x' as part of digit sequence.
60727         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60729 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60731         [BZ #16037]
60732         * configure.ac: allow GNU Make 4.0 and greater.
60733         * configure: Regenerated.
60735 2013-10-30  Will Newton  <will.newton@linaro.org>
60737         [BZ #16038]
60738         * malloc/hooks.c (memalign_check): Limit alignment to the
60739         maximum representable power of two.
60740         * malloc/malloc.c (__libc_memalign): Likewise.
60741         * malloc/tst-memalign.c (do_test): Add test for very
60742         large alignment values.
60743         * malloc/tst-posix_memalign.c (do_test): Likewise.
60745 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60747         [BZ #11087]
60748         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60749         (munmap_chunk): Likewise.
60750         (mremap_chunk): Likewise.
60752 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60754         [BZ #15799]
60755         * stdlib/div.c (div): Remove obsolete code.
60756         * stdlib/ldiv.c (ldiv): Likewise.
60757         * stdlib/lldiv.c (lldiv): Likewise.
60759 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60761         [BZ #16071]
60762         * nss/nss_files/files-XXX.c (get_contents_ret): New
60763         enumerator.
60764         (get_contents): New function.
60765         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60767 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60769         * configure.in: Moved to ...
60770         * configure.ac: ... here. Change reference to configure.in
60771         to configure.ac.
60772         * sysdeps/arm/preconfigure.ac: ... here.
60773         configure.in to configure.ac.
60774         * sysdeps/gnu/configure.in: Moved to ...
60775         * sysdeps/gnu/configure.ac: ... here.
60776         * sysdeps/i386/configure.in: Moved to ...
60777         * sysdeps/i386/configure.ac: ... here.
60778         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60779         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60780         * sysdeps/mach/configure.in: Moved to ...
60781         * sysdeps/mach/configure.ac: ... here.
60782         * sysdeps/mach/hurd/configure.in: Moved to ...
60783         * sysdeps/mach/hurd/configure.ac: ... here.
60784         * sysdeps/powerpc/configure.in: Moved to ...
60785         * sysdeps/powerpc/configure.ac: ... here.
60786         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60787         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60788         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60789         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60790         * sysdeps/s390/s390-32/configure.in: Moved to ...
60791         * sysdeps/s390/s390-32/configure.ac: ... here.
60792         * sysdeps/s390/s390-64/configure.in: Moved to ...
60793         * sysdeps/s390/s390-64/configure.ac: ... here.
60794         * sysdeps/sh/configure.in: Moved to ...
60795         * sysdeps/sh/configure.ac: ... here.
60796         * sysdeps/sparc/configure.in: Moved to ...
60797         * sysdeps/sparc/configure.ac: ... here.
60798         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60799         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60800         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60801         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60802         * sysdeps/x86_64/configure.in: Moved to ...
60803         * sysdeps/x86_64/configure.ac: ... here.
60804         * sysdeps/x86_64/preconfigure.in: Moved to ...
60805         * sysdeps/x86_64/preconfigure.ac: ... here.
60806         * aclocal.m4: Change reference to configure.in to configure.ac.
60807         * config.h.in: Likewise.
60808         * manual/install.texi: Likewise.
60809         * manual/maint.texi: Likewise.
60810         * Makefile: Likewise.
60811         * malloc/Makefile: Likewise.
60812         * nscd/Makefile: Likewise.
60813         * Makeconfig: Change reference to configure.in and
60814         preconfigure.in to configure.ac and preconfigure.ac
60815         respectively.
60816         * INSTALL: Regenerated.
60817         * configure: Likewise.
60818         * sysdeps/gnu/configure: Likewise.
60819         * sysdeps/i386/configure: Likewise.
60820         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60821         * sysdeps/mach/configure: Likewise.
60822         * sysdeps/mach/hurd/configure: Likewise.
60823         * sysdeps/powerpc/configure: Likewise.
60824         * sysdeps/powerpc/powerpc32/configure: Likewise.
60825         * sysdeps/powerpc/powerpc64/configure: Likewise.
60826         * sysdeps/s390/s390-32/configure: Likewise.
60827         * sysdeps/s390/s390-64/configure: Likewise.
60828         * sysdeps/sh/configure: Likewise.
60829         * sysdeps/sparc/configure: Likewise.
60830         * sysdeps/unix/sysv/linux/configure: Likewise.
60831         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60832         * sysdeps/x86_64/configure: Likewise.
60833         * sysdeps/x86_64/preconfigure: Likewise.
60835 2013-10-29  Andreas Schwab  <schwab@suse.de>
60837         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60839 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60841         * benchtests/pow-inputs: Add new inputs.
60843         * benchtests/exp-inputs: Add new inputs.
60845         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60846         conditional check for return value.
60847         (__cos32): Likewise.
60849 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60851         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60852         to provide a boost for large inputs with word alignment.
60853         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60854         implementation based on optimized PPC64 strcpy.
60855         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60856         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60857         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60858         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60860 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60862         [BZ #2801]
60863         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60865 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60867         [BZ #14876]
60868         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60869         * time/tst-strptime.c (day_tests): Add testcase.
60871 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60873         [BZ #14029]
60874         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60876 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60878         [BZ #16074]
60879         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60880         MAP_FAILED on error.
60882 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60884         [BZ #16072]
60885         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60886         heap for large requests.
60888 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60890         [BZ #9954]
60891         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60892         result if the result has no associated interface.
60893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60894         interface for all 127.X.Y.Z addresses.
60896 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60898         * locale/iso-639.def: Add Ligurian (lij)
60900 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60902         [BZ #15825]
60903         * sunrpc/rpc_main.c: Document rpcgen -5.
60905 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60907         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60909 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60911         [BZ #10278]
60912         * posix/glob.c: Match only directories when trailing slash is present.
60913         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60914         (main): Add testcase.
60916 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60918         [BZ #15670]
60919         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60921 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60923         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60924         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60925         AUTH_DES and cindex for FIPS 140-2.
60926         (DES Encryption): Add cindex FIPS 46-3.
60928         * locale/locarchive.h (struct locarhandle): Add fname.
60929         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60930         if an optional argument was specified to --list-archive,
60931         otherwise NULL.
60932         * locale/programs/locarchive.c (show_archive_content): Take new
60933         argument fname and pass it via ah.fname to open_archive.
60934         * locale/programs/localedef.h: Update decl.
60935         (open_archive): If AH->fname is non-null, open that file
60936         rather than the default file name, and don't ignore ENOENT.
60937         (create_archive): Set AH.fname to NULL.
60938         (delete_locales_from_archive): Likewise.
60939         (add_locales_to_archive): Likewise.
60940         * locale/programs/locfile.c (write_all_categories): Likewise.
60942 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60943             Aldy Hernandez  <aldyh@redhat.com>
60945         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60946         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60947         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60948         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60949         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60950         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60951         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60952         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60953         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60954         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60955         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60956         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60957         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60958         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60959         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60960         Likewise.
60961         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60962         Likewise.
60963         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60964         Likewise.
60965         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60966         Likewise.
60967         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60968         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60969         Likewise.
60970         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60971         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60972         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60973         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60974         Likewise.
60975         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60976         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60977         * sysdeps/powerpc/preconfigure: Likewise.
60978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60979         Likewise.
60980         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60981         Replace contents of file by #include of <fenv_libc.h>.
60982         * sysdeps/powerpc/soft-fp/sfp-machine.h
60983         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60984         and <sys/prctl.h>.
60985         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60998         Allow copysignl PLT reference to be missing.
61000 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61001             Joseph Myers  <joseph@codesourcery.com
61003         [BZ #15948]
61004         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61005         single character.
61006         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61008 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61010         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61011         * elf/tst-tls1.c: Likewise.
61012         * elf/tst-tls10.h: Likewise.
61013         * elf/tst-tls14.c: Likewise.
61014         * elf/tst-tls2.c: Likewise.
61015         * elf/tst-tls3.c: Likewise.
61016         * elf/tst-tls4.c: Likewise.
61017         * elf/tst-tls5.c: Likewise.
61018         * elf/tst-tls6.c: Likewise.
61019         * elf/tst-tls7.c: Likewise.
61020         * elf/tst-tls8.c: Likewise.
61021         * elf/tst-tls9.c: Likewise.
61022         * elf/tst-tlsmod1.c: Likewise.
61023         * elf/tst-tlsmod13.c: Likewise.
61024         * elf/tst-tlsmod13a.c: Likewise.
61025         * elf/tst-tlsmod14a.c: Likewise.
61026         * elf/tst-tlsmod16a.c: Likewise.
61027         * elf/tst-tlsmod16b.c: Likewise.
61028         * elf/tst-tlsmod2.c: Likewise.
61029         * elf/tst-tlsmod3.c: Likewise.
61030         * elf/tst-tlsmod4.c: Likewise.
61031         * elf/tst-tlsmod5.c: Likewise.
61032         * elf/tst-tlsmod6.c: Likewise.
61034 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
61036         [BZ #12486]
61037         * malloc/malloc.c: remove checks for statistics.
61039 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61041         [BZ #15277]
61042         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61043         * inet/tst-network.c: Add testcase.
61045 2013-10-17  Andreas Schwab  <schwab@suse.de>
61047         [BZ #15218]
61048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61049         to determine canonical name.
61051 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61053         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61054         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61055         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61056         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61058         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61059         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61060         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61061         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61062         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61063         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61064         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61065         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61066         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61067         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61068         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61070         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61071         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61072         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61073         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61076         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61077         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61079         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61080         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61081         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61082         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61083         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61084         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61085         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61086         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61087         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61088         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61089         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61090         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61091         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61092         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61093         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61094         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61095         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61096         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61097         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61098         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61099         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61100         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61101         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61102         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61103         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61104         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61105         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61106         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61108         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61109         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61110         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61112 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
61114         [BZ #16041]
61115         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61116         make result into a quiet NaN.
61118 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
61120         * soft-fp/adddf3.c: Fix horizontal whitespace.
61121         * soft-fp/addsf3.c: Likewise.
61122         * soft-fp/addtf3.c: Likewise.
61123         * soft-fp/divdf3.c: Likewise.
61124         * soft-fp/divsf3.c: Likewise.
61125         * soft-fp/divtf3.c: Likewise.
61126         * soft-fp/double.h: Likewise.
61127         * soft-fp/eqdf2.c: Likewise.
61128         * soft-fp/eqsf2.c: Likewise.
61129         * soft-fp/eqtf2.c: Likewise.
61130         * soft-fp/extenddftf2.c: Likewise.
61131         * soft-fp/extended.h: Likewise.
61132         * soft-fp/extendsfdf2.c: Likewise.
61133         * soft-fp/extendsftf2.c: Likewise.
61134         * soft-fp/extendxftf2.c: Likewise.
61135         * soft-fp/fixdfdi.c: Likewise.
61136         * soft-fp/fixdfsi.c: Likewise.
61137         * soft-fp/fixdfti.c: Likewise.
61138         * soft-fp/fixsfdi.c: Likewise.
61139         * soft-fp/fixsfsi.c: Likewise.
61140         * soft-fp/fixsfti.c: Likewise.
61141         * soft-fp/fixtfdi.c: Likewise.
61142         * soft-fp/fixtfsi.c: Likewise.
61143         * soft-fp/fixtfti.c: Likewise.
61144         * soft-fp/fixunsdfdi.c: Likewise.
61145         * soft-fp/fixunsdfsi.c: Likewise.
61146         * soft-fp/fixunsdfti.c: Likewise.
61147         * soft-fp/fixunssfdi.c: Likewise.
61148         * soft-fp/fixunssfsi.c: Likewise.
61149         * soft-fp/fixunssfti.c: Likewise.
61150         * soft-fp/fixunstfdi.c: Likewise.
61151         * soft-fp/fixunstfsi.c: Likewise.
61152         * soft-fp/fixunstfti.c: Likewise.
61153         * soft-fp/floatdidf.c: Likewise.
61154         * soft-fp/floatdisf.c: Likewise.
61155         * soft-fp/floatditf.c: Likewise.
61156         * soft-fp/floatsidf.c: Likewise.
61157         * soft-fp/floatsisf.c: Likewise.
61158         * soft-fp/floatsitf.c: Likewise.
61159         * soft-fp/floattidf.c: Likewise.
61160         * soft-fp/floattisf.c: Likewise.
61161         * soft-fp/floattitf.c: Likewise.
61162         * soft-fp/floatundidf.c: Likewise.
61163         * soft-fp/floatundisf.c: Likewise.
61164         * soft-fp/floatunditf.c: Likewise.
61165         * soft-fp/floatunsidf.c: Likewise.
61166         * soft-fp/floatunsisf.c: Likewise.
61167         * soft-fp/floatunsitf.c: Likewise.
61168         * soft-fp/floatuntidf.c: Likewise.
61169         * soft-fp/floatuntisf.c: Likewise.
61170         * soft-fp/floatuntitf.c: Likewise.
61171         * soft-fp/fmadf4.c: Likewise.
61172         * soft-fp/fmasf4.c: Likewise.
61173         * soft-fp/fmatf4.c: Likewise.
61174         * soft-fp/gedf2.c: Likewise.
61175         * soft-fp/gesf2.c: Likewise.
61176         * soft-fp/getf2.c: Likewise.
61177         * soft-fp/ledf2.c: Likewise.
61178         * soft-fp/lesf2.c: Likewise.
61179         * soft-fp/letf2.c: Likewise.
61180         * soft-fp/muldf3.c: Likewise.
61181         * soft-fp/mulsf3.c: Likewise.
61182         * soft-fp/multf3.c: Likewise.
61183         * soft-fp/negdf2.c: Likewise.
61184         * soft-fp/negsf2.c: Likewise.
61185         * soft-fp/negtf2.c: Likewise.
61186         * soft-fp/op-1.h: Likewise.
61187         * soft-fp/op-2.h: Likewise.
61188         * soft-fp/op-4.h: Likewise.
61189         * soft-fp/op-8.h: Likewise.
61190         * soft-fp/op-common.h: Likewise.
61191         * soft-fp/quad.h: Likewise.
61192         * soft-fp/single.h: Likewise.
61193         * soft-fp/soft-fp.h: Likewise.
61194         * soft-fp/sqrtdf2.c: Likewise.
61195         * soft-fp/sqrtsf2.c: Likewise.
61196         * soft-fp/sqrttf2.c: Likewise.
61197         * soft-fp/subdf3.c: Likewise.
61198         * soft-fp/subsf3.c: Likewise.
61199         * soft-fp/subtf3.c: Likewise.
61200         * soft-fp/truncdfsf2.c: Likewise.
61201         * soft-fp/trunctfdf2.c: Likewise.
61202         * soft-fp/trunctfsf2.c: Likewise.
61203         * soft-fp/trunctfxf2.c: Likewise.
61204         * soft-fp/unorddf2.c: Likewise.
61205         * soft-fp/unordsf2.c: Likewise.
61206         * soft-fp/unordtf2.c: Likewise.
61208 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
61210         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61211         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61213 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
61215         * elf/dl-libc.c: Clear initfini list after freeing.
61217 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
61219         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61220         * soft-fp/addsf3.c: Likewise.
61221         * soft-fp/addtf3.c: Likewise.
61222         * soft-fp/divdf3.c: Likewise.
61223         * soft-fp/divsf3.c: Likewise.
61224         * soft-fp/divtf3.c: Likewise.
61225         * soft-fp/double.h: Likewise.
61226         * soft-fp/eqdf2.c: Likewise.
61227         * soft-fp/eqsf2.c: Likewise.
61228         * soft-fp/eqtf2.c: Likewise.
61229         * soft-fp/extenddftf2.c: Likewise.
61230         * soft-fp/extended.h: Likewise.
61231         * soft-fp/extendsfdf2.c: Likewise.
61232         * soft-fp/extendsftf2.c: Likewise.
61233         * soft-fp/extendxftf2.c: Likewise.
61234         * soft-fp/fixdfdi.c: Likewise.
61235         * soft-fp/fixdfsi.c: Likewise.
61236         * soft-fp/fixdfti.c: Likewise.
61237         * soft-fp/fixsfdi.c: Likewise.
61238         * soft-fp/fixsfsi.c: Likewise.
61239         * soft-fp/fixsfti.c: Likewise.
61240         * soft-fp/fixtfdi.c: Likewise.
61241         * soft-fp/fixtfsi.c: Likewise.
61242         * soft-fp/fixtfti.c: Likewise.
61243         * soft-fp/fixunsdfdi.c: Likewise.
61244         * soft-fp/fixunsdfsi.c: Likewise.
61245         * soft-fp/fixunsdfti.c: Likewise.
61246         * soft-fp/fixunssfdi.c: Likewise.
61247         * soft-fp/fixunssfsi.c: Likewise.
61248         * soft-fp/fixunssfti.c: Likewise.
61249         * soft-fp/fixunstfdi.c: Likewise.
61250         * soft-fp/fixunstfsi.c: Likewise.
61251         * soft-fp/fixunstfti.c: Likewise.
61252         * soft-fp/floatdidf.c: Likewise.
61253         * soft-fp/floatdisf.c: Likewise.
61254         * soft-fp/floatditf.c: Likewise.
61255         * soft-fp/floatsidf.c: Likewise.
61256         * soft-fp/floatsisf.c: Likewise.
61257         * soft-fp/floatsitf.c: Likewise.
61258         * soft-fp/floattidf.c: Likewise.
61259         * soft-fp/floattisf.c: Likewise.
61260         * soft-fp/floattitf.c: Likewise.
61261         * soft-fp/floatundidf.c: Likewise.
61262         * soft-fp/floatundisf.c: Likewise.
61263         * soft-fp/floatunsidf.c: Likewise.
61264         * soft-fp/floatunsisf.c: Likewise.
61265         * soft-fp/floatuntidf.c: Likewise.
61266         * soft-fp/floatuntisf.c: Likewise.
61267         * soft-fp/floatuntitf.c: Likewise.
61268         * soft-fp/fmadf4.c: Likewise.
61269         * soft-fp/fmasf4.c: Likewise.
61270         * soft-fp/fmatf4.c: Likewise.
61271         * soft-fp/gedf2.c: Likewise.
61272         * soft-fp/gesf2.c: Likewise.
61273         * soft-fp/getf2.c: Likewise.
61274         * soft-fp/ledf2.c: Likewise.
61275         * soft-fp/lesf2.c: Likewise.
61276         * soft-fp/letf2.c: Likewise.
61277         * soft-fp/muldf3.c: Likewise.
61278         * soft-fp/mulsf3.c: Likewise.
61279         * soft-fp/multf3.c: Likewise.
61280         * soft-fp/negdf2.c: Likewise.
61281         * soft-fp/negsf2.c: Likewise.
61282         * soft-fp/negtf2.c: Likewise.
61283         * soft-fp/op-1.h: Likewise.
61284         * soft-fp/op-2.h: Likewise.
61285         * soft-fp/op-4.h: Likewise.
61286         * soft-fp/op-8.h: Likewise.
61287         * soft-fp/op-common.h: Likewise.
61288         * soft-fp/quad.h: Likewise.
61289         * soft-fp/single.h: Likewise.
61290         * soft-fp/soft-fp.h: Likewise.
61291         * soft-fp/sqrtdf2.c: Likewise.
61292         * soft-fp/sqrtsf2.c: Likewise.
61293         * soft-fp/sqrttf2.c: Likewise.
61294         * soft-fp/subdf3.c: Likewise.
61295         * soft-fp/subsf3.c: Likewise.
61296         * soft-fp/subtf3.c: Likewise.
61297         * soft-fp/truncdfsf2.c: Likewise.
61298         * soft-fp/trunctfdf2.c: Likewise.
61299         * soft-fp/trunctfsf2.c: Likewise.
61300         * soft-fp/trunctfxf2.c: Likewise.
61301         * soft-fp/unorddf2.c: Likewise.
61302         * soft-fp/unordsf2.c: Likewise.
61303         * soft-fp/unordtf2.c: Likewise.
61305 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
61307         [BZ #15672]
61308         * misc/error.c (error_tail): Fix possible buffer overflow.
61310 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
61312         [BZ #13028]
61313         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61314         address.
61316 2013-10-14  P. J. McDermott  <pj@pehjota.net>
61318         [BZ #832]
61319         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
61320         testing pipefail option.
61322 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61324         * soft-fp/double.h: Indent preprocessor directives inside #if.
61325         * soft-fp/extended.h: Likewise.
61326         * soft-fp/op-2.h: Likewise.
61327         * soft-fp/op-4.h: Likewise.
61328         * soft-fp/op-common.h: Likewise.
61329         * soft-fp/quad.h: Likewise.
61330         * soft-fp/single.h: Likewise.
61331         * soft-fp/soft-fp.h: Likewise.
61333 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
61335         * iconv/iconv_prog.c: Fix typos.
61336         * stdio-common/psiginfo-data.h: Likewise.
61338 2013-10-12   Reuben Thomas <rrt@sc3d.org>
61340         [BZ #15764]
61341         * locale/setlocale.c: Fix typo.
61343 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61345         [BZ #16036]
61346         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61347         signaling NaN arguments.
61348         * soft-fp/unordsf2.c (__unordsf2): Likewise.
61349         * soft-fp/unordtf2.c (__unordtf2): Likewise.
61351         [BZ #14910]
61352         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61353         unordered operands.
61354         * soft-fp/gesf2.c (__gesf2): Likewise.
61355         * soft-fp/getf2.c (__getf2): Likewise.
61356         * soft-fp/ledf2.c (__ledf2): Likewise.
61357         * soft-fp/lesf2.c (__lesf2): Likewise.
61358         * soft-fp/letf2.c (__letf2): Likewise.
61360         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61361         * soft-fp/eqsf2.c (__eqsf2): Likewise.
61362         * soft-fp/eqtf2.c (__eqtf2): Likewise.
61363         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61364         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61365         * soft-fp/fixdfti.c (__fixdfti): Likewise.
61366         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61367         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61368         * soft-fp/fixsfti.c (__fixsfti): Likewise.
61369         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61370         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61371         * soft-fp/fixtfti.c (__fixtfti): Likewise.
61372         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61373         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61374         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61375         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61376         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61377         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61378         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61379         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61380         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61381         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61382         * soft-fp/floatdisf.c (__floatdisf): Likewise.
61383         * soft-fp/floatsisf.c (__floatsisf): Likewise.
61384         * soft-fp/floattidf.c (__floattidf): Likewise.
61385         * soft-fp/floattisf.c (__floattisf): Likewise.
61386         * soft-fp/floattitf.c (__floattitf): Likewise.
61387         * soft-fp/floatundidf.c (__floatundidf): Likewise.
61388         * soft-fp/floatundisf.c (__floatundisf): Likewise.
61389         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61390         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61391         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61392         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61393         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61394         * soft-fp/gesf2.c (__gesf2): Likewise.
61395         * soft-fp/getf2.c (__getf2): Likewise.
61396         * soft-fp/ledf2.c (__ledf2): Likewise.
61397         * soft-fp/lesf2.c (__lesf2): Likewise.
61398         * soft-fp/letf2.c (__letf2): Likewise.
61400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
61401         Undefine and redefine.
61402         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
61403         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
61404         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
61405         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
61406         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61407         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
61408         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61409         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
61410         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61411         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61412         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61413         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61414         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61415         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61416         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61418         [BZ #16032]
61419         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61420         without decrementing exponent if mantissa >= that for the
61421         denominator, not >.
61422         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61423         denominator, not >.  Decrement exponent in < case instead of
61424         incrementing in >= case.
61425         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61426         without decrementing exponent if mantissa >= that for the
61427         denominator, not >.
61429         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61430         computing saturated result for unsigned overflow.
61432 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61433             Jeff Law  <law@redhat.com>
61435         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61436         (atan2Mp): Add systemtap probe marker.
61437         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61438         (__ieee754_log): Add systemtap probe marker.
61439         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61440         (atanMp): Add systemtap probe marker.
61441         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61442         (tanMp): Add systemtap probe marker.
61443         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61444         (__slowexp): Add systemtap probe marker.
61445         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61446         (__slowpow): Add systemtap probe marker.
61447         * manual/probes.texi: Document probes.
61449 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
61451         [BZ #15362]
61452         * libio/fileops.c (_IO_new_file_write): Return count of bytes
61453         written.
61454         (_IO_new_file_xsputn): Don't return EOF if nothing has been
61455         written.
61456         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61457         written to buffer but not flushed.
61458         * libio/iofwrite_u.c:  Likewise.
61459         * libio/iopadn.c:  Return bytes returned even if EOF was
61460         encountered.
61461         * libio/iowpadn.c:  Likewise.
61462         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61463         if _IO_padn does not write the whole buffer.
61464         [!COMPILE_WPRINTF] (PAD): Likewise.
61466 2013-10-10  David S. Miller  <davem@davemloft.net>
61468         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61469         directory block.
61471 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61473         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
61474         instead of FSF address.
61475         * soft-fp/fixdfti.c: Likewise.
61476         * soft-fp/fixsfti.c: Likewise.
61477         * soft-fp/fixtfti.c: Likewise.
61478         * soft-fp/fixunsdfti.c: Likewise.
61479         * soft-fp/fixunssfti.c: Likewise.
61480         * soft-fp/fixunstfti.c: Likewise.
61481         * soft-fp/floattidf.c: Likewise.
61482         * soft-fp/floattisf.c: Likewise.
61483         * soft-fp/floattitf.c: Likewise.
61484         * soft-fp/floatuntidf.c: Likewise.
61485         * soft-fp/floatuntisf.c: Likewise.
61486         * soft-fp/floatuntitf.c: Likewise.
61487         * soft-fp/trunctfxf2.c: Likewise.
61489         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
61490         * soft-fp/fixdfti.c: Likewise.
61491         * soft-fp/fixsfti.c: Likewise.
61492         * soft-fp/fixtfti.c: Likewise.
61493         * soft-fp/fixunsdfti.c: Likewise.
61494         * soft-fp/fixunssfti.c: Likewise.
61495         * soft-fp/fixunstfti.c: Likewise.
61496         * soft-fp/floattidf.c: Likewise.
61497         * soft-fp/floattisf.c: Likewise.
61498         * soft-fp/floattitf.c: Likewise.
61499         * soft-fp/floatuntidf.c: Likewise.
61500         * soft-fp/floatuntisf.c: Likewise.
61501         * soft-fp/floatuntitf.c: Likewise.
61502         * soft-fp/trunctfxf2.c: Likewise.
61504 2013-10-10  David S. Miller  <davem@davemloft.net>
61506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61508 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
61510         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61511         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61512         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61513         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61514         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61515         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61516         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61518         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61519         for NaNs before doing comparisons on argument.
61520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61521         Likewise.
61523 2013-10-10  Will Newton  <will.newton@linaro.org>
61525         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61526         passed to _int_memalign does not overflow.
61528 2013-10-10  Torvald Riegel  <triegel@redhat.com>
61530         * scripts/bench.pl: Add include-sources directive.
61531         * benchtests/README: Update documentation.
61533 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61535         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61536         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61537         instead of FP_INIT_ROUNDMODE.
61538         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61539         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61541         [BZ #16034]
61542         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
61543         copy class of input value.
61544         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
61545         not handle exceptions.
61546         * soft-fp/negsf2.c (__negsf2): Likewise.
61547         * soft-fp/negtf2.c (__negtf2): Likewise.
61548         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61550 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
61552         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61553         semicolon.  From Linux kernel.
61555 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
61557         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61559 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
61561         [BZ #156]
61562         * manual/socket.texi: Added statement about buffer
61563         for gethostbyname2_r.
61565 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
61567         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61568         Use .p2align directive instead, throughout.
61569         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61570         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61571         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61574         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61575         * sysdeps/x86_64/strchr.S: Likewise.
61576         * sysdeps/x86_64/strrchr.S: Likewise.
61578 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61580         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61582         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61584         * sysdeps/generic/math_private.h (__mpsin1): Remove
61585         declaration.
61586         (__mpcos1): Likewise.
61587         (__mpsin): New argument __range_reduce.
61588         (__mpcos): Likewise.
61589         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61590         (slow): Use __mpsin and __mpcos.
61591         (slow1): Likewise.
61592         (slow2): Likewise.
61593         (sloww): Likewise.
61594         (sloww1): Likewise.
61595         (sloww2): Likewise.
61596         (bsloww): Likewise.
61597         (bsloww1): Likewise.
61598         (bsloww2): Likewise.
61599         (cslow2): Likewise.
61600         (csloww): Likewise.
61601         (csloww1): Likewise.
61602         (csloww2): Likewise.
61603         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61604         range_reduce.  Merge in __mpsin1.
61605         (__mpcos): Likewise.
61606         (__mpsin1): Remove.
61607         (__mpcos1): Likewise.
61609 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
61611         * locale/loadlocale.c (_nl_intern_locale_data): Use
61612         LOCFILE_ALIGNED_P.
61613         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61614         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61615         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61616         obstack data is appropriately aligned.
61617         (obstack_int32_grow_fast): Likewise.
61618         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61619         * locale/programs/locfile.c (add_locale_uint32): Likewise.
61620         (add_locale_uint32_array): Likewise.
61622 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61624         * benchtests/Makefile: Remove ARGLIST and RET variables.
61625         ($(objpfx)bench-%.c): Pass only function name to the script.
61626         * benchtests/README: Update documentation.
61627         * benchtests/acos-inputs: Add new directives.
61628         * benchtests/acosh-inputs: Likewise.
61629         * benchtests/asin-inputs: Likewise.
61630         * benchtests/asinh-inputs: Likewise.
61631         * benchtests/atan-inputs: Likewise.
61632         * benchtests/atanh-inputs: Likewise.
61633         * benchtests/cos-inputs: Likewise.
61634         * benchtests/cosh-inputs: Likewise.
61635         * benchtests/exp-inputs: Likewise.
61636         * benchtests/log-inputs: Likewise.
61637         * benchtests/pow-inputs: Likewise.
61638         * benchtests/rint-inputs: Likewise.
61639         * benchtests/sin-inputs: Likewise.
61640         * benchtests/sinh-inputs: Likewise.
61641         * benchtests/tan-inputs: Likewise.
61642         * benchtests/tanh-inputs: Likewise.
61643         * scripts/bench.pl: Add support for new directives.
61645 2013-10-07  Alan Modra  <amodra@gmail.com>
61647         * README: Fix careless merge.
61649 2013-10-05  Alan Modra  <amodra@gmail.com>
61651         * NEWS: Mention powerpc64le support and bugs fixed.
61652         * README: Both big-endian and little-endian powerpc64 supported.
61654 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61656         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61657         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61658         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61659         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61661 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61663         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61664         match prototype.
61666 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61668         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61669         Move -mhard-float appending from
61670         ports/sysdeps/powerpc/powerpc32/Makefile.
61671         [$(with-fp) = yes] (ASFLAGS): Likewise.
61672         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61673         * sysdeps/powerpc/nofpu: Move directory from
61674         ports/sysdeps/powerpc/nofpu.
61675         * sysdeps/powerpc/soft-fp: Move directory from
61676         ports/sysdeps/powerpc/soft-fp.
61677         * sysdeps/powerpc/powerpc32/405: Move directory from
61678         ports/sysdeps/powerpc/powerpc32/405.
61679         * sysdeps/powerpc/powerpc32/440: Move directory from
61680         ports/sysdeps/powerpc/powerpc32/440.
61681         * sysdeps/powerpc/powerpc32/464: Move directory from
61682         ports/sysdeps/powerpc/powerpc32/464.
61683         * sysdeps/powerpc/powerpc32/476: Move directory from
61684         ports/sysdeps/powerpc/powerpc32/476.
61685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61688         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61690         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61692         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61694         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61695         * README: Update for powerpc-*-linux-gnu software floating point
61696         support in libc.
61698         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61699         case to powerpc/powerpc32*.
61700         * sysdeps/unix/sysv/linux/configure: Regenerated.
61702         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61703         (_FPU_MASK_OM): Define as 0x04.
61704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61706         0x00c10080.
61707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61708         0x0000003c.
61709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61713         getcontext_e500.
61714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61716         setcontext_e500.
61717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61718         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61719         and setcontext_e500.
61721 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61723         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61725 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61727         * manual/threads.texi (Default Thread Attributes): Fix typo.
61729 2013-10-04  Will Newton  <will.newton@linaro.org>
61731         * malloc/Makefile: Add tst-memalign.
61732         * malloc/tst-memalign.c: New file.
61734         * malloc/tst-posix_memalign.c: Add comments.
61735         (do_test): Add comments and call free on all potentially
61736         allocated pointers. Add space after cast.
61738         * malloc/tst-pvalloc.c: Add comments.
61739         (do_test): Add comments and call free on all potentially
61740         allocated pointers. Remove duplicate check for NULL pointer.
61741         Add space after cast.
61743         * malloc/tst-valloc.c: Add comments.
61744         (do_test): Add comments and call free on all potentially
61745         allocated pointers. Remove duplicate check for NULL pointer.
61746         Add space after cast.
61748 2013-10-04  Alan Modra  <amodra@gmail.com>
61750         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61751         Use stdint types in rather than __attribute__((mode())).
61752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61754 2013-10-04  Alan Modra  <amodra@gmail.com>
61756         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61757         Correct handling of unaligned relocs for little-endian.
61758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61760 2013-10-04  Alan Modra  <amodra@gmail.com>
61762         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61763         * configure: Regenerate.
61764         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61765         * shlib-versions: Likewise.
61767 2013-10-04  Alan Modra  <amodra@gmail.com>
61769         * string/tester.c (test_memrchr): Increment reported test cycle.
61771 2013-10-04  Alan Modra  <amodra@gmail.com>
61773         * string/test-memcpy.c (do_one_test): When reporting errors, print
61774         string address and don't overrun end of string.
61776 2013-10-04  Alan Modra  <amodra@gmail.com>
61778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61779         insrdi.  Make better use of reg selection to speed exit slightly.
61780         Schedule entry path a little better.  Remove useless "are we done"
61781         checks on entry to main loop.  Handle wrapping around zero address.
61782         Correct main loop count.  Handle single left-over word from main
61783         loop inline rather than by using loop_small.  Remove extra word
61784         case in loop_small caused by wrong loop count.  Add little-endian
61785         support.
61786         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61787         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61788         cache hint.
61789         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61790         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61791         support.  Avoid rlwimi.
61792         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61794 2013-10-04  Alan Modra  <amodra@gmail.com>
61796         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61797         insrdi.  Formatting.
61798         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61799         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61800         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61801         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61802         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61803         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61805 2013-10-04  Alan Modra  <amodra@gmail.com>
61807         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61809         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61810         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61811         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61813         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61814         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61815         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61816         use of regs.  Use power7 mtocrf.  Tidy function tails.
61818 2013-10-04  Alan Modra  <amodra@gmail.com>
61820         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61821         Formatting.  Consistently use rXXX register defines or rN defines.
61822         Use early exit labels that avoid restoring unused non-volatile regs.
61823         Make cr field use more consistent with rWORDn compares.  Rename
61824         regs used as shift registers for unaligned loop, using rN defines
61825         for short lifetime/multiple use regs.
61826         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61827         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61828         addi 1,1,64 to pop stack frame.  Simplify return value code.
61829         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61831 2013-10-04  Alan Modra  <amodra@gmail.com>
61833         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61834         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61835         rather than rlwimi.
61836         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61837         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61838         little-endian support.  Correct typos.
61839         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61840         rather than rlwimi.
61841         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61842         in loop and entry code to keep "and." results.
61843         (strchr): Add little-endian support.  Comment.  Move cntlzd
61844         earlier in tail.
61845         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61847 2013-10-04  Alan Modra  <amodra@gmail.com>
61849         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61850         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61851         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61852         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61854 2013-10-04  Alan Modra  <amodra@gmail.com>
61856         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61857         (rTMP): Define as r11.
61858         (strcmp): Add little-endian support.  Optimise tail.
61859         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61860         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61861         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61862         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61863         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61864         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61865         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61867 2013-10-04  Alan Modra  <amodra@gmail.com>
61869         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61870         little-endian support.  Remove unnecessary "are we done" tests.
61871         Handle "s" wrapping around zero and extremely large "size".
61872         Correct main loop count.  Handle single left-over word from main
61873         loop inline rather than by using small_loop.  Correct comments.
61874         Delete "zero" tail, use "end_max" instead.
61875         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61877 2013-10-04  Alan Modra  <amodra@gmail.com>
61879         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61880         support.  Don't branch over align.
61881         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61882         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61883         support.  Rearrange tmp reg use to suit.  Comment.
61884         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61886 2013-10-04  Alan Modra  <amodra@gmail.com>
61888         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61890 2013-10-04  Alan Modra  <amodra@gmail.com>
61892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61893         conditional form of branch and link when obtaining pc.
61894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61896 2013-10-04  Alan Modra  <amodra@gmail.com>
61898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61899         HIWORD/LOWORD.
61900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61903 2013-10-04  Alan Modra  <amodra@gmail.com>
61905         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61906         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61907         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61908         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61909         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61910         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61911         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61912         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61913         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61914         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61916 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61917             Alistair Popple <alistair@ozlabs.au.ibm.com>
61918             Alan Modra <amodra@gmail.com>
61920         [BZ #15723]
61921         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61922         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61923         _dl_hwcap access for little-endian.
61924         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61925         destroy vmx regs when saving unaligned.
61926         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61928         destroy vmx regs when saving unaligned.
61930 2013-10-04  Alan Modra  <amodra@gmail.com>
61932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61933         Don't use a union to pack hi/low value.
61935 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61937         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61938         for little-endian.
61939         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61941         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61942         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61943         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61945 2013-10-04  Alan Modra  <amodra@gmail.com>
61947         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61948         constants to usual value for .cst8 section, and remove redundant
61949         high address load.
61950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61951         constant for 0x1p52.  Load little-endian words of double from
61952         correct stack offsets.
61954 2013-10-04  Alan Modra  <amodra@gmail.com>
61956         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61957         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61958         words of double from correct stack offsets.
61959         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61960         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61961         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61964         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61966         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61967         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61971         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61972         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61973         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61974         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61975         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61977 2013-10-04  Alan Modra  <amodra@gmail.com>
61979         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61980         64-bit int/double union.
61981         (_FPU_SETCW): Likewise.
61982         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61983         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61985 2013-10-04  Alan Modra  <amodra@gmail.com>
61987         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61988         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61990 2013-10-04  Alan Modra  <amodra@gmail.com>
61992         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61993         use vector int constants.
61994         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61996 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61998         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61999         array with long long.
62000         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62001         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62002         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62003         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62004         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62005         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62006         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62009         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62010         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62011         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62012         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62014 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62016         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62017         (__signbit): Likewise.  Correct for little-endian.
62018         (__signbitl): Call __signbit.
62019         (lrint): Correct for little-endian.
62020         (lrintf): Call lrint.
62022 2013-10-04  Alan Modra  <amodra@gmail.com>
62024         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62025         union 32-bit int array member with 64-bit int array.
62026         (t515, tm256): Double rather than long double.
62027         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62029 2013-10-04  Alan Modra  <amodra@gmail.com>
62031         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62032         Delete.
62033         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62035         version of math_ldbl.h.
62037 2013-10-04  Alan Modra  <amodra@gmail.com>
62039         [BZ #15734], [BZ #15735]
62040         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62041         all uses of ieee875 long double macros and unions.  Simplify test
62042         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62043         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62044         normalize after ldbl_extract_mantissa, and don't add hidden bit
62045         already handled.  Don't treat low word of ieee854 mantissa like
62046         low word of IBM long double and mask off bit when testing for
62047         zero.
62048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62049         all uses of ieee875 long double macros and unions.  Simplify tests
62050         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62051         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62052         two1022, instead use their values.  Recognise that tests for large
62053         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62054         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62055         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62056         test for 0.0L and nan.  Correct negation.
62057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62058         ieee875 long double macros and unions.  Correct output for large
62059         magnitude x.  Correct absolute value calculation.
62060         (__erfcl): Likewise.
62061         * math/libm-test.inc: Add tests for errors discovered in IBM long
62062         double versions of fmodl, remainderl, erfl and erfcl.
62064 2013-10-04  Alan Modra  <amodra@gmail.com>
62066         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62067         all uses of ieee854 long double macros and unions.  Simplify tests
62068         for long doubles that are fully specified by the high double.
62069         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62070         Likewise.
62071         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62072         Remove dead code too.
62073         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62074         (__ieee754_ynl): Likewise.
62075         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62076         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62077         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62078         Remove dead code too.
62079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62080         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62081         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62082         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62083         Simplify.
62084         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62085         Simplify.
62086         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62087         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62089         Comment on variable precision.
62090         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62091         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62092         Likewise.
62093         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62096         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62097         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62099 2013-10-04  Alan Modra  <amodra@gmail.com>
62101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62102         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62103         all uses of ieee854 long double macros and unions.
62104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62106         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62107         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62108         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62109         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62110         Likewise.
62111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62112         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62113         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62114         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62116         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62117         Simplify sign and nan test too.
62118         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62119         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62120         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62121         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62122         Likewise.
62123         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62124         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62125         Likewise.
62126         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62127         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62128         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62129         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62130         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62133 2013-10-04  Alan Modra  <amodra@gmail.com>
62135         * stdio-common/printf_size.c (__printf_size): Don't use
62136         union ieee854_long_double in fpnum union.
62137         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
62138         signbit macro to retrieve sign from long double.
62139         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62140         retrieve sign from long double.
62141         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62142         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62143         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62144         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62145         * math/test-misc.c (main): Don't use union ieee854_long_double.
62147 2013-10-04  Alan Modra  <amodra@gmail.com>
62149         [BZ #15680]
62150         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62151         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62152         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62153         calculation.  Remove unnecessary test for denormal exponent.
62154         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62155         Correct handling of denormals.  Avoid undefined shift behaviour.
62156         Correct normalisation of low mantissa when low double is denormal.
62157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62158         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
62159         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62160         Correct normalisation of low mantissa.  Test for overflow of high
62161         mantissa and normalise.
62162         (ldbl_nearbyint): Use more readable constant for two52.
62163         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62164         (__mpn_construct_long_double): Fix test for overflow of high
62165         mantissa and correct normalisation.  Avoid undefined shift.
62167 2013-10-04  Alan Modra  <amodra@gmail.com>
62169         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62170         (union ibm_extended_long_double): Define as an array of ieee754_double.
62171         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62172         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62173         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62174         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62176         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62178         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62179         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62180         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62181         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62183 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
62185         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62186         page size instead of calling getpagesize.
62188         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62189         (LOCFILE_ALIGN_MASK): Likewise.
62190         (LOCFILE_ALIGN_UP): Likewise.
62191         (LOCFILE_ALIGNED_P): Likewise.
62192         * locale/programs/ld-collate.c (collate_output): Use the new
62193         macros instead of __alignof__ (int32_t).
62194         * locale/weight.h (findidx): Likewise.
62196 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
62198         [BZ #431]
62199         * manual/string.texi: Fix strncat and wcsncat.
62201 2013-10-03  Brooks Moses  <bmoses@google.com>
62203         [BZ #15915]
62204         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62205         * Makerules: ...here, and adjust associated comments.
62207 2013-10-02  Will Newton  <will.newton@linaro.org>
62209         * malloc/Makefile: Add tst-pvalloc.
62210         * malloc/tst-pvalloc.c: New file.
62212 2013-10-02  Will Newton  <will.newton@linaro.org>
62214         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62215         improve test coverage.
62217 2013-10-02  Will Newton  <will.newton@linaro.org>
62219         * malloc/Makefile: Add tst-posix_memalign.
62220         * malloc/tst-posix_memalign.c: New file.
62222 2013-10-01  Eric Blake  <eblake@redhat.com>
62224         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62225         Use __THROWNL rather than __THROW on static functions.
62227 2013-09-30  Petr Machata  <pmachata@redhat.com>
62229         * elf/elf.h (R_AARCH64_ABS16): New macro.
62230         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62231         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62232         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62233         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62234         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62235         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62236         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62237         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62238         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62239         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62240         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62241         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62242         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62243         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62244         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62245         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62246         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62247         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62248         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62249         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62250         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62251         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62252         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62253         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62254         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62255         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62256         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62257         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62258         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62259         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62260         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62261         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62262         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62263         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62264         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62265         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62266         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62267         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62268         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62269         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62270         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62271         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62272         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62273         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62274         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62275         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62276         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62277         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62278         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62279         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62280         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62281         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62282         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62283         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62284         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62285         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62286         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62287         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62288         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62289         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62290         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62291         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62292         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62293         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62294         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62295         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62296         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62297         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62298         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62299         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62300         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62301         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62302         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62303         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62304         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62305         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62306         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62307         (R_AARCH64_TLSDESC_LDR): Likewise.
62308         (R_AARCH64_TLSDESC_ADD): Likewise.
62309         (R_AARCH64_TLSDESC_CALL): Likewise.
62311 2013-09-30  Andreas Schwab  <schwab@suse.de>
62313         [BZ #15048]
62314         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62315         the nss database lookup.
62316         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62319 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
62321         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62323 2013-09-28  P. J. McDermott  <pj@pehjota.net>
62325         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62326         ${Bash-specific parameter/pattern/string} parameter expansion.
62327         * sysdeps/unix/make-syscalls.sh: Likewise.
62329 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62331         * sysdeps/sh/stackguard-macros.h: New file.
62333 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
62335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62337         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62338         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62340         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62342 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62344         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62345         Fix thread ID register.
62347 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
62349         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62350         [POSIX || UNIX98]: Require rather than permitting all symbols from
62351         <time.h>.
62352         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62353         element of struct sched_param.
62354         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62355         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62356         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62357         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62358         constant.
62360 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
62362         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62363         argument calculation.
62365 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62367         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62368         Expect macro.
62369         [POSIX] (pthread_attr_t): Do not require type.
62370         [POSIX] (pthread_cond_t): Likewise.
62371         [POSIX] (pthread_condattr_t): Likewise.
62372         [POSIX] (pthread_key_t): Likewise.
62373         [POSIX] (pthread_mutex_t): Likewise.
62374         [POSIX] (pthread_mutexattr_t): Likewise.
62375         [POSIX] (pthread_once_t): Likewise.
62376         [POSIX] (pthread_t): Likewise.
62377         [POSIX-based standards] (pthread_atfork): Expect function.
62379 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62380             Richard Sandiford  <richard@codesourcery.com>
62382         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62383         (swap_endianness_p): New extern variable.
62384         (set_big_endian): New inline function.
62385         (maybe_swap_uint32): Likewise.
62386         (maybe_swap_uint32_array): Likewise.
62387         (maybe_swap_uint32_obstack): Likewise.
62388         * locale/programs/locfile.c: Include <stdbool.h>.
62389         (swap_endianness_p): New variable.
62390         (add_locale_uint32): Call maybe_swap_uint32.
62391         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62392         (write_locale_data): Call maybe_swap_uint32_array.
62393         * locale/programs/ld-collate.c (obstack_int32_grow): Call
62394         maybe_swap_uint32.
62395         (obstack_int32_grow_fast): Likewise.
62396         (output_weightwc): Call maybe_swap_uint32_obstack.
62397         (collate_output): Likewise.
62398         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
62399         (OPT_LITTLE_ENDIAN): Likewise.
62400         (options): Add --little-endian and --big-endian options.
62401         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
62402         * locale/programs/locarchive.c: Include "locfile.h".
62403         (GET): New macro.
62404         (SET): Likewise.
62405         (INC): Likewise.
62406         (create_archive): Use the new macros to access fields of
62407         structures directly mapped from or written to locale archives.
62408         (oldlocrecentcmp): Likewise.
62409         (enlarge_archive): Likewise.
62410         (insert_name): Likewise.
62411         (add_alias): Likewise.
62412         (add_locale): Likewise.
62413         (delete_locales_from_archive): Likewise.
62414         (show_archive_content): Likewise.
62415         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
62416         locale data.
62418 2013-09-24  Roland McGrath  <roland@hack.frob.com>
62420         * manual/freemanuals.texi: Updated from (newly) canonical copy at
62421         http://www.gnu.org/doc/freemanuals.texi.
62422         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62424 2013-09-24  Will Newton  <will.newton@linaro.org>
62426         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62427         macro.
62429 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
62431         * locale/hashval.h (compute_hashval): Interpret bytes of key as
62432         unsigned char.
62434 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
62436         * manual/threads.texi (POSIX Threads): Fix a typo.
62438 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62440         [BZ #14547]
62441         * string/tst-strcoll-overflow.c: New test case.
62442         * string/Makefile (xtests): Add tst-strcoll-overflow.
62443         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62444         cache if string sizes may cause integer overflow.
62446         [BZ #14547]
62447         * string/strcoll_l.c (coll_seq): New members rule, idx,
62448         save_idx and back_us.
62449         (get_next_seq_nocache): New function.
62450         (do_compare_nocache): New function.
62451         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62452         when malloc fails.
62454 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
62456         [BZ #15754]
62457         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62458         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62459         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62461         [BZ #15754]
62462         * elf/Makefile (tests): Add tst-ptrguard1.
62463         (tests-static): Add tst-ptrguard1-static.
62464         (tst-ptrguard1-ARGS): Define.
62465         (tst-ptrguard1-static-ARGS): Define.
62466         * elf/tst-ptrguard1.c: New file.
62467         * elf/tst-ptrguard1-static.c: New file.
62468         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62469         * sysdeps/i386/stackguard-macros.h: Likewise.
62470         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62471         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62472         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62473         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62474         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62475         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62477 2013-09-23  Hector Marco  <hecmargi@upv.es>
62478             Ismael Ripoll  <iripoll@disca.upv.es>
62479             Carlos O'Donell  <carlos@redhat.com>
62481         [BZ #15754]
62482         * sysdeps/generic/stackguard-macros.h: Define
62483         __pointer_chk_guard_local and POINTER_CHK_GUARD.
62484         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62485         Define __pointer_chk_guard_local.
62486         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62487         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62489 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
62491         [BZ #15859]
62492         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62494 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
62496         * include/string.h (__ffs): Declare as hidden.
62497         * string/ffs.c (__ffs): Define as hidden.
62498         * sysdeps/i386/ffs.c (__ffs): Likewise.
62499         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62500         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62501         * sysdeps/s390/ffs.c (__ffs): Likewise.
62502         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62504 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
62506         * NEWS: Mention malloc probes.
62508         * malloc/arena.c (new_heap): New memory_heap_new probe.
62509         (grow_heap): New memory_heap_more probe.
62510         (shrink_heap): New memory_heap_less probe.
62511         (heap_trim): New memory_heap_free probe.
62512         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62513         (systrim): New memory_sbrk_less probe.
62514         * manual/probes.texi: Document them.
62516         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62517         * manual/probes.texi: Document it.
62519         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62520         (__libc_realloc): Add memory_realloc_retry probe.
62521         (__libc_memalign): Add memory_memalign_retry probe.
62522         (__libc_valloc): Add memory_valloc_retry probe.
62523         (__libc_pvalloc): Add memory_pvalloc_retry probe.
62524         (__libc_calloc): Add memory_calloc_retry probe.
62525         * manual/probes.texi: Document them.
62527         * malloc/arena.c (get_free_list): Add probe
62528         memory_arena_reuse_free_list.
62529         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62530         and memory_arena_reuse.
62531         (arena_get2) [!PER_THREAD]: Likewise.
62532         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62533         memory_arena_reuse_realloc.
62534         * manual/probes.texi: Document them.
62536         * malloc/malloc.c (__libc_free): Add
62537         memory_mallopt_free_dyn_thresholds probe.
62538         (__libc_mallopt): Add multiple memory_mallopt probes.
62539         * manual/probes.texi: Document them.
62541         * malloc/malloc.c: Include stap-probe.h.
62542         (__libc_mallopt): Add memory_mallopt probe.
62543         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62544         * manual/probes.texi: New.
62545         * manual/Makefile (chapters): Add probes.
62546         * manual/threads.texi: Set next node.
62548 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
62550         [BZ #15963, #13985]
62551         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62552         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62553         Add `Chinese' to `nan' entry name.
62555 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62557         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62558         (POLYNOMIAL): Likewise.
62559         (TAYLOR_SINCOS): Likewise.
62560         (TAYLOR_SLOW): Likewise.
62561         (__sin): Use TAYLOR_SINCOS.
62562         (__cos): Likewise.
62563         (slow): Use TAYLOR_SLOW.
62564         (sloww): Likewise.
62565         (bsloww): Likewise.
62566         (csloww): Likewise.
62568 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62570         * stdlib/strtod_l.c: Fix buffer overrun.
62572 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62574         * benchtests/Makefile (bench): Add sincos.
62575         * benchtests/bench-sincos.c: New file.
62577         * math/libm-test.inc (cos_test_data): New test inputs.
62578         (sin_test_data): Likewise.
62580         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62581         macro.
62582         (__sin): Use it.
62583         (__cos): Likewise.
62584         (slow1): Likewise.
62585         (slow2): Likewise.
62586         (sloww1): Likewise.
62587         (sloww2): Likewise.
62588         (bsloww1): Likewise.
62589         (bsloww2): Likewise.
62590         (cslow2): Likewise.
62591         (csloww1): Likewise.
62592         (csloww2): Likewise.
62594         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62595         function.
62596         (__sin): Use it.
62597         (__cos): Likewise.
62599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62600         gotos.
62601         (__cos): Likewise.
62603 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
62605         * config.h.in (HAVE_MIPS_NAN2008): New macro.
62606         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62607         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62608         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62609         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62610         * elf/cache.c (print_entry): Handle the new cache flags.
62612 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62613             Aldy Hernandez  <aldyh@redhat.com>
62615         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62616         Change condition to [_SOFT_FLOAT].
62617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62629         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62632         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62633         declaration.
62635 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62637         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62638         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62639         (__longjmp): Use LOAD_GP to load saved GPRs.
62640         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62641         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62642         (__sigsetjmp): Use SAVE_GP to save GPRs.
62644         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62645         Do not append -msoft-float.
62646         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62648 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62650         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62652 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62654         [BZ #15966]
62655         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62656         (_FPU_GETCW): Use initial "__" on variable and field names but not
62657         on macro parameter name.
62658         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62659         parentheses around reference to macro parameter.
62661 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62663         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62664         prototype.
62665         (ctype_startup): Use uint32_t in cast and sizeof for
62666         ctype->charnames.
62668 2013-09-11  Jia Liu  <proljc@gmail.com>
62670         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62671         __daddr_t_defined.
62672         [__FreeBSD__]: Likewise.
62674 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62677         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62678         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62679         (strchr): Remove __strchr_sse42 ifunc selection.
62680         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62681         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62683 2013-09-11  Will Newton  <will.newton@linaro.org>
62685         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62686         parameter to RES. Remove hardcoded 1000 value.
62687         * benchtests/bench-skeleton.c (main): Pass RES parameter
62688         to TIMING_INIT and multiply result by 1000.
62690 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62694 2013-09-11  Andreas Schwab  <schwab@suse.de>
62696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62697         if not defined.
62698         (O_TMPFILE) [__USE_GNU]: Define.
62699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62700         Define.
62702 2013-09-11  Will Newton  <will.newton@linaro.org>
62704         [BZ #15857]
62705         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62706         does not overflow.
62708 2013-09-11  Will Newton  <will.newton@linaro.org>
62710         [BZ #15856]
62711         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62712         does not overflow.
62714 2013-09-11  Will Newton  <will.newton@linaro.org>
62716         [BZ #15855]
62717         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62718         does not overflow.
62720 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62722         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62723         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62724         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62725         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62728 2013-09-10  Allan McRae  <allan@archlinux.org>
62730         [BZ #15748]
62731         * manual/arith.texi (Parsing of Floats): Clarify
62732         cross-reference.
62734         [BZ #15849]
62735         * manual/install.texi (Running make install): Mention
62736         --enable-pt-chown.
62737         * INSTALL: Regenerated.
62739 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62741         * csu/init-first.c (_init): Remove the !SHARED condition around
62742         FPU control word initialization.
62743         * elf/dl-support.c (_dl_fpu_control): New variable.
62744         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62745         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62746         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62747         * math/test-fpucw-static.c: New file.
62748         * math/test-fpucw-ieee.c: New file.
62749         * math/test-fpucw-ieee-static.c: New file.
62750         * math/Makefile (tests): Add `test-fpucw-ieee' and
62751         `$(tests-static)'.
62752         (tests-static): New variable.
62753         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62754         dependency to...
62755         [($(build-shared),yes)]
62756         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62757         ... this.
62758         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62759         New dependency.
62761 2013-09-09  Allan McRae  <allan@archlinux.org>
62763         [BZ #15939]
62764         * manual/string.texi (Collation Functions): Fix typo in
62765         strcoll example.
62766         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62768         [BZ #15893]
62769         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62771         [BZ #15892]
62772         * libio/memstream.c (open_memstream): Fix memory leak.
62773         * libio/wmemstream.c (open_wmemstream): Likewise.
62775         [BZ #15895]
62776         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62778 2013-09-09  Will Newton  <will.newton@linaro.org>
62780         * malloc/Makefile: Add tst-realloc to tests.
62781         * malloc/tst-realloc.c: New file.
62783 2013-09-09  Allan McRae  <allan@archlinux.org>
62785         [BZ #15844]
62786         * COPYING: Update from GNU website to fix FSF address.
62787         * COPYING.LIB: Likewise.
62789 2013-09-06  David S. Miller  <davem@davemloft.net>
62791         * po/zh_TW.po: Update Chinese (traditional) translation from
62792         translation project.
62794 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62795             Joseph Myers  <joseph@codesourcery.com>
62797         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62798         "localeinfo.h".
62799         (obstack_chunk_alloc): New macro.
62800         (obstack_chunk_free): Likewise.
62801         (record_offset): New function.
62802         (init_locale_data): Likewise.
62803         (align_locale_data): Likewise.
62804         (add_locale_empty): Likewise.
62805         (add_locale_raw_data): Likewise.
62806         (add_locale_raw_obstack): Likewise.
62807         (add_locale_string): Likewise.
62808         (add_locale_wstring): Likewise.
62809         (add_locale_uint32): Likewise.
62810         (add_locale_uint32_array): Likewise.
62811         (add_locale_char): Likewise.
62812         (start_locale_structure): Likewise.
62813         (end_locale_structure): Likewise.
62814         (start_locale_prelude): Likewise.
62815         (end_locale_prelude): Likewise.
62816         (write_locale_data): Take locale_file structure rather than an
62817         iovec.
62818         * locale/programs/locfile.h: Include "obstack.h".
62819         (struct locale_file): Change to store locale file contents instead
62820         of header.
62821         (init_locale_data): New prototype.
62822         (align_locale_data): Likewise.
62823         (add_locale_empty): Likewise.
62824         (add_locale_raw_data): Likewise.
62825         (add_locale_raw_obstack): Likewise.
62826         (add_locale_string): Likewise.
62827         (add_locale_wstring): Likewise.
62828         (add_locale_uint32): Likewise.
62829         (add_locale_uint32_array): Likewise.
62830         (add_locale_char): Likewise.
62831         (start_locale_structure): Likewise.
62832         (end_locale_structure): Likewise.
62833         (start_locale_prelude): Likewise.
62834         (end_locale_prelude): Likewise.
62835         (write_locale_data): Update prototype.
62836         * locale/programs/3level.h (struct TABLE): Remove result field.
62837         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62838         Use new locale_file interface.
62839         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62840         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62841         * locale/programs/ld-address.c (address_output): Use new
62842         locale_file interface.
62843         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62844         NO_ADD_LOCALE.
62845         (collate_finish): Don't call collseq_table_finalize.
62846         (collate_output): Use new locale_file interface.
62847         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62848         in file.
62849         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62850         (TABLE): Move defines earlier in file.
62851         (ELEMENT): Likewise.
62852         (DEFAULT): Likewise.
62853         (wctrans_table_add): Move macro and inline function earlier in
62854         file.
62855         (struct wctype_table): Move type earlier in file.
62856         (add_locale_wctype_table): New static prototype.
62857         (struct locale_ctype_t): Use logical types instead of struct iovec
62858         pointers for members.
62859         (ctype_output): Use new locale_file interface.
62860         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62861         new locale_file interface.
62862         (allocate_arrays): Update for use of new locale_file interface.
62863         * locale/programs/ld-identification.c (identification_output): Use
62864         new locale_file interface.
62865         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62866         * locale/programs/ld-messages.c (messages_output): Likewise.
62867         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62868         * locale/programs/ld-name.c (name_output): Likewise.
62869         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62870         * locale/programs/ld-paper.c (paper_output): Likewise.
62871         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62872         * locale/programs/ld-time.c (time_output): Likewise.
62874 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62876         * benchtests/Makefile: Add memrchr benchmark.
62877         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62878         benchmark as memrchr.
62879         * benchtests/bench-memrchr-ifunc.c: New file.
62880         * benchtests/bench-memrchr.c: New file.
62882 2013-09-06   Will Newton  <will.newton@linaro.org>
62884         * benchtests/Makefile (string-bench): Add memcpy.
62886 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62887             Cong Wang  <amwang@redhat.com>
62889         [BZ #15850]
62890         * sysdeps/unix/sysv/linux/bits/in.h
62891         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62892         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62893         before __USE_KERNEL_IPV6_DEFS uses.
62894         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62895         IPPROTO_BEETPH.
62896         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62897         sockaddr_in6, or ipv6_mreq.
62899 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62901         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62902         memory access for final bytes in some large inputs.
62903         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62905 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62907         * string/test-memrchr.c: New file.
62908         * string/test-memrchr-ifunc.c: New file.
62909         * string/Makefile: Add new memrchr testcase.
62911 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62913         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62914         fanotify_init returns EPERM.
62916 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62918         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62919         errors.
62920         (top level): Treat second token from macro or constant entries for
62921         allowed headers as allowed.
62922         * include/complex.h: Condition internal declarations on
62923         [!_ISOMAC].
62924         * include/fenv.h: Condition include of <stdbool.h> and internal
62925         declarations on [!_ISOMAC].
62927 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62929         [BZ #15923]
62930         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62932 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62934         * configure.in (--enable-versioning): Remove configure option.
62935         (libc_cv_asm_symver_directive): Remove configure test.
62936         (libc_cv_ld_version_script_option): Likewise.
62937         (VERSIONING): Remove variable and AC_SUBST.
62938         (DO_VERSIONING): Remove AC_DEFINE.
62939         * configure: Regenerated.
62940         * config.h.in (DO_VERSIONING): Remove macro.
62941         * Makerules [$(versioning) = yes]: Change conditionals to
62942         [$(build-shared) = yes].
62943         * config.make.in (versioning): Remove variable.
62944         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62945         [$(build-shared) = yes].
62946         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62947         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62948         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62949         [$(build-shared) = yes].
62950         * extra-lib.mk [$(versioning) = yes]: Likewise.
62951         * hurd/Makefile [$(versioning) = yes]: Likewise.
62952         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62953         [SHARED].
62954         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62955         [SHARED].
62956         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62957         [SHARED && !NO_HIDDEN].
62958         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62959         [SHARED].
62960         [SHARED && DO_VERSIONING]: Likewise..
62961         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62962         [$(build-shared) = yes].
62963         * manual/install.texi (--disable-versioning): Remove
62964         documentation.
62965         * INSTALL: Regenerated.
62966         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62967         to [SHARED].
62968         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62969         [$(build-shared) = yes].
62970         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62971         * sysdeps/i386/i686/multiarch/strstr-c.c
62972         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62973         [SHARED && !NO_HIDDEN].
62974         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62975         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62976         * sysdeps/powerpc/powerpc32/dl-machine.c
62977         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62978         * sysdeps/powerpc/powerpc32/sysdep.h
62979         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62980         to [SHARED && PIC && !NO_HIDDEN].
62981         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62982         conditional to [SHARED].
62984 2013-09-04   Will Newton  <will.newton@linaro.org>
62986         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62987         * benchtests/bench-string.h: Include bench-timing.h instead
62988         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62989         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62990         call to HP_TIMING_DIFF_INIT.
62991         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62992         instead of hp-timing.h macros.
62993         * benchtests/bench-memchr.c: Likewise.
62994         * benchtests/bench-memcmp.c: Likewise.
62995         * benchtests/bench-memcpy.c: Likewise.
62996         * benchtests/bench-memmem.c: Likewise.
62997         * benchtests/bench-memmove.c: Likewise.
62998         * benchtests/bench-memset.c: Likewise.
62999         * benchtests/bench-rawmemchr.c: Likewise.
63000         * benchtests/bench-strcasecmp.c: Likewise.
63001         * benchtests/bench-strcasestr.c: Likewise.
63002         * benchtests/bench-strcat.c: Likewise.
63003         * benchtests/bench-strchr.c: Likewise.
63004         * benchtests/bench-strcmp.c: Likewise.
63005         * benchtests/bench-strcpy.c: Likewise.
63006         * benchtests/bench-strcpy_chk.c: Likewise.
63007         * benchtests/bench-strlen.c: Likewise.
63008         * benchtests/bench-strncasecmp.c: Likewise.
63009         * benchtests/bench-strncat.c: Likewise.
63010         * benchtests/bench-strncmp.c: Likewise.
63011         * benchtests/bench-strncpy.c: Likewise.
63012         * benchtests/bench-strnlen.c: Likewise.
63013         * benchtests/bench-strpbrk.c: Likewise.
63014         * benchtests/bench-strrchr.c: Likewise.
63015         * benchtests/bench-strspn.c: Likewise.
63016         * benchtests/bench-strstr.c: Likewise.
63018 2013-09-04  Will Newton  <will.newton@linaro.org>
63020         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63022 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63024         [BZ #15427]
63025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63026         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63027         * math/libm-test.inc (lgamma_test_data): Add more tests.
63028         * sysdeps/i386/fpu/libm-test-ulps: Update.
63029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63031 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
63033         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63035         Add ifunc.
63036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63037         Add strcmp-sse2-unaligned
63038         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63040 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63042         * Versions.def (libc): Add GLIBC_2.19.
63044 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63046         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63047         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63049 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63051         [BZ #14155]
63052         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63053         intermediate calculations in recurrence.
63054         (__ieee754_ynf): Likewise.
63055         * math/libm-test.inc (jn_test_data): Do not allow spurious
63056         underflow exception.  Add more tests.
63057         (yn_test_data): Add more tests.
63058         * sysdeps/i386/fpu/libm-test-ulps: Update.
63059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63061 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
63063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63065 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63067         * csu/init-first.c: Fix then/than typos.
63068         * locale/programs/ld-collate.c: Likewise.
63069         * locale/programs/linereader.h: Likewise.
63070         * manual/charset.texi: Likewise.
63071         * manual/filesys.texi: Likewise.
63072         * manual/stdio.texi: Likewise.
63073         * manual/string.texi: Likewise.
63074         * stdlib/fmtmsg.c: Likewise.
63075         * sysdeps/i386/stpncpy.S: Likewise.
63076         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63077         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63078         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63079         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63081 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63083         * elf/dl-open.c: Fix typos.
63084         * iconvdata/gbbig5.c: Likewise.
63085         * iconvdata/iso-2022-jp.c: Likewise.
63086         * iconv/gconv_int.h: Likewise.
63087         * iconv/loop.c: Likewise.
63088         * nis/rpcsvc/nis.h: Likewise.
63089         * resolv/ns_name.c: Likewise.
63090         * stdio-common/vfscanf.c: Likewise.
63091         * streams/stropts.h: Likewise.
63092         * sunrpc/rpc_thread.c: Likewise.
63093         * sysdeps/i386/strpbrk.S: Likewise.
63094         * sysdeps/ieee754/k_standard.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63096         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63097         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63098         * sysdeps/mach/hurd/profil.c: Likewise.
63099         * sysdeps/s390/dl-procinfo.h: Likewise.
63100         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63101         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63102         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63103         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63104         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63106 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
63108         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63111 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
63113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63114         aix specific files.
63115         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63116         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63117         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63118         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63119         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63120         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63121         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63122         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63124 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63125             Roland McGrath  <roland@hack.frob.com>
63127         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63128         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63130 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63132         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63133         __executable_start symbol instead of _start.
63135 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63137         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63138         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63139         Move macros to...
63140         * sysdeps/gnu/ldsodefs.h: ... this new file.
63142         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63143         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63144         instead of ELFOSABI_LINUX.
63146         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63147         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63148         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63149         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63150         Likewise.
63151         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63152         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63153         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63154         Likewise.
63155         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63156         (ibm_extended_long_double): Add ieee_nan member.
63157         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63158         (do_test): New function.
63160         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63161         TEST_TRUNC.
63162         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63163         functions, renamed from truncdfsf_test, trunctfsf_test,
63164         trunctfdf_test.
63165         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63166         functions.
63167         (do_test): Run all these.
63169 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
63171         * argp/argp-help.c: Fix typos.
63172         * argp/argp-parse.c: Likewise.
63173         * debug/backtracesyms.c: Likewise.
63174         * elf/elf.h: Likewise.
63175         * malloc/malloc.c: Likewise.
63176         * nis/nis_print.c: Likewise.
63177         * resolv/res_comp.c: Likewise.
63178         * stdlib/stdlib.h: Likewise.
63179         * sunrpc/clnt_tcp.c: Likewise.
63180         * sunrpc/clnt_udp.c: Likewise.
63181         * sunrpc/clnt_unix.c: Likewise.
63182         * sysdeps/unix/bsd/ptsname.c: Likewise.
63183         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63184         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63186         Likewise.
63187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63188         Likewise.
63189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63190         Likewise.
63191         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63193 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63195         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63198 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
63200         [BZ #15897]
63201         * dlfcn/Makefile (tests): Add bug-dl-leaf.
63202         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63203         ($(objpfx)bug-dl-leaf): New rule.
63204         ($(objpfx)bug-dl-leaf.so): Likewise.
63205         ($(objpfx)bug-dl-leaf.out): Likewise.
63206         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63207         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63208         * dlfcn/bug-dl-leaf.c: New test.
63209         * dlfcn/bug-dl-leaf-lib.c: Likewise.
63210         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63211         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63212         (dlclose): Likewise.
63213         (dlmopen): Likewise.
63215 2013-08-27  Roland McGrath  <roland@hack.frob.com>
63217         * include/netdb.h [!_ISOMAC]:
63218         Don't include <tls.h>.
63219         (h_errno, __libc_h_errno): Move declaration and macros out of
63220         [_LIBC_REENTRANT].
63222         * include/resolv.h [_RESOLV_H_]:
63223         Don't include <tls.h>.
63224         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63225         * resolv/res_libc.c: Don't include <tls.h>.
63226         (_res): Use __attribute__ ((nocommon)) in place of
63227         __attribute__ ((section (".bss"))).
63229         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63230         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63232         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63234         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63235         only under [SIOCGIFCONF && SIOCGIFNETMASK].
63237         * resolv/res_mkquery.c: Include <sys/time.h>.
63239         * inet/ifreq.c: Moved to ...
63240         * sysdeps/unix/ifreq.c: ... here.
63241         * inet/ifreq.c: New file, true stub version.
63243         * socket/sa_len.c: New file.
63244         * socket/Makefile (aux): Add it.
63245         * sysdeps/unix/sysv/linux/Makefile
63246         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63247         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63248         and #include <socket/sa_len.c>.
63249         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63250         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63252         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63253         * bits/socket.h: ... here.
63255         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63256         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63257         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63259 2013-08-27  Andreas Schwab  <schwab@suse.de>
63261         [BZ #15736]
63262         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63263         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63264         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63265         * string/test-strcasecmp.c (test_main): Run tests in several
63266         locales.
63267         * string/test-strncasecmp.c (test_main): Likewise.
63269         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63270         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63271         to __strcasecmp_nonascii and __strncasecmp_nonascii.
63272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63273         (__strncasecmp_ssse3) [PIC]: Likewise.
63275 2013-08-26  Roland McGrath  <roland@hack.frob.com>
63277         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63279         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63280         instead of explicitly declaring xdecrypt.
63281         * nis/nss_nis/nis-publickey.c: Likewise.
63283 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63285         [BZ #15890]
63286         * nscd/aicache.c: Include res_hconf.h.
63287         (addhstaiX): Initialize res_hconf.
63289 2013-08-26  Andreas Schwab  <schwab@suse.de>
63291         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63292         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63294 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63296         * nscd/aicache.c (addhstaiX): Fix indentation.
63298 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
63300         * configure.ac: Quote $build_pt_chown test.
63301         * configure: Regenerated.
63303 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
63305         [BZ #15532]
63306         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63307         * math/s_cexpf.c (__cexpf): Likewise.
63308         * math/s_cexpl.c (__cexpl): Likewise.
63309         * math/libm-test.inc (cexp_test_data): Correct expected return
63310         value for NaN + i0.  Add another test.
63312 2013-08-22  David S. Miller  <davem@davemloft.net>
63314         * po/ca.po: Update Catalan translation from translation project.
63315         * po/uk.po: Add Ukrainian translations from translation project.
63317 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
63319         [BZ #15797]
63320         * math/s_fdim.c (__fdim): Check for infinite arguments if result
63321         is infinite, not alongside NaN test.
63322         * math/s_fdimf.c (__fdimf): Likewise.
63323         * math/s_fdiml.c (__fdiml): Likewise.
63324         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
63325         errno is unchanged.
63327 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
63329         * argp/argp-help.c: Fix typos.
63330         * crypt/speeds.c: Likewise.
63331         * csu/check_fds.c: Likewise.
63332         * elf/dl-load.c: Likewise.
63333         * elf/dl-open.c: Likewise.
63334         * elf/reldep3.c: Likewise.
63335         * elf/reldep.c: Likewise.
63336         * elf/sprof.c: Likewise.
63337         * iconv/iconv_charmap.c: Likewise.
63338         * iconv/skeleton.c: Likewise.
63339         * iconv/strtab.c: Likewise.
63340         * io/lockf64.c: Likewise.
63341         * libio/libioP.h: Likewise.
63342         * resolv/gai_notify.c: Likewise.
63343         * resolv/ns_name.c: Likewise.
63344         * resolv/ns_samedomain.c: Likewise.
63345         * resolv/res_send.c: Likewise.
63346         * stdlib/random.c: Likewise.
63347         * sunrpc/rpc/xdr.h: Likewise.
63348         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63349         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63350         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63351         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63352         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63356         * sysdeps/mach/hurd/check_fds.c: Likewise.
63357         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63359         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63360         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63361         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63362         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63363         * sysdeps/pthread/aio_notify.c: Likewise.
63364         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63365         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63366         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63367         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63368         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63370 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63372         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63373         version if bit_Slow_SSE4_2 is set.
63374         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63375         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63377 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63379         [BZ #15867]
63380         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63381         trampoline stack frame information.
63382         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63383         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63384         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63385         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63386         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63387         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63388         (_libc_vdso_platform_setup): Initialize the signal trampolines.
63389         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63390         sa_flags value.
63391         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63392         interrupting a syscall and set with option SA_SIGINFO.
63394 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63396         [BZ #15531]
63397         * math/s_cproj.c (__cproj): Only return an infinity if one part of
63398         argument is infinite.
63399         * math/s_cprojf.c (__cprojf): Likewise.
63400         * math/s_cprojl.c (__cprojl): Likewise.
63401         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
63402         * math/libm-test.inc (cproj_test_data): Add more tests.
63404         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
63406         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
63407         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
63408         size.  Use __ffs to determine corresponding shift.
63410 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63411             Roland McGrath  <roland@hack.frob.com>
63413         * Makefile (INSTALL): Remove trailing blank lines from output of
63414         makeinfo.
63416 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63418         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63419         Align 32 bit compat elf_greg to 8 bytes.
63421 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
63423         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63425 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63427         * string/strcoll_l.c (coll_seq): New structure.
63428         (get_next_seq_cached): New function.
63429         (get_next_seq): New function.
63430         (do_compare): New function.
63431         (STRCOLL): Use GNU style definition.  Simplify implementation
63432         by using get_next_seq, get_next_seq_cached and do_compare.
63434 2013-08-16  Florian Weimer  <fweimer@redhat.com>
63436         [BZ #14699]
63437         CVE-2013-4237
63438         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63439         member.
63440         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63441         member.
63442         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63443         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63444         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
63445         conditional.
63446         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63447         GETDENTS_64BIT_ALIGNED.
63448         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63449         * manual/filesys.texi (Reading/Closing Directory): Document
63450         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
63451         strongly.
63452         * manual/conf.texi (Limits for Files): Add portability note to
63453         NAME_MAX, PATH_MAX.
63454         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63456 2013-08-13  Andreas Schwab  <schwab@suse.de>
63458         [BZ #15749]
63459         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63460         of fabs.
63461         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63462         LDBL_MAX_EXP >= 16384]: Add tests for it.
63464 2013-08-12  David S. Miller  <davem@davemloft.net>
63466         * version.h (RELEASE): Set to "development".
63467         (VERSION): Set to "2.18.90".
63468         * NEWS: Add 2.19 section.
63470 2013-08-03  David S. Miller  <davem@davemloft.net>
63472         * po/ko.po: Update Korean translation from translation project.
63474 2013-08-01  David S. Miller  <davem@davemloft.net>
63476         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
63477         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63478         Bilka.
63480 2013-07-30  David S. Miller  <davem@davemloft.net>
63482         * po/fr.po: Update French translation from translation project.
63484 2013-07-28  David S. Miller  <davem@davemloft.net>
63486         * po/cs.po: Update Czech translation from translation project.
63488         * po/sv.po: Update Swedish translation from translation project.
63490 2013-07-27  David S. Miller  <davem@davemloft.net>
63492         * po/eo.po: Update Esperanto translation from translation project.
63494         * po/vi.po: Update Vietnamese translation from translation project.
63496         * po/de.po: Update German translation from translation project.
63498 2013-07-26  David S. Miller  <davem@davemloft.net>
63500         * po/bg.po: Update Bulgarian translation from translation project.
63502         * po/nl.po: Update Dutch translation from translation project.
63503         * po/pl.po: Update Polish translation from translation project.
63504         * po/ru.po: Update Russian translation from translation project.
63506 2013-07-24  David S. Miller  <davem@davemloft.net>
63508         * po/libc.pot: Update.
63510 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63512         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63513         variable page size.
63514         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63515         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63516         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63518 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63520         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63522 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63523             Andreas Schwab  <schwab@suse.de>
63524             Roland McGrath  <roland@hack.frob.com>
63525             Joseph Myers  <joseph@codesourcery.com>
63526             Carlos O'Donell  <carlos@redhat.com>
63528         [BZ #15755]
63529         * config.h.in: Define HAVE_PT_CHOWN.
63530         * config.make.in (build-pt-chown): New variable.
63531         * configure.in (--enable-pt_chown): New configure option.
63532         * configure: Regenerate.
63533         * login/Makefile: Include Makeconfig.  Build pt_chown only if
63534         build-pt-chown is enabled.
63535         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63536         pt_chown to fix pty ownership.
63537         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63538         CLOSE_ALL_FDS.
63539         * manual/install.texi (Configuring and compiling): Mention
63540         --enable-pt_chown. Add @findex for grantpt.
63541         * INSTALL: Regenerate.
63543 2013-07-20  David S. Miller  <davem@davemloft.net>
63545         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63546         difference between 32-bit and 64-bit.
63548 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
63550         [BZ #15711]
63551         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63552         Avoid system header dependency with -ffreestanding.
63553         ($(objpfx)bits/syscall%d): Likewise.
63555 2013-07-13  David S. Miller  <davem@davemloft.net>
63557         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63558         underflows from atanl/atan2l due to bug 15319.
63559         (casinh_test_data): Likewise.
63561 2013-07-07  David S. Miller  <davem@davemloft.net>
63563         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63565 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
63567         * sysdeps/i386/fpu/libm-test-ulps: Update.
63568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63570 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63572         * configure.in (--enable-lock-elision): Fix message text.
63573         * INSTALL: Regenerate.
63574         * configure: Regenerate.
63576 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63580 2013-07-03  Andreas Jaeger  <aj@suse.de>
63582         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63583         define.
63584         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63585         (ptrace_peeksiginfo_args): Add.
63586         (__ptrace_peeksiginfo_flags): Add.
63587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63588         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63589         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63591 2013-07-03  Allan McRae  <allan@archlinux.org>
63593         * sysdeps/i386/fpu/libm-test-ulps: Update.
63595 2013-07-02  David S. Miller  <davem@davemloft.net>
63597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63599 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
63601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63603 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63605         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63608 2013-07-02  Andi Kleen <ak@linux.intel.com>
63610         * config.h.in (ENABLE_LOCK_ELISION): Add.
63611         * configure.in (--enable-lock-elision): Add option.
63612         * manual/install.texi: Document --enable lock elision.
63613         * configure: Regenerate
63614         * INSTALL: Regenerate.
63616 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
63618         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63619         SSE4.2 strcasecmp for libc.a.
63620         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63622 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63624         [BZ #13304]
63625         * soft-fp/op-common.h (_FP_FMA): New macro.
63626         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63627         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
63628         (_FP_MUL_MEAT_1_imm): ... here.
63629         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
63630         (_FP_MUL_MEAT_1_wide): ... here.
63631         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
63632         (_FP_MUL_MEAT_1_hard): ... here.
63633         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63634         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63635         (_FP_MUL_MEAT_2_wide): ... here.
63636         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63637         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63638         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63639         (_FP_MUL_MEAT_2_gmp): ... here.
63640         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63641         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63642         (_FP_MUL_MEAT_4_wide): ... here.
63643         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63644         (_FP_MUL_MEAT_4_gmp): ... here.
63645         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63646         (_FP_WFRACBITS_DW_S): Likewise.
63647         (_FP_WFRACXBITS_DW_S): Likewise.
63648         (_FP_HIGHBIT_DW_S): Likewise.
63649         (FP_FMA_S): Likewise.
63650         (_FP_FRAC_HIGH_DW_S): Likewise.
63651         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63652         (_FP_WFRACBITS_DW_D): Likewise.
63653         (_FP_WFRACXBITS_DW_D): Likewise.
63654         (_FP_HIGHBIT_DW_D): Likewise.
63655         (FP_FMA_D): Likewise.
63656         (_FP_FRAC_HIGH_DW_D): Likewise.
63657         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63658         (_FP_WFRACBITS_DW_E): Likewise.
63659         (_FP_WFRACXBITS_DW_E): Likewise.
63660         (_FP_HIGHBIT_DW_E): Likewise.
63661         (FP_FMA_E): Likewise.
63662         (_FP_FRAC_HIGH_DW_E): Likewise.
63663         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63664         (_FP_WFRACBITS_DW_Q): Likewise.
63665         (_FP_WFRACXBITS_DW_Q): Likewise.
63666         (_FP_HIGHBIT_DW_Q): Likewise.
63667         (FP_FMA_Q): Likewise.
63668         (_FP_FRAC_HIGH_DW_Q): Likewise.
63669         * soft-fp/fmasf4.c: New file.
63670         * soft-fp/fmadf4.c: Likewise.
63671         * soft-fp/fmatf4.c: Likewise.
63673 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63676         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63677         Silvermont.
63678         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63679         macro.
63680         (index_Slow_SSE4_2): Likewise.
63681         (index_Prefer_PMINUB_for_stringop): Likewise.
63682         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63683         bit_Slow_SSE4_2 is set.
63684         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63685         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63687 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63689         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63690         rtld_global._dl_hwcap2.
63691         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63692         POWER8.
63693         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63694         POWER8 feature descriptions defined in _dl_hwcap2.
63695         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63696         string handling for POWER8 feature bits.
63697         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63698         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63699         _dl_powerpc_cap_flags.
63700         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63701         * sysdeps/powerpc/rtld-global-offsets.sym
63702         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63703         _dl_hwcap2 in the rtld_global_ro structure.
63705 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63707         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63708         hardware capabilities in support of AT_HWCAP2.
63709         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63710         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63711         GLRO(dl_hwcap2).
63712         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63713         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63714         explicitly the unknown a_type display mechanism is used.
63715         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63716         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63717         struct member.
63718         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63719         to macro prototype for AT_HWCAP2 support.
63720         * sysdeps/i386/dl-procinfo.h: Likewise.
63721         * sysdeps/s390/dl-procinfo.h: Likewise.
63722         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63723         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63724         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63725         return -1 for unknown a_type display fallback.
63726         * sysdeps/sparc/dl-procinfo.h: Likewise.
63727         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63728         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63730 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63732         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63733         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63735 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63737         [BZ #12492]
63738         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63739         mprotect making __stack_prot writable.
63741 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63742             Joseph Myers  <joseph@codesourcery.com>
63744         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63745         as being properly aligned.
63747 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63749         * dlfcn/modstatic5.c: New file.
63750         * dlfcn/tststatic5.c: New file.
63751         * dlfcn/Makefile (tests): Add tststatic5.
63752         (tests-static): Likewise.
63753         (modules-names): Add modstatic5.
63754         (tststatic5-ENV): New variable.
63755         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63757         [BZ #15022]
63758         * elf/dl-support.c (_dl_main_map): New variable.
63759         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63760         (_dl_nns, _dl_load_adds): Set to 1.
63761         (_dl_initial_searchlist): Refer to _dl_main_map.
63762         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63763         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63764         call to _dl_get_origin.
63765         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63766         around call_map.
63767         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63768         * dlfcn/modstatic3.c: New file.
63769         * dlfcn/tststatic3.c: New file.
63770         * dlfcn/tststatic4.c: New file.
63771         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63772         (tests-static): Likewise.
63773         (modules-names): Add modstatic3.
63774         (tststatic3-ENV, tststatic4-ENV): New variables.
63775         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63776         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63778 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63780         * configure.in (CC): Require GCC version 4.4 or later.
63781         * configure: Regenerated.
63782         * manual/install.texi (Tools for Compilation): Update GCC version
63783         requirement.
63784         * INSTALL: Regenerated.
63786 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63788         [BZ #15674]
63789         * string/test-memcmp.c (check2): New.
63790         (main): Call check2.
63792         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63794 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63796         [BZ #15022]
63797         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63798         over to...
63799         (dl_open_worker) [!SHARED]: ... here.
63801 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63803         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63805 2013-06-25  Richard Henderson  <rth@redhat.com>
63807         * locale/programs/locarchive.c: Include <libc-internal.h>
63809 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63811         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63812         trailing whitespace removed.
63814 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63816         [BZ #10283]
63817         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63818         * locale/programs/locarchive.c: Include libc-mmap.h.
63819         (prepare_address_space): Take two new outputs (the mmap base and len).
63820         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63821         values.
63822         (create_archive): Declare new mmap base and len values for
63823         prepare_address_space, and store the result in ah.
63824         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63825         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63826         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63827         Declare new mmap base and len values for
63828         prepare_address_space, and store the result in new_ah.
63829         (open_archive): Declare new mmap base and len values for
63830         prepare_address_space, and store the result in ah.
63831         (close_archive): If ah->mmap_base is not NULL, use that and
63832         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63833         * sysdeps/generic/libc-mmap.h: New file.
63835 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63837         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63838         (ALIGN_UP): Likewise.
63839         (PTR_ALIGN_DOWN): Likewise.
63840         (PTR_ALIGN_UP): Likewise.
63842 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63844         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63845         entry mapped to PPC_PLATFORM_POWER8.
63846         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63847         POWER8.
63848         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63849         (_dl_string_platform): Add case for exporting platform position for
63850         POWER8.
63851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63852         search path to sysdeps/powerpc/powerpc32/power8 directory.
63853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63854         search path to sysdeps/powerpc/powerpc64/power8 directory.
63855         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63856         power7 directories.
63857         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63858         power7 directories.
63860 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63862         * INSTALL: Regenerate.
63864         * nscd/connections.c (nscd_init): Fix comment.
63866 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63868         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63870         [BZ #15667]
63871         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63872         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63874 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63876         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63877         DL_DST_REQ_STATIC.
63878         (DL_DST_REQ_STATIC): Remove macro.
63880 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63882         [BZ #7006]
63883         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63884         with a shift of 0 bits.
63886 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63888         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63889         $(tststatic-ENV).
63891 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63893         [BZ #15655]
63894         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63896 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63898         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63899         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63900         accepts -fno-tree-loop-distribute-patterns.
63901         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63902         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63903         recursive call.
63904         * string/memset.c (memset): Likewise.
63905         * string/test-memmove.c (simple_memmove): Disable loop transformation
63906         to library calls.
63907         * string/test-memset.c (simple_memset): Likewise.
63908         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63909         * benchtests/bench-memset.c (simple_memset): Likewise.
63910         * configure: Regenerated.
63912 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63914         * math/test-misc.c (main): Ignore fesetround failure when failures
63915         of subsequent rounding tests would be ignored.
63917         [BZ #15654]
63918         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63919         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63920         * math/fegetenv.c (__fegetenv): Return 0.
63921         * math/fegetexcept.c (fegetexcept): Return 0.
63922         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63923         FE_TONEAREST.
63924         * math/feholdexcpt.c (feholdexcept): Return 0.
63925         * math/fesetenv.c (__fesetenv): Return 0.
63926         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63927         argument FE_TONEAREST.
63928         * math/feupdateenv.c (__feupdateenv): Return 0.
63929         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63931 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63933         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63934         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63935         ($(objpfx)rtld-%.os rules): Use them.
63937 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63939         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63940         fields.
63942 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63944         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63945         length of target pattern, then descending length of dependency pattern.
63946         * configure.in (AWK): Require gawk 3.1.2 or newer.
63947         * manual/install.texi (Tools for Compilation): Say that we do.
63948         * configure: Regenerated.
63950         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63951         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63952         * scripts/sysd-rules.awk: ... this new script.
63953         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63954         than a glob-style pattern.
63956 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63958         * math/test-misc.c (main): Do not treat incorrectly rounded
63959         conversions as failure unless ROUNDING_TESTS passes.
63961 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63963         [BZ #15631]
63964         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63965         restore exception state around main square root computation, then
63966         check for inexactness explicitly.
63968         * math/libm-test.inc (fma_test_data): Add another test.
63970 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63972         * manual/threads.texi (Non-POSIX Extensions): New document
63973         node.  Document pthread_getattr_default_np and
63974         pthread_setattr_default_np.
63976         * Versions.def (libpthread): Add GLIBC_2.18.
63977         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63979         Likewise.
63980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63981         Likewise.
63982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63983         Likewise.
63984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63985         Likewise.
63986         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63987         Likewise.
63988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63989         Likewise.
63990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63991         Likewise.
63992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63993         Likewise.
63994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63995         Likewise.
63997 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64000         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64002 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64003             H.J. Lu  <hjl.tools@gmail.com>
64005         [BZ #15627]
64006         * sysdeps/x86_64/rtld-memset.c: Remove file.
64007         * sysdeps/x86_64/rtld-memset.S: New file.
64009 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64011         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64012         (test_in_one_mode): Take arguments for whether the rounding mode
64013         is supported for each floating-point type.
64014         (do_test): Pass new arguments to test_in_one_mode using
64015         ROUNDING_TESTS.
64017 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64019         * posix/tst-waitid.c (do_test): Distinguish different instances of
64020         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64021         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64022         before entering the kernel for waitpid.
64024 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64026         * NEWS: Fix note on clock function precision.  Text by Roland
64027         McGrath.
64029 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64031         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64032         it into place only when and if the sanity check passes.
64034 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64036         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64037         output for whether conversion result is exact.  Take argument
64038         indicating whether type is IBM long double.
64039         (round_for_all): Change need_exact field to ibm_ld.
64040         * stdlib/tst-strtod-round.c (struct exactness): New type.
64041         (struct test): Change bool ld_ok field to struct exactness exact.
64042         (TEST): Update all definitions for change to field.
64043         (tests): Regenerate array contents.
64044         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64045         field value.  Check for IBM long double here.
64046         (do_test): Update calls to test_in_one_mode.
64048 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64050         [BZ #12515]
64051         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64052         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64054 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64056         [BZ #15605]
64057         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64058         generated by the compiler on loop optimizations.
64059         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64060         general definitions.
64062 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64064         * math/bug-nextafter.c: Include <math-tests.h>.
64065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64066         the relevant type.
64067         * math/bug-nexttoward.c: Include <math-tests.h>.
64068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64069         the relevant type.
64070         * math/test-misc.c: Include <math-tests.h>.
64071         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64072         the relevant type.
64074 2013-06-12  Andreas Jaeger  <aj@suse.de>
64076         * po/ia.po: Update Interlingua translation from translation
64077         project.
64079 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64081         * include/fenv.h: Include stdbool.h.
64082         (struct rm_ctx): New structure.
64083         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64084         Define macro.
64085         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64086         (SET_RESTORE_ROUNDF): Likewise.
64087         (SET_RESTORE_ROUNDL): Likewise.
64088         (SET_RESTORE_ROUND_NOEX): Likewise.
64089         (SET_RESTORE_ROUND_NOEXF): Likewise.
64090         (SET_RESTORE_ROUND_NOEXL): Likewise.
64091         (SET_RESTORE_ROUND_53BIT): Likewise.
64092         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64093         (libc_feresetround_noexf_ctx): Likewise.
64094         (libc_feresetround_noexl_ctx): Likewise.
64095         (libc_feholdsetround_53bit_ctx): Likewise.
64096         (libc_feresetround_53bit_ctx): Likewise.
64097         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64098         (libc_feholdexcept_setround_sse_ctx): New function.
64099         (libc_fesetenv_sse_ctx): Likewise.
64100         (libc_feupdateenv_sse_ctx): Likewise.
64101         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64102         (libc_feholdexcept_setround_387_ctx): Likewise.
64103         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64104         (libc_feholdsetround_387_prec_ctx): Likewise.
64105         (libc_feholdsetround_387_ctx): Likewise.
64106         (libc_feholdsetround_387_53bit_ctx): Likewise.
64107         (libc_feholdsetround_sse_ctx): Likewise.
64108         (libc_feresetround_sse_ctx): Likewise.
64109         (libc_feresetround_387_ctx): Likewise.
64110         (libc_feupdateenv_387_ctx): Likewise.
64111         (libc_feholdexcept_setroundf_ctx): Define macro.
64112         (libc_fesetenvf_ctx): Likewise.
64113         (libc_feupdateenvf_ctx): Likewise.
64114         (libc_feholdsetroundf_ctx): Likewise.
64115         (libc_feresetroundf_ctx): Likewise.
64116         (libc_feholdexcept_setround_ctx): Likewise.
64117         (libc_fesetenv_ctx): Likewise.
64118         (libc_feupdateenv_ctx): Likewise.
64119         (libc_feholdsetround_ctx): Likewise.
64120         (libc_feresetround_ctx): Likewise.
64121         (libc_feholdexcept_setroundl_ctx): Likewise.
64122         (libc_feupdateenvl_ctx): Likewise.
64123         (libc_feholdsetroundl_ctx): Likewise.
64124         (libc_feresetroundl_ctx): Likewise.
64125         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64126         (libc_feresetround_53bit_ctx): Likewise.
64128 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64130         * locale/iso-639.def: Convert to UTF-8.
64132 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
64134         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64135         (EXCEPTION_TESTS_double): Likewise.
64136         (EXCEPTION_TESTS_long_double): Likewise.
64137         (EXCEPTION_TESTS): Likewise.
64138         * math/libm-test.inc (test_exceptions): Only test exceptions if
64139         EXCEPTION_TESTS (FLOAT).
64141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64143         * benchtests/Makefile (string-bench): Add strcpy_chk and
64144         stpcpy_chk.
64145         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64146         * benchtests/bench-stpcpy_chk.c: New file.
64147         * benchtests/bench-strcpy_chk-ifunc.c: New file.
64148         * benchtests/bench-strcpy_chk.c: New file.
64149         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64150         code.
64151         (do_test): Likewise.
64153 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64155         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64156         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64157         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64158         with tabs where appropriate.
64159         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64160         dl-procinfo.h.
64161         [PPC_PLATFORM_PPC440]: Likewise.
64162         [PPC_PLATFORM_PPC464]: Likewise.
64163         [PPC_PLATFORM_PPC476]: Likewise.
64164         (_dl_string_platform): Add support for detecting ppc405, ppc440,
64165         ppc464, and ppc476 platform strings merging from ports/
64166         dl-procinfo.h.
64168 2013-06-11  Andreas Schwab  <schwab@suse.de>
64170         [BZ #14991]
64171         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64172         (from_ucs4_idx): Regenerate.
64173         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64174         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64175         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64176         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64177         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64178         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64179         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64180         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64181         from FROM_LOOP and TO_LOOP specific macros.
64182         (BODY): Handle combining characters.
64183         * iconvdata/BIG5HKSCS.irreversible: Update.
64184         * iconvdata/BIG5HKSCS.precomposed: New file.
64185         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64186         characters.
64187         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64191         * include/sys/time.h: Fix indentation and add copyright header.
64193         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64194         (do_test): Likewise.
64195         * string/test-memchr.c (do_one_test): Likewise.
64196         (do_test): Likewise.
64197         * string/test-memcmp.c (do_one_test): Likewise.
64198         (do_test): Likewise.
64199         * string/test-memcpy.c (do_one_test): Likewise.
64200         (do_test): Likewise.
64201         * string/test-memmem.c (do_one_test): Likewise.
64202         (do_test): Likewise.
64203         (do_random_tests): Likewise.
64204         * string/test-memmove.c (do_one_test): Likewise.
64205         (do_test): Likewise.
64206         * string/test-memset.c (do_one_test): Likewise.
64207         (do_test): Likewise.
64208         * string/test-rawmemchr.c (do_one_test): Likewise.
64209         (do_test): Likewise.
64210         * string/test-strcasecmp.c (do_one_test): Likewise.
64211         (do_test): Likewise.
64212         * string/test-strcasestr.c (do_one_test): Likewise.
64213         (do_test): Likewise.
64214         * string/test-strcat.c (do_one_test): Likewise.
64215         (do_test): Likewise.
64216         * string/test-strchr.c (do_one_test): Likewise.
64217         (do_test): Likewise.
64218         * string/test-strcmp.c (do_one_test): Likewise.
64219         (do_test): Likewise.
64220         * string/test-strcpy.c (do_one_test): Likewise.
64221         (do_test): Likewise.
64222         * string/test-string.h: Likewise.
64223         (test_init): Likewise.
64224         * string/test-strlen.c (do_one_test): Likewise.
64225         (do_test): Likewise.
64226         * string/test-strncasecmp.c (do_one_test): Likewise.
64227         (do_test): Likewise.
64228         * string/test-strncat.c (do_one_test): Likewise.
64229         (do_test): Likewise.
64230         * string/test-strncmp.c (do_one_test): Likewise.
64231         (do_test_limit): Likewise.
64232         (do_test): Likewise.
64233         * string/test-strncpy.c (do_one_test): Likewise.
64234         (do_test): Likewise.
64235         * string/test-strnlen.c (do_one_test): Likewise.
64236         (do_test): Likewise.
64237         * string/test-strpbrk.c (do_one_test): Likewise.
64238         (do_test): Likewise.
64239         * string/test-strrchr.c (do_one_test): Likewise.
64240         (do_test): Likewise.
64241         * string/test-strspn.c (do_one_test): Likewise.
64242         (do_test): Likewise.
64243         * string/test-strstr.c (do_one_test): Likewise.
64244         (do_test): Likewise.
64246         * benchtests/Makefile (string-bench): Add string benchmarks.
64247         * benchtests/bench-bcopy-ifunc.c: New file.
64248         * benchtests/bench-bcopy.c: New file.
64249         * benchtests/bench-bzero-ifunc.c: New file.
64250         * benchtests/bench-bzero.c: New file.
64251         * benchtests/bench-memccpy-ifunc.c: New file.
64252         * benchtests/bench-memccpy.c: New file.
64253         * benchtests/bench-memchr-ifunc.c: New file.
64254         * benchtests/bench-memchr.c: New file.
64255         * benchtests/bench-memcmp-ifunc.c: New file.
64256         * benchtests/bench-memcmp.c: New file.
64257         * benchtests/bench-memmem-ifunc.c: New file.
64258         * benchtests/bench-memmem.c: New file.
64259         * benchtests/bench-memmove-ifunc.c: New file.
64260         * benchtests/bench-memmove.c: New file.
64261         * benchtests/bench-mempcpy-ifunc.c: New file.
64262         * benchtests/bench-mempcpy.c: New file.
64263         * benchtests/bench-memset-ifunc.c: New file.
64264         * benchtests/bench-memset.c: New file.
64265         * benchtests/bench-rawmemchr-ifunc.c: New file.
64266         * benchtests/bench-rawmemchr.c: New file.
64267         * benchtests/bench-stpcpy-ifunc.c: New file.
64268         * benchtests/bench-stpcpy.c: New file.
64269         * benchtests/bench-stpncpy-ifunc.c: New file.
64270         * benchtests/bench-stpncpy.c: New file.
64271         * benchtests/bench-strcasecmp-ifunc.c: New file.
64272         * benchtests/bench-strcasecmp.c: New file.
64273         * benchtests/bench-strcasestr-ifunc.c: New file.
64274         * benchtests/bench-strcasestr.c: New file.
64275         * benchtests/bench-strcat-ifunc.c: New file.
64276         * benchtests/bench-strcat.c: New file.
64277         * benchtests/bench-strchr-ifunc.c: New file.
64278         * benchtests/bench-strchr.c: New file.
64279         * benchtests/bench-strchrnul-ifunc.c: New file.
64280         * benchtests/bench-strchrnul.c: New file.
64281         * benchtests/bench-strcmp-ifunc.c: New file.
64282         * benchtests/bench-strcmp.c: New file.
64283         * benchtests/bench-strcpy-ifunc.c: New file.
64284         * benchtests/bench-strcpy.c: New file.
64285         * benchtests/bench-strcspn-ifunc.c: New file.
64286         * benchtests/bench-strcspn.c: New file.
64287         * benchtests/bench-strlen-ifunc.c: New file.
64288         * benchtests/bench-strlen.c: New file.
64289         * benchtests/bench-strncasecmp-ifunc.c: New file.
64290         * benchtests/bench-strncasecmp.c: New file.
64291         * benchtests/bench-strncat-ifunc.c: New file.
64292         * benchtests/bench-strncat.c: New file.
64293         * benchtests/bench-strncmp-ifunc.c: New file.
64294         * benchtests/bench-strncmp.c: New file.
64295         * benchtests/bench-strncpy-ifunc.c: New file.
64296         * benchtests/bench-strncpy.c: New file.
64297         * benchtests/bench-strnlen-ifunc.c: New file.
64298         * benchtests/bench-strnlen.c: New file.
64299         * benchtests/bench-strpbrk-ifunc.c: New file.
64300         * benchtests/bench-strpbrk.c: New file.
64301         * benchtests/bench-strrchr-ifunc.c: New file.
64302         * benchtests/bench-strrchr.c: New file.
64303         * benchtests/bench-strspn-ifunc.c: New file.
64304         * benchtests/bench-strspn.c: New file.
64305         * benchtests/bench-strstr-ifunc.c: New file.
64306         * benchtests/bench-strstr.c: New file.
64308         * benchtests/Makefile: Disable parallel execution of targets.
64309         (string-bench): Add memcpy.
64310         (benchset): New variable to store a list of benchmark sets.
64311         (bench-func): Renamed from bench.
64312         (bench-set): New target.
64313         (bench): Depend on bench-func and bench-set.
64314         * benchtests/README: Add section on benchmark sets.
64315         * benchtests/bench-memcpy-ifunc.c: New file.
64316         * benchtests/bench-memcpy.c: New file.
64317         * benchtests/bench-string.h: New file.
64319 2013-06-11  Andreas Schwab  <schwab@suse.de>
64321         [BZ #15577]
64322         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64323         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64324         values in the triple.
64325         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64326         terminator in the group key.
64328 2013-06-11  Andreas Jaeger  <aj@suse.de>
64330         * po/zh_TW.po: Update Chinese (traditional) translation from
64331         translation project.
64333 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64335         * include/time.h (__clock_gettime): Add libc_hidden_proto.
64336         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64337         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
64338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64339         (clock_getcpuclockid): Likewise.
64340         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64341         Add weak_alias and libc_hidden_def.
64342         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64343         * rt/clock_gettime.c (clock_gettime): Rename to
64344         __clock_gettime.  Add weak_alias and libc_hidden_def.
64345         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64346         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64347         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
64348         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64349         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64350         Likewise.
64351         * rt/clock_settime.c (clock_settime): Rename to
64352         __clock_settime.  Add weak_alias and libc_hidden_def.
64353         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64355 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
64357         * mach/err_boot.sub: Remove trailing whitespace.
64358         * mach/err_ipc.sub: Likewise.
64359         * mach/err_mach.sub: Likewise.
64361         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64362         (ROUNDING_TESTS_double): Likewise.
64363         (ROUNDING_TESTS_long_double): Likewise.
64364         (ROUNDING_TESTS): Likewise.
64365         * math/libm-test.inc: Include <math-tests.h>.
64366         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64367         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64368         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64369         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64371 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64373         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64374         of assigning.
64376 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
64378         * sysdeps/gnu/errlist.awk: Do not generate space at end of
64379         otherwise empty TRANS lines.
64380         * sysdeps/gnu/errlist.c: Regenerated.
64382         * catgets/gencat.c (error_print): Use (void) in function
64383         definition.
64384         * crypt/crypt_util.c (__init_des): Likewise.
64385         * crypt/speeds.c (Stop): Likewise.
64386         (main): Likewise.
64387         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64388         * inet/ruserpass.c (token): Likewise.
64389         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64390         * intl/localealias.c (extend_alias_table): Likewise.
64391         * intl/plural-exp.c (init_germanic_plural): Likewise.
64392         * libio/fcloseall.c (__fcloseall): Likewise.
64393         * libio/genops.c (_IO_flush_all): Likewise.
64394         (_IO_flush_all_linebuffered): Likewise.
64395         (_IO_cleanup): Likewise.
64396         (_IO_iter_begin): Likewise.
64397         (_IO_iter_end): Likewise.
64398         (_IO_list_lock): Likewise.
64399         (_IO_list_unlock): Likewise.
64400         (_IO_list_resetlock): Likewise.
64401         * libio/getchar.c (getchar): Likewise.
64402         * libio/getchar_u.c (getchar_unlocked): Likewise.
64403         * libio/getwchar.c (getwchar): Likewise.
64404         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
64405         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
64406         * login/getpt.c (__getpt): Likewise.
64407         * login/tst-utmp.c (main): Likewise.
64408         * malloc/hooks.c (__malloc_check_init): Likewise.
64409         * malloc/malloc.c (__malloc_stats): Likewise.
64410         * malloc/mtrace.c (tr_break): Likewise.
64411         (mtrace): Likewise.
64412         (muntrace): Likewise.
64413         * misc/fstab.c (endfsent): Likewise.
64414         * misc/getclktck.c (__getclktck): Likewise.
64415         * misc/getdtsz.c (__getdtablesize): Likewise.
64416         * misc/gethostid.c (gethostid): Likewise.
64417         * misc/getpagesize.c (__getpagesize): Likewise.
64418         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64419         (__get_nprocs): Likewise.
64420         (__get_phys_pages): Likewise.
64421         (__get_avphys_pages): Likewise.
64422         * misc/getttyent.c (getttyent): Likewise.
64423         (setttyent): Likewise.
64424         (endttyent): Likewise.
64425         * misc/getusershell.c (getusershell): Likewise.
64426         (endusershell): Likewise.
64427         (setusershell): Likewise.
64428         (initshells): Likewise.
64429         * misc/hsearch.c (__hdestroy): Likewise.
64430         * misc/sync.c (sync): Likewise.
64431         * misc/syslog.c (closelog_internal): Likewise.
64432         (closelog): Likewise.
64433         * misc/ttyslot.c (ttyslot): Likewise.
64434         * misc/vhangup.c (vhangup): Likewise.
64435         * posix/fork.c (__fork): Likewise.
64436         * posix/getegid.c (__getegid): Likewise.
64437         * posix/geteuid.c (__geteuid): Likewise.
64438         * posix/getgid.c (__getgid): Likewise.
64439         * posix/getpid.c (__getpid): Likewise.
64440         * posix/getppid.c (__getppid): Likewise.
64441         * posix/getuid.c (__getuid): Likewise.
64442         * posix/pause.c (pause): Likewise.
64443         * posix/setpgrp.c (setpgrp): Likewise.
64444         * posix/setsid.c (__setsid): Likewise.
64445         * posix/test-vfork.c (noop): Likewise.
64446         * resolv/gethnamaddr.c (_endhtent): Likewise.
64447         (_gethtent): Likewise.
64448         (ht_endhostent): Likewise.
64449         (gethostent): Likewise.
64450         (dns_service): Likewise.
64451         * stdlib/drand48.c (drand48): Likewise.
64452         * stdlib/lrand48.c (lrand48): Likewise.
64453         * stdlib/mrand48.c (mrand48): Likewise.
64454         * stdlib/rand.c (rand): Likewise.
64455         * stdlib/random.c (__random): Likewise.
64456         * stdlib/setenv.c (clearenv): Likewise.
64457         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64458         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64459         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64460         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64461         (__get_nprocs): Likewise.
64462         (__get_phys_pages): Likewise.
64463         (__get_avphys_pages): Likewise.
64464         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64465         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64466         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64467         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64468         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64469         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64470         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64471         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64472         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64473         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64474         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64475         * sysdeps/mach/hurd/sync.c (sync): Likewise.
64476         * sysdeps/posix/clock.c (clock): Likewise.
64477         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64478         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64479         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64480         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64481         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64483         (__get_nprocs_conf): Likewise.
64484         (__get_phys_pages): Likewise.
64485         (__get_avphys_pages): Likewise.
64486         * time/clock.c (clock): Likewise.
64487         * time/tzset.c (__tzname_max): Likewise.
64489 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
64491         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64492         (__bswap_32): Do not use "register".
64493         * crypt/crypt.c (_ufc_doit_r): Likewise.
64494         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64495         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64496         * gmon/gmon.c (__monstartup): Likewise.
64497         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64498         * hurd/hurdmalloc.c (more_memory): Likewise.
64499         (malloc): Likewise.
64500         (free): Likewise.
64501         (realloc): Likewise.
64502         (malloc_fork_prepare): Likewise.
64503         (malloc_fork_parent): Likewise.
64504         (malloc_fork_child): Likewise.
64505         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64506         (_svcauth_des): Likewise.
64507         * inet/inet_lnaof.c (inet_lnaof): Likewise.
64508         * inet/inet_net.c (inet_network): Likewise.
64509         * inet/inet_netof.c (inet_netof): Likewise.
64510         * inet/rcmd.c (__validuser2_sa): Likewise.
64511         * io/fts.c (fts_open): Likewise.
64512         (fts_load): Likewise.
64513         (fts_close): Likewise.
64514         (fts_read): Likewise.
64515         (fts_children): Likewise.
64516         (fts_build): Likewise.
64517         (fts_stat): Likewise.
64518         (fts_sort): Likewise.
64519         (fts_alloc): Likewise.
64520         (fts_lfree): Likewise.
64521         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64522         (_IO_file_xsgetn): Likewise.
64523         (_IO_file_xsgetn_mmap): Likewise.
64524         * libio/iofopncook.c (_IO_cookie_read): Likewise.
64525         (_IO_cookie_write): Likewise.
64526         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64527         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64528         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64529         * malloc/obstack.c (_obstack_begin): Likewise.
64530         (_obstack_begin_1): Likewise.
64531         (_obstack_newchunk): Likewise.
64532         (_obstack_allocated_p): Likewise.
64533         (obstack_free): Likewise.
64534         (_obstack_memory_used): Likewise.
64535         * misc/getttyent.c (getttynam): Likewise.
64536         (getttyent): Likewise.
64537         (skip): Likewise.
64538         (value): Likewise.
64539         * misc/getusershell.c (initshells): Likewise.
64540         * misc/syslog.c (__vsyslog_chk): Likewise.
64541         * misc/ttyslot.c (ttyslot): Likewise.
64542         * nis/nis_hash.c (__nis_hash): Likewise.
64543         * posix/fnmatch_loop.c (FCT): Likewise.
64544         * posix/getconf.c (print_all): Likewise.
64545         (main): Likewise.
64546         * posix/getopt.c (exchange): Likewise.
64547         * posix/glob.c (globfree): Likewise.
64548         (prefix_array): Likewise.
64549         (__glob_pattern_type): Likewise.
64550         * resolv/arpa/nameser.h (NS_GET16): Likewise.
64551         (NS_GET32): Likewise.
64552         (NS_PUT16): Likewise.
64553         (NS_PUT32): Likewise.
64554         * resolv/gethnamaddr.c (getanswer): Likewise.
64555         (gethostbyname2): Likewise.
64556         (gethostbyaddr): Likewise.
64557         (_gethtent): Likewise.
64558         (_gethtbyname2): Likewise.
64559         (_gethtbyaddr): Likewise.
64560         * resolv/ns_print.c (dst_s_get_int16): Likewise.
64561         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64562         * resolv/res_init.c (__res_vinit): Likewise.
64563         (net_mask): Likewise.
64564         * resolv/res_mkquery.c (outchar): Likewise.
64565         (PRINT): Likewise.
64566         * stdio-common/printf_fp.c (outchar): Likewise.
64567         (PRINT): Likewise.
64568         * stdio-common/printf_fphex.c (outchar): Likewise.
64569         (PRINT): Likewise.
64570         * stdio-common/printf_size.c (outchar): Likewise.
64571         (PRINT): Likewise.
64572         * stdio-common/test_rdwr.c (main): Likewise.
64573         * stdio-common/tfformat.c (matches): Likewise.
64574         * stdio-common/vfprintf.c (outchar): Likewise.
64575         (printf_unknown): Likewise.
64576         (buffered_vfprintf): Likewise.
64577         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64578         * stdio-common/xbug.c (AppendToBuffer): Likewise.
64579         (ReadFile): Likewise.
64580         * stdlib/qsort.c (SWAP): Likewise.
64581         (_quicksort): Likewise.
64582         * stdlib/setenv.c (__add_to_environ): Likewise.
64583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64584         * stdlib/strtol_l.c (__strtol_l): Likewise.
64585         * stdlib/tst-strtod.c (main): Likewise.
64586         * stdlib/tst-strtol.c (main): Likewise.
64587         * stdlib/tst-strtoll.c (main): Likewise.
64588         * string/bits/string2.h (__strcmp_cc): Likewise.
64589         (__strcmp_cg): Likewise.
64590         (__strcspn_c1): Likewise.
64591         (__strcspn_c2): Likewise.
64592         (__strcspn_c3): Likewise.
64593         (__strspn_c1): Likewise.
64594         (__strspn_c2): Likewise.
64595         (__strspn_c3): Likewise.
64596         (__strsep_1c): Likewise.
64597         (__strsep_2c): Likewise.
64598         (__strsep_3c): Likewise.
64599         * string/memccpy.c (__memccpy): Likewise.
64600         * string/stpcpy.c (__stpcpy): Likewise.
64601         * string/strcmp.c (strcmp): Likewise.
64602         * string/strrchr.c (strrchr): Likewise.
64603         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64604         Likewise.
64605         * sysdeps/mach/hurd/getcwd.c
64606         (_hurd_canonicalize_directory_name_internal): Likewise.
64607         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64608         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64609         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64610         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64611         Likewise, in both definitions.
64612         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64613         definitions.
64614         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64615         64] (__bswap_64): Likewise.
64616         * time/test_time.c (main): Likewise.
64617         * time/tzfile.c (__tzfile_read): Likewise.
64618         (__tzfile_compute): Likewise.
64619         * time/tzset.c (__tzset_parse_tz): Likewise.
64620         (tzset_internal): Likewise.
64621         (compute_change): Likewise.
64622         * wcsmbs/wcscat.c (__wcscat): Likewise.
64623         * wcsmbs/wcschr.c (wcschr): Likewise.
64624         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64625         * wcsmbs/wcscspn.c (wcscspn): Likewise.
64626         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64627         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64628         * wcsmbs/wcsspn.c (wcsspn): Likewise.
64629         * wcsmbs/wcsstr.c (wcsstr): Likewise.
64630         * wcsmbs/wmemchr.c (wmemchr): Likewise.
64631         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64632         * wcsmbs/wmemset.c (wmemset): Likewise.
64634 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64636         * scripts/config.guess: Update to version 2013-05-16.
64637         * scripts/config.sub: Update to version 2013-04-24.
64638         * scripts/install-sh: Update to version 2011-11-20.07.
64639         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64640         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64642 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64644         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64645         * elf/sln.c: Likewise.
64646         * hurd/hurd/ioctl.h: Likewise.
64647         * hurd/hurdmalloc.c: Likewise.
64648         * hurd/xattr.c: Likewise.
64649         * include/shlib-compat.h: Likewise.
64650         * inet/ruserpass.c: Likewise.
64651         * libio/iofgets_u.c: Likewise.
64652         * libio/iofgetws_u.c: Likewise.
64653         * locale/programs/ld-identification.c: Likewise.
64654         * locale/programs/ld-time.c: Likewise.
64655         * mach/msg-destroy.c: Likewise.
64656         * nss/nss_files/files-netgrp.c: Likewise.
64657         * resolv/res_data.c: Likewise.
64658         * soft-fp/op-1.h: Likewise.
64659         * soft-fp/op-2.h: Likewise.
64660         * soft-fp/op-4.h: Likewise.
64661         * soft-fp/op-common.h: Likewise.
64662         * stdio-common/printf_fphex.c: Likewise.
64663         * stdlib/strtod_l.c: Likewise.
64664         * sunrpc/rpc/clnt.h: Likewise.
64665         * sysdeps/generic/framestate.c: Likewise.
64666         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64667         * sysdeps/i386/bsd-setjmp.S: Likewise.
64668         * sysdeps/i386/__longjmp.S: Likewise.
64669         * sysdeps/i386/setjmp.S: Likewise.
64670         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64671         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64672         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64673         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64677         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64679         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64680         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64681         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64682         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64683         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64684         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64686         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64687         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64688         * sysdeps/ieee754/support.c: Likewise.
64689         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64690         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64691         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64692         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64693         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64694         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64695         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64696         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64697         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64698         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64699         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64700         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64701         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64702         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64703         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64704         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64705         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64708 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64710         * posix/transbug.c: Remove executable mode.
64712 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64714         * crypt/speeds.c: Remove trailing whitespace.
64715         * dlfcn/default.c: Likewise.
64716         * elf/ifuncdep2.c: Likewise.
64717         * elf/ifuncmain1.c: Likewise.
64718         * elf/ifuncmain1vis.c: Likewise.
64719         * elf/testobj.h: Likewise.
64720         * elf/tst-stackguard1.c: Likewise.
64721         * gmon/sys/gmon.h: Likewise.
64722         * hurd/hurdmsg.c: Likewise.
64723         * hurd/new-fd.c: Likewise.
64724         * hurd/ports-get.c: Likewise.
64725         * iconvdata/ibm1008_420.c: Likewise.
64726         * inet/tst-getni1.c: Likewise.
64727         * inet/tst-getni2.c: Likewise.
64728         * libio/ioungetc.c: Likewise.
64729         * libio/wfiledoalloc.c: Likewise.
64730         * manual/libm-err-tab.pl: Likewise.
64731         * math/w_dremf.c: Likewise.
64732         * misc/ftruncate.c: Likewise.
64733         * posix/bug-glob2.c: Likewise.
64734         * posix/tst-pcre.c: Likewise.
64735         * posix/wait4.c: Likewise.
64736         * resolv/README: Likewise.
64737         * resolv/res_debug.h: Likewise.
64738         * resolv/tst-inet_ntop.c: Likewise.
64739         * setjmp/bug269-setjmp.c: Likewise.
64740         * soft-fp/extended.h: Likewise.
64741         * soft-fp/op-1.h: Likewise.
64742         * soft-fp/op-2.h: Likewise.
64743         * soft-fp/op-4.h: Likewise.
64744         * soft-fp/op-8.h: Likewise.
64745         * soft-fp/testit.c: Likewise.
64746         * stdio-common/bug16.c: Likewise.
64747         * stdlib/random.c: Likewise.
64748         * sunrpc/rpcsvc/rquota.x: Likewise.
64749         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64750         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64752         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64753         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64754         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64755         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64756         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64757         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64758         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64759         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64760         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64762         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64765         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64767         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64771         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64773         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64777         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64778         * sysdeps/ieee754/s_lib_version.c: Likewise.
64779         * sysdeps/mach/hurd/check_fds.c: Likewise.
64780         * sysdeps/mach/hurd/getsockname.c: Likewise.
64781         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64782         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64783         * sysdeps/powerpc/bits/link.h: Likewise.
64784         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64785         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64786         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64787         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64788         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64789         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64790         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64791         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64792         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64793         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64794         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64795         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64796         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64797         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64798         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64799         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64802         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64803         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64804         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64805         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64807         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64810         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64811         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64812         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64815         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64816         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64817         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64818         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64819         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64820         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64821         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64822         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64823         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64824         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64825         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64826         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64827         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64828         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64829         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64830         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64831         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64832         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64833         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64835         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64836         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64837         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64838         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64839         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64840         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64841         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64843         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64844         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64845         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64846         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64847         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64848         * sysdeps/powerpc/sysdep.h: Likewise.
64849         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64850         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64851         * sysdeps/sh/dl-trampoline.S: Likewise.
64852         * sysdeps/sh/memset.S: Likewise.
64853         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64854         * sysdeps/sh/strlen.S: Likewise.
64855         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64856         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64857         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64858         * sysdeps/sparc/sparc32/rem.S: Likewise.
64859         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64860         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64861         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64862         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64863         * sysdeps/sparc/sparc32/urem.S: Likewise.
64864         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64865         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64866         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64867         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64868         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64869         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64870         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64871         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64872         * sysdeps/unix/bsd/times.c: Likewise.
64873         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64874         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64878         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64879         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64880         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64882         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64885         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64886         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64887         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64888         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64889         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64890         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64891         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64892         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64893         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64894         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64895         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64896         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64897         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64898         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64899         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64901         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64902         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64903         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64904         * sysdeps/x86_64/strcspn.S: Likewise.
64906 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64908         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64909         generated file.  Regenerate properly from gen-translit.pl.
64910         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64911         locale/C-translit.h.
64913 2013-06-05  Andreas Schwab  <schwab@suse.de>
64915         [BZ #15100]
64916         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64917         week as 6 instead of -1.
64918         * time/tst-strptime.c (day_tests): Add test case.
64920 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64922         * sysdeps/generic/math_private.h
64923         (libc_feholdexcept_setround_53bit): Replace with
64924         libc_feholdsetround_53bit.
64925         (libc_feupdateenv_53bit): Replace with
64926         libc_feresetround_53bit.
64927         (SET_RESTORE_ROUND_53BIT): Adjust.
64929 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64931         * string/test-strchrnul.c: Add copyright header.
64933         * posix/tst-getaddrinfo4.c: Increase test timeout.
64935 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64937         [BZ #15536]
64938         * math/libm-test.inc (MAX_EXP): Remove
64939         (MIN_EXP): Define.
64940         (ulp): Use MIN_EXP - MANT_DIG.
64941         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64943 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64945         * po/be.po: Revert last change.
64946         * po/zh_CN.po: Likewise.
64947         * po/header.pot: Likewise.
64949 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64951         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64952         link-libc-deps to empty as target-specific variable.
64953         * Makerules (link-libc-args): New variable.
64954         (libc-for-link): Likewise.
64955         (link-libc-deps): Likewise.
64956         (lib%.so): Depend on $(link-libc-deps).  Link with
64957         $(link-libc-args).
64958         (build-module): Link with $(link-libc-args).
64959         (build-module-asneeded): Likewise.
64960         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64961         list of objects.
64962         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64963         target-specific variable.
64964         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64965         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64966         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64967         libc.
64968         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64969         libc and ld.so.
64970         ($(objpfx)libpcprofile.so): Likewise.
64971         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64972         libc_nonshared.a.
64973         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64974         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64975         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64976         $(link-libc-deps).
64977         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64978         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64979         * login/Makefile ($(objpfx)libutil.so): Likewise.
64980         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64981         * math/Makefile ($(objpfx)libm.so): Likewise.
64982         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64983         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64984         variable instead of depending directly on libc.
64985         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64986         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64987         $(link-libc-deps).
64988         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64989         libc.
64990         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64991         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64992         ($(objpfx)libanl.so): Likewise.
64993         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64994         ld.so.
64995         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64996         $(link-libc-deps).
64997         * sysdeps/i386/fpu/Makefile: Remove file.
64998         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64999         ($(objpfx)libm.so): Remove dependency on ld.so.
65001 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65003         [BZ # 15553]
65004         * nis/yp_xdr.c (XDRMAXNAME): Define.
65005         (XDRMAXRECORD): Define.
65006         (xdr_domainname): Use XDRMAXNAME.
65007         (xdr_mapname): Likewise.
65008         (xdr_peername): Likewise.
65009         (xdr_keydat): Use XDRMAXRECORD.
65010         (xdr_valdat): Likewise.
65012 2013-05-30  Jeff Law  <law@redhat.com>
65014         [BZ #14256]
65015         * manual/errno.texi (ESTALE): Update to account for more than
65016         just NFS file systems.
65017         * sysdeps/gnu/errlist.c: Regenerated.
65019 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65021         [BZ #15465]
65022         * elf/Makefile (tests): Add tst-null-argv.
65023         (modules-names):  Add tst-null-argv-lib.
65024         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65025         (tst-null-argv-ENV): Set environment for tst-null-argv.
65026         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65027         (RTLD_PROGNAME): New macro.
65028         * elf/tst-null-argv.c: New test case.
65029         * elf/tst-null-argv-lib.c: Library for test case.
65030         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65031         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65032         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65033         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65034         * elf/dl-init.c (call_init): Likewise.
65035         (_dl_init): Likewise.
65036         * elf/dl-load.c (print_search_path): Likewise.
65037         (_dl_map_object): Likewise.
65038         * elf/dl-lookup.c (do_lookup_x): Likewise.
65039         (add_dependency): Likewise.
65040         (_dl_lookup_symbol_x): Likewise.
65041         (_dl_debug_bindings): Likewise.
65042         * elf/dl-open.c (_dl_show_scope): Likewise.
65043         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65044         * elf/dl-version.c (match_symbol): Likewise.
65045         (_dl_check_map_versions): Likewise.
65046         * elf/rtld.c (dl_main): Likewise.
65047         (print_unresolved): Use RTLD_PROGNAME.
65048         (print_missing_version): Likewise.
65049         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65050         (elf_machine_rela): Likewise.
65051         * sysdeps/powerpc/powerpc32/dl-machine.c
65052         (__process_machine_rela): Likewise.
65053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65054         Likewise.
65055         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65056         Likewise.
65057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65058         Likewise.
65059         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65061         Likewise.
65062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65063         Likewise.
65064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65066 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65068         * po/be.po: Add descriptive title.
65069         * po/zh_CN.po: Likewise.
65070         * po/header.pot: Likewise.
65072 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65074         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65075         error message.
65076         (enlarge_archive): Likewise.
65078 2013-05-28  Ben North  <ben@redfrontdoor.org>
65080         * manual/arith.texi (frexp): It is the magnitude of the return
65081         value which lies in [0.5, 1), not the return value itself.
65083 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65087 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65089         * stdio-common/bug26.c (main): Correct fscanf template.
65091         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65092         declare _dl_skip_args.
65094         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65095         Don't declare.
65097         * manual/platform.texi: Add missing @end deftypefun.
65099 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65101         [BZ #15529]
65102         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65103         bit of mantissa of 2^16382.
65104         * math/libm-test.inc (hypot_test_data): Add more tests.
65106         * math/libm-test.inc: Add drem and pow10 to list of tested
65107         functions.
65108         (pow10_test): New function.
65109         (drem_test): Likewise.
65110         (drem_test_tonearest): Likewise.
65111         (drem_test_towardzero): Likewise.
65112         (drem_test_downward): Likewise.
65113         (drem_test_upward): Likewise.
65114         (main): Call the new functions.
65116         * math/libm-test.inc (finite_test_data): Remove.
65117         (finite_test): Run tests from isfinite_test_data.
65118         (gamma_test_data): Remove.
65119         (gamma_test): Run tests from lgamma_test_data.
65120         * sysdeps/i386/fpu/libm-test-ulps: Update.
65121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65123 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65125         * manual/platform.texi: Add PowerPC PPR function set documentation.
65126         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65127         implementation.
65129 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
65131         * math/libm-test.inc (MAX_EXP): Define.
65132         (ULPDIFF): Define.
65133         (ulp): New function.
65134         (check_float_internal): Use ULPDIFF.
65135         (cpow_test): Disable failing test.
65136         (check_ulp): Test ulp() implementation.
65137         (main): Call check_ulp before starting tests.
65139 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65141         * math/gen-libm-test.pl (generate_testfile): Do not handle
65142         START_DATA and END_DATA.
65143         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65144         END_DATA.
65145         (acos_tonearest_test_data): Likewise.
65146         (acos_towardzero_test_data): Likewise.
65147         (acos_downward_test_data): Likewise.
65148         (acos_upward_test_data): Likewise.
65149         (acosh_test_data): Likewise.
65150         (asin_test_data): Likewise.
65151         (asin_tonearest_test_data): Likewise.
65152         (asin_towardzero_test_data): Likewise.
65153         (asin_downward_test_data): Likewise.
65154         (asin_upward_test_data): Likewise.
65155         (asinh_test_data): Likewise.
65156         (atan_test_data): Likewise.
65157         (atanh_test_data): Likewise.
65158         (atan2_test_data): Likewise.
65159         (cabs_test_data): Likewise.
65160         (cacos_test_data): Likewise.
65161         (cacosh_test_data): Likewise.
65162         (carg_test_data): Likewise.
65163         (casin_test_data): Likewise.
65164         (casinh_test_data): Likewise.
65165         (catan_test_data): Likewise.
65166         (catanh_test_data): Likewise.
65167         (cbrt_test_data): Likewise.
65168         (ccos_test_data): Likewise.
65169         (ccosh_test_data): Likewise.
65170         (ceil_test_data): Likewise.
65171         (cexp_test_data): Likewise.
65172         (cimag_test_data): Likewise.
65173         (clog_test_data): Likewise.
65174         (clog10_test_data): Likewise.
65175         (conj_test_data): Likewise.
65176         (copysign_test_data): Likewise.
65177         (cos_test_data): Likewise.
65178         (cos_tonearest_test_data): Likewise.
65179         (cos_towardzero_test_data): Likewise.
65180         (cos_downward_test_data): Likewise.
65181         (cos_upward_test_data): Likewise.
65182         (cosh_test_data): Likewise.
65183         (cosh_tonearest_test_data): Likewise.
65184         (cosh_towardzero_test_data): Likewise.
65185         (cosh_downward_test_data): Likewise.
65186         (cosh_upward_test_data): Likewise.
65187         (cpow_test_data): Likewise.
65188         (cproj_test_data): Likewise.
65189         (creal_test_data): Likewise.
65190         (csin_test_data): Likewise.
65191         (csinh_test_data): Likewise.
65192         (csqrt_test_data): Likewise.
65193         (ctan_test_data): Likewise.
65194         (ctan_tonearest_test_data): Likewise.
65195         (ctan_towardzero_test_data): Likewise.
65196         (ctan_downward_test_data): Likewise.
65197         (ctan_upward_test_data): Likewise.
65198         (ctanh_test_data): Likewise.
65199         (ctanh_tonearest_test_data): Likewise.
65200         (ctanh_towardzero_test_data): Likewise.
65201         (ctanh_downward_test_data): Likewise.
65202         (ctanh_upward_test_data): Likewise.
65203         (erf_test_data): Likewise.
65204         (erfc_test_data): Likewise.
65205         (exp_test_data): Likewise.
65206         (exp_tonearest_test_data): Likewise.
65207         (exp_towardzero_test_data): Likewise.
65208         (exp_downward_test_data): Likewise.
65209         (exp_upward_test_data): Likewise.
65210         (exp10_test_data): Likewise.
65211         (exp2_test_data): Likewise.
65212         (expm1_test_data): Likewise.
65213         (fabs_test_data): Likewise.
65214         (fdim_test_data): Likewise.
65215         (finite_test_data): Likewise.
65216         (floor_test_data): Likewise.
65217         (fma_test_data): Likewise.
65218         (fma_towardzero_test_data): Likewise.
65219         (fma_downward_test_data): Likewise.
65220         (fma_upward_test_data): Likewise.
65221         (fmax_test_data): Likewise.
65222         (fmin_test_data): Likewise.
65223         (fmod_test_data): Likewise.
65224         (fpclassify_test_data): Likewise.
65225         (frexp_test_data): Likewise.
65226         (gamma_test_data): Likewise.
65227         (hypot_test_data): Likewise.
65228         (ilogb_test_data): Likewise.
65229         (isfinite_test_data): Likewise.
65230         (isgreater_test_data): Likewise.
65231         (isgreaterequal_test_data): Likewise.
65232         (isinf_test_data): Likewise.
65233         (isless_test_data): Likewise.
65234         (islessequal_test_data): Likewise.
65235         (islessgreater_test_data): Likewise.
65236         (isnan_test_data): Likewise.
65237         (isnormal_test_data): Likewise.
65238         (issignaling_test_data): Likewise.
65239         (isunordered_test_data): Likewise.
65240         (j0_test_data): Likewise.
65241         (j1_test_data): Likewise.
65242         (jn_test_data): Likewise.
65243         (ldexp_test_data): Likewise.
65244         (lgamma_test_data): Likewise.
65245         (lrint_test_data): Likewise.
65246         (lrint_tonearest_test_data): Likewise.
65247         (lrint_towardzero_test_data): Likewise.
65248         (lrint_downward_test_data): Likewise.
65249         (lrint_upward_test_data): Likewise.
65250         (llrint_test_data): Likewise.
65251         (llrint_tonearest_test_data): Likewise.
65252         (llrint_towardzero_test_data): Likewise.
65253         (llrint_downward_test_data): Likewise.
65254         (llrint_upward_test_data): Likewise.
65255         (log_test_data): Likewise.
65256         (log10_test_data): Likewise.
65257         (log1p_test_data): Likewise.
65258         (log2_test_data): Likewise.
65259         (logb_test_data): Likewise.
65260         (logb_downward_test_data): Likewise.
65261         (lround_test_data): Likewise.
65262         (llround_test_data): Likewise.
65263         (modf_test_data): Likewise.
65264         (nearbyint_test_data): Likewise.
65265         (nextafter_test_data): Likewise.
65266         (nexttoward_test_data): Likewise.
65267         (pow_test_data): Likewise.
65268         (pow_tonearest_test_data): Likewise.
65269         (pow_towardzero_test_data): Likewise.
65270         (pow_downward_test_data): Likewise.
65271         (pow_upward_test_data): Likewise.
65272         (remainder_test_data): Likewise.
65273         (remainder_tonearest_test_data): Likewise.
65274         (remainder_towardzero_test_data): Likewise.
65275         (remainder_downward_test_data): Likewise.
65276         (remainder_upward_test_data): Likewise.
65277         (remquo_test_data): Likewise.
65278         (rint_test_data): Likewise.
65279         (rint_tonearest_test_data): Likewise.
65280         (rint_towardzero_test_data): Likewise.
65281         (rint_downward_test_data): Likewise.
65282         (rint_upward_test_data): Likewise.
65283         (round_test_data): Likewise.
65284         (scalb_test_data): Likewise.
65285         (scalbn_test_data): Likewise.
65286         (scalbln_test_data): Likewise.
65287         (signbit_test_data): Likewise.
65288         (sin_test_data): Likewise.
65289         (sin_tonearest_test_data): Likewise.
65290         (sin_towardzero_test_data): Likewise.
65291         (sin_downward_test_data): Likewise.
65292         (sin_upward_test_data): Likewise.
65293         (sincos_test_data): Likewise.
65294         (sinh_test_data): Likewise.
65295         (sinh_tonearest_test_data): Likewise.
65296         (sinh_towardzero_test_data): Likewise.
65297         (sinh_downward_test_data): Likewise.
65298         (sinh_upward_test_data): Likewise.
65299         (sqrt_test_data): Likewise.
65300         (tan_test_data): Likewise.
65301         (tan_tonearest_test_data): Likewise.
65302         (tan_towardzero_test_data): Likewise.
65303         (tan_downward_test_data): Likewise.
65304         (tan_upward_test_data): Likewise.
65305         (tanh_test_data): Likewise.
65306         (tgamma_test_data): Likewise.
65307         (trunc_test_data): Likewise.
65308         (y0_test_data): Likewise.
65309         (y1_test_data): Likewise.
65310         (yn_test_data): Likewise.
65311         (significand_test_data): Likewise.
65313         * math/gen-libm-test.pl (@functions): Remove variable.
65314         (generate_testfile): Don't handle START and END lines.
65315         * math/libm-test.inc (START): New macro.
65316         (END): Likewise.
65317         (END_COMPLEX): Likewise.
65318         (acos_test): Use END macro without arguments.
65319         (acos_test_tonearest): Likewise.
65320         (acos_test_towardzero): Likewise.
65321         (acos_test_downward): Likewise.
65322         (acos_test_upward): Likewise.
65323         (acosh_test): Likewise.
65324         (asin_test): Likewise.
65325         (asin_test_tonearest): Likewise.
65326         (asin_test_towardzero): Likewise.
65327         (asin_test_downward): Likewise.
65328         (asin_test_upward): Likewise.
65329         (asinh_test): Likewise.
65330         (atan_test): Likewise.
65331         (atanh_test): Likewise.
65332         (atan2_test): Likewise.
65333         (cabs_test): Likewise.
65334         (cacos_test): Use END_COMPLEX macro without arguments.
65335         (cacosh_test): Likewise.
65336         (carg_test): Use END macro without arguments.
65337         (casin_test): Use END_COMPLEX macro without arguments.
65338         (casinh_test): Likewise.
65339         (catan_test): Likewise.
65340         (catanh_test): Likewise.
65341         (cbrt_test): Use END macro without arguments.
65342         (ccos_test): Use END_COMPLEX macro without arguments.
65343         (ccosh_test): Likewise.
65344         (ceil_test): Use END macro without arguments.
65345         (cexp_test): Use END_COMPLEX macro without arguments.
65346         (cimag_test): Use END macro without arguments.
65347         (clog_test): Use END_COMPLEX macro without arguments.
65348         (clog10_test): Likewise.
65349         (conj_test): Likewise.
65350         (copysign_test): Use END macro without arguments.
65351         (cos_test): Likewise.
65352         (cos_test_tonearest): Likewise.
65353         (cos_test_towardzero): Likewise.
65354         (cos_test_downward): Likewise.
65355         (cos_test_upward): Likewise.
65356         (cosh_test): Likewise.
65357         (cosh_test_tonearest): Likewise.
65358         (cosh_test_towardzero): Likewise.
65359         (cosh_test_downward): Likewise.
65360         (cosh_test_upward): Likewise.
65361         (cpow_test): Use END_COMPLEX macro without arguments.
65362         (cproj_test): Likewise.
65363         (creal_test): Use END macro without arguments.
65364         (csin_test): Use END_COMPLEX macro without arguments.
65365         (csinh_test): Likewise.
65366         (csqrt_test): Likewise.
65367         (ctan_test): Likewise.
65368         (ctan_test_tonearest): Likewise.
65369         (ctan_test_towardzero): Likewise.
65370         (ctan_test_downward): Likewise.
65371         (ctan_test_upward): Likewise.
65372         (ctanh_test): Likewise.
65373         (ctanh_test_tonearest): Likewise.
65374         (ctanh_test_towardzero): Likewise.
65375         (ctanh_test_downward): Likewise.
65376         (ctanh_test_upward): Likewise.
65377         (erf_test): Use END macro without arguments.
65378         (erfc_test): Likewise.
65379         (exp_test): Likewise.
65380         (exp_test_tonearest): Likewise.
65381         (exp_test_towardzero): Likewise.
65382         (exp_test_downward): Likewise.
65383         (exp_test_upward): Likewise.
65384         (exp10_test): Likewise.
65385         (exp2_test): Likewise.
65386         (expm1_test): Likewise.
65387         (fabs_test): Likewise.
65388         (fdim_test): Likewise.
65389         (finite_test): Likewise.
65390         (floor_test): Likewise.
65391         (fma_test): Likewise.
65392         (fma_test_towardzero): Likewise.
65393         (fma_test_downward): Likewise.
65394         (fma_test_upward): Likewise.
65395         (fmax_test): Likewise.
65396         (fmin_test): Likewise.
65397         (fmod_test): Likewise.
65398         (fpclassify_test): Likewise.
65399         (frexp_test): Likewise.
65400         (gamma_test): Likewise.
65401         (hypot_test): Likewise.
65402         (ilogb_test): Likewise.
65403         (isfinite_test): Likewise.
65404         (isgreater_test): Likewise.
65405         (isgreaterequal_test): Likewise.
65406         (isinf_test): Likewise.
65407         (isless_test): Likewise.
65408         (islessequal_test): Likewise.
65409         (islessgreater_test): Likewise.
65410         (isnan_test): Likewise.
65411         (isnormal_test): Likewise.
65412         (issignaling_test): Likewise.
65413         (isunordered_test): Likewise.
65414         (j0_test): Likewise.
65415         (j1_test): Likewise.
65416         (jn_test): Likewise.
65417         (ldexp_test): Likewise.
65418         (lgamma_test): Likewise.
65419         (lrint_test): Likewise.
65420         (lrint_test_tonearest): Likewise.
65421         (lrint_test_towardzero): Likewise.
65422         (lrint_test_downward): Likewise.
65423         (lrint_test_upward): Likewise.
65424         (llrint_test): Likewise.
65425         (llrint_test_tonearest): Likewise.
65426         (llrint_test_towardzero): Likewise.
65427         (llrint_test_downward): Likewise.
65428         (llrint_test_upward): Likewise.
65429         (log_test): Likewise.
65430         (log10_test): Likewise.
65431         (log1p_test): Likewise.
65432         (log2_test): Likewise.
65433         (logb_test): Likewise.
65434         (logb_test_downward): Likewise.
65435         (lround_test): Likewise.
65436         (llround_test): Likewise.
65437         (modf_test): Likewise.
65438         (nearbyint_test): Likewise.
65439         (nextafter_test): Likewise.
65440         (nexttoward_test): Likewise.
65441         (pow_test): Likewise.
65442         (pow_test_tonearest): Likewise.
65443         (pow_test_towardzero): Likewise.
65444         (pow_test_downward): Likewise.
65445         (pow_test_upward): Likewise.
65446         (remainder_test): Likewise.
65447         (remainder_test_tonearest): Likewise.
65448         (remainder_test_towardzero): Likewise.
65449         (remainder_test_downward): Likewise.
65450         (remainder_test_upward): Likewise.
65451         (remquo_test): Likewise.
65452         (rint_test): Likewise.
65453         (rint_test_tonearest): Likewise.
65454         (rint_test_towardzero): Likewise.
65455         (rint_test_downward): Likewise.
65456         (rint_test_upward): Likewise.
65457         (round_test): Likewise.
65458         (scalb_test): Likewise.
65459         (scalbn_test): Likewise.
65460         (scalbln_test): Likewise.
65461         (signbit_test): Likewise.
65462         (sin_test): Likewise.
65463         (sin_test_tonearest): Likewise.
65464         (sin_test_towardzero): Likewise.
65465         (sin_test_downward): Likewise.
65466         (sin_test_upward): Likewise.
65467         (sincos_test): Likewise.
65468         (sinh_test): Likewise.
65469         (sinh_test_tonearest): Likewise.
65470         (sinh_test_towardzero): Likewise.
65471         (sinh_test_downward): Likewise.
65472         (sinh_test_upward): Likewise.
65473         (sqrt_test): Likewise.
65474         (tan_test): Likewise.
65475         (tan_test_tonearest): Likewise.
65476         (tan_test_towardzero): Likewise.
65477         (tan_test_downward): Likewise.
65478         (tan_test_upward): Likewise.
65479         (tanh_test): Likewise.
65480         (tgamma_test): Likewise.
65481         (trunc_test): Likewise.
65482         (y0_test): Likewise.
65483         (y1_test): Likewise.
65484         (yn_test): Likewise.
65485         (significand_test): Likewise.
65487 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
65489         [BZ #15381]
65490         * libio/genops.c (_IO_no_init): Initialize wide struct info.
65492 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65494         [BZ #14894]
65495         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65496         __ppc_mdoio and __ppc_mdoom.
65497         * manual/platform.texi: Document new functions __ppc_yield,
65498         __ppc_mdoio and __ppc_mdoom.
65500 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
65502         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65503         (main): Mention "tls" pseudo-hwcap is legacy.
65504         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65506 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65508         * math/gen-libm-test.pl (parse_args): Output only string of
65509         arguments as text for test name, not full call or descriptions of
65510         tests for extra outputs.
65511         (generate_testfile): Do not pass function name to parse_args.
65512         Generate this_func variable from START.
65513         * math/libm-test.inc (struct test_f_f_data): Rename test_name
65514         field to arg_str.
65515         (struct test_ff_f_data): Likewise.
65516         (test_ff_f_data_nexttoward): Likewise.
65517         (struct test_fi_f_data): Likewise.
65518         (struct test_fl_f_data): Likewise.
65519         (struct test_if_f_data): Likewise.
65520         (struct test_fff_f_data): Likewise.
65521         (struct test_c_f_data): Likewise.
65522         (struct test_f_f1_data): Likewise.  Remove field extra_name.
65523         (struct test_fF_f1_data): Likewise.
65524         (struct test_ffI_f1_data): Likewise.
65525         (struct test_c_c_data): Rename test_name field to arg_str.
65526         (struct test_cc_c_data): Likewise.
65527         (struct test_f_i_data): Likewise.
65528         (struct test_ff_i_data): Likewise.
65529         (struct test_f_l_data): Likewise.
65530         (struct test_f_L_data): Likewise.
65531         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
65532         and extra2_name.
65533         (COMMON_TEST_SETUP): New macro.
65534         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65535         (COMMON_TEST_CLEANUP): Likewise.
65536         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65537         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
65538         macros.
65539         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65540         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
65541         macros.
65542         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65543         (RUN_TEST_fff_f): Take argument string.  Call new setup and
65544         cleanup macros.
65545         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65546         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
65547         macros.
65548         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65549         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
65550         macros.
65551         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65552         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
65553         cleanup macros.
65554         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65555         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65556         cleanup macros.
65557         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65558         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
65559         cleanup macros.
65560         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65561         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
65562         macros.
65563         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65564         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
65565         macros.
65566         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65567         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
65568         macros.
65569         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65570         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
65571         cleanup macros.
65572         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65573         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
65574         cleanup macros.
65575         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65576         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
65577         macros.
65578         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65579         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
65580         cleanup macros.
65581         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65582         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
65583         macros.
65584         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65585         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
65586         macros.
65587         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65588         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
65589         cleanup macros.
65590         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65592 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
65594         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65595         to _sifields.sigfault.
65596         (si_addr_lsb): Define new macro.
65597         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65598         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65599         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65601 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
65603         [BZ #15441]
65604         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65605         returns -1.
65606         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65607         null return -1.
65608         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65609         loading the domain.
65611 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65613         * math/gen-libm-test.pl (parse_args): Do not include expected
65614         result in test name.
65615         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65617         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65618         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65619         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65622 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65624         * benchtests/Makefile: Sort function entries.
65626         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65627         tanh, asinh, acosh, atanh.
65628         * benchtests/acos-inputs: New file.
65629         * benchtests/acosh-inputs: New file.
65630         * benchtests/asin-inputs: New file.
65631         * benchtests/asinh-inputs: New file.
65632         * benchtests/atanh-inputs: New file.
65633         * benchtests/cosh-inputs: New file.
65634         * benchtests/log-inputs: New file.
65635         * benchtests/sinh-inputs: New file.
65636         * benchtests/tanh-inputs: New file.
65638 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65640         [BZ #15339]
65641         * posix/tst-getaddrinfo4.c: New test.
65642         * posix/Makefile (tests): Add it.
65644 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65646         [BZ #15339]
65647         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65648         when no services were used.
65649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65650         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65652 2013-05-21  Andreas Schwab  <schwab@suse.de>
65654         [BZ #15014]
65655         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65656         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65657         successful.
65658         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65659         redundant variable declarations and reallocation of buffer when
65660         parsing as IPv6 address.  Always set NSS status when called from
65661         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65662         buffer too small.  Correct computation of needed size.
65663         * nss/Makefile (tests): Add test-digits-dots.
65664         * nss/test-digits-dots.c: New test.
65666 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65668         * benchtests/Makefile: Remove instructions for adding
65669         benchmark tests.
65670         * benchtests/README: New file to explain how to execute and
65671         enhance the benchmark tests.
65673 2013-05-21  Andreas Schwab  <schwab@suse.de>
65675         [BZ #15493]
65676         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65677         * setjmp/tst-sigsetjmp.c: New test.
65679 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65681         * sysdeps/x86_64/memset.S (memset): New implementation.
65682         (__bzero): Likewise.
65683         (__memset_tail): New function.
65685 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65688         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65689         __memcpy_sse2_unaligned ifunc selection.
65690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65691         Add memcpy-sse2-unaligned.S.
65692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65693         Add: __memcpy_sse2_unaligned.
65695 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65697         [BZ #15490]
65698         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65699         math_force_eval before restoring floating-point envrionment.
65700         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65702         Likewise.
65703         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65704         <math_private.h>.
65705         (__nearbyintl): Use math_force_eval before restoring
65706         floating-point environment.
65707         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65709         * math/gen-libm-test.pl (special_functions): Remove.
65710         (parse_args): Don't handle TEST_extra.  Handle functions with no
65711         return value.
65712         * math/libm-test.inc (struct test_sincos_data): Replace with
65713         struct test_fFF_11_data.
65714         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65715         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65716         (sincos_test_data): Change element type to struct
65717         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65718         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65719         RUN_TEST_LOOP_sincos.
65720         * math/README.libm-test: Don't mention special handling of
65721         individual functions.
65722         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65723         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65724         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65726         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65729         * math/gen-libm-test.pl (get_variable): Remove function.
65730         (parse_args): Don't show pointer parameters to call in test
65731         names.  Use "extra output N" in test names for extra outputs
65732         rather than naming variables.
65734 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65736         [BZ #15488]
65737         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65738         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65739         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65740         double tests.
65741         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65742         disable.
65743         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65744         check_long_double.
65746         * math/gen-libm-test.pl (@tests): Remove variable.
65747         ($count): Likewise.
65748         (new_test): Remove function.
65749         (show_exceptions): New function.
65750         (special_functions): Use show_exceptions instead of new_test.
65751         (parse_args): Likewise.
65752         (generate_testfile): Pass only function name in generated call to
65753         print_max_error or print_complex_max_error.
65754         (get_ulps): Do not handle complex tests specially.
65755         (output_test): Rename to ...
65756         (get_all_ulps_for_test): ... this.  Return a string rather than
65757         printing to a file.  Require ulps to be present.
65758         (output_ulps): Generate arrays rather than #defines.
65759         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65760         (struct ulp_data): New type.
65761         (BUILD_COMPLEX_ULP): Remove macro.
65762         (compare_ulp_data): New function.
65763         (find_ulps): Likewise.
65764         (find_test_ulps): Likewise.
65765         (find_function_ulps): Likewise.
65766         (find_complex_function_ulps): Likewise.
65767         (print_max_error): Determine allowed ulps using
65768         find_function_ulps.
65769         (print_complex_max_error): Determine allowed ulps using
65770         find_complex_function_ulps.
65771         (check_float_internal): Determine max ulps using find_test_ulps.
65772         (check_float): Do not take max_ulp parameter.  Update call to
65773         check_float_internal.
65774         (check_complex): Likewise.
65775         (check_int): Do not take max_ulp parameter.
65776         (check_long): Likewise.
65777         (check_bool): Likewise.
65778         (check_longlong): Likewise.
65779         (struct test_f_f_data): Remove max_ulp field.
65780         (struct test_ff_f_data): Likewise.
65781         (struct test_ff_f_data_nexttoward): Likewise.
65782         (struct test_fi_f_data): Likewise.
65783         (struct test_fl_f_data): Likewise.
65784         (struct test_if_f_data): Likewise.
65785         (struct test_fff_f_data): Likewise.
65786         (struct test_c_f_data): Likewise.
65787         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65788         (struct test_fF_f1_data): Likewise.
65789         (struct test_ffI_f1_data): Likewise.
65790         (struct test_c_c_data): Remove max_ulp field.
65791         (struct test_cc_c_data): Likewise.
65792         (struct test_f_i_data): Likewise.
65793         (struct test_ff_i_data): Likewise.
65794         (struct test_f_l_data): Likewise.
65795         (struct test_f_L_data): Likewise.
65796         (struct test_sincos_data): Likewise.
65797         (RUN_TEST_f_f): Do not handle ulps.
65798         (RUN_TEST_LOOP_f_f): Likewise.
65799         (RUN_TEST_2_f): Likewise.
65800         (RUN_TEST_LOOP_2_f): Likewise.
65801         (RUN_TEST_fff_f): Likewise.
65802         (RUN_TEST_LOOP_fff_f): Likewise.
65803         (RUN_TEST_c_f): Likewise.
65804         (RUN_TEST_LOOP_c_f): Likewise.
65805         (RUN_TEST_f_f1): Likewise.
65806         (RUN_TEST_LOOP_f_f1): Likewise.
65807         (RUN_TEST_fF_f1): Likewise.
65808         (RUN_TEST_LOOP_fF_f1): Likewise.
65809         (RUN_TEST_fI_f1): Likewise.
65810         (RUN_TEST_LOOP_fI_f1): Likewise.
65811         (RUN_TEST_ffI_f1): Likewise.
65812         (RUN_TEST_LOOP_ffI_f1): Likewise.
65813         (RUN_TEST_c_c): Likewise.
65814         (RUN_TEST_LOOP_c_c): Likewise.
65815         (RUN_TEST_cc_c): Likewise.
65816         (RUN_TEST_LOOP_cc_c): Likewise.
65817         (RUN_TEST_f_i): Likewise.
65818         (RUN_TEST_LOOP_f_i): Likewise.
65819         (RUN_TEST_f_i_tg): Likewise.
65820         (RUN_TEST_LOOP_f_i_tg): Likewise.
65821         (RUN_TEST_ff_i_tg): Likewise.
65822         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65823         (RUN_TEST_f_b): Likewise.
65824         (RUN_TEST_LOOP_f_b): Likewise.
65825         (RUN_TEST_f_b_tg): Likewise.
65826         (RUN_TEST_LOOP_f_b_tg): Likewise.
65827         (RUN_TEST_f_l): Likewise.
65828         (RUN_TEST_LOOP_f_l): Likewise.
65829         (RUN_TEST_f_L): Likewise.
65830         (RUN_TEST_LOOP_f_L): Likewise.
65831         (RUN_TEST_sincos): Likewise.
65832         (RUN_TEST_LOOP_sincos): Likewise.
65834 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65836         [BZ #15480]
65837         [BZ #15485]
65838         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65839         main case of finite arguments, set rounding mode to FE_TONEAREST
65840         and discard exceptions.
65841         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65842         exceptions.
65843         (remainder_tonearest_test_data): New variable.
65844         (remainder_test_tonearest): New function.
65845         (remainder_towardzero_test_data): New variable.
65846         (remainder_test_towardzero): New function.
65847         (remainder_downward_test_data): New variable.
65848         (remainder_test_downward): New function.
65849         (remainder_upward_test_data): New variable.
65850         (remainder_test_upward): New function.
65851         (main): Call the new test functions.
65853         * math/libm-test.inc (struct test_f_f1_data): Remove field
65854         extra_init.
65855         (struct test_fF_f1_data): Likewise.
65856         (struct test_ffI_f1_data): Likewise.
65857         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65858         based on value of EXTRA_EXPECTED.
65859         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65860         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65861         EXTRA_VAR based on value of EXTRA_EXPECTED.
65862         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65863         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65864         EXTRA_VAR based on value of EXTRA_EXPECTED.
65865         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65866         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65867         EXTRA_VAR based on value of EXTRA_EXPECTED.
65868         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65869         * math/gen-libm-test.pl (parse_args): Don't output initializers
65870         for extra output values.
65872         * math/libm-test.inc (check_int): Expect result to be exactly
65873         equal to expected value and do not handle ulps.
65874         (check_long): Likewise.
65875         (check_longlong): Likewise.
65877         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65878         exceptions.
65879         (cimag_test_data): Likewise.
65880         (conj_test_data): Likewise.
65881         (copysign_test_data): Likewise.
65882         (cproj_test_data): Likewise.
65883         (creal_test_data): Likewise.
65884         (fabs_test_data): Likewise.
65885         (fdim_test_data): Likewise.
65886         (finite_test_data): Likewise.
65887         (floor_test_data): Likewise.
65888         (fmax_test_data): Likewise.
65889         (fmin_test_data): Likewise.
65890         (fmod_test_data): Likewise.
65891         (fpclassify_test_data): Likewise.
65892         (frexp_test_data): Likewise.
65893         (ilogb_test_data): Likewise.
65894         (isfinite_test_data): Likewise.
65895         (isgreater_test_data): Likewise.
65896         (isgreaterequal_test_data): Likewise.
65897         (isinf_test_data): Likewise.
65898         (isless_test_data): Likewise.
65899         (islessequal_test_data): Likewise.
65900         (islessgreater_test_data): Likewise.
65901         (isnan_test_data): Likewise.
65902         (isnormal_test_data): Likewise.
65903         (issignaling_test_data): Likewise.
65904         (isunordered_test_data): Likewise.
65905         (ldexp_test_data): Likewise.
65906         (lrint_test_data): Likewise.
65907         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65908         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65909         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65910         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65911         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65912         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65913         test input.
65914         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65915         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65916         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65917         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65918         that test input.
65919         (lrint_downward_test_data): Test for "inexact" exceptions.
65920         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65921         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65922         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65923         test input.
65924         (lrint_upward_test_data): Test for "inexact" exceptions.
65925         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65926         test input.
65927         (llrint_test_data): Test for "inexact" exceptions.
65928         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65929         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65930         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65931         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65932         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65933         (llrint_downward_test_data): Test for "inexact" exceptions.
65934         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65935         (llrint_upward_test_data): Test for "inexact" exceptions.
65936         (logb_test_data): Likewise.
65937         (logb_downward_test_data): Likewise.
65938         (nextafter_test_data): Likewise.
65939         (nexttoward_test_data): Likewise.
65940         (remainder_test_data): Likewise.
65941         (remquo_test_data): Likewise.
65942         (scalbn_test_data): Likewise.
65943         (scalbln_test_data): Likewise.
65944         (signbit_test_data): Likewise.
65945         (sqrt_test_data): Likewise.
65946         (significand_test_data): Likewise.
65948 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65950         [BZ #15424]
65951         * benchtests/bench-modf.c (struct args): Mark arg0 as
65952         volatile.
65953         * scripts/bench.pl: Mark members of struct args as volatile.
65955 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65957         [BZ # 15497]
65958         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65959         negative infinity on POWER6 or lower.
65960         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65962 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65964         [BZ #15442]
65965         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65966         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65967         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65968         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65969         (_FP_SETQNAN): New macro.
65970         (_FP_SETQNAN_SEMIRAW): Likewise.
65971         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65972         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65973         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65974         (FP_EXTEND): Use _FP_FRAC_SNANP.
65975         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65976         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65977         into account.
65978         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65979         New macro.
65980         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65981         Likewise.
65983 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65985         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65986         with DIVIDE_BY_ZERO_EXCEPTION.
65987         (gamma_test_data): Likewise.
65988         (lgamma_test_data): Likewise.
65989         (log_test_data): Likewise.
65990         (log10_test_data): Likewise.
65991         (log2_test_data): Likewise.
65992         (tgamma_test_data): Likewise.
65994         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65995         (acos_test_tonearest): Likewise.
65996         (acos_test_towardzero): Likewise.
65997         (acos_test_downward): Likewise.
65998         (acos_test_upward): Likewise.
65999         (acosh_test): Likewise.
66000         (asin_test): Likewise.
66001         (asin_test_tonearest): Likewise.
66002         (asin_test_towardzero): Likewise.
66003         (asin_test_downward): Likewise.
66004         (asin_test_upward): Likewise.
66005         (asinh_test): Likewise.
66006         (atan_test): Likewise.
66007         (atanh_test): Likewise.
66008         (atan2_test): Likewise.
66009         (cabs_test): Likewise.
66010         (cacos_test): Likewise.
66011         (cacosh_test): Likewise.
66012         (casin_test): Likewise.
66013         (casinh_test): Likewise.
66014         (catan_test): Likewise.
66015         (catanh_test): Likewise.
66016         (cbrt_test): Likewise.
66017         (ccos_test): Likewise.
66018         (ccosh_test): Likewise.
66019         (cexp_test): Likewise.
66020         (clog_test): Likewise.
66021         (clog10_test): Likewise.
66022         (cos_test): Likewise.
66023         (cos_test_tonearest): Likewise.
66024         (cos_test_towardzero): Likewise.
66025         (cos_test_downward): Likewise.
66026         (cos_test_upward): Likewise.
66027         (cosh_test): Likewise.
66028         (cosh_test_tonearest): Likewise.
66029         (cosh_test_towardzero): Likewise.
66030         (cosh_test_downward): Likewise.
66031         (cosh_test_upward): Likewise.
66032         (cpow_test): Likewise.
66033         (csin_test): Likewise.
66034         (csinh_test): Likewise.
66035         (csqrt_test): Likewise.
66036         (ctan_test): Likewise.
66037         (ctan_test_tonearest): Likewise.
66038         (ctan_test_towardzero): Likewise.
66039         (ctan_test_downward): Likewise.
66040         (ctan_test_upward): Likewise.
66041         (ctanh_test): Likewise.
66042         (ctanh_test_tonearest): Likewise.
66043         (ctanh_test_towardzero): Likewise.
66044         (ctanh_test_downward): Likewise.
66045         (ctanh_test_upward): Likewise.
66046         (erf_test): Likewise.
66047         (erfc_test): Likewise.
66048         (exp_test): Likewise.
66049         (exp_test_tonearest): Likewise.
66050         (exp_test_towardzero): Likewise.
66051         (exp_test_downward): Likewise.
66052         (exp_test_upward): Likewise.
66053         (exp10_test): Likewise.
66054         (exp2_test): Likewise.
66055         (expm1_test): Likewise.
66056         (fmod_test): Likewise.
66057         (gamma_test): Likewise.
66058         (hypot_test): Likewise.
66059         (j0_test): Likewise.
66060         (j1_test): Likewise.
66061         (jn_test): Likewise.
66062         (lgamma_test): Likewise.
66063         (log_test): Likewise.
66064         (log10_test): Likewise.
66065         (log1p_test): Likewise.
66066         (log2_test): Likewise.
66067         (logb_test_downward): Likewise.
66068         (pow_test): Likewise.
66069         (pow_test_tonearest): Likewise.
66070         (pow_test_towardzero): Likewise.
66071         (pow_test_downward): Likewise.
66072         (pow_test_upward): Likewise.
66073         (remainder_test): Likewise.
66074         (remquo_test): Likewise.
66075         (sin_test): Likewise.
66076         (sin_test_tonearest): Likewise.
66077         (sin_test_towardzero): Likewise.
66078         (sin_test_downward): Likewise.
66079         (sin_test_upward): Likewise.
66080         (sincos_test): Likewise.
66081         (sinh_test): Likewise.
66082         (sinh_test_tonearest): Likewise.
66083         (sinh_test_towardzero): Likewise.
66084         (sinh_test_downward): Likewise.
66085         (sinh_test_upward): Likewise.
66086         (sqrt_test): Likewise.
66087         (tan_test): Likewise.
66088         (tan_test_tonearest): Likewise.
66089         (tan_test_towardzero): Likewise.
66090         (tan_test_downward): Likewise.
66091         (tan_test_upward): Likewise.
66092         (tanh_test): Likewise.
66093         (tgamma_test): Likewise.
66094         (y0_test): Likewise.
66095         (y1_test): Likewise.
66096         (yn_test): Likewise.
66098         * math/gen-libm-test.pl (adjust_arg): Remove function.
66099         (special_function): Remove argument $in_func.  Only handle
66100         generating output for tables of tests, not inside functions.
66101         (parse_args): Likewise.
66102         (generate_testfile): Remove variable $in_func.  Update call to
66103         parse_args.
66104         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66105         (MINUS_ZERO_INIT): Rename macro to minus_zero.
66106         (PLUS_INFTY_INIT): Rename macro to plus_infty.
66107         (MINUS_INFTY_INIT): Rename macro to minus_infty.
66108         (QNAN_VALUE_INIT): Rename macro to qnan_value.
66109         (MAX_VALUE_INIT): Rename macro to max_value.
66110         (MIN_VALUE_INIT): Rename macro to min_value.
66111         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66112         (plus_zero): Remove variable.
66113         (minus_zero): Likewise.
66114         (plus_infty): Likewise.
66115         (minus_infty): Likewise.
66116         (qnan_value): Likewise.
66117         (max_value): Likewise.
66118         (min_value): Likewise.
66119         (min_subnorm_value): Likewise.
66121 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66123         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66124         uint64_t or uint32_t usage.
66125         * crypt/sha256-block.c: Likewise.
66126         * crypt/sha256-crypt.c: Likewise.
66127         * crypt/sha256.c: Likewise.
66128         * crypt/sha512-block.c: Likewise.
66129         * crypt/sha512-crypt.c: Likewise.
66130         * crypt/sha512.c: Likewise.
66131         * debug/backtrace-tst.c: Likewise.
66132         * debug/pcprofiledump.c: Likewise.
66133         * elf/cache.c: Likewise.
66134         * elf/dl-cache.c: Likewise.
66135         * elf/dl-misc.c: Likewise.
66136         * elf/dl-profile.c: Likewise.
66137         * elf/dl-support.c: Likewise.
66138         * elf/ldconfig.c: Likewise.
66139         * elf/sprof.c: Likewise.
66140         * iconv/dummy-repertoire.c: Likewise.
66141         * iconv/iconv_charmap.c: Likewise.
66142         * iconv/skeleton.c: Likewise.
66143         * iconvdata/8bit-generic.c: Likewise.
66144         * iconvdata/cp737.h: Likewise.
66145         * iconvdata/cp775.h: Likewise.
66146         * iconvdata/ibm1008.h: Likewise.
66147         * iconvdata/ibm1025.h: Likewise.
66148         * iconvdata/ibm1046.h: Likewise.
66149         * iconvdata/ibm1097.h: Likewise.
66150         * iconvdata/ibm1112.h: Likewise.
66151         * iconvdata/ibm1122.h: Likewise.
66152         * iconvdata/ibm1123.h: Likewise.
66153         * iconvdata/ibm1124.h: Likewise.
66154         * iconvdata/ibm1129.h: Likewise.
66155         * iconvdata/ibm1130.h: Likewise.
66156         * iconvdata/ibm1132.h: Likewise.
66157         * iconvdata/ibm1133.h: Likewise.
66158         * iconvdata/ibm1137.h: Likewise.
66159         * iconvdata/ibm1140.h: Likewise.
66160         * iconvdata/ibm1141.h: Likewise.
66161         * iconvdata/ibm1142.h: Likewise.
66162         * iconvdata/ibm1143.h: Likewise.
66163         * iconvdata/ibm1144.h: Likewise.
66164         * iconvdata/ibm1145.h: Likewise.
66165         * iconvdata/ibm1146.h: Likewise.
66166         * iconvdata/ibm1147.h: Likewise.
66167         * iconvdata/ibm1148.h: Likewise.
66168         * iconvdata/ibm1149.h: Likewise.
66169         * iconvdata/ibm1153.h: Likewise.
66170         * iconvdata/ibm1154.h: Likewise.
66171         * iconvdata/ibm1155.h: Likewise.
66172         * iconvdata/ibm1156.h: Likewise.
66173         * iconvdata/ibm1157.h: Likewise.
66174         * iconvdata/ibm1158.h: Likewise.
66175         * iconvdata/ibm1160.h: Likewise.
66176         * iconvdata/ibm1161.h: Likewise.
66177         * iconvdata/ibm1162.h: Likewise.
66178         * iconvdata/ibm1163.h: Likewise.
66179         * iconvdata/ibm1164.h: Likewise.
66180         * iconvdata/ibm1166.h: Likewise.
66181         * iconvdata/ibm1167.h: Likewise.
66182         * iconvdata/ibm12712.h: Likewise.
66183         * iconvdata/ibm1390.h: Likewise.
66184         * iconvdata/ibm1399.h: Likewise.
66185         * iconvdata/ibm16804.h: Likewise.
66186         * iconvdata/ibm4517.h: Likewise.
66187         * iconvdata/ibm4899.h: Likewise.
66188         * iconvdata/ibm4909.h: Likewise.
66189         * iconvdata/ibm4971.h: Likewise.
66190         * iconvdata/ibm5347.h: Likewise.
66191         * iconvdata/ibm803.h: Likewise.
66192         * iconvdata/ibm856.h: Likewise.
66193         * iconvdata/ibm901.h: Likewise.
66194         * iconvdata/ibm902.h: Likewise.
66195         * iconvdata/ibm9030.h: Likewise.
66196         * iconvdata/ibm9066.h: Likewise.
66197         * iconvdata/ibm921.h: Likewise.
66198         * iconvdata/ibm922.h: Likewise.
66199         * iconvdata/ibm9448.h: Likewise.
66200         * iconvdata/isiri-3342.h: Likewise.
66201         * iconvdata/jis0201.h: Likewise.
66202         * include/link.h: Likewise.
66203         * include/netdb.h: Likewise.
66204         * inet/check_native.c: Likewise.
66205         * inet/check_pf.c: Likewise.
66206         * inet/getipv4sourcefilter.c: Likewise.
66207         * inet/getnameinfo.c: Likewise.
66208         * inet/getsourcefilter.c: Likewise.
66209         * inet/htonl.c: Likewise.
66210         * inet/setipv4sourcefilter.c: Likewise.
66211         * inet/setsourcefilter.c: Likewise.
66212         * inet/test-inet6_opt.c: Likewise.
66213         * inet/tst-network.c: Likewise.
66214         * locale/C-collate.c: Likewise.
66215         * locale/C-ctype.c: Likewise.
66216         * locale/C-time.c: Likewise.
66217         * locale/C-translit.h: Likewise.
66218         * locale/loadarchive.c: Likewise.
66219         * locale/programs/3level.h: Likewise.
66220         * locale/programs/charmap.c: Likewise.
66221         * locale/programs/charmap.h: Likewise.
66222         * locale/programs/ld-address.c: Likewise.
66223         * locale/programs/ld-collate.c: Likewise.
66224         * locale/programs/ld-ctype.c: Likewise.
66225         * locale/programs/ld-identification.c: Likewise.
66226         * locale/programs/ld-measurement.c: Likewise.
66227         * locale/programs/ld-messages.c: Likewise.
66228         * locale/programs/ld-monetary.c: Likewise.
66229         * locale/programs/ld-name.c: Likewise.
66230         * locale/programs/ld-numeric.c: Likewise.
66231         * locale/programs/ld-paper.c: Likewise.
66232         * locale/programs/ld-telephone.c: Likewise.
66233         * locale/programs/ld-time.c: Likewise.
66234         * locale/programs/linereader.c: Likewise.
66235         * locale/programs/locale.c: Likewise.
66236         * locale/programs/locarchive.c: Likewise.
66237         * locale/programs/locfile.h: Likewise.
66238         * locale/programs/repertoire.c: Likewise.
66239         * locale/programs/simple-hash.c: Likewise.
66240         * locale/programs/simple-hash.h: Likewise.
66241         * malloc/memusage.c: Likewise.
66242         * malloc/memusagestat.c: Likewise.
66243         * nis/nis_defaults.c: Likewise.
66244         * nis/nis_hash.c: Likewise.
66245         * nis/nis_print.c: Likewise.
66246         * nis/nis_xdr.c: Likewise.
66247         * nscd/connections.c: Likewise.
66248         * nscd/hstcache.c: Likewise.
66249         * nscd/nscd_gethst_r.c: Likewise.
66250         * nscd/nscd_getserv_r.c: Likewise.
66251         * nscd/nscd_helper.c: Likewise.
66252         * nscd/servicescache.c: Likewise.
66253         * nss/makedb.c: Likewise.
66254         * nss/nss_db/db-XXX.c: Likewise.
66255         * nss/nss_db/db-initgroups.c: Likewise.
66256         * nss/nss_db/db-netgrp.c: Likewise.
66257         * nss/nss_files/files-network.c: Likewise.
66258         * nss/nss_files/files-parse.c: Likewise.
66259         * posix/bug-regex5.c: Likewise.
66260         * posix/fnmatch_loop.c: Likewise.
66261         * posix/regcomp.c: Likewise.
66262         * posix/regexec.c: Likewise.
66263         * posix/tst-rfc3484-2.c: Likewise.
66264         * posix/tst-rfc3484-3.c: Likewise.
66265         * posix/tst-rfc3484.c: Likewise.
66266         * resolv/nss_dns/dns-canon.c: Likewise.
66267         * resolv/nss_dns/dns-network.c: Likewise.
66268         * resolv/res_init.c: Likewise.
66269         * resolv/res_mkquery.c: Likewise.
66270         * resolv/tst-aton.c: Likewise.
66271         * stdlib/cxa_atexit.c: Likewise.
66272         * stdlib/cxa_finalize.c: Likewise.
66273         * stdlib/gen-fpioconst.c: Likewise.
66274         * stdlib/strtol_l.c: Likewise.
66275         * string/tst-endian.c: Likewise.
66276         * sunrpc/auth_des.c: Likewise.
66277         * sunrpc/clnt_udp.c: Likewise.
66278         * sunrpc/rtime.c: Likewise.
66279         * sunrpc/svcauth_des.c: Likewise.
66280         * sunrpc/xdr.c: Likewise.
66281         * sunrpc/xdr_intXX_t.c: Likewise.
66282         * sunrpc/xdr_rec.c: Likewise.
66283         * sysdeps/generic/ldconfig.h: Likewise.
66284         * sysdeps/generic/ldsodefs.h: Likewise.
66285         * sysdeps/generic/memusage.h: Likewise.
66286         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66287         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66288         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66289         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66290         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66292         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66294         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66295         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66296         * sysdeps/posix/getaddrinfo.c: Likewise.
66297         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66298         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66299         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66300         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66301         * sysdeps/powerpc/test-gettimebase.c: Likewise.
66302         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66303         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66304         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66305         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66306         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66307         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66308         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66309         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66310         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66311         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66312         * sysdeps/x86_64/dl-tls.h: Likewise.
66313         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66314         * time/alt_digit.c: Likewise.
66315         * time/era.c: Likewise.
66316         * wcsmbs/tst-c16c32-1.c: Likewise.
66318 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66320         * math/libm-test.inc (struct test_sincos_data): New type.
66321         (RUN_TEST_LOOP_sincos): New macro.
66322         (sincos_test_data): New variable.
66323         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66325 2013-05-16  Richard Henderson  <rth@redhat.com>
66327         * math/atest-exp2.c (LIMB64): New macro.
66328         (CONSTSZ): New macro.
66329         (mp_exp1, mp_exp_m1, mp_log2): New variables.
66330         (hexdig): Move ...
66331         (print_mpn_fp): ... to function scope.
66332         (read_mpn_hex): Remove.
66333         (get_log2): Remove.
66334         (exp2_mpn): Use mp_log2.
66335         (main): Use mp_exp1.
66337 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66339         * math/libm-test.inc: Remove comment about not testing "inexact"
66340         exceptions.
66341         (INEXACT_EXCEPTION): New macro.
66342         (NO_INEXACT_EXCEPTION): Likewise.
66343         (INVALID_EXCEPTION_OK): Update value.
66344         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66345         (OVERFLOW_EXCEPTION_OK): Likewise.
66346         (UNDERFLOW_EXCEPTION_OK): Likewise.
66347         (IGNORE_ZERO_INF_SIGN): Likewise.
66348         (ERRNO_UNCHANGED): Likewise.
66349         (ERRNO_EDOM): Likewise.
66350         (ERRNO_ERANGE): Likewise.
66351         (test_exceptions): Handle testing "inexact" exceptions.
66352         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66353         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66354         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66355         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66356         INEXACT_EXCEPTION.
66357         (rint_towardzero_test_data): Likewise.
66358         (rint_downward_test_data): Likewise.
66359         (rint_upward_test_data): Likewise.
66361         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66362         with OVERFLOW_EXCEPTION.
66363         (exp10_test_data): Likewise.
66364         (exp2_test_data): Likewise.
66365         (expm1_test_data): Likewise.
66366         (lgamma_test_data): Likewise.
66367         (pow_test_data): Likewise.
66368         (tgamma_test_data): Likewise.
66369         (yn_test_data): Remove duplicate test of overflow.
66371         * math/libm-test.inc (struct test_cc_c_data): New type.
66372         (RUN_TEST_LOOP_cc_c): New macro.
66373         (cpow_test_data): New variable.
66374         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66376         * math/libm-test.inc (struct test_f_L_data): New type.
66377         (RUN_TEST_LOOP_f_L): New macro.
66378         (llrint_test_data): New variable.
66379         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66380         (llrint_tonearest_test_data): New variable.
66381         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66382         (llrint_towardzero_test_data): New variable.
66383         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66384         (llrint_downward_test_data): New variable.
66385         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66386         (llrint_upward_test_data): New variable.
66387         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66388         (llround_test_data): New variable.
66389         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66391 2013-05-13  Peter Collingbourne  <pcc@google.com>
66393         * math/atest-exp2.c (get_log2): Remove const attribute.
66395 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66397         * math/libm-test.inc (struct test_f_l_data): New type.
66398         (RUN_TEST_LOOP_f_l): New macro.
66399         (lrint_test_data): New variable.
66400         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
66401         (lrint_tonearest_test_data): New variable.
66402         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
66403         (lrint_towardzero_test_data): New variable.
66404         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
66405         (lrint_downward_test_data): New variable.
66406         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
66407         (lrint_upward_test_data): New variable.
66408         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
66409         (lround_test_data): New variable.
66410         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66412 2013-05-15  Peter Collingbourne  <pcc@google.com>
66414         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66415         (EXTRACT_WORDS64) Use where appropriate.
66416         (INSERT_WORDS64) Likewise.
66418         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66419         constraints with x constraints.
66420         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66422         * malloc/obstack.c (_obstack_compat): Add initializer.
66424 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66427         si_trapno and add si_addr_lsb to _sifields.sigfault.
66428         (si_trapno): Remove macro.
66429         (si_addr_lsb): Define new macro.
66430         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66432 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66434         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66435         instead of TEST_f_l.
66436         (llrint_test_tonearest): Likewise.
66437         (llrint_test_towardzero): Likewise.
66438         (llrint_test_downward): Likewise.
66439         (llrint_test_upward): Likewise.
66440         (llround_test): Likewise.
66442         * math/libm-test.inc (struct test_f_i_data): Add comment.
66443         (RUN_TEST_LOOP_f_b): New macro.
66444         (RUN_TEST_LOOP_f_b_tg): Likewise.
66445         (finite_test_data): New variable.
66446         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66447         (isfinite_test_data): New variable.
66448         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66449         (isinf_test_data): New variable.
66450         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66451         (isnan_test_data): New variable.
66452         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66453         (isnormal_test_data): New variable.
66454         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66455         (issignaling_test_data): New variable.
66456         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66457         (signbit_test_data): New variable.
66458         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66460         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66461         with INVALID_EXCEPTION.
66462         (acosh_test_data): Likewise.
66463         (asin_test_data): Likewise.
66464         (atanh_test_data): Likewise.
66465         (fmod_test_data): Likewise.
66466         (log_test_data): Likewise.
66467         (log10_test_data): Likewise.
66468         (log2_test_data): Likewise.
66469         (pow_test_data): Likewise.
66470         (sqrt_test_data): Likewise.
66471         (y0_test_data): Likewise.
66472         (y1_test_data): Likewise.
66473         (yn_test_data): Likewise.
66475         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66476         function contents.
66478         * math/libm-test.inc (struct test_ff_i_data): New type.
66479         (RUN_TEST_LOOP_ff_i_tg): New macro.
66480         (isgreater_test_data): New variable.
66481         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66482         (isgreaterequal_test_data): New variable.
66483         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66484         (isless_test_data): New variable.
66485         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66486         (islessequal_test_data): New variable.
66487         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66488         (islessgreater_test_data): New variable.
66489         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66490         (isunordered_test_data): New variable.
66491         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66493 2013-05-14  David S. Miller  <davem@davemloft.net>
66495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66497 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
66499         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66501         * math/libm-test.inc (struct test_fF_f1_data): Change type of
66502         extra_test to int.
66503         (struct test_f_i_data): Change type of max_ulp to int.
66505         * math/libm-test.inc (test_ffI_f1_data): New type.
66506         (RUN_TEST_LOOP_ffI_f1): New macro.
66507         (remquo_test_data): New variable.
66508         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66510         * setjmp/tst-setjmp-fp.c: New file.
66511         * setjmp/Makefile (tests): Add tst-setjmp-fp.
66512         (link-libm): New variable.
66513         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66515         * math/libm-test.inc (struct test_f_i_data): New type.
66516         (RUN_TEST_LOOP_f_i): New macro.
66517         (RUN_TEST_LOOP_f_i_tg): Likewise.
66518         (fpclassify_test_data): New variable.
66519         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66520         (ilogb_test_data): New variable.
66521         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66523         * math/libm-test.inc (scalbln_test): Correct function name in END
66524         call.
66526         * math/libm-test.inc (struct test_f_f1_data): Add comment.
66527         (RUN_TEST_LOOP_fI_f1): New macro.
66528         (frexp_test_data): New variable.
66529         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66531         * math/libm-test.inc (struct test_fF_f1_data): New type.
66532         (RUN_TEST_LOOP_fF_f1): New macro.
66533         (modf_test_data): New variable.
66534         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66536         * math/libm-test.inc (struct test_f_f1_data): New type.
66537         (RUN_TEST_LOOP_f_f1): New macro.
66538         (gamma_test_data): New variable.
66539         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66540         (lgamma_test_data): New variable.
66541         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66543 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
66545         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66546         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66547         (main): Comment "tls" pseudo-hwcap.
66549 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
66551         * math/libm-test.inc (struct test_fl_f_data): New type.
66552         (RUN_TEST_LOOP_fl_f): New variable.
66553         (scalbln_test_data): New variable.
66554         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66556         * math/libm-test.inc (struct test_fi_f_data): New type.
66557         (RUN_TEST_LOOP_fi_f): New macro.
66558         (ldexp_test_data): New variable.
66559         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66560         (scalbn_test_data): New variable.
66561         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66563         * math/libm-test.inc (struct test_c_f_data): New type.
66564         (RUN_TEST_LOOP_c_f): New macro.
66565         (cabs_test_data): New variable.
66566         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66567         (carg_test_data): New variable.
66568         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66569         (cimag_test_data): New variable.
66570         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66571         (creal_test_data): New variable.
66572         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66574         * math/libm-test.inc (struct test_if_f_data): New type.
66575         (RUN_TEST_LOOP_if_f): New macro.
66576         (jn_test_data): New variable.
66577         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66578         (yn_test_data): New variable.
66579         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66581         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66583 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66585         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66586         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66588 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66590         * benchtests/Makefile (CPPFLAGS-nonlib): Add
66591         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66592         (bench-deps): Add bench-timing.h.
66593         * benchtests-bench-skeleton.c: Include bench-timing.h.
66594         (main): Use TIMING_* macros instead of clock_gettime.
66595         * benchtests/bench-timing.h: New file.
66597         [BZ #14582]
66598         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66599         Renamed from _LIB_VERSION.
66600         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66602 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
66604         * math/libm-test.inc (struct test_fff_f_data): New type.
66605         (RUN_TEST_LOOP_fff_f): New macro.
66606         (fma_test_data): New variable.
66607         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66608         (fma_towardzero_test_data): New variable.
66609         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66610         (fma_downward_test_data): New variable.
66611         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66612         (fma_upward_test_data): New variable.
66613         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66615         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66616         (struct test_c_c_data): New type.
66617         (RUN_TEST_LOOP_c_c): New macro.
66618         (cacos_test_data): New variable.
66619         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66620         (cacosh_test_data): New variable.
66621         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66622         (casin_test_data): New variable.
66623         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66624         (casinh_test_data): New variable.
66625         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66626         (catan_test_data): New variable.
66627         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66628         (catanh_test_data): New variable.
66629         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66630         (ccos_test_data): New variable.
66631         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66632         (ccosh_test_data): New variable.
66633         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66634         (cexp_test_data): New variable.
66635         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66636         (clog_test_data): New variable.
66637         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66638         (clog10_test_data): New variable.
66639         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66640         (conj_test_data): New variable.
66641         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66642         (cproj_test_data): New variable.
66643         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66644         (csin_test_data): New variable.
66645         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66646         (csinh_test_data): New variable.
66647         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66648         (csqrt_test_data): New variable.
66649         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66650         (ctan_test_data): New variable.
66651         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66652         (ctan_tonearest_test_data): New variable.
66653         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66654         (ctan_towardzero_test_data): New variable.
66655         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66656         (ctan_downward_test_data): New variable.
66657         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66658         (ctan_upward_test_data): New variable.
66659         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66660         (ctanh_test_data): New variable.
66661         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66662         (ctanh_tonearest_test_data): New variable.
66663         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66664         (ctanh_towardzero_test_data): New variable.
66665         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66666         (ctanh_downward_test_data): New variable.
66667         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66668         (ctanh_upward_test_data): New variable.
66669         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66670         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66671         of BUILD_COMPLEX.
66673         * math/libm-test.inc (struct test_ff_f_data): New type.
66674         (struct test_ff_f_data_nexttoward): Likewise.
66675         (RUN_TEST_LOOP_2_f): New macro.
66676         (RUN_TEST_LOOP_ff_f): Likewise.
66677         (atan2_test_data): New variable.
66678         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66679         (copysign_test_data): New variable.
66680         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66681         (fdim_test_data): New variable.
66682         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66683         (fmax_test_data): New variable.
66684         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66685         (fmin_test_data): New variable.
66686         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66687         (fmod_test_data): New variable.
66688         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66689         (hypot_test_data): New variable.
66690         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66691         (nextafter_test_data): New variable.
66692         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66693         (nexttoward_test_data): New variable.
66694         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66695         (pow_test_data): New variable.
66696         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66697         (pow_tonearest_test_data): New variable.
66698         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66699         (pow_towardzero_test_data): New variable.
66700         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66701         (pow_downward_test_data): New variable.
66702         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66703         (pow_upward_test_data): New variable.
66704         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66705         (remainder_test_data): New variable.
66706         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66707         (scalb_test_data): New variable.
66708         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66709         * sysdeps/i386/fpu/libm-test-ulps: Update.
66711 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66713         * math/libm-test.inc (fma_test): Use max_value instead of local
66714         variable fltmax.
66715         (nextafter_test): Likewise.
66717         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66718         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66719         (acos_downward_test_data): New variable.
66720         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66721         (acos_upward_test_data): New variable.
66722         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66723         (acosh_test_data): New variable.
66724         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66725         (asin_test_data): New variable.
66726         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66727         (asin_tonearest_test_data): New variable.
66728         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66729         (asin_towardzero_test_data): New variable.
66730         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66731         (asin_downward_test_data): New variable.
66732         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66733         (asin_upward_test_data): New variable.
66734         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66735         (asinh_test_data): New variable.
66736         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66737         (atan_test_data): New variable.
66738         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66739         (atanh_test_data): New variable.
66740         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66741         (cbrt_test_data): New variable.
66742         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66743         (ceil_test_data): New variable.
66744         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66745         (cos_test_data): New variable.
66746         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66747         (cos_tonearest_test_data): New variable.
66748         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66749         (cos_towardzero_test_data): New variable.
66750         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66751         (cos_downward_test_data): New variable.
66752         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66753         (cos_upward_test_data): New variable.
66754         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66755         (cosh_test_data): New variable.
66756         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66757         (cosh_tonearest_test_data): New variable.
66758         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66759         (cosh_towardzero_test_data): New variable.
66760         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66761         (cosh_downward_test_data): New variable.
66762         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66763         (cosh_upward_test_data): New variable.
66764         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66765         (erf_test_data): New variable.
66766         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66767         (erfc_test_data): New variable.
66768         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66769         (exp_test_data): New variable.
66770         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66771         (exp_tonearest_test_data): New variable.
66772         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66773         (exp_towardzero_test_data): New variable.
66774         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66775         (exp_downward_test_data): New variable.
66776         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66777         (exp_upward_test_data): New variable.
66778         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66779         (exp10_test_data): New variable.
66780         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66781         (exp2_test_data): New variable.
66782         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66783         (expm1_test_data): New variable.
66784         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66785         (fabs_test_data): New variable.
66786         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66787         (floor_test_data): New variable.
66788         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66789         (j0_test_data): New variable.
66790         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66791         (j1_test_data): New variable.
66792         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66793         (log_test_data): New variable.
66794         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66795         (log10_test_data): New variable.
66796         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66797         (log1p_test_data): New variable.
66798         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66799         (log2_test_data): New variable.
66800         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66801         (logb_test_data): New variable.
66802         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66803         (logb_downward_test_data): New variable.
66804         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66805         (nearbyint_test_data): New variable.
66806         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66807         (rint_test_data): New variable.
66808         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66809         (rint_tonearest_test_data): New variable.
66810         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66811         (rint_towardzero_test_data): New variable.
66812         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66813         (rint_downward_test_data): New variable.
66814         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66815         (rint_upward_test_data): New variable.
66816         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66817         (round_test_data): New variable.
66818         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66819         (sin_test_data): New variable.
66820         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66821         (sin_tonearest_test_data): New variable.
66822         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66823         (sin_towardzero_test_data): New variable.
66824         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66825         (sin_downward_test_data): New variable.
66826         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66827         (sin_upward_test_data): New variable.
66828         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66829         (sinh_test_data): New variable.
66830         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66831         (sinh_tonearest_test_data): New variable.
66832         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66833         (sinh_towardzero_test_data): New variable.
66834         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66835         (sinh_downward_test_data): New variable.
66836         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66837         (sinh_upward_test_data): New variable.
66838         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66839         (sqrt_test_data): New variable.
66840         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66841         (tan_test_data): New variable.
66842         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66843         (tan_tonearest_test_data): New variable.
66844         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66845         (tan_towardzero_test_data): New variable.
66846         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66847         (tan_downward_test_data): New variable.
66848         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66849         (tan_upward_test_data): New variable.
66850         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66851         (tanh_test_data): New variable.
66852         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66853         (tgamma_test_data): New variable.
66854         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66855         (trunc_test_data): New variable.
66856         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66857         (y0_test_data): New variable.
66858         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66859         (y1_test_data): New variable.
66860         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66861         (significand_test_data): New variable.
66862         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66864 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66866         [BZ #12387]
66867         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66869 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66871         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66873 2013-05-10  Andreas Jaeger  <aj@suse.de>
66875         [BZ #15448]
66876         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66877         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66879 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66881         * math/gen-libm-test.pl (adjust_arg): New function.
66882         (special_functions): Handle generating output in both functions
66883         and arrays.
66884         (parse_args): Likewise.
66885         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66886         $in_func argument to parse_args.
66887         * math/libm-test.inc (struct test_f_f_data): New type.
66888         (IF_ROUND_INIT_): New macro.
66889         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66890         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66891         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66892         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66893         (ROUND_RESTORE_): Likewise.
66894         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66895         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66896         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66897         (ROUND_RESTORE_FE_UPWARD): Likewise.
66898         (RUN_TEST_LOOP_f_f): New macro.
66899         (acos_test_data): New variable.
66900         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66901         (acos_tonearest_test_data): New variable.
66902         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66904 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66906         * benchtests/bench-skeleton.c (startup): Fix coding style.
66908 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66910         [BZ #6809]
66911         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66912         negative infinity argument.
66913         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66914         negative infinity argument.
66915         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66916         negative infinity argument.
66917         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66918         domain errors.
66920 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66922         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66923         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66924         * iconv/iconv_prog.c (main): Likewise.
66925         * locale/programs/charmap-dir.c (charmap_readdir)
66926         (fopen_uncompressed): Likewise.
66927         * locale/programs/locfile.c (siblings_uncached)
66928         (write_locale_data): Use lstat64 instead of lstat.
66929         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66930         stat.
66932 2013-05-10  Andreas Jaeger  <aj@suse.de>
66934         [BZ #15395]
66935         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66936         localization.
66937         Include <locale.h>.
66939 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66941         * elf/dl-close.c (_dl_close_worker): Add comments.
66943 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66945         [BZ #15359]
66946         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66947         high part of pi/2.
66948         (__ieee754_rem_pio2l): Update comments.
66950         [BZ #15429]
66951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66952         high part of pi/2.
66953         (__ieee754_rem_pio2l): Update comments.
66955         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66956         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66958         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66959         M_PI_4l.
66961         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66962         (M_PI_34_LOG10El): Likewise.
66963         (M_PI2_LOG10El): Likewise.
66964         (M_PI4_LOG10El): Likewise.
66965         (M_PI_LOG10El): Likewise.
66967 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66971 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66973         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66974         (MINUS_ZERO_INIT): Likewise.
66975         (PLUS_INFTY_INIT): Likewise.
66976         (MINUS_INFTY_INIT): Likewise.
66977         (QNAN_VALUE_INIT): Likewise.
66978         (MAX_VALUE_INIT): Likewise.
66979         (MIN_VALUE_INIT): Likewise.
66980         (MIN_SUBNORM_VALUE_INIT): Likewise.
66981         (plus_zero): Initialize with PLUS_ZERO_INIT.
66982         (minus_zero): Initialize with MINUS_ZERO_INIT.
66983         (plus_infty): Initialize with PLUS_INFTY_INIT.
66984         (minus_infty): Initialize with MINUS_INFTY_INIT.
66985         (qnan_value): Initialize with QNAN_VALUE_INIT.
66986         (max_value): Initialize with MAX_VALUE_INIT.
66987         (min_value): Initialize with MIN_VALUE_INIT.
66988         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66990         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66991         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66992         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66993         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66995         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66996         (RUN_TEST_2_f): Likewise.
66997         (RUN_TEST_ff_f): Likewise.
66998         (RUN_TEST_fi_f): Likewise.
66999         (RUN_TEST_fl_f): Likewise.
67000         (RUN_TEST_fff_f): Likewise.
67001         (RUN_TEST_c_f): Likewise.
67002         (RUN_TEST_f_f1): Likewise.
67003         (RUN_TEST_fF_f1): Likewise.
67004         (RUN_TEST_fI_f1): Likewise.
67005         (RUN_TEST_ffI_f1): Likewise.
67006         (RUN_TEST_c_c): Likewise.
67007         (RUN_TEST_cc_c): Likewise.
67008         (RUN_TEST_f_i): Likewise.
67009         (RUN_TEST_f_i_tg): Likewise.
67010         (RUN_TEST_ff_i_tg): Likewise.
67011         (RUN_TEST_f_b): Likewise.
67012         (RUN_TEST_f_b_tg): Likewise.
67013         (RUN_TEST_f_l): Likewise.
67014         (RUN_TEST_f_L): Likewise.
67015         (RUN_TEST_sincos): Likewise.
67016         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67017         whether to show exceptions.  Do not include ");\n" in return
67018         value.
67019         (special_functions): Output call to RUN_TEST_sincos instead of
67020         check_float calls.  Update calls to new_test.
67021         (parse_args): Output call to single RUN_TEST_* macro instead of
67022         check_* calls and other assignments.  Update calls to new_test.
67024         [BZ #2546]
67025         [BZ #2560]
67026         [BZ #5159]
67027         [BZ #15426]
67028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67029         input to result for tgamma overflow.
67030         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67031         (gamma_coeff): New variable.
67032         (NCOEFF): New macro.
67033         (gamma_positive): New function.
67034         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67035         underflow here.  Use gamma_positive instead of exp (lgamma) for
67036         other arguments.
67037         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67038         (gamma_coeff): New variable.
67039         (NCOEFF): New macro.
67040         (gammaf_positive): New function.
67041         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67042         underflow here.  Use gamma_positive instead of exp (lgamma) for
67043         other arguments.
67044         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67045         (gamma_coeff): New variable.
67046         (NCOEFF): New macro.
67047         (gammal_positive): New function.
67048         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67049         underflow here.  Use gamma_positive instead of exp (lgamma) for
67050         other arguments.
67051         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67052         (gamma_coeff): New variable.
67053         (NCOEFF): New macro.
67054         (gammal_positive): New function.
67055         (__ieee754_gammal_r): Handle positive infinity, overflow and
67056         underflow here.  Handle NaN the same as positive infinity.  Remove
67057         check x < 0xffffffff for negative integers.  Use gamma_positive
67058         instead of exp (lgamma) for other arguments.
67059         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67060         (gamma_coeff): New variable.
67061         (NCOEFF): New macro.
67062         (gammal_positive): New function.
67063         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67064         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67065         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67066         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67067         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67068         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67069         * sysdeps/generic/math_private.h (__gamma_productf): New
67070         prototype.
67071         (__gamma_product): Likewise.
67072         (__gamma_productl): Likewise.
67073         * math/Makefile (libm-calls): Add gamma_product.
67074         * math/libm-test.inc (tgamma_test): Add more tests.
67075         * sysdeps/i386/fpu/libm-test-ulps: Update.
67076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67078 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
67080         * benchtests/bench-skeleton.c (main): Preheat CPU.
67082 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67084         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67086 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67088         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67089         and _dl_skip_args_internal.
67091 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67093         * manual/message.texi (Message Translation): Talk about users.
67094         Message to key mapping impacts design.
67096 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67098         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67100         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67102         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67103         * sysdeps/wordsize-64/glob64.c: ... here.
67105         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67106         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67107         New macros.
67109         * debug/getlogin_r_chk.c: Moved to ...
67110         * login/getlogin_r_chk.c: ... here.
67111         * debug/Makefile (routines): Move getlogin_r_chk to ...
67112         * login/Makefile (routines): ... here.
67113         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67114         * login/Versions (libc: GLIBC_2.4): ... here.
67116         * io/poll.c (__poll): Renamed from poll.
67117         Add libc_hidden_def.
67118         (poll): Define as weak alias.
67120         * debug/ptsname_r_chk.c: Moved to ...
67121         * login/ptsname_r_chk.c: ... here.
67122         * debug/Makefile (routines): Move ptsname_r_chk to ...
67123         * login/Makefile (routines): ... here.
67124         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67125         * login/Versions (libc: GLIBC_2.4): ... here.
67127         * posix/getlogin.c: Moved to ...
67128         * login/getlogin.c: ... here.
67129         * posix/getlogin_r.c: Moved to ...
67130         * login/getlogin_r.c: ... here.
67131         * posix/getlogin_r.c: Moved to ...
67132         * login/getlogin_r.c: ... here.
67133         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67134         * login/Makefile (routines): ... here.
67135         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67136         * login/Versions (libc: GLIBC_2.0): ... here.
67138         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67139         (setrlimit): Define as weak alias.
67141         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67142         Call __ names for open, ftruncate, and close.
67143         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67144         (truncate): Define as weak alias.
67146 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
67148         * math/gen-libm-test.pl (parse_args): Initialize x before each
67149         test of frexp, modf and remquo.
67151         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67152         test signgam value.
67154 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67156         [BZ #15418]
67157         [BZ #15419]
67158         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67159         internal tests.
67160         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67162 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67164         * elf/dl-writev.h: New file.
67165         * elf/dl-misc.c: Include it.
67166         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67167         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67169 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
67171         * math/libm-test.inc (noXFails): Remove variable.
67172         (noXPasses): Likewise.
67173         (BUILD_COMPLEX_INT): Remove macro.
67174         (print_screen): Remove xfail argument.
67175         (print_screen_max_error): Likewise.
67176         (update_stats): Likewise.
67177         (print_max_error): Likewise.  Update calls to other affected
67178         functions.
67179         (print_complex_max_error): Likewise.
67180         (test_single_exception): Update calls to print_screen.
67181         (test_single_errno): Likewise.
67182         (check_float_internal): Remove xfail argument.  Update calls to
67183         other affected functions.
67184         (check_float): Likewise.
67185         (check_complex): Likewise.
67186         (check_int): Likewise.
67187         (check_long): Likewise.
67188         (check_bool): Likewise.
67189         (check_longlong): Likewise.
67190         (main): Don't print noXFails and noXPasses.
67191         * math/gen-libm-test.pl (top level): Don't mention expected
67192         failure handling in comment.
67193         (new_test): Don't handle expected failures.
67194         (parse_args): Don't mention expected failure handling in comment.
67195         (generate_testfile): Don't handle expected failures.
67196         (parse_ulps): Likewise.
67197         (print_ulps_file): Likewise.
67198         (get_failure): Remove function.
67199         (output_test): Don't handle expected failures.
67200         * make/README.libm-test: Don't mention expected failure handling.
67202         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
67203         (minus_zero): Likewise.
67204         (plus_infty): Likewise.
67205         (minus_infty): Likewise.
67206         (qnan_value): Likewise.
67207         (max_value): Likewise.
67208         (min_value): Likewise.
67209         (min_subnorm_value): Likewise.
67210         (initialize): Do not initialize those variables dynamically.
67212 2013-05-03  Roland McGrath  <roland@hack.frob.com>
67214         * io/open.c (__open_2): Moved to ...
67215         * io/open_2.c: ... this new file.
67216         * io/open64.c (__open64_2): Moved to ...
67217         * io/open64_2.c: ... this new file.
67218         * io/openat.c (__openat_2): Moved to ...
67219         * io/openat_2.c: ... this new file.
67220         * io/openat64.c (__openat64_2): Moved to ...
67221         * io/openat64_2.c: ... this new file.
67222         * io/Makefile (routines): Add them.
67223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67224         * sysdeps/unix/sysv/linux/open_2.c: File removed.
67225         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67226         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67227         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67228         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67229         (__openat64): Add hidden_ver.
67230         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67231         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67233         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67234         Separately conditionalize setting of GLRO(dl_sysinfo) so
67235         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67236         as well, but the actual setting is only under [NEED_DL_SYSINFO].
67238 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67240         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67242         definition.
67243         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67244         * sysdeps/unix/sysv/linux/powerpc/init-first.c
67245         (_libc_vdso_platform_setup): Add __vdso_time initialization.
67246         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67247         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67249 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
67251         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67252         test signgam value.
67254         * math/libm-test.inc (hypot_test): Do not use
67255         IGNORE_ZERO_INF_SIGN.
67257 2013-05-03  Andreas Jaeger  <aj@suse.de>
67259         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67260         Linux 3.9.
67261         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67262         (PF_MAX): Adjust for VSOCK change.
67264 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67268 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
67270         [BZ #15264]
67271         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67272         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67273         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67275 2013-05-02  David S. Miller  <davem@davemloft.net>
67277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67279 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
67281         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67283 2013-05-01  Roland McGrath  <roland@hack.frob.com>
67285         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67287 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
67289         [BZ #14952]
67290         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67291         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67292         Use __attribute__ ((__gnu_inline__)).
67293         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67294         Don't use __attribute__ ((__gnu_inline__)).
67296 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
67298         [BZ #15423]
67299         * math/s_catan.c (__catan): Handle small real or imaginary part of
67300         input specially to avoid spurious underflow.
67301         * math/s_catanf.c (__catanf): Likewise.
67302         * math/s_catanh.c (__catanh): Likewise.
67303         * math/s_catanhf.c (__catanhf): Likewise.
67304         * math/s_catanhl.c (__catanhl): Likewise.
67305         * math/s_catanl.c (__catanl): Likewise.
67306         * math/libm-test.inc (catan_test): Add more tests.
67307         (catanh_test): Likewise.
67308         * sysdeps/i386/fpu/libm-test-ulps: Update.
67309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67311 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67315 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
67317         [BZ #15416]
67318         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67319         accurately for denominator in atan2.
67320         * math/s_catanf.c (__catanf): Likewise.
67321         * math/s_catanh.c (__catanh): Likewise.
67322         * math/s_catanhf.c (__catanhf): Likewise.
67323         * math/s_catanhl.c (__catanhl): Likewise.
67324         * math/s_catanl.c (__catanl): Likewise.
67325         * math/libm-test.inc (catan_test): Add more tests.
67326         (catanh_test): Likewise.
67327         * sysdeps/i386/fpu/libm-test-ulps: Update.
67328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67330 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67332         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67334         * benchtests/Makefile (bench): Remove slow benchmarks.
67335         * benchtests/atan-inputs: Add slow benchmark inputs.
67336         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67337         (BENCH_FUNC): Accept variant offset.
67338         (VARIANT): Define.
67339         * benchtests/bench-skeleton.c (main): Run benchmark for each
67340         variant.
67341         * benchtests/cos-inputs: Add slow benchmark inputs.
67342         * benchtests/exp-inputs: Likewise.
67343         * benchtests/pow-inputs: Likewise.
67344         * benchtests/sin-inputs: Likewise.
67345         * benchtests/slowatan-inputs: Remove.
67346         * benchtests/slowatan.c: Remove.
67347         * benchtests/slowcos-inputs: Remove.
67348         * benchtests/slowcos.c: Remove.
67349         * benchtests/slowexp-inputs: Remove.
67350         * benchtests/slowexp.c: Remove.
67351         * benchtests/slowpow-inputs: Remove.
67352         * benchtests/slowpow.c: Remove.
67353         * benchtests/slowsin-inputs: Remove.
67354         * benchtests/slowsin.c: Remove.
67355         * benchtests/slowtan-inputs: Remove.
67356         * benchtests/slowtan.c: Remove.
67357         * benchtests/tan-inputs: Add slow benchmark inputs.
67358         * scripts/bench.pl: Parse comments and directives.
67360         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
67361         in CPPFLAGS.
67362         ($(objpfx)bench-%.c): Remove *-ITER.
67363         * benchtests/bench-modf.c: Remove definition of ITER.
67364         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67365         (main): Loop for DURATION seconds instead of fixed number of
67366         iterations.
67367         * scripts/bench.pl: Don't expect iterations in parameters.
67369 2013-04-29  Roland McGrath  <roland@hack.frob.com>
67371         * io/fchdir.c (__fchdir): Renamed from fchdir.
67372         (fchdir): Define as weak alias.
67374 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67376         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67377         (ERRNO_EDOM): Likewise.
67378         (ERRNO_ERANGE): Likewise.
67379         (noErrnoTests): New variable.
67380         (init_max_error): Set errno to 0.
67381         (test_single_errno): New function.
67382         (test_errno): Likewise.
67383         (check_float_internal): Call test_errno.  Set errno to 0.
67384         (check_complex): Refer to errno tests in comment.
67385         (check_int): Call test_errno.  Set errno to 0.
67386         (check_long): Likewise.
67387         (check_bool): Likewise.
67388         (check_longlong): Likewise.
67389         (cos_test): Use ERRNO_* flags for errno tests instead of
67390         check_int.
67391         (expm1_test): Likewise.
67392         (fmod_test): Likewise.
67393         (ilogb_test): Likewise.
67394         (lgamma_test): Likewise.
67395         (pow_test): Likewise.
67396         (remainder_test): Likewise.
67397         (sin_test): Likewise.
67398         (tan_test): Likewise.
67399         (yn_test): Likewise.
67400         (initialize): Set errno to 0.
67401         (main): Print number of errno tests.
67402         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
67404 2013-04-29  Andreas Jaeger  <aj@suse.de>
67406         [BZ #15084]
67407         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
67408         and RES_USEVC.
67410         [BZ #15085]
67411         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67412         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67413         unimplemented.
67415         [BZ #15380]
67416         * stdlib/random.c (__initstate): Return NULL if
67417         __initstate fails.
67419         [BZ #15086]
67420         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67421         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67422         RES_SNGLKUPREOP.
67424 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67428 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67430         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67431         of individual tests.
67432         (casin_test): Likewise.
67433         (casinh_test): Likewise.
67435 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
67437         [BZ #15409]
67438         * math/s_catan.c (__catan): Handle arguments with large real or
67439         imaginary part separately without squaring.
67440         * math/s_catanf.c (__catanf): Likewise.
67441         * math/s_catanh.c (__catanh): Likewise.
67442         * math/s_catanhf.c (__catanhf): Likewise.
67443         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67444         and redefine.
67445         (__catanhl): Handle arguments with large real or imaginary part
67446         separately without squaring.
67447         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67448         and redefine.
67449         (__catanl): Handle arguments with large real or imaginary part
67450         separately without squaring.
67451         * math/libm-test.inc (catan_test): Add more tests.
67452         (catanh_test): Likewise.
67453         * sysdeps/i386/fpu/libm-test-ulps: Update.
67454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67456 2013-04-27  Andreas Jaeger  <aj@suse.de>
67458         [BZ #15007]
67459         * stdlib/stdlib.h: Update guards for qecvt.
67460         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67461         <stdlib.h>.
67463 2013-04-27  Allan McRae  <allan@archlinux.org>
67465         * sysdeps/i386/fpu/libm-test-ulps: Update.
67467 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
67469         [BZ #15406]
67470         * math/s_catan.c: Include <float.h>.
67471         (__catan): Ensure underflow exception occurs for underflowed
67472         result.
67473         * math/s_catanf.c: Include <float.h>.
67474         (__catanf): Ensure underflow exception occurs for underflowed
67475         result.
67476         * math/s_catanh.c: Include <float.h>.
67477         (__catanh): Ensure underflow exception occurs for underflowed
67478         result.
67479         * math/s_catanhf.c: Include <float.h>.
67480         (__catanhf): Ensure underflow exception occurs for underflowed
67481         result.
67482         * math/s_catanhl.c: Include <float.h>.
67483         (__catanhl): Ensure underflow exception occurs for underflowed
67484         result.
67485         * math/s_catanl.c: Include <float.h>.
67486         (__catanl): Ensure underflow exception occurs for underflowed
67487         result.
67488         * math/libm-test.inc (catan_test): Add more tests.
67489         (catanh_test): Likewise.
67491         [BZ #15405]
67492         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67493         underflowed result.
67494         * math/s_ccoshf.c (__ccoshf): Likewise.
67495         * math/s_ccoshl.c (__ccoshl): Likewise.
67496         * math/s_csin.c (__csin): Likewise.
67497         * math/s_csinf.c (__csinf): Likewise.
67498         * math/s_csinh.c (__csinh): Likewise.
67499         * math/s_csinhf.c (__csinhf): Likewise.
67500         * math/s_csinhl.c (__csinhl): Likewise.
67501         * math/s_csinl.c (__csinl): Likewise.
67502         * math/libm-test.inc (ccos_test): Add more tests.
67503         (ccosh_test): Likewise.
67504         (csin_test): Likewise.
67505         (csinh_test): Likewise.
67507 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67509         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67510         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67511         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67512         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67513         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67514         powerpc/power5+/fpu folders.
67515         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67518 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67522 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
67524         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67525         additions to variable.
67526         [$(config-machine) = x86_64] (modules-names): Likewise.
67527         ($(objpfx)tst-audit3): Remove dependency.
67528         ($(objpfx)tst-audit3.out): Likewise.
67529         ($(objpfx)tst-audit4): Likewise.
67530         ($(objpfx)tst-audit4.out): Likewise.
67531         ($(objpfx)tst-audit5): Likewise.
67532         ($(objpfx)tst-audit5.out): Likewise.
67533         ($(objpfx)tst-audit6): Likewise.
67534         ($(objpfx)tst-audit6.out): Likewise.
67535         ($(objpfx)tst-audit7): Likewise.
67536         ($(objpfx)tst-audit7.out): Likewise.
67537         (tst-audit3-ENV): Remove variable.
67538         (tst-audit4-ENV): Likewise.
67539         (tst-audit5-ENV): Likewise.
67540         (tst-audit6-ENV): Likewise.
67541         (tst-audit7-ENV): Likewise.
67542         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67543         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67544         addition to variable.
67545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67547         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67548         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67549         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67550         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67551         tst-audit3, tst-audit4 and tst-audit5.
67552         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67553         tst-audit6 and tst-audit7.
67554         [$(subdir) = elf] (modules-names): Add audit modules for those
67555         tests.
67556         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67557         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67558         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67559         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67560         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67561         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67562         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67563         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67564         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67565         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67566         [$(subdir) = elf] (tst-audit3-ENV): New variable.
67567         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67568         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67569         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67570         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67571         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67572         Likewise.
67573         [$(subdir) = elf && $(config-cflags-avx) = yes]
67574         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67575         [$(subdir) = elf && $(config-cflags-avx) = yes]
67576         (CFLAGS-tst-auditmod4a.c): Likewise.
67577         [$(subdir) = elf && $(config-cflags-avx) = yes]
67578         (CFLAGS-tst-auditmod4b.c): Likewise.
67579         [$(subdir) = elf && $(config-cflags-avx) = yes]
67580         (CFLAGS-tst-auditmod6b.c): Likewise.
67581         [$(subdir) = elf && $(config-cflags-avx) = yes]
67582         (CFLAGS-tst-auditmod6c.c): Likewise.
67583         [$(subdir) = elf && $(config-cflags-avx) = yes]
67584         (CFLAGS-tst-auditmod7b.c): Likewise.
67585         * elf/tst-audit3.c: Move to ...
67586         * sysdeps/x86_64/tst-audit3.c: ... here.
67587         * elf/tst-audit4.c: Move to ...
67588         * sysdeps/x86_64/tst-audit4.c: ... here.
67589         * elf/tst-audit5.c: Move to ...
67590         * sysdeps/x86_64/tst-audit5.c: ... here.
67591         * elf/tst-audit6.c: Move to ...
67592         * sysdeps/x86_64/tst-audit6.c: ... here.
67593         * elf/tst-audit7.c: Move to ...
67594         * sysdeps/x86_64/tst-audit7.c: ... here.
67595         * elf/tst-auditmod3a.c: Move to ...
67596         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67597         * elf/tst-auditmod3b.c: Move to ...
67598         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67599         * elf/tst-auditmod4a.c: Move to ...
67600         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67601         * elf/tst-auditmod4b.c: Move to ...
67602         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67603         * elf/tst-auditmod5a.c: Move to ...
67604         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67605         * elf/tst-auditmod5b.c: Move to ...
67606         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67607         * elf/tst-auditmod6a.c: Move to ...
67608         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67609         * elf/tst-auditmod6b.c: Move to ...
67610         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67611         * elf/tst-auditmod6c.c: Move to ...
67612         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67613         * elf/tst-auditmod7a.c: Move to ...
67614         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67615         * elf/tst-auditmod7b.c: Move to ...
67616         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67618 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
67620         [BZ #15366]
67621         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67622         define unconditionally.
67623         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67624         define unconditionally.
67625         (INT8_C, INT16_C, etc.): Likewise.
67627 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
67629         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67630         __ehdr_start with hidden visibility.
67632         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67634 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67636         * math/libm-test.inc (cos_test): Use accurate hex constants.
67637         (sincost_test): Likewise.
67639 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67641         * math/libm-test.inc (catan_test): Add more tests.
67642         (catanh_test): Likewise.
67644         * math/s_catanf.c (__catanf): Use suffixed floating-point
67645         constants.
67646         * math/s_catanhf.c (__catanhf): Likewise.
67647         * math/s_catanhl.c (__catanhl): Likewise.
67648         * math/s_catanl.c (__catanl): Likewise.
67650         [BZ #15394]
67651         * math/s_catan.c (__catan): Calculate imaginary part of result
67652         with log1p not log unless computing log of number close to 0.
67653         * math/s_catanf.c (__catanf): Likewise.
67654         * math/s_catanl.c (__catanl): Likewise.
67655         * math/s_catanh.c (__catanh): Calculate real part of result with
67656         log1p not log unless computing log of number close to 0.
67657         * math/s_catanhf.c (__catanhf): Likewise.
67658         * math/s_catanhl.c (__catanhl): Likewise.
67659         * math/libm-test.inc (catan_test): Add more tests.
67660         (catanh_test): Likewise.
67661         * sysdeps/i386/fpu/libm-test-ulps: Update.
67662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67664 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67666         * benchtests/Makefile: Mention files in which fast and slow
67667         paths of math functions are implemented.
67669 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67671         * sysdeps/posix/timespec_get.c: New file.
67673 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67675         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67676         POWER.
67677         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67678         for POWER.
67679         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67680         powerpc/power5/fpu folders.
67681         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67682         * benchtests/Makefile: Add modf testcase.
67683         * benchtests/bench-modf.c: New file: Benchmark test for mo
67685 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67687         [BZ #14888]
67688         * time/Makefile (tests): Add tst-strptime-whitespace.
67689         * time/strptime_l.c (get_number): Use ISSPACE.
67690         (__strptime_internal): Likewise.
67691         * time/tst-strptime-whitespace.c: New test case.
67693 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67695         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67696         member.
67697         (_nss_files_init): Set it here.
67699 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67701         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67702         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67703         unsigned.
67705 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67707         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67709 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67712         size just once.
67714 2013-04-21  David S. Miller  <davem@davemloft.net>
67716         * po/ru.po: Update Russion translation from translation project.
67718 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67720         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67721         and setfsgid.
67723 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67725         * configure.in: Remove i386 configure warning. Remove i386 case.
67726         * configure: Regenerate.
67727         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67728         Add example to error message.
67729         * sysdeps/i386/configure: Regenerate.
67731 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67733         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67734         slowtan.
67735         * benchtests/cos-inputs: New file.
67736         * benchtests/slowcos-inputs: New file.
67737         * benchtests/slowcos.c: New file.
67738         * benchtests/slowtan-inputs: New file.
67739         * benchtests/slowtan.c: New file.
67740         * benchtests/tan-inputs: New file.
67742 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67744         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67745         considered kosher.
67747 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67749         * benchtests/Makefile: Include cppflags-iterator.mk to add
67750         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67752         * Makefile.in (bench-clean): New target.
67753         * benchtests/Makefile (bench-clean): Likewise.
67755 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67757         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67759 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67761         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67763 2013-04-15  Andreas Schwab  <schwab@suse.de>
67765         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67766         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67767         * nscd/pwdcache.c (cache_addpw): Likewise.
67768         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67769         more than recsize.
67771 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67773         * benchtests/Makefile (bench): Write all output to
67774         bench-out.tmp together.
67776 2013-04-15  Andreas Schwab  <schwab@suse.de>
67778         * nscd/nscd.c (main): Don't fork again after closing files.
67780 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67782         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67784         * benchtests/Rules (bench-deps): Collect dependencies into a
67785         single variable.  Add Makefile to dependencies.
67786         ($(objpfx)bench-%.c): Depend on bench-deps.
67788 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67789             Xavier Roche  <roche+kml2@exalead.com>
67791         [BZ #15361]
67792         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67793         just that it's a file descriptor.
67794         * manual/llio.texi (Synchronizing AIO Operations): Update description
67795         for EBADF error from aio_fsync.
67797 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67799         * Rules (bench): Move target definition...
67800         * benchtests/Makefile: ... here.
67802 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67804         * math/libm-test.inc (cos_test): Fix PI/2 test.
67805         (sincos_test): Likewise.
67806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67807         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67809 2013-04-11  Andreas Schwab  <schwab@suse.de>
67811         [BZ #13988]
67812         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67813         accept exponent character only when digits were seen.
67814         * stdio-common/Makefile (tests): Add bug26.
67815         * stdio-common/bug26.c: New file.
67817         [BZ #14293]
67818         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67819         non-freeable.
67821 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67823         * Makeconfig (rtld-prefix): Define built linker prefix.
67824         * Rules (run-bench): Use it.
67825         * math/Makefile (run-regen-ulps): Likewise.
67827         * Rules (bench): Remove eval.
67829 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67830             Roland McGrath  <roland@hack.frob.com>
67831             Ondrej Bilka  <neleai@seznam.cz>
67833         [BZ #15346]
67834         * time/getdate.c: Include ctype.h and alloca.h.
67835         (__getdate_r): Trim leading and trailing spaces of input.
67836         * time/tst-getdate.c (tests): Add tests with leading and
67837         trailing spaces.
67839 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67841         [BZ #14280]
67842         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67843         when computing value.
67845 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67847         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67848         Use testrun.sh to run libm tests.
67850         [BZ #15309]
67851         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67853 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67855         [BZ #15264]
67856         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67858 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67860         * Makefile.in (regen-ulps): New target.
67861         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67862         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67863         [ifneq (no,$(PERL)] (regen-ulps): New target.
67864         [ifeq (no,$(PERL)] (regen-ulps): New target.
67865         * math/libm-test.inc (ulps_file_name): Define.
67866         (output_dir): New variable.
67867         (options): Add "output-dir" option.
67868         (parse_opt): Handle 'o' case.
67869         (main): If output_dir is non-NULL use it as a prefix
67870         otherwise use "".
67871         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67873 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67875         [BZ #10060, #10062]
67876         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67877         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67878         fail configure if __sync_val_compare_and_swap is not inlined.
67879         * sysdeps/i386/configure: Regenerate.
67880         * configure.in: Build for i686 when configured for i386.
67881         * configure: Regenerate.
67882         * README: Remove i386 reference.
67884 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67886         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67887         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67889 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67891         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67892         (lmsnanval): New variables.
67893         (F): Add conversion tests.
67894         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67895         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67897         * stdio-common/tstdiomisc.c (F): Properly collect individual
67898         tests' results.
67900         [BZ #14686, #15336]
67901         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67902         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67903         Instead, use input NaN values or generate a qNaN by arithmetic
67904         operation.  Also fix bugs to comply with the standard.
67905         * math/libm-test.inc (remainder_test): Add more tests.
67907         [BZ #15335, #15342]
67908         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67910         input NaN values or generate a qNaN by arithmetic operation.
67912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67913         unreachable code.
67915         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67916         definitions.
67918 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67920         [BZ #14478]
67921         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67922         underflowed result.
67923         * math/s_cexpf.c (__cexpf): Likewise.
67924         * math/s_cexpl.c (__cexpl): Likewise.
67925         * math/libm-test.inc (cexp_test): Add more tests.
67927 2013-04-03  Andreas Schwab  <schwab@suse.de>
67929         [BZ #15330]
67930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67931         order arrays from heap if bigger than alloca cutoff.
67933 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67935         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67936         (SNAN_TESTS_double): Refer to GCC PR56831.
67937         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67938         GCC PR56828.
67940 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67942         * Rules (bench): Move bench.out after the run is complete.
67944         * Rules (bench): Echo currently running benchmark.
67946         * benchtests/Makefile (bench): Add atan and slowatan.
67947         * benchtests/atan-inputs: New file.
67948         * benchtests/slowatan-inputs: New file.
67949         * benchtests/slowatan.c: New file.
67951         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67952         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67953         its value.
67955         [BZ #15305]
67956         * sysdeps/unix/sysv/linux/kernel-features.h
67957         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67958         __ASSUME_XFS_RESTRICTED_CHOWN.
67959         * sysdeps/unix/sysv/linux/pathconf.c
67960         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67961         Save and restore errno.
67963 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67965         [BZ #15327]
67966         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67967         arguments using __kernel_casinh.
67968         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67969         arguments using __kernel_casinhf.
67970         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67971         arguments using __kernel_casinhl.
67972         * math/libm-test.inc (cacosh_test): Add more tests.
67973         * sysdeps/i386/fpu/libm-test-ulps: Update.
67974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67976 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67978         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67981         * bench/Makefile (bench): Add sin and slowsin.
67982         * benchtests/sin-inputs: New file.
67983         * benchtests/slowsin-inputs: New file.
67984         * benchtests/slowsin.c: New file.
67986         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67987         (bench): Add slowexp and slowpow.
67988         (exp-ITER): Increase iterations.
67989         (pow-ITER): Likewise.
67990         * benchtests/exp-inputs: Change input.
67991         * benchtests/pow-inputs: Likewise.
67992         * benchtests/slowexp-inputs: New file.
67993         * benchtests/slowexp.c: New file.
67994         * benchtests/slowpow-inputs: New file.
67995         * benchtests/slowpow.c: New file.
67997 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67999         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68000         instructions.
68001         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68002         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68003         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68004         * benchtests/Makefile: Add rint benchtest.
68005         * benchtests/rint-inputs: Input for rint benchtest.
68007 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68009         * Versions.def (libm): Add GLIBC_2.18.
68010         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68011         hidden libm prototypes.
68012         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68013         * math/Makefile (libm-calls): Add s_issignaling.
68014         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68015         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68016         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68017         declaration.
68018         * math/math.h [__USE_GNU] (issignaling): New macro.
68019         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68020         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68021         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68022         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68023         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68024         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68025         * manual/arith.texi (issignaling): New section.
68026         * manual/libm-err-tab.pl (@all_functions): Update comment.
68027         * math/gen-libm-test.pl (parse_args): Apply special handling for
68028         issignaling.
68029         * math/libm-test.inc (print_float, issignaling_test): New
68030         functions.
68031         (check_float_internal): Add issignaling checks.
68032         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68033         default definition.
68034         * sysdeps/powerpc/math-tests.h: New file.
68035         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68036         tests.
68037         * math/test-snan.c (TEST_FUNC): Likewise.
68039 2013-03-30  David S. Miller  <davem@davemloft.net>
68041         * po/de.po: Update from translation team.
68043 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68045         [BZ #10357]
68046         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68047         imaginary part less than 1.0 and real part less than 0.5
68048         specially.
68049         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68050         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68051         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68052         (cacos_test): Add more tests.
68053         (casin_test): Likewise.
68054         (casinh_test): Likewise.
68055         * sysdeps/i386/fpu/libm-test-ulps: Update.
68056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68058 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68060         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68061         ONE with its value.
68063         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68064         (__pow_mp): Replace ONE and MONE with their values.
68065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68066         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68068         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68069         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68070         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68072         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68074         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68075         (__pow_mp): Replace ZERO and MZERO with their values.
68076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68078         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68080         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68081         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68082         (__sqr): Likewise.
68084         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68086         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68088 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68090         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68091         Declare with __attribute__ ((weak)).
68092         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68093         Call __call_tls_dtors only if it's not NULL.
68095 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68097         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68098         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68099         magic __ehdr_start linker symbol if it's defined.
68100         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68101         them up here if it was already done.
68103         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68104         (_dl_aux_init): Use const in cast when setting it.
68105         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68106         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68107         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68109         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68110         Declare them here.
68111         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68112         * csu/libc-tls.c: Nor here.
68113         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68115         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68116         (__libc_message): Never call vsyslog.
68118 2013-03-28  Alan Modra  <amodra@gmail.com>
68120         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68121         Define as empty.
68122         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68123         Likewise.
68125 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68127         [BZ #15214]
68128         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68129         underflow.
68130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68132 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68134         [BZ #15304]
68135         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68136         Don't add gid passed as argument.
68138         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68140 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
68142         [BZ #15307]
68143         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68144         imaginary part between 1.0 and 1.5 and real part less than 0.5
68145         specially.
68146         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68147         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68148         * math/libm-test.inc (cacos_test): Add more tests.
68149         (casin_test): Likewise.
68150         (casinh_test): Likewise.
68151         * sysdeps/i386/fpu/libm-test-ulps: Update.
68152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68154 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68156         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68157         constants.
68158         (norm): Likewise.
68159         (denorm): Likewise.
68160         (__dbl_mp): Likewise.
68161         (add_magnitudes): Likewise.
68162         (sub_magnitudes): Likewise.
68163         (__add): Likewise.
68164         (__sub): Likewise.
68165         (__mul): Likewise.
68166         (__sqr): Likewise.
68167         (__inv): Likewise.
68168         (__dvd): Likewise.
68170         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68171         commented code.
68172         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68173         (__dubcos): Likewise.
68174         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68175         (__ieee754_acos): Likewise.
68176         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68177         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68178         (__exp1): Likewise.
68179         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68181         (log1): Likewise.
68182         (my_log2): Likewise.
68183         (checkint): Likewise.
68184         * sysdeps/ieee754/dbl-64/e_remainder.c
68185         (__ieee754_remainder): Likewise.
68186         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68188         (bsloww): Likewise.
68189         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68191         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68192         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68193         MANTISSA_STORE_T to store computations on mantissa.  Use
68194         macros for rounding and division.
68195         (denorm): Likewise.
68196         (__dbl_mp): Likewise.
68197         (add_magnitudes): Likewise.
68198         (sub_magnitudes): Likewise.
68199         (__mul): Likewise.
68200         (__sqr): Likewise.
68201         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68202         powers of two in terms of TWOPOW macro.
68203         (mp_no): Make type of mantissa as MANTISSA_T.
68204         [!RADIXI]: Define RADIXI.
68205         [!TWO52]: Define TWO52.
68206         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68208 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68210         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68211         llroundl symbol when building for PPC32.
68213 2013-03-24  Mark H Weaver  <mhw@netris.org>
68215         * manual/arith.texi (Normalization Functions): Fix prototypes for
68216         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68218 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68220         [BZ #13889]
68221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68222         high value to check if expl overflow.
68223         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68224         to check for underflow and overflow.
68225         * math/libm-test.inc: Add exp test.
68227 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
68229         [BZ #11120]
68230         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68231         with NOT_IN_libc.
68233 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68235         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68236         symbol.
68238 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68240         * math/gen-libm-test.pl (parse_args, special_functions): Properly
68241         wrap blocks consisting of several statements.
68243         * sysdeps/generic/math-tests.h: New file.
68244         * sysdeps/i386/fpu/math-tests.h: Likewise.
68245         * math/test-snan.c: Include it.
68246         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68248 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68250         [BZ #15285]
68251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68252         (__ieee754_j0l): Do not improve calculations using cos of twice
68253         input for inputs above LDBL_MAX / 2.0L.
68254         (__ieee754_y0l): Likewise.
68255         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68256         (__ieee754_j1l): Do not improve calculations using cos of twice
68257         input for inputs above LDBL_MAX / 2.0L.
68258         (__ieee754_y1l): Likewise.
68259         * math/libm-test.inc (j0_test): Add another test.
68260         (j1_test): Likewise.
68261         (y0_test): Likewise.
68262         (y1_test): Likewise.
68263         * sysdeps/i386/fpu/libm-test-ulps: Update.
68265 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68267         * Rules ($(objpfx)bench-%.c): Include code from a C source
68268         file.
68270 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68272         [BZ #15287]
68273         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68274         imaginary part 1.0 and real part less than 0.5 specially.
68275         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68276         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68277         * math/libm-test.inc (cacos_test): Add more tests.
68278         (casin_test): Likewise.
68279         (casinh_test): Likewise.
68280         * sysdeps/i386/fpu/libm-test-ulps: Update.
68281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68283 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68285         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68286         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68288 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
68290         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68291         * config.make.in (config-cflags-sse4): Remove variable.
68292         (config-cflags-avx): Likewise.
68293         (config-cflags-sse2avx): Likewise.
68294         (config-cflags-novzeroupper): Likewise.
68295         (config-asflags-i686): Likewise.
68296         (have-mfma4): Likewise.
68297         (have-as-vis3): Likewise.
68298         (MIG): Likewise.
68299         * configure.in (MIG): Do not AC_SUBST.
68300         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68301         (libc_cv_cc_sse4): Do not AC_SUBST.
68302         (libc_cv_cc_avx): Likewise.
68303         (libc_cv_cc_sse2avx): Likewise.
68304         (libc_cv_cc_novzeroupper): Likewise.
68305         (libc_cv_cc_fma4): Likewise.
68306         (libc_cv_as_i686): Likewise.
68307         (libc_cv_sparc_as_vis3): Likewise.
68308         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68309         LIBC_CONFIG_VAR.
68310         (config-asflags-i686): Likewise.
68311         (config-cflags-avx): Likewise.
68312         (config-cflags-sse2avx): Likewise.
68313         (have-mfma4): Likewise.
68314         (config-cflags-novzeroupper): Likewise.
68315         * sysdeps/mach/configure.in (MIG): Likewise.
68316         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68317         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68318         LIBC_CONFIG_VAR.
68319         (config-cflags-avx): Likewise.
68320         (config-cflags-sse2avx): Likewise.
68321         (have-mfma4): Likewise.
68322         (config-cflags-novzeroupper): Likewise.
68323         * configure: Regenerated.
68324         * sysdeps/i386/configure: Likewise.
68325         * sysdeps/mach/configure: Likewise.
68326         * sysdeps/sparc/configure: Likewise.
68327         * sysdeps/x86_64/configure: Likewise.
68329 2013-03-20  Roland McGrath  <roland@hack.frob.com>
68331         [BZ #14812]
68332         * locale/programs/localedef.c (options): Put N_ translation marker
68333         on argument names, not just descriptions.
68335 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68337         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68339 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
68341         [BZ #14176]
68342         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68344 2013-03-19  Roland McGrath  <roland@hack.frob.com>
68346         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68347         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68348         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68349         [!BEFORE_ABORT] (before_abort): New function.
68350         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68351         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68352         (writev_for_fatal): New function.
68353         (WRITEV_FOR_FATAL): New macro; call that.
68354         (backtrace_and_maps): New function.
68355         (BEFORE_ABORT): New macro; call that.
68356         (struct str_list): Type removed.
68357         (__libc_message, __libc_fatal): Functions removed.
68358         Include <sysdeps/posix/libc_fatal.c> instead.
68360 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
68362         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68363         constants.
68364         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68365         double constants.
68367 2013-03-19  Andreas Schwab  <schwab@suse.de>
68369         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68370         * sysdeps/gnu/configure: Regenerate.
68372         * configure.in: Substitute libc_cv_rtlddir.
68373         * configure: Regenerate.
68374         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68375         * Makeconfig (rtlddir, inst_rtlddir): New variables.
68376         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68377         * elf/Makefile (install-others, CFLAGS-interp.c)
68378         (ldso_install, common-ldd-rewrite): Likewise.
68379         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68380         $(inst_slibdir)/$(rtld-installed-name).
68381         * scripts/rellns-sh: Add -p option.
68382         * Makerules (make-shlib-link): Use rellns-sh to get relative name
68383         for source.
68385 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68387         * manual/nptl.texi: Renamed to ...
68388         * manual/threads.texi: ... this.
68389         * manual/Makefile (chapters): Update.
68391 2013-03-18  Roland McGrath  <roland@hack.frob.com>
68393         [BZ #14812]
68394         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68395         on argument names, not just descriptions.
68396         * malloc/memusagestat.c (options): Likewise.
68397         * nss/getent.c (options): Likewise.
68399 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
68401         [BZ #14812]
68402         * iconv/iconv_prog.c (options): Put N_ translation marker
68403         on argument names, not just descriptions.
68404         * iconv/iconvconfig.c (options): Likewise.
68406 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
68408         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
68409         implementation which is faster on all x86_64 architectures.
68410         Tested on AMD, Intel Nehalem, SNB, IVB.
68411         * sysdeps/x86_64/strnlen.S: Likewise.
68413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68414         Remove all multiarch strlen and strnlen versions.
68415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68416         Remove strlen and strnlen related parts.
68418         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68419         Inline strlen part.
68420         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68422         * sysdeps/x86_64/multiarch/strlen.S: Remove.
68423         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68424         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68425         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68426         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68427         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68429 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
68431         * manual/memory.texi (Malloc Tunable Parameters):
68432         Sort parameters alphabetically. Add comments for missing entries.
68434 2013-03-17  David S. Miller  <davem@davemloft.net>
68436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68438 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
68440         [BZ #15283]
68441         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68442         for arguments at most half maximum finite value.
68443         * math/libm-test.inc (j0_test): Add more tests.
68444         (j1_test): Likewise.
68445         (y0_test): Likewise.
68446         (y1_test): Likewise.
68447         * sysdeps/i386/fpu/libm-test-ulps: Update.
68448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68450         [BZ #14155]
68451         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68452         1 / x and functions P and Q for arguments above 0x1p256L.
68453         (__ieee754_y0l): Likewise.
68454         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68455         (__ieee754_y1l): Likewise.
68456         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68457         (j1_test): Likewise.
68458         (y0_test): Likewise.
68459         (y1_test): Likewise.
68461 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
68463         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68464         variable.
68466 2013-03-15  Roland McGrath  <roland@hack.frob.com>
68468         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68469         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68470         zero since it's initialized to EXEC_PAGESIZE.
68472         * sysdeps/unix/sysv/linux/ldsodefs.h
68473         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68474         * sysdeps/generic/ldsodefs.h: ... here.
68476 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
68478         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68480         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68481         math/test-snan.c.
68482         * math/test-snan.c: Renamed from
68483         sysdeps/powerpc/fpu/test-powerpc-snan.c.
68484         * math/Makefile (tests): Add test-snan.
68485         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68486         test-powerpc-snan.
68488         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68489         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
68490         functions.
68491         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
68492         __builtin_nan family of functions.
68493         * math/libm-test.inc (initialize): Initialize qnan_value with
68494         __builtin_nan family of functions.
68495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68496         Remove variables.
68497         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68498         Remove functions.
68499         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
68500         storage class.  Initialize qNaN_var and sNaN_var with
68501         __builtin_nan and __builtin_nans families of functions,
68502         respectively.
68504         * math/libm-test.inc (acosh_test): Also test with qNaN input.
68505         (sqrt_test): Remove duplicate test with qNaN input.
68506         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68507         (round_test, signbit_test, significand_test): Note missing +/-Inf
68508         as well as qNaN tests.
68510         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68511         qNaN_var.  Fix a few strings, too.
68512         * math/libm-test.inc (nan_value): Rename to qnan_value.
68513         * math/gen-libm-test.pl (%beautify): Adjust to that.
68514         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68515         * math/test-misc.c (main): Likewise.
68516         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68517         to __qnan_bytes, and __qnan_union, respectively.
68518         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68519         Likewise.
68520         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68521         and lqnanval, respectively.
68522         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68523         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68524         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68525         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68527         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68528         * math/test-misc.c (main) [__x86_64__]: Enable test for long
68529         doubles.
68531         * math/test-misc.c (main): Fix copy'n'pastos.
68532         * misc/tst-efgcvt.c (special): Likewise.
68534         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68535         Remove declarations.
68537 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68539         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68540         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68541         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68542         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68544 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68546         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68547         macro to return vdso values correctly in IFUNC implementations.
68548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68549         Optimization by using IFUNC.
68551 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68552             Richard Henderson  <rth@redhat.com>
68553             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68555         * Makefile.in (bench): New target.
68556         * NEWS: Mention the benchmark framework.
68557         * Rules (bench): Likewise.
68558         (binaries-bench): Generate binaries for functions to
68559         benchmark.
68560         * benchtests/Makefile: New makefile for benchmark tests.
68561         * benchtests/bench-skeleton.c: New skeleton file for benchmark
68562         programs.
68563         * benchtests/exp-inputs: New input file for EXP function.
68564         * benchtests/pow-inputs: New input file for POW function.
68565         * scripts/bench.pl: New script to generate source files for
68566         benchmark programs.
68568 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68570         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68571         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68572         computations on mantissa.  Use macros for rounding and
68573         division.
68574         (denorm): Likewise.
68575         (__dbl_mp): Likewise.
68576         (add_magnitudes): Likewise.
68577         (sub_magnitudes): Likewise.
68578         (__mul): Likewise.
68579         (__sqr): Likewise.
68580         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68581         powers of two in terms of TWOPOW macro.
68582         (mp_no): Make type of mantissa as MANTISSA_T.
68583         [!RADIXI]: Define RADIXI.
68584         [!TWO52]: Define TWO52.
68585         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68587         * manual/nptl.texi (cindex): Modify threads to pthreads.
68589 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
68591         * sysdeps/x86_64/preconfigure: Regenerated.
68593 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
68595         [BZ #14155]
68596         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68597         0x1p28 and above.
68598         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68599         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68600         0x1p28 and above.
68601         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68602         * math/libm-test.inc (j0_test): Do not allow one spurious
68603         underflow exception.
68604         (y1_test): Likewise.
68606 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68608         * manual/Makefile (chapters): Add nptl.
68609         * manual/debug.texi (Debugging Support): Add link to Threads
68610         chapter.
68611         * manual/nptl.texi: New file.
68613         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68615 2013-03-14  Petr Baudis  <pasky@ucw.cz>
68617         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68618         for non-NULL pointer before the memory validity test. Pointed
68619         out by Holger Brunck <holger.brunck@keymile.com>.
68621 2013-03-13  Andreas Schwab  <schwab@suse.de>
68623         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68624         instead of .os.
68626 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
68628         * timezone/zic.c: Update from tzcode 2013b.
68630 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
68632         * manual/install.texi (Configuring and compiling):
68633         Mention i686 and i586.
68634         * INSTALL: Regenerate.
68636 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68638         * sysdeps/init_array/elf-init.c: New file.
68639         * csu/elf-init.c
68640         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68641         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68643         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68644         __gmon_start__ as global, but as static with a .preinit_array pointer.
68645         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68646         * sysdeps/init_array/crti.S: New file, empty except for comments.
68647         * sysdeps/init_array/crtn.S: Likewise.
68649 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68651         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68652         definining bcopy.
68653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68654         Remove Prefer_SSE_for_memop.
68655         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68656         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68657         HAS_PREFER_SSE_FOR_MEMOP.
68658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68659         memset-x86-64.
68660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68661         Remove bzero, memset ifunc support.
68662         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68663         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68664         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68667 2013-03-11  Andreas Schwab  <schwab@suse.de>
68669         [BZ #15234]
68670         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68671         by SHLIB_COMPAT.
68672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68673         (GLIBC_2.16): Remove pthread_atfork.
68675 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68677         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68678         (ptestcases.h): Likewise.
68680 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68682         * Makeconfig ($(common-objpfx)config.status): Depend on
68683         sysdeps/*/preconfigure{,.in} too.
68685 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68687         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68688         (__free_hook): Use void * instead of __malloc_ptr_t.
68689         (__malloc_hook): Likewise.
68690         (__realloc_hook): Likewise.
68691         (__memalign_hook): Likewise.
68692         (__after_morecore_hook): Likewise.
68693         * malloc/arena.c (save_malloc_hook): Likewise.
68694         (save_free_hook): Likewise.
68695         * malloc/hooks.c (malloc_hook_ini): Likewise.
68696         (realloc_hook_ini): Likewise.
68697         (memalign_hook_ini): Likewise.
68698         * malloc/malloc.c (malloc_hook_ini): Likewise.
68699         (realloc_hook_ini): Likewise.
68700         (memalign_hook_ini): Likewise.
68701         (__free_hook): Likewise.
68702         (__malloc_hook): Likewise.
68703         (__realloc_hook): Likewise.
68704         (__memalign_hook): Likewise.
68705         (__libc_malloc): Likewise.
68706         (__libc_free): Likewise.
68707         (__libc_realloc): Likewise.
68708         (__libc_memalign): Likewise.
68709         (__libc_valloc): Likewise.
68710         (__libc_pvalloc): Likewise.
68711         (__libc_calloc): Likewise.
68712         (__posix_memalign): Likewise.
68713         * malloc/morecore.c (__sbrk): Likewise.
68714         (__default_morecore): Likewise.
68716         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68718         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68719         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68720         __malloc_ptrdiff_t.
68722         * malloc/malloc.h (__malloc_size_t): Remove macro.
68723         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68724         __malloc_size_t.
68725         (old_memalign_hook): Likewise.
68726         (old_realloc_hook): Likewise.
68727         (struct hdr): Likewise.
68728         (flood): Likewise.
68729         (mallochook): Likewise.
68730         (memalignhook): Likewise.
68731         (reallochook): Likewise.
68732         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68733         (tr_old_realloc_hook): Likewise.
68734         (tr_old_memalign_hook): Likewise.
68735         (tr_mallochook): Likewise.
68736         (tr_reallochook): Likewise.
68737         (tr_memalignhook): Likewise.
68739 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68742         default_ldbl_pack and using as default implementation.
68743         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68744         implementation.
68745         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68746         redundant definition.
68747         (ldbl_insert_mantissa): Likewise.
68748         (ldbl_canonicalize): Likewise.
68749         (ldbl_nearbyint): Likewise.
68750         (ldbl_pack): Rename to ldbl_pack_ppc.
68751         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68752         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68753         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68755 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68758         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68759         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68760         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68762         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68763         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68764         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68766 2013-03-07  Andreas Jaeger  <aj@suse.de>
68768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68769         bits/mman-linux.h.
68771 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68773         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68774         Include mpa.h and declare __MPEXP.
68775         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68776         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68777         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68778         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68779         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68780         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68781         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68783         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68784         (__slowpow): Use long double EXPL and LOGL functions to
68785         compute POW.
68786         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68787         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68788         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68789         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68790         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68794         intermediate variable to calculate exponent.
68795         (__sqr): Likewise.
68796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68797         Likewise.
68798         (__sqr): Likewise.
68800         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68801         [!NO__SQR]: Define __sqr.
68802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68803         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68804         sysdeps/ieee754/dbl-64/mpa.c.
68805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68807         [BZ #12723]
68808         * posix/Makefile (tests): Add tst-pathconf.
68809         * posix/tst-pathconf.c: New test case.
68810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68811         _PC_PIPE_BUF.
68812         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68814 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68816         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68818 2013-03-06  Andreas Jaeger  <aj@suse.de>
68820         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68821         definition via __MAP_ANONYMOUS.
68823         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68824         it's not part of Linux headers.
68826         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68827         (MAP_HUGE_MASK): Define.
68829         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68830         Define.
68831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68832         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68833         Define.
68834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68835         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68836         Define.
68837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68839         Define.
68840         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68842         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68843         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68844         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68845         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68846         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68847         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68850         Handle f2fs.
68852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68853         Handle f2fs and efivarfs.
68855         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68856         f2fs.
68858         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68859         (EFIVARFS_MAGIC): Add.
68860         (F2FS_LINK_MAX): Add.
68862 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68864         * stdio-common/vfprintf.c: Replace __builtin_expect with
68865         __glibc_unlikely.
68867 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68869         [BZ #13550]
68870         * sysdeps/generic/bp-sym.h: Remove file.
68871         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68872         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68873         <bp-sym.h> and <bp-asm.h>.
68874         (__longjmp): Don't use BP_SYM.
68875         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68876         and <bp-asm.h>.
68877         (memcpy): Don't use BP_SYM.
68878         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68879         <bp-sym.h> and <bp-asm.h>.
68880         (memcpy): Don't use BP_SYM.
68881         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68882         <bp-asm.h>.
68883         (memcpy): Don't use BP_SYM.
68884         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68885         <bp-asm.h>.
68886         (memset): Don't use BP_SYM.
68887         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68888         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68889         (__bzero): Don't use BP_SYM.
68890         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68891         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68892         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68893         <bp-sym.h> and <bp-asm.h>.
68894         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68895         pointers.
68896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68897         <bp-sym.h> and <bp-asm.h>.
68898         (memcpy): Don't use BP_SYM.
68899         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68900         <bp-sym.h> and <bp-asm.h>.
68901         (memset): Don't use BP_SYM.
68902         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68903         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68904         (__bzero): Don't use BP_SYM.
68905         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68906         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68907         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68908         <bp-sym.h> and <bp-asm.h>.
68909         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68910         pointers.
68911         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68912         <bp-sym.h> and <bp-asm.h>.
68913         (memcpy): Don't use BP_SYM.
68914         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68915         <bp-sym.h> and <bp-asm.h>.
68916         (memset): Don't use BP_SYM.
68917         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68918         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68919         (__bzero): Don't use BP_SYM.
68920         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68921         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68922         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68923         <bp-sym.h> and <bp-asm.h>.
68924         (__memchr): Don't use BP_SYM.
68925         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68926         <bp-sym.h> and <bp-asm.h>.
68927         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68928         pointers.
68929         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68930         <bp-sym.h> and <bp-asm.h>.
68931         (memcpy): Don't use BP_SYM.
68932         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68933         <bp-sym.h> and <bp-asm.h>.
68934         (__mempcpy): Don't use BP_SYM.
68935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68936         <bp-sym.h> and <bp-asm.h>.
68937         (__memrchr): Don't use BP_SYM.
68938         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68939         <bp-sym.h> and <bp-asm.h>.
68940         (memset): Don't use BP_SYM.
68941         (__bzero): Likewise.
68942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68943         <bp-sym.h> and <bp-asm.h>.
68944         (__rawmemchr): Don't use BP_SYM.
68945         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68946         <bp-sym.h> and <bp-asm.h>.
68947         (__STRCMP): Don't use BP_SYM.
68948         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68949         <bp-sym.h> and <bp-asm.h>.
68950         (strchr): Don't use BP_SYM.
68951         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68952         <bp-sym.h> and <bp-asm.h>.
68953         (__strchrnul): Don't use BP_SYM.
68954         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68955         <bp-sym.h> and <bp-asm.h>.
68956         (strlen): Don't use BP_SYM.
68957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68958         <bp-sym.h> and <bp-asm.h>.
68959         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68960         pointers.
68961         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68962         <bp-sym.h> and <bp-asm.h>.
68963         (__strnlen): Don't use BP_SYM.
68964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68965         <bp-sym.h> and <bp-asm.h>.
68966         (__GI__setjmp): Don't use BP_SYM.
68967         (_setjmp): Likewise.
68968         (__sigsetjmp): Likewise.
68969         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68970         (L(start_addresses)): Don't use BP_SYM.
68971         (_start): Likewise.
68972         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68973         <bp-asm.h>.
68974         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68975         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68976         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68977         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68978         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68979         <bp-asm.h>.
68980         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68981         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68982         about bounded pointers.
68983         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68984         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68985         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68986         <bp-asm.h>.
68987         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68988         about bounded pointers.  Remove GKM FIXME comments.
68989         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68990         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68991         <bp-asm.h>.
68992         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68993         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68994         Remove GKM FIXME comments.
68995         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68996         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68997         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68998         <bp-asm.h>.
68999         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69000         about bounded pointers.  Remove GKM FIXME comment.
69001         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69002         and <bp-asm.h>.
69003         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69004         pointers.
69005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69006         <bp-sym.h> and <bp-asm.h>.
69007         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69009         <bp-sym.h> and <bp-asm.h>.
69010         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69011         comment.
69013 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69015         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69016         call free(NULL).
69018 2013-03-05  David S. Miller  <davem@davemloft.net>
69020         * po/es.po: Update from translation team.
69022 2013-03-05  Andreas Jaeger  <aj@suse.de>
69024         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69025         <bits/mman-linux.h>.
69026         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69027         is fine.
69028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69029         <bits/mman-linux.h> to end of file.
69030         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69031         is fine.
69032         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69033         <bits/mman-linux.h> to end of file.
69034         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69035         is fine.
69036         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69037         <bits/mman-linux.h> to end of file.
69039         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69040         (MCL_CURRENT, MCL_FUTURE): Define here.
69042 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69044         [BZ #15232]
69045         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69046         attribute_hidden.
69047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69049 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69051         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69052         fourth parameter needed for rt_sigprocmask syscall.
69053         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69054         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69055         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69056         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69057         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69058         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69060 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69062         [BZ #13550]
69063         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69064         comment about bounded pointers.
69065         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69066         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69068 2013-03-04  Andreas Jaeger  <aj@suse.de>
69070         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69071         common definitions.
69073         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69074         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69075         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69076         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69078         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69080 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69082         [BZ #15055]
69083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69084         __ieee754_sqrl instead of __sqrl.
69086 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69088         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69089         * sysdeps/powerpc/fpu_control.h: ... here.
69090         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69091         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69092         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69093         * sysdeps/powerpc/bits/mathinline.h: ... here.
69095 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69097         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69098         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69099         to just [NEED_DL_SYSINFO_DSO].
69100         * elf/dl-support.c: Likewise.
69101         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69102         * elf/rtld.c (dl_main): Likewise.
69103         * elf/setup-vdso.h (setup_vdso): Likewise.
69104         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69105         * sysdeps/unix/sysv/linux/dl-sysdep.c
69106         (_dl_discover_osversion): Likewise.
69108 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
69110         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69111         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69113 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
69115         * NEWS: Mention libm performance improvements and non-x86 PI
69116         futex support.
69118         * csu/libc-start.c (__pthread_initialize_minimal): Change
69119         function arguments.
69120         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69122 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
69124         [BZ #13550]
69125         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69126         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69127         <bp-sym.h> and <bp-asm.h>.
69128         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69129         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69130         and <bp-asm.h>.
69131         (memcpy): Don't use BP_SYM.
69132         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69133         <bp-asm.h>.
69134         (__mpn_add_n): Don't use BP_SYM.
69135         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69136         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69137         and <bp-asm.h>.
69138         (__mpn_addmul_1): Don't use BP_SYM.
69139         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69140         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69141         <bp-sym.h>.
69142         (_setjmp): Don't use BP_SYM.
69143         (__novmx_setjmp): Likewise.
69144         (__GI__setjmp): Likewise.
69145         (__vmx_setjmp): Likewise.
69146         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69147         <bp-sym.h>.
69148         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69149         (__bzero): Don't use BP_SYM.
69150         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69151         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69152         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69153         <bp-sym.h> and <bp-asm.h>.
69154         (memcpy): Don't use BP_SYM.
69155         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69156         <bp-sym.h> and <bp-asm.h>.
69157         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69158         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69159         <bp-sym.h> and <bp-asm.h>.
69160         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69161         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69162         <bp-asm.h>.
69163         (__mpn_lshift): Don't use BP_SYM.
69164         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69165         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69166         <bp-asm.h>.
69167         (memset): Don't use BP_SYM.
69168         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69169         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69170         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69171         <bp-asm.h>.
69172         (__mpn_mul_1): Don't use BP_SYM.
69173         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69174         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69175         <bp-sym.h> and <bp-asm.h>.
69176         (memcmp): Don't use BP_SYM.
69177         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69178         <bp-sym.h> and <bp-asm.h>.
69179         (memcpy): Don't use BP_SYM.
69180         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69181         <bp-sym.h> and <bp-asm.h>.
69182         (memset): Don't use BP_SYM.
69183         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69184         <bp-sym.h> and <bp-asm.h>.
69185         (strncmp): Don't use BP_SYM.
69186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69187         <bp-sym.h> and <bp-asm.h>.
69188         (memcpy): Don't use BP_SYM.
69189         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69190         <bp-sym.h> and <bp-asm.h>.
69191         (memset): Don't use BP_SYM.
69192         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69193         <bp-sym.h> and <bp-asm.h>.
69194         (__memchr): Don't use BP_SYM.
69195         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69196         <bp-sym.h> and <bp-asm.h>.
69197         (memcmp): Don't use BP_SYM.
69198         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69199         <bp-sym.h> and <bp-asm.h>.
69200         (memcpy): Don't use BP_SYM.
69201         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69202         <bp-sym.h> and <bp-asm.h>.
69203         (__mempcpy): Don't use BP_SYM.
69204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69205         <bp-sym.h> and <bp-asm.h>.
69206         (__memrchr): Don't use BP_SYM.
69207         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69208         <bp-sym.h> and <bp-asm.h>.
69209         (memset): Don't use BP_SYM.
69210         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69211         <bp-sym.h> and <bp-asm.h>.
69212         (__rawmemchr): Don't use BP_SYM.
69213         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69214         <bp-sym.h> and <bp-asm.h>.
69215         (__STRCMP): Don't use BP_SYM.
69216         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69217         <bp-sym.h> and <bp-asm.h>.
69218         (strchr): Don't use BP_SYM.
69219         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69220         <bp-sym.h> and <bp-asm.h>.
69221         (__strchrnul): Don't use BP_SYM.
69222         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69223         <bp-sym.h> and <bp-asm.h>.
69224         (strlen): Don't use BP_SYM.
69225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69226         <bp-sym.h> and <bp-asm.h>.
69227         (strncmp): Don't use BP_SYM.
69228         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69229         <bp-sym.h> and <bp-asm.h>.
69230         (__strnlen): Don't use BP_SYM.
69231         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69232         <bp-asm.h>.
69233         (__mpn_rshift): Don't use BP_SYM.
69234         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69235         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69236         <bp-sym.h> and <bp-asm.h>.
69237         (__sigsetjmp): Don't use BP_SYM.
69238         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69239         (L(start_addresses)): Don't use BP_SYM.
69240         (_start): Likewise.
69241         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69242         <bp-asm.h>.
69243         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69244         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69245         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69246         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69247         <bp-asm.h>.
69248         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69249         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69250         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69251         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69252         <bp-asm.h>.
69253         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69254         comments.
69255         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69256         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69257         <bp-asm.h>.
69258         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
69259         FIXME comments.
69260         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69261         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69262         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69263         <bp-asm.h>.
69264         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69265         comment.
69266         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69267         and <bp-asm.h>.
69268         (strncmp): Don't use BP_SYM,
69269         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69270         <bp-asm.h>.
69271         (__mpn_sub_n): Don't use BP_SYM.
69272         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69273         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69274         and <bp-asm.h>.
69275         (__mpn_submul_1): Don't use BP_SYM.
69276         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69278         <bp-sym.h> and <bp-asm.h>.
69279         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69281         <bp-sym.h> and <bp-asm.h>.
69282         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69283         comment.
69285 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69288         Use ZK to minimize writes to Z.
69289         (sub_magnitudes): Simplify code a bit.
69290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69291         Use ZK to minimize writes to Z.
69292         (sub_magnitudes): Simplify code a bit.
69294 2013-02-27  Roland McGrath  <roland@hack.frob.com>
69296         * csu/gmon-start.c: Add special exception to license text.
69298 2013-02-27  Richard Henderson  <rth@redhat.com>
69300         * scripts/config.guess: Update from config.git.
69301         * scripts/config.sub: Likewise.
69303 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69305         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69307         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69309         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69311         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69313         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69315 2013-02-26  Roland McGrath  <roland@hack.frob.com>
69317         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69318         [$(build-shared = yes].
69320 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69322         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69323         (__mul): Reduce iterations for calculating mantissa.
69325         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69326         MPTWO.
69327         (__mpranred): Likewise.
69329         [BZ #15160]
69330         * malloc/memusagestat.c (main): Draw graphs for heap and stack
69331         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69333 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
69335         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69336         Define __attribute__.
69338 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69340         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69341         unused.
69342         * posix/regex_internal.h (__attribute): Remove.
69343         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69344         (re_string_context_at): Likewise.
69345         (bitset_not): Use __attribute__ and mark function as possibly
69346         unused.
69347         (bitset_merge): Likewise.
69348         (bitset_mask): Likewise.
69349         (re_string_char_size_at): Likewise.
69350         (re_string_wchar_at): Likewise.
69351         (re_string_elem_size_at): Likewise.
69353 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69355         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69356         code.
69357         (cc32): Likewise.
69359         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69360         (__acr): Likewise.
69361         (__cpy): Likewise.
69362         (norm): Likewise.
69363         (denorm): Likewise.
69364         (__dbl_mp): Likewise.
69365         (add_magnitudes): Likewise.
69366         (sub_magnitudes): Likewise.
69367         (__mul): Likewise.
69368         (__inv): Likewise.
69370         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69371         style.
69373         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69374         style.
69376         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69377         code.
69379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69380         up changes with default code.
69381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69382         Likewise.
69384 2013-02-24  Allan McRae  <allan@archlinux.org>
69386         * manual/socket.texi (The Internet Namespace): Order menu items
69387         to match that in the file.
69389         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69390         node listing of the info page menu.
69392 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
69394         [BZ #13550]
69395         * sysdeps/i386/bp-asm.h: Remove file.
69396         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69397         (PARMS): Do not use macros from bp-asm.h.
69398         (S1): Likewise.
69399         (S2): Likewise.
69400         (SIZE): Likewise.
69401         (__mpn_add_n): Do not use BP_SYM
69402         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
69403         "bp-asm.h".
69404         (PARMS): Do not use macros from bp-asm.h.
69405         (S1): Likewise.
69406         (SIZE): Likewise.
69407         (__mpn_addmul_1): Do not use BP_SYM
69408         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
69409         "bp-asm.h".
69410         (PARMS): Do not use macros from bp-asm.h.
69411         (SIGMSK): Likewise.
69412         (_setjmp): Likewise.  Do not use BP_SYM.
69413         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69414         "bp-asm.h".
69415         (PARMS): Do not use macros from bp-asm.h.
69416         (SIGMSK): Likewise.
69417         (setjmp): Likewise.  Do not use BP_SYM.
69418         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69419         "bp-asm.h".
69420         (PARMS): Do not use macros from bp-asm.h.
69421         (__frexp): Do not use BP_SYM.
69422         (frexp): Likewise.
69423         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69424         "bp-asm.h".
69425         (PARMS): Do not use macros from bp-asm.h.
69426         (__frexpf): Do not use BP_SYM.
69427         (frexpf): Likewise.
69428         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69429         "bp-asm.h".
69430         (PARMS): Do not use macros from bp-asm.h.
69431         (__frexpl): Do not use BP_SYM.
69432         (frexpl): Likewise.
69433         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69434         "bp-asm.h".
69435         (PARMS): Do not use macros from bp-asm.h.
69436         (__remquo): Do not use BP_SYM.
69437         (remquo): Likewise.
69438         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69439         "bp-asm.h".
69440         (PARMS): Do not use macros from bp-asm.h.
69441         (__remquof): Do not use BP_SYM.
69442         (remquof): Likewise.
69443         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69444         "bp-asm.h".
69445         (PARMS): Do not use macros from bp-asm.h.
69446         (__remquol): Do not use BP_SYM.
69447         (remquol): Likewise.
69448         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69449         "bp-asm.h".
69450         (PARMS): Do not use macros from bp-asm.h.
69451         (DEST): Likewise.
69452         (SRC): Likewise.
69453         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
69454         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69455         "bp-asm.h".
69456         (PARMS): Do not use macros from bp-asm.h.
69457         (strlen): Do not use BP_SYM.
69458         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69459         "bp-asm.h".
69460         (PARMS): Do not use macros from bp-asm.h.
69461         (S1): Likewise.
69462         (S2): Likewise.
69463         (SIZE): Likewise.
69464         (__mpn_add_n): Do not use BP_SYM.
69465         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69466         "bp-asm.h".
69467         (PARMS): Do not use macros from bp-asm.h.
69468         (S1): Likewise.
69469         (SIZE): Likewise.
69470         (__mpn_addmul_1): Do not use BP_SYM.
69471         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69472         weak_alias.
69473         (bzero): Likewise.
69474         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69475         "bp-asm.h".
69476         (PARMS): Do not use macros from bp-asm.h.
69477         (S): Likewise.
69478         (SIZE): Likewise.
69479         (__mpn_lshift): Do not use BP_SYM.
69480         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69481         "bp-asm.h".
69482         (PARMS): Do not use macros from bp-asm.h.
69483         (DEST): Likewise.
69484         (SRC): Likewise.
69485         (LEN): Likewise.
69486         (memcpy): Likewise.  Do not use BP_SYM.
69487         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69488         libc_hidden_def and weak_alias.
69489         (mempcpy): Do not use BP_SYM in weak_alias.
69490         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69491         "bp-asm.h".
69492         (PARMS): Do not use macros from bp-asm.h.
69493         (DEST): Likewise.
69494         (LEN): Likewise.
69495         [!BZERO_P] (CHR): Likewise.
69496         (memset): Likewise.  Do not use BP_SYM.
69497         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69498         "bp-asm.h".
69499         (PARMS): Do not use macros from bp-asm.h.
69500         (S1): Likewise.
69501         (SIZE): Likewise.
69502         (__mpn_mul_1): Do not use BP_SYM.
69503         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69504         "bp-asm.h".
69505         (PARMS): Do not use macros from bp-asm.h.
69506         (S): Likewise.
69507         (SIZE): Likewise.
69508         (__mpn_rshift): Do not use BP_SYM.
69509         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69510         "bp-asm.h".
69511         (PARMS): Do not use macros from bp-asm.h.
69512         (STR): Likewise.
69513         (CHR): Likewise.
69514         (strchr): Likewise.  Do not use BP_SYM.
69515         (index): Do not use BP_SYM in weak_alias.
69516         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69517         "bp-asm.h".
69518         (PARMS): Do not use macros from bp-asm.h.
69519         (DEST): Likewise.
69520         (SRC): Likewise.
69521         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
69522         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69523         "bp-asm.h".
69524         (PARMS): Do not use macros from bp-asm.h.
69525         (strlen): Do not use BP_SYM.
69526         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69527         "bp-asm.h".
69528         (PARMS): Do not use macros from bp-asm.h.
69529         (S1): Likewise.
69530         (S2): Likewise.
69531         (SIZE): Likewise.
69532         (__mpn_sub_n): Do not use BP_SYM.
69533         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69534         "bp-asm.h".
69535         (PARMS): Do not use macros from bp-asm.h.
69536         (S1): Likewise.
69537         (SIZE): Likewise.
69538         (__mpn_submul_1): Do not use BP_SYM.
69539         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69540         "bp-asm.h".
69541         (PARMS): Do not use macros from bp-asm.h.
69542         (S1): Likewise.
69543         (S2): Likewise.
69544         (SIZE): Likewise.
69545         (__mpn_add_n): Do not use BP_SYM.
69546         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69547         weak_alias.
69548         (bzero): Likewise.
69549         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69550         "bp-asm.h".
69551         (PARMS): Do not use macros from bp-asm.h.
69552         (BLK2): Likewise.
69553         (LEN): Likewise.
69554         (memcmp): Do not use BP_SYM.
69555         (bcmp): Do not use BP_SYM in weak_alias.
69556         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69557         "bp-asm.h".
69558         (PARMS): Do not use macros from bp-asm.h.
69559         (DEST): Likewise.
69560         (SRC): Likewise.
69561         (LEN): Likewise.
69562         (memcpy): Likewise.  Do not use BP_SYM.
69563         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69564         "bp-asm.h".
69565         (PARMS): Do not use macros from bp-asm.h.
69566         (DEST): Likewise.
69567         (SRC): Likewise.
69568         (LEN): Likewise.
69569         (memmove): Likewise.  Do not use BP_SYM.
69570         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69571         "bp-asm.h".
69572         (PARMS): Do not use macros from bp-asm.h.
69573         (DEST): Likewise.
69574         (SRC): Likewise.
69575         (LEN): Likewise.
69576         (__mempcpy): Likewise.  Do not use BP_SYM.
69577         (mempcpy): Do not use BP_SYM in weak_alias.
69578         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69579         "bp-asm.h".
69580         (PARMS): Do not use macros from bp-asm.h.
69581         (DEST): Likewise.
69582         (LEN): Likewise.
69583         [!BZERO_P] (CHR): Likewise.
69584         (memset): Likewise.  Do not use BP_SYM.
69585         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69586         "bp-asm.h".
69587         (PARMS): Do not use macros from bp-asm.h.
69588         (STR2): Likewise.
69589         (strcmp): Do not use BP_SYM.
69590         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69591         "bp-asm.h".
69592         (PARMS): Do not use macros from bp-asm.h.
69593         (STR): Likewise.
69594         (DELIM): Likewise.
69595         [USE_AS_STRTOK_R] (SAVE): Likewise.
69596         (FUNCTION): Likewise.  Do not use BP_SYM.
69597         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69598         aliases.
69599         (strtok_r): Likewise.
69600         (__GI___strtok_r): Likewise.
69601         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69602         (PARMS): Do not use macros from bp-asm.h.
69603         (S): Likewise.
69604         (SIZE): Likewise.
69605         (__mpn_lshift): Do not use BP_SYM.
69606         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69607         (PARMS): Do not use macros from bp-asm.h.
69608         (STR): Likewise.
69609         (CHR): Likewise.
69610         (__memchr): Do not use BP_SYM.
69611         (memchr): Do not use BP_SYM in weak_alias.
69612         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69613         (PARMS): Do not use macros from bp-asm.h.
69614         (BLK2): Likewise.
69615         (LEN): Likewise.
69616         (memcmp): Do not use BP_SYM.
69617         (bcmp): Do not use BP_SYM in weak_alias.
69618         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69619         (PARMS): Do not use macros from bp-asm.h.
69620         (S1): Likewise.
69621         (SIZE): Likewise.
69622         (__mpn_mul_1): Do not use BP_SYM.
69623         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69624         "bp-asm.h".
69625         (PARMS): Do not use macros from bp-asm.h.
69626         (STR): Likewise.
69627         (CHR): Likewise.
69628         (__rawmemchr): Do not use BP_SYM.
69629         (rawmemchr): Do not use BP_SYM in weak_alias.
69630         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69631         (PARMS): Do not use macros from bp-asm.h.
69632         (S): Likewise.
69633         (SIZE): Likewise.
69634         (__mpn_rshift): Do not use BP_SYM.
69635         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69636         (PARMS): Do not use macros from bp-asm.h.
69637         (SIGMSK): Likewise.
69638         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69639         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69640         (_start): Do not use BP_SYM.
69641         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69642         (PARMS): Do not use macros from bp-asm.h.
69643         (DEST): Likewise.
69644         (SRC): Likewise.
69645         (__stpcpy): Likewise.  Do not use BP_SYM.
69646         (stpcpy): Do not use BP_SYM in weak_alias.
69647         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69648         "bp-asm.h".
69649         (PARMS): Do not use macros from bp-asm.h.
69650         (DEST): Likewise.
69651         (SRC): Likewise.
69652         (LEN): Likewise.
69653         (__stpncpy): Likewise.  Do not use BP_SYM.
69654         (stpncpy): Do not use BP_SYM in weak_alias.
69655         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69656         (PARMS): Do not use macros from bp-asm.h.
69657         (STR): Likewise.
69658         (CHR): Likewise.
69659         (strchr): Likewise.  Do not use BP_SYM.
69660         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69661         "bp-asm.h".
69662         (PARMS): Do not use macros from bp-asm.h.
69663         (STR): Likewise.
69664         (CHR): Likewise.
69665         (__strchrnul): Likewise.  Do not use BP_SYM.
69666         (strchrnul): Do not use BP_SYM in weak_alias.
69667         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69668         "bp-asm.h".
69669         (PARMS): Do not use macros from bp-asm.h.
69670         (STOP): Likewise.
69671         (strcspn): Do not use BP_SYM.
69672         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69673         "bp-asm.h".
69674         (PARMS): Do not use macros from bp-asm.h.
69675         (STR): Likewise.
69676         (STOP): Likewise.
69677         (strpbrk): Likewise.  Do not use BP_SYM.
69678         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69679         "bp-asm.h".
69680         (PARMS): Do not use macros from bp-asm.h.
69681         (STR): Likewise.
69682         (CHR): Likewise.
69683         (strrchr): Likewise.  Do not use BP_SYM.
69684         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69685         (PARMS): Do not use macros from bp-asm.h.
69686         (SKIP): Likewise.
69687         (strspn): Do not use BP_SYM.
69688         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69689         (PARMS): Do not use macros from bp-asm.h.
69690         (STR): Likewise.
69691         (DELIM): Likewise.
69692         (SAVE): Likewise.
69693         (FUNCTION): Likewise.  Do not use BP_SYM.
69694         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69695         aliases.
69696         (strtok_r): Likewise.
69697         (__GI___strtok_r): Likewise.
69698         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69699         (PARMS): Do not use macros from bp-asm.h.
69700         (S1): Likewise.
69701         (S2): Likewise.
69702         (SIZE): Likewise.
69703         (__mpn_sub_n): Do not use BP_SYM.
69704         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69705         "bp-asm.h".
69706         (PARMS): Do not use macros from bp-asm.h.
69707         (S1): Likewise.
69708         (SIZE): Likewise.
69709         (__mpn_submul_1): Do not use BP_SYM.
69710         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69711         <bp-sym.h>.
69712         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69713         and <bp-asm.h>.
69714         (PARMS): Do not use macros from bp-asm.h.
69715         (FLAGS): Likewise.
69716         (PTID): Likewise.
69717         (TLS): Likewise.
69718         (CTID): Likewise.
69719         (__clone): Do not use BP_SYM.
69720         (clone): Do not use BP_SYM in weak_alias.
69721         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69722         and <bp-asm.h>.
69723         (PARMS): Do not use macros from bp-asm.h.
69724         (LEN): Likewise.
69725         (__mmap64): Do not use BP_SYM.
69726         (mmap64): Do not use BP_SYM in weak_alias.
69727         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69728         <bp-sym.h> and <bp-asm.h>.
69729         (PARMS): Do not use macros from bp-asm.h.
69730         (__posix_fadvise64_l64): Do not use BP_SYM.
69731         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69732         (PARMS): Do not use macros from bp-asm.h.
69733         (NSOPS): Likewise.
69734         (semtimedop): Do not use BP_SYM.
69735         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69736         and <bp-asm.h>.
69738 2013-02-21  Allan McRae  <allan@archlinux.org>
69740         * manual/message.texi (Charset conversion in gettext):
69741         Move @end statement to beginning of line.
69743 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69746         static.
69747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69748         Likewise.
69750         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69751         (denorm): Likewise.
69752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69755 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69757         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69758         tail-call to the resolved function if pltexit isn't needed.
69760 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69763         or Y being zero as being unlikely.
69764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69765         Likewise.
69767 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69769         * manual/nss.texi (System Databases and Name Service Switch):
69770         Remove frobnicate @pxref.
69772 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69774         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69775         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69777 2013-02-20  Petr Machata  <pmachata@redhat.com>
69779         * elf/elf.h (R_ARM_TARGET1): New macro.
69780         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69781         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69782         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69783         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69784         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69785         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69786         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69787         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69788         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69789         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69790         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69791         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69792         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69793         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69794         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69795         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69796         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69797         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69798         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69799         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69800         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69801         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69802         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69803         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69804         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69805         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69806         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69807         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69808         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69809         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69810         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69811         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69812         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69813         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69814         (R_ARM_THM_GOT_BREL12): Likewise.
69815         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69816         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69817         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69818         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69819         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69820         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69821         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69822         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69823         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69825 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69827         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69828         __attribute_used__ to __attribute__ ((unused)).
69830 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69833         powerpc mpa.c.
69834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69835         comment formatting.
69836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69838 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69840         [BZ #13550]
69841         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69842         Remove macro.
69843         (ENTER): Remove both macro definitions.
69844         (LEAVE): Likewise.
69845         (CHECK_BOUNDS_LOW): Likewise.
69846         (CHECK_BOUNDS_HIGH): Likewise.
69847         (CHECK_BOUNDS_BOTH): Likewise.
69848         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69849         (RETURN_BOUNDED_POINTER): Likewise.
69850         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69851         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69852         (POP_ERRNO_LOCATION_RETURN): Likewise.
69853         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69854         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69855         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69856         macros.
69857         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69858         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69859         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69860         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69861         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69862         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69863         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69864         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69865         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69866         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69867         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69868         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69869         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69870         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69871         removed macros.
69872         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69873         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69874         macros.
69875         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69876         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69877         * sysdeps/i386/i586/memset.S (memset): Likewise.
69878         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69879         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69880         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69881         macros.
69882         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69883         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69884         Change uses of L(2) to L(out).
69885         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69886         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69887         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69888         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69889         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69890         removed macros.
69891         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69892         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69893         macros.
69894         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69895         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69896         (RETURN): Do not use macro LEAVE.
69897         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69898         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69899         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69900         * sysdeps/i386/i686/memset.S (memset): Likewise.
69901         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69902         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69903         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69904         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69905         Likewise.
69906         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69907         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69908         L(1_2) and L(1_3) into L(1).
69909         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69910         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69911         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69912         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69913         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69914         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69915         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69916         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69917         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69918         macros.
69919         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69920         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69921         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69922         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69923         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69924         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69925         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69926         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69927         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69928         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69929         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69930         * sysdeps/i386/strspn.S (strspn): Likewise.
69931         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69932         conditional code.
69933         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69934         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69935         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69936         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69937         L(1_3) into L(1_1).
69938         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69939         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69940         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69941         macros.
69942         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69944 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69946         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69947         macro.
69949 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69951         * math/atest-exp.c (exp_mpn): Remove ROUND.
69952         * math/atest-exp2.c (exp_mpn): Likewise.
69953         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69955         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69956         * stdlib/tst-tls-atexit-lib.c: Likewise.
69957         * stdlib/tst-tls-atexit.c: Likewise.
69959 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69961         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69962         and __attribute_alloc_size__.
69964 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69966         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69967         __attribute_alloc_size__.
69968         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69969         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69971 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69973         * include/programs/xmalloc.h: New file.
69974         * catgets/gencat.c: Include it.
69975         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69976         * elf/pldd.c: Likewise.
69977         * iconv/iconv_charmap.c: Likewise.
69978         * iconv/iconvconfig.c: Likewise.
69979         * iconv/strtab.c: Likewise.
69980         * locale/programs/locale.c: Likewise.
69981         * locale/programs/localedef.h: Likewise.
69982         * locale/programs/simple-hash.c: Likewise.
69983         * nscd/nscd.h: Likewise.
69984         * nss/makedb.c: Likewise.
69985         * sysdeps/generic/ldconfig.h: Likewise.
69987 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69989         * Versions.def: Add GLIBC_2.18.
69990         * include/link.h (struct link_map): New member l_tls_dtor_count.
69991         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69992         (__call_tls_dtors): Likewise.
69993         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69994         __cxa_thread_atexit_impl.
69995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69996         Likewise.
69997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69998         Likewise.
69999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70000         Likewise.
70001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70002         Likewise.
70003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70005         Likewise.
70006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70007         Likewise.
70008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70010         Likewise.
70011         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70012         (tests): Add test case tst-tls-atexit.
70013         (modules-names): Add shared library for tst-tls-atexit.
70014         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70015         (GLIBC_PRIVATE): Add __call_tls_dtors.
70016         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70017         for libstdc++.
70018         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70019         * stdlib/tst-tls-atexit.c: New test case.
70020         * stdlib/tst-tls-atexit-lib.c: New test case.
70022         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70024         * elf/Versions (ld): Add _dl_find_dso_for_object.
70025         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70026         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70027         (dl_open_worker): Use _dl_find_dso_for_object.
70028         * elf/dl-sym.c (do_sym): Likewise.
70029         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70031 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70033         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70034         Syntactic changes only.
70035         (_dl_runtime_profile): Do a tail-call to the resolved function.
70037 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70039         [BZ #13550]
70040         * sysdeps/x86_64/bp-asm.h: Remove file.
70041         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70042         <bp-sym.h> and <bp-asm.h>.
70043         (__clone): Do not use BP_SYM.
70044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70045         <bp-sym.h> and <bp-asm.h>.
70046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70047         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70048         "bp-asm.h".
70049         (_setjmp): Do not use BP_SYM.
70050         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70051         "bp-asm.h".
70052         (setjmp): Do not use BP_SYM.
70053         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70054         libc_hidden_def.
70055         (mempcpy): Do not use BP_SYM in weak_alias.
70056         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70057         "bp-asm.h".
70058         (strchr): Do not use BP_SYM.
70059         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70060         "bp-asm.h".
70061         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70062         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70063         (_start): Do not use BP_SYM.
70064         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70065         "bp-asm.h".
70066         (strcat): Do not use BP_SYM.
70067         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70068         "bp-asm.h".
70069         (STRCMP): Do not use BP_SYM.
70070         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70071         "bp-asm.h".
70072         (STRCPY): Do not use BP_SYM.
70073         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70074         "bp-asm.h".
70075         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70076         "bp-asm.h".
70077         (FUNCTION): Do not use BP_SYM.
70078         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70079         weak_alias.
70080         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70082 2013-02-17  Andreas Jaeger  <aj@suse.de>
70084         * time/Versions: Sort entries.
70085         * string/Versions: Likewise.
70086         * resolv/Versions: Likewise.
70087         * posix/Versions: Likewise.
70088         * iconv/Versions: Likewise.
70089         * elf/Versions: Likewise.
70090         * wcsmbs/Versions: Likewise.
70092 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70094         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70095         loop termination condition.
70097         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70098         variable to calculate EZ.
70099         (__sqr): Likewise.
70101         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70102         the lower precision input.
70104 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
70106         [BZ #13550]
70107         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70108         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70109         (run-via-rtld-prefix): Do not handle %-bp tests.
70110         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70111         (all-object-suffixes): Remove .ob.
70112         (bppfx): Remove variable.
70113         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70114         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70115         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70116         [$(build-bounded) = yes] (libtype.ob): Likewise.
70117         * Makerules (elide-routines.ob): Remove variable.
70118         (do-tests-clean): Do not handle *-bp.out.
70119         (common-mostlyclean): Do not handle *-bp and *-bp.out.
70120         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70121         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70122         (tests): Do not include $(tests-bp.out).
70123         (xtests): Do not include $(xtests-bp.out).
70124         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70125         [$(build-bounded) = yes] ($(addprefix
70126         $(objpfx),$(binaries-bounded))): Remove rule.
70127         ($(objpfx)%-bp.out): Remove rule.
70128         * config.make.in (build-bounded): Remove variable.
70129         * crypt/Makefile [$(build-bounded) = yes]
70130         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70131         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70132         append to variable.
70133         [$(build-bounded) = yes] (install-lib): Likewise.
70134         [$(build-bounded) = yes] (generated): Likewise.
70135         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70136         Remove rule.
70137         * intl/Makefile [$(build-bounded) = yes]
70138         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70139         * math/Makefile [$(build-bounded) = yes]
70140         ($(tests:%=$(objpfx)%-bp): Likewise.
70141         * misc/Makefile [$(build-bounded) = yes]
70142         ($(objpfx)tst-tsearch-bp): Likewise.
70143         * nptl/Makeconfig (bounded-thread-library): Remove variable.
70144         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70145         Remove dependency.
70146         * string/Makefile (o-objects.ob): Remove variable.
70147         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70148         (CFLAGS-.ob): Remove variable.
70149         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70150         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70151         both definitions of variable.
70152         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70153         (ASFLAGS-.ob): Remove variable.
70155 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
70157         [BZ #13550]
70158         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70159         Remove __BOUNDED_POINTERS__ from condition.
70160         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70161         * string/bits/string2.h [!__NO_STRING_INLINES &&
70162         !__BOUNDED_POINTERS__]: Likewise.
70163         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70164         Likewise.
70165         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70166         Remove conditional code.
70167         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70168         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70169         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70170         condition.
70172         [BZ #13550]
70173         * csu/libc-start.c: Do not include <bp-sym.h>.
70174         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70175         * elf/dl-open.c: Do not include <bp-sym.h>.
70176         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70177         * math/fegetenv.c: Do not include <bp-sym.h>.
70178         (fegetenv): Do not use BP_SYM in versioned symbols.
70179         * nptl/sysdeps/pthread/bits/libc-lockP.h
70180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70181         <bp-sym.h>.
70182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70183         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70185         (__pthread_mutex_destroy): Likewise.
70186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70187         (__pthread_mutex_lock): Likewise.
70188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70189         (__pthread_mutex_trylock): Likewise.
70190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70191         (__pthread_mutex_unlock): Likewise.
70192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70193         (__pthread_mutexattr_init): Likewise.
70194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70195         (__pthread_mutexattr_destroy): Likewise.
70196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70197         (__pthread_mutexattr_settype): Likewise.
70198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70199         (__pthread_rwlock_init): Likewise.
70200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70201         (__pthread_rwlock_destroy): Likewise.
70202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70203         (__pthread_rwlock_rdlock): Likewise.
70204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70205         (__pthread_rwlock_tryrdlock): Likewise.
70206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70207         (__pthread_rwlock_wrlock): Likewise.
70208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70209         (__pthread_rwlock_trywrlock): Likewise.
70210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70211         (__pthread_rwlock_unlock): Likewise.
70212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70213         (__pthread_key_create): Likewise.
70214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70215         (__pthread_setspecific): Likewise.
70216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70217         (__pthread_getspecific): Likewise.
70218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70219         Likewise.
70220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70221         (_pthread_cleanup_push_defer): Likewise.
70222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70223         (_pthread_cleanup_pop_restore): Likewise.
70224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70225         (pthread_setcancelstate): Likewise.
70226         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70227         <bp-sym.h>.
70228         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70229         (memchr): Do not use BP_SYM in weak_alias.
70230         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70231         (fegetenv): Do not use BP_SYM in versioned symbols.
70232         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70233         (fesetenv): Do not use BP_SYM in versioned symbols.
70234         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70235         (feupdateenv): Do not use BP_SYM in versioned symbols.
70236         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70237         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70238         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70239         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70240         (open64): Do not use BP_SYM in weak_alias.
70241         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70242         (fegetenv): Do not use BP_SYM in versioned symbols.
70243         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70244         (fesetenv): Do not use BP_SYM in versioned symbols.
70245         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70246         (feupdateenv): Do not use BP_SYM in versioned symbols.
70247         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70248         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70249         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70250         (feraiseexcept): Do not use BP_SYM in versioned symbols.
70251         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70252         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70253         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70254         <bp-sym.h>.
70255         (__libc_start_main): Do not use BP_SYM.
70257 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70260         redundant return line.
70261         (norm): Likewise.
70262         (denorm): Likewise.
70263         (dbl_mp): Likewise.
70264         (sub_magnitudes): Likewise.
70265         (__add): Likewise.
70266         (__sub): Likewise.
70267         (__mul): Likewise.
70268         (__inv): Likewise.
70269         (__dvd): Likewise.
70270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70271         (norm): Likewise.
70272         (denorm): Likewise.
70273         (dbl_mp): Likewise.
70274         (sub_magnitudes): Likewise.
70275         (__add): Likewise.
70276         (__sub): Likewise.
70277         (__mul): Likewise.
70278         (__inv): Likewise.
70279         (__dvd): Likewise.
70281         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70282         instead of __mul.
70283         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70284         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70285         (cc32): Likewise.
70287         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70288         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70290         of __mul for squares.
70291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70292         function
70293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70294         Likewise.
70295         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70296         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70298 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
70300         [BZ #13550]
70301         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70302         code.
70303         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70304         prototype or function definition.  Rename ubp_* variables and
70305         parameters.  Remove argv definitions conditional on
70306         [__BOUNDED_POINTERS__].
70307         * debug/backtrace.c (__backtrace): Do not use __unbounded.
70308         * elf/dl-runtime.c (_dl_fixup): Likewise.
70309         * include/set-hooks.h (RUN_HOOK): Likewise.
70310         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70311         definition.
70312         * string/strcpy.c (strcpy): Do not use __unbounded.
70313         * sysdeps/generic/frame.h (struct layout): Likewise.
70314         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70315         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70316         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70317         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70318         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70319         (__backtrace): Likewise.
70320         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70321         use __ptrvalue.
70322         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70323         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70324         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70325         Likewise.
70326         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70327         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70328         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70329         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70330         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70331         Do not use __unbounded.
70332         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70333         Rename __unboundedrlimits parameter to rlimits in prototype.
70334         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70335         Do not use __unbounded.
70336         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70337         not use __ptrvalue.
70338         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70339         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70340         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70341         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70342         __ptrvalue or __unbounded.
70343         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70344         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70345         use __unbounded.
70346         (__new_msgctl): Do not use __ptrvalue.
70347         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70348         __unbounded.
70349         (__libc_msgrcv): Do not use __ptrvalue.
70350         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70351         startup_info): Do not use __unbounded.
70352         (__libc_start_main): Likewise.  Rename ubp_* variables and
70353         parameters.  Remove argv definitions conditional on
70354         [__BOUNDED_POINTERS__].
70355         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70356         __ptrvalue.
70357         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70358         use __unbounded.
70359         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70360         or __ptrvalue.
70361         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70362         use __unbounded.
70363         (__new_shmctl): Do not use __ptrvalue.
70364         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70365         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70366         Likewise.
70367         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70368         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70369         (__libc_sigaction): Likewise.
70370         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70372         Likewise.
70373         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70375 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
70377         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70379         * string/mempcpy.c: Implement by calling memcpy.
70381 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
70383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70385         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70386         evaluation.
70388         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70389         values in the mantissa.
70391         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70392         minimize writes to Z.
70393         (sub_magnitudes): Simplify code a bit.
70395 2013-02-12  Roland McGrath  <roland@hack.frob.com>
70397         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70398         from the message.  The linker prefixes all warnings with that already.
70400 2013-02-12  Andreas Schwab  <schwab@suse.de>
70402         [BZ #15078]
70403         * posix/regexec.c (extend_buffers): Add parameter min_len.
70404         (check_matching): Pass minimum needed length.
70405         (clean_state_log_if_needed): Likewise.
70406         (get_subexp): Likewise.
70407         * posix/Makefile (tests): Add bug-regex34.
70408         (bug-regex34-ENV): Define.
70409         * posix/bug-regex34.c: New file.
70411         [BZ #11561]
70412         * posix/regcomp.c (parse_bracket_exp): When looking up collating
70413         elements compare against the byte sequence of it, not its name.
70414         * posix/Makefile (tests): Add bug-regex35.
70415         (bug-regex35-ENV): Define.
70416         * posix/bug-regex35.c: New file.
70418 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70420         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
70421         comment.
70422         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70423         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70424         (CHECK_EOL): Add undef.
70426 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
70428         * bits/stdlib-bsearch.h: New file.
70429         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70430         * stdlib/stdlib.h: Likewise.
70432 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70434         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70435         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70436         declaration.
70437         * manual/search.texi (Array Search Function): Add missing const in
70438         lfind prototype.
70439         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70440         declaration to use rlim_t.
70441         (Basic Scheduling Functions): Remove erroneous const from
70442         sched_getparam prototype.  Remove erroneous * from
70443         sched_get_priority_max and sched_get_priority_min prototypes.
70444         (Resource Usage): Fix summary @comment on vtimes to refer to
70445         sys/vtimes.h rather than vtimes.h.
70446         Add missing *s in vtimes prototype.
70447         (Limits on Resources): Fix ulimit prototype to return long int.
70448         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70449         prototypes to use long int rather than double.
70450         (BSD Random): Fix initstate and setstate to use char *, not void *.
70451         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70452         prototype to make second argument 'struct aiocb64 *const[]'.
70453         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70454         (Status of AIO Operations): Remove erroneous const in aio_return and
70455         aio_return64 prototypes.
70456         (Synchronizing I/O): Fix sync prototype to return void.
70457         * manual/startup.texi (Suboptions): Remove an erroneous const in
70458         getsubopt prototype.
70459         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70460         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70461         use size_t rather than int.
70462         (Scanning All Users): Likewise for getpwent_r.
70463         (Setting Groups): Add missing const to setgroups prototype.
70464         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70465         * manual/socket.texi (Host Names): Fix gethostbyaddr and
70466         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70467         'const void *' rather than 'const char *'.
70468         (Host Address Functions): Likewise for inet_ntop.
70469         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70470         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70471         ssize_t for return value.
70472         (Sending Data): Likewise for send, sendto, sendmsg.
70473         (Socket Option Functions): Add a missing const in setsockopt prototype.
70474         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70475         use wchar_t for the argument.
70476         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70477         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70478         take no arguments.
70479         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70480         double/float/long double for second argument.
70481         Fix return types of significand, significandf, significandl.
70482         * manual/filesys.texi (Setting Permissions): Use mode_t for second
70483         argument in fchmod prototype.
70484         (File Owner): Use uid_t and gid_t in fchown prototype.
70485         (File Times): Add const to utimes, futimes, and lutimes prototypes.
70486         (Making Special Files): Use mode_t and dev_t in mknod prototype.
70487         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70488         use 'const struct dirent **' as argument types to CMP function pointer
70489         argument.
70490         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70491         (File Times): Fix summary magic @comment for struct utimbuf and utime
70492         to refer to utime.h, not time.h.
70493         * manual/string.texi (Argz Functions): Add missing const in
70494         argz_extract and argz_next prototypes.
70495         (Finding Tokens in a String): Likewise for basename.
70496         (String/Array Comparison): Fix typo in wcscasecmp prototype.
70497         (Copying and Concatenation): Fix typo in wmemmove prototype.
70498         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70499         (Signal Stack): Remove erroneous const in sigstack prototype.
70500         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70501         prototype.
70502         (Simple Calendar Time): Likewise for stime.
70503         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70504         prototype.
70505         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70506         say sys/sysctl.h instead.
70507         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70508         and vsyslog prototypes.
70510 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70512         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70513         Remove.
70515 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70517         * misc/sys/mman.h: Fix typo in mremap comment.
70519 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70521         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70522         the '\0' terminator.
70524 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70526         [BZ #13550]
70527         * debug/segfault.c: Don't include <bp-checks.h>.
70528         * sysdeps/generic/bp-checks.h: Remove file.
70529         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70530         (__GETDENTS): Don't use CHECK_N.
70531         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70532         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70533         (__getgroups): Don't use CHECK_N.
70534         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70535         (setgroups): Don't use CHECK_N.
70536         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70537         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70538         (__libc_msgrcv): Don't use CHECK_N.
70539         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70540         (__libc_msgsnd): Don't use CHECK_N.
70541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70542         <bp-checks.h>.
70543         (__libc_pread): Don't use CHECK_N.
70544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70545         include <bp-checks.h>.
70546         (__libc_pread64): Don't use CHECK_N.
70547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70548         include <bp-checks.h>.
70549         (__libc_pwrite): Don't use CHECK_N.
70550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70551         include <bp-checks.h>.
70552         (__libc_pwrite64): Don't use CHECK_N.
70553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70554         <bp-checks.h>.
70555         (__libc_pread): Don't use CHECK_N.
70556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70557         include <bp-checks.h>.
70558         (__libc_pread64): Don't use CHECK_N.
70559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70560         include <bp-checks.h>.
70561         (__libc_pwrite): Don't use CHECK_N.
70562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70563         include <bp-checks.h>.
70564         (__libc_pwrite64): Don't use CHECK_N.
70565         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70566         (do_pread): Don't use CHECK_N.
70567         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70568         (do_pread64): Don't use CHECK_N.
70569         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70570         (do_pwrite): Don't use CHECK_N.
70571         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70572         (do_pwrite64): Don't use CHECK_N.
70573         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70574         (__libc_readv): Don't use CHECK_N.
70575         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70576         (semop): Don't use CHECK_N.
70577         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70578         <bp-checks.h>.
70579         (semtimedop): Don't use CHECK_N.
70580         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70581         (__libc_pread): Don't use CHECK_N.
70582         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70583         <bp-checks.h>.
70584         (__libc_pread64): Don't use CHECK_N.
70585         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70586         <bp-checks.h>.
70587         (__libc_pwrite): Don't use CHECK_N.
70588         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70589         <bp-checks.h>.
70590         (__libc_pwrite64): Don't use CHECK_N.
70591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70592         <bp-checks.h>.
70593         (__libc_msgrcv): Don't use CHECK_N.
70594         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70595         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
70596         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70597         (__libc_writev): Don't use CHECK_N.
70599 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70601         * string/strcpy.c: Removed unused variable.
70603         * Makeconfig (+sysdep-includes): Define with := rather than =.
70604         Use an existing include/ subdir of each sysdeps dir before it.
70606 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70608         * nscd/connection.c (register_traced_file): Comment function.
70609         [HAVE_INOTIFY] (union __inev): Define.
70610         [HAVE_INOTIFY] (inotify_check_files): New function.
70611         [HAVE_INOTIFY] (clear_db_cache): Likewise.
70612         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70613         clear_db_cache.
70614         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70616 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70618         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70619         loaded if not already and that a failure is permanent.
70621 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70623         [BZ #15006]
70624         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70625         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70627 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70629         [BZ #13550]
70630         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70631         (CHECK_1_NULL_OK): Likewise.
70632         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70633         (__fxstat): Do not use CHECK_1.
70634         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70635         <bp-checks.h>.
70636         (___fxstat64): Do not use CHECK_1.
70637         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70638         <bp-checks.h>.
70639         (__fxstatat): Do not use CHECK_1.
70640         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70641         <bp-checks.h>.
70642         (__fxstatat64): Do not use CHECK_1.
70643         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70644         <bp-checks.h>.
70645         (__fxstat): Do not use CHECK_1.
70646         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70647         <bp-checks.h>.
70648         (__fxstatat): Do not use CHECK_1.
70649         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70650         <bp-checks.h>.
70651         (__getresgid): Do not use CHECK_1.
70652         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70653         <bp-checks.h>.
70654         (__getresuid): Do not use CHECK_1.
70655         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70656         <bp-checks.h>.
70657         (__lxstat): Do not use CHECK_1.
70658         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70659         <bp-checks.h>.
70660         (__old_msgctl): Do not use CHECK_1.
70661         (__new_msgctl): Likewise.
70662         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70663         <bp-checks.h>.
70664         (__new_setrlimit): Do not use CHECK_1.
70665         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70666         <bp-checks.h>.
70667         (__old_shmctl): Do not use CHECK_1.
70668         (__new_shmctl): Likewise.
70669         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70670         <bp-checks.h>.
70671         (__xstat): Do not use CHECK_1.
70672         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70673         (__lxstat): Do not use CHECK_1.
70674         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70675         <bp-checks.h>.
70676         (___lxstat64): Do not use CHECK_1.
70677         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70678         (__old_msgctl): Do not use CHECK_1.
70679         (__new_msgctl): Likewise.
70680         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70681         <bp-checks.h>.
70682         (__gettimeofday): Do not use CHECK_1.
70683         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70684         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70685         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70686         <bp-checks.h>.
70687         (__gettimeofday): Do not use CHECK_1.
70688         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70689         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70690         (__new_shmctl): Do not use CHECK_1.
70691         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70692         <bp-checks.h>.
70693         (do_sigtimedwait): Do not use CHECK_1.
70694         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70695         <bp-checks.h>.
70696         (do_sigwaitinfo): Do not use CHECK_1.
70697         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70698         <bp-checks.h>.
70699         (msgctl): Do not use CHECK_1.
70700         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70701         <bp-checks.h>.
70702         (shmctl): Do not use CHECK_1.
70703         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70704         (ustat): Do not use CHECK_1.
70705         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70706         <bp-checks.h>.
70707         (__fxstat): Do not use CHECK_1.
70708         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70709         <bp-checks.h>.
70710         (__fxstatat): Do not use CHECK_1.
70711         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70712         <bp-checks.h>.
70713         (__lxstat): Do not use CHECK_1.
70714         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70715         <bp-checks.h>.
70716         (__xstat): Do not use CHECK_1.
70717         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70718         (__xstat): Do not use CHECK_1.
70719         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70720         (___xstat64): Do not use CHECK_1.
70722         [BZ #13550]
70723         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70724         definitions.
70725         (CHECK_BOUNDS_HIGH): Likewise.
70726         * string/strcpy.c: Do not include <bp-checks.h>.
70727         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70729 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70731         * nscd/nscd-client.h (__nscd_drop_map_ref):
70732         Add __attribute__ ((unused)).
70733         * nis/nss-nisplus.h (niserr2nss): Likewise.
70735         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70736         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70738         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70739         Remove inline keyword.
70740         * include/rounding-mode.h (round_away): Likewise.
70741         * libio/wfileops.c (adjust_wide_data): Likewise.
70742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70743         (__m128i_strloadu_tolower): Likewise.
70744         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70745         (__m128i_strloadu_tolower): Likewise.
70746         * time/mktime.c (ydhms_diff): Likewise.
70747         * locale/elem-hash.h (elem_hash): Likewise.
70748         * locale/setlocale.c (setdata): Likewise.
70749         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70750         (re_string_wchar_at): Likewise.
70751         (bitset_not, bitset_merge, bitset_mask): Likewise.
70752         [!(__GNUC__ > 3)] (inline): Remove macro.
70753         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70754         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70755         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70756         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70757         * string/memcmp.c (memcmp_bytes): Likewise.
70758         * locale/programs/locarchive.c (compute_hashval): Likewise.
70759         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70760         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70761         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70762         * nss/getent.c (print_rpc, print_protocols): Likewise.
70763         (print_passwd, print_group, print_aliases): Likewise.
70764         * nis/nss-nisplus.h (niserr2nss): Likewise.
70765         * nscd/connections.c (restart_p): Likewise.
70766         Change return type to bool.
70768 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70770         * Makeconfig (all-Depend-files): Add existing
70771         $(sorted-subdirs:=/Depend) files.
70772         (all-subdirs): Remove nss.
70773         * sysdeps/unix/inet/Subdirs: Add it here instead.
70774         * hesiod/Depend: New file.
70776         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70777         instead of calling alloca.
70779         * io/lseek.c (__lseek): Rename to __libc_lseek.
70780         Define __lseek as an alias.
70782         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70784 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70786         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70787         else clause and remove check for non-standard endianness.
70789 2013-02-04  David S. Miller  <davem@davemloft.net>
70791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70793 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70795         [BZ #13550]
70796         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70797         (__ubp_memchr): Remove prototype.
70798         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70799         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70800         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70801         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70802         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70803         Remove alias.
70804         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70805         (__ubp_memchr): Likewise.
70806         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70807         (__ubp_memchr): Likewise.
70808         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70809         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70810         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70811         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70812         CHECK_STRING.
70813         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70814         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70815         (__getcwd): Do not use CHECK_STRING.
70816         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70817         <bp-checks.h>.
70818         (__real_chown): Do not use CHECK_STRING.
70819         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70820         <bp-checks.h>.
70821         (fchownat): Do not use CHECK_STRING.
70822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70823         CHECK_STRING.
70824         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70825         <bp-checks.h>.
70826         (__lchown): Do not use CHECK_STRING.
70827         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70828         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70829         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70830         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70832         include <bp-checks.h>.
70833         (truncate64): Do not use CHECK_STRING.
70834         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70835         <bp-checks.h>.
70836         (__real_chown): Do not use CHECK_STRING.
70837         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70838         <bp-checks.h>.
70839         (__lchown): Do not use CHECK_STRING.
70840         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70841         <bp-checks.h>.
70842         (__chown): Do not use CHECK_STRING.
70843         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70844         <bp-checks.h>.
70845         (truncate64): Do not use CHECK_STRING.
70846         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70847         Likewise.
70848         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70849         (__xmknod): Do not use CHECK_STRING.
70850         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70851         <bp-checks.h>.
70852         (__xmknodat): Do not use CHECK_STRING.
70853         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70854         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70856 2013-02-04  Andreas Schwab  <schwab@suse.de>
70858         [BZ #14142]
70859         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70860         * include/netdb.h: Likewise for h_errno.
70861         * elf/tst-stackguard1.c: Include <tls.h>.
70863 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70865         * elf/link.h (struct link_map): Extend the l_addr comment.
70866         * include/link.h (struct link_map): Likewise.
70868 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70870         [BZ #13550]
70871         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70872         (BOUNDED_1): Remove macro.
70873         * debug/backtrace.c: Don't include <bp-checks.h>.
70874         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70875         (__backtrace): Likewise.
70876         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70877         <bp-checks.h>.
70878         (__backtrace): Don't use BOUNDED_1.
70879         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70880         <bp-checks.h>.
70881         (__backtrace): Don't use BOUNDED_1.
70882         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70883         (__backtrace): Don't use BOUNDED_1.
70884         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70885         (shmat): Don't use BOUNDED_N.
70887 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70889         [BZ #13550]
70890         * sysdeps/generic/bp-start.h: Remove file.
70891         * csu/libc-start.c: Don't include <bp-start.h>.
70892         (LIBC_START_MAIN): Set up __environ directly instead of using
70893         INIT_ARGV_and_ENVIRON.
70894         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70895         <bp-start.h>.
70897         [BZ #13550]
70898         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70899         definitions.
70900         (CHECK_FCNTL): Likewise.
70901         (CHECK_N_PAGES): Likewise.
70903         [BZ #13550]
70904         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70905         definitions.
70906         (CHECK_SIGSET_NULL_OK): Likewise.
70907         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70908         <bp-checks.h>.
70909         (sigpending): Don't use CHECK_SIGSET.
70910         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70911         <bp-checks.h>.
70912         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70913         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70914         <bp-checks.h>.
70915         (do_sigsuspend): Don't use CHECK_SIGSET.
70916         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70917         use CHECK_SIGSET.
70918         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70919         (do_sigwait): Don't use CHECK_SIGSET.
70920         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70921         use CHECK_SIGSET.
70922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70923         include <bp-checks.h>.
70924         (sigpending): Don't use CHECK_SIGSET.
70925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70926         include <bp-checks.h>.
70927         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70928         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70929         <bp-checks.h>.
70930         (sigpending): Don't use CHECK_SIGSET.
70931         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70932         <bp-checks.h>.
70933         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70935         [BZ #13550]
70936         * sysdeps/generic/bp-semctl.h: Remove file.
70937         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70938         <bp-checks.h> and <bp-semctl.h>.
70939         (__old_semctl): Don't use CHECK_SEMCTL.
70940         (__new_semctl): Likewise.
70941         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70942         and <bp-semctl.h>.
70943         (__old_semctl): Don't use CHECK_SEMCTL.
70944         (__new_semctl): Likewise.
70945         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70946         <bp-checks.h> and <bp-semctl.h>.
70947         (__old_semctl): Don't use CHECK_SEMCTL.
70948         (__new_semctl): Likewise.
70949         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70950         <bp-checks.h> and <bp-semctl.h>.
70951         (semctl): Don't use CHECK_SEMCTL.
70953         [BZ #13550]
70954         * Makerules (elide-bp-thunks): Remove variable.
70955         (elide-routines.oS): Don't use $(elide-bp-thunks).
70956         (elide-routines.os): Likewise.
70957         (elide-routines.o): Likewise.
70958         (elide-routines.op): Likewise.
70959         (elide-routines.og): Likewise.
70960         (objects): Don't use $(bp-thunks).
70961         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70962         include.
70963         (common-generated): Do not add s-proto-bp.d.
70964         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70965         (int): Likewise.
70966         (typ): Likewise.
70967         Do not generate makefile rules for bounded-pointer thunks.
70968         * sysdeps/generic/bp-thunks.h: Remove file.
70969         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70970         * sysdeps/unix/s-proto-bp.S: Likewise.
70972         [BZ #15062]
70973         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70974         parts of result separately when argument is not close to line from
70975         -i to i and one part of argument is small.
70976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70978         * math/libm-test.inc (cacos_test): Add more tests.
70979         (casin_test): Likewise.
70980         (casinh_test): Likewise.
70981         * sysdeps/i386/fpu/libm-test-ulps: Update.
70982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70984 2013-01-31  David S. Miller  <davem@davemloft.net>
70986         * po/de.po: Update from translation team.
70988 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70990         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70992 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70994         * configure.in (_AC_PROG_CC_C89): New definition.
70995         * configure: Regenerate.
70997         * configure.in (AC_PROG_CPP): New definition.
70998         * configure: Regenerate.
71000 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71002         * debug/tst-backtrace.h: New file.
71003         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71004         (ret): Remove variable.
71005         (x): Likewise.
71006         (FAIL): Remove macro.
71007         (NO_INLINE): Likewise.
71008         (fn1): Use match function instead of strstr.
71009         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71010         (ret): Remove variable.
71011         (x): Likewise.
71012         (FAIL): Remove macro.
71013         (NO_INLINE): Likewise.
71014         (fn): Use match function instead of strstr.
71015         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71016         (ret): Remove variable.
71017         (x): Likewise.
71018         (FAIL): Remove macro.
71019         (NO_INLINE): Likewise.
71020         (handle_signal): Use match function instead of strstr.
71021         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71022         (ret): Remove variable.
71023         (x): Likewise.
71024         (FAIL): Remove macro.
71025         (NO_INLINE): Likewise.
71026         (handle_signal): Use match function instead of strstr.
71028 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71030         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71032 2013-01-23  David S. Miller  <davem@davemloft.net>
71034         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71035         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71036         argument of CAS if possible.
71037         * sysdeps/sparc/sparc64/bits/atomic.h
71038         (__arch_compare_and_exchange_val_32_acq): Likewise.
71039         (__arch_compare_and_exchange_val_64_acq): Likewise.
71041 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71043         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71044         * sysdeps/posix/ulimit.c: ... this.
71045         Include <limits.h>.
71046         * sysdeps/unix/bsd/ulimit.c: Remove file.
71048 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71050         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71051         (LDFLAGS-tst-array5): Likewise.
71053 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71055         [BZ #15036]
71056         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71057         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71058         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71059         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71061 2013-01-21  David S. Miller  <davem@davemloft.net>
71063         * sysdeps/sparc/backtrace.c: New file.
71064         * sysdeps/sparc/sparc32/backtrace.h: New file.
71065         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71066         * sysdeps/sparc/sparc64/backtrace.h: New file.
71067         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71068         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71069         -funwind-tables.
71071 2013-01-21  Andreas Schwab  <schwab@suse.de>
71073         [BZ #15020]
71074         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71075         closed its stdout.
71077 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71080         "mpa2.h".
71081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71083 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71084             Mark Mitchell  <mark@codesourcery.com>
71085             Tom de Vries  <tom@codesourcery.com>
71086             Paul Pluzhnikov  <ppluzhnikov@google.com>
71088         * debug/tst-backtrace2.c: New file.
71089         * debug/tst-backtrace3.c: Likewise.
71090         * debug/tst-backtrace4.c: Likewise.
71091         * debug/tst-backtrace5.c: Likewise.
71092         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71093         (CFLAGS-tst-backtrace3.c): Likewise.
71094         (CFLAGS-tst-backtrace4.c): Likewise.
71095         (CFLAGS-tst-backtrace5.c): Likewise.
71096         (LDFLAGS-tst-backtrace2): Likewise.
71097         (LDFLAGS-tst-backtrace3): Likewise.
71098         (LDFLAGS-tst-backtrace4): Likewise.
71099         (LDFLAGS-tst-backtrace5): Likewise.
71100         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71101         tst-backtrace4 and tst-backtrace5.
71103 2013-01-18  Anton Blanchard  <anton@samba.org>
71104             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71106         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71107         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71108         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71109         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71111         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71112         "+r" and remove output regs list as redundant.  Add explicit inline
71113         asm to specify register of return val to work around compiler codegen
71114         bug.  Remove (int) cast on return value.  Add return type parameter to
71115         use in macro so that this macro does not truncate return value for
71116         64-bit values.
71117         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71118         pass to INTERNAL_VSYSCALL_NCS.
71119         (INLINE_VSYSCALL): Add 'long int' as return type to
71120         INTERNAL_VSYSCALL_NCS macro invocation.
71121         (INTERNAL_VSYSCALL): Add 'long int' as return type to
71122         INTERNAL_VSYSCALL_NCS macro invocation.
71123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71125 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71127         [BZ #14496]
71128         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71129         Fix application of SIMD FP exception mask.
71131         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71132         mp_no from a power of two.
71133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71134         __mpexp_twomm1.  Use __pow_mp.
71136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71137         multiplication.
71139 2013-01-17  David S. Miller  <davem@davemloft.net>
71141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71143 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71145         [BZ #15023]
71146         * include/complex.h: Condition contents on [!_COMPLEX_H].
71147         (__kernel_casinhf): New prototype.
71148         (__kernel_casinh): Likewise.
71149         (__kernel_casinhl): Likewise.
71150         * math/Makefile (libm_calls): Add k_casinh.
71151         * math/k_casinh.c: New file.
71152         * math/k_casinhf.c: Likewise.
71153         * math/k_casinhl.c: Likewise.
71154         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71155         finite nonzero arguments.
71156         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71157         finite nonzero arguments.
71158         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71159         finite nonzero arguments.
71160         * math/s_casinh.c: Do not include <float.h>.
71161         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71162         * math/s_casinhf.c: Do not include <float.h>.
71163         (__casinhf): Move code for finite nonzero arguments to
71164         k_casinhf.c.
71165         * math/s_casinhl.c: Do not include <float.h>.
71166         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71167         redefine.
71168         (__casinhl): Move code for finite nonzero arguments to
71169         k_casinhl.c.
71170         * math/libm-test.inc (cacos_test): Add more tests.
71171         * sysdeps/i386/fpu/libm-test-ulps: Update.
71172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71174 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
71176         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71177         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71178         [!HAVE_MREMAP]: Remove [defined linux] case.
71179         * malloc/arena.c: Do not include <malloc-sysdep.h>.
71181 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
71183         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71185 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
71187         * elf/elf.h (R_386_SIZE32): New relocation.
71188         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71189         R_386_SIZE32.
71190         (elf_machine_rela): Likewise.
71191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71192         R_X86_64_SIZE64 and R_X86_64_SIZE32.
71194 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71196         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71197         (FP_FAST_FMA): Do not define.
71198         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71199         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71200         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71201         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71202         !_SOFT_FLOAT]: Likewise.
71203         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71204         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71205         value.
71206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71207         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71208         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71209         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71210         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71211         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71212         file.
71214 2013-01-16  Andreas Schwab  <schwab@suse.de>
71216         [BZ #14327]
71217         * include/stdlib.h (__mktemp): Add declaration.
71218         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71219         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71221 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71223         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71224         definitions.
71225         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71226         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71227         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71228         definitions here.
71229         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71230         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71231         definitions.
71232         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71233         and ONE.
71234         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71235         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71236         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71237         definitions.
71238         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71239         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71240         definitions.
71241         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71243         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71245 2013-01-15  David S. Miller  <davem@davemloft.net>
71247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71248         trunc{,f} to libm-sysdep_routes.
71249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71251         file.
71252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71254         file.
71255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71256         file.
71257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71259         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71260         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71261         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71262         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71263         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71264         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71267         nearbyint{,f} to libm-sysdep_routes.
71268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71270         New file.
71271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71272         file.
71273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71274         New file.
71275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71276         file.
71277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71280         file.
71281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71282         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71283         file.
71284         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71285         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71286         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71288         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71289         libc_feholdexcept and libc_fesetenv.
71291 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
71293         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71295 2013-01-14  David S. Miller  <davem@davemloft.net>
71297         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71298         (SPARC_ASM_VIS2_IFUNC): Likewise.
71299         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71301         use of 'siam' instruction.
71302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71303         Likewise.
71304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71305         Likewise.
71306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71307         Likewise.
71308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71313         file.
71314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71315         file.
71316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71317         file.
71318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71319         file.
71320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71325         new VIS2 routines.
71326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71329         Likewise.
71330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71335         routines to libm-sysdep_routines.
71336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71339         fdim/fdimf to libm-sysdep_routines.
71340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71341         file.
71342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71344         file.
71345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71348         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71349         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71350         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71351         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71353 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71355         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71356         to optimize copies.
71358         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71363         local variable MPTWO.
71364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71365         Likewise.
71367 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71369         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71370         GLOB_NOESCAPE.
71372 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71374         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71376 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71378         * manual/pattern.texi (glob_t): Document gl_flags.
71379         (glob64_t): Likewise.
71381 2013-01-11  David S. Miller  <davem@davemloft.net>
71383         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71384         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71385         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
71386         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71387         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71388         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71389         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71390         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71391         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71392         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71393         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71394         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71395         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71397         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71398         sparc V9 rather than using V8 code.
71399         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71400         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71402         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71403         Move to...
71404         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
71405         Here.
71407 2013-01-11  Roland McGrath  <roland@hack.frob.com>
71409         [BZ #14941]
71410         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71411         not in the main loop.
71412         * configure: Regenerated.
71414 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
71416         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71417         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71418         to just #else.
71419         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
71420         [!__GLIBC_HAVE_LONG_LONG] case.
71421         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71422         condition to just #else.
71423         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71424         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71425         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71426         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71427         unconditional.
71428         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71429         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71430         #elif condition to just #else.
71431         * sysdeps/unix/sysv/linux/sys/sysmacros.h
71432         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71433         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71434         #elif condition to just #else.
71436 2013-01-11  Steve Ellcey  <sellcey@mips.com>
71438         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71439         (EF_MIPS_ARCH_64): Fix value.
71440         (EF_MIPS_ARCH_32R2): New.
71441         (EF_MIPS_ARCH_64R2): New.
71443 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
71445         * Makeconfig (+link-pie-before-libc): New.
71446         (+link-pie-after-libc): Likewise.
71447         (+link-pie-tests): Likewise.
71448         (+link-pie): Rewritten.
71449         (link-before-libc): Remove $(config-LDFLAGS).
71450         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71451         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71452         (config-LDFLAGS): Renamed to ...
71453         (rtld-LDFLAGS): This.
71454         (rtld-tests-LDFLAGS): New macro.
71455         (link-libc-rpath-link): Likewise.
71456         (link-libc-tests-rpath-link): Likewise.
71457         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71458         (link-libc): Prepand $(link-libc-rpath-link).
71459         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71460         (test-program-prefix): New macro.
71461         (test-via-rtld-prefix): Likewise.
71462         (test-program-cmd): Likewise.
71463         (host-test-program-cmd): Likewise.
71464         * Makefile ($(common-objpfx)testrun.sh): Replace
71465         $(run-program-prefix) with $(test-program-prefix).
71466         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71467         $(rtld-LDFLAGS).
71468         ($(common-objpfx)shlib.lds): Likewise.
71469         (build-module-helper): Likewise.
71470         ($(common-objpfx)format.lds): Likewise.
71471         * Rules (binaries-pie-tests): New.
71472         (binaries-pie-notests): Likewise.
71473         (binaries-pie): Rewritten.
71474         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71475         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71476         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71477         (make-test-out): Replace $(host-built-program-cmd) with
71478         $(host-test-program-cmd).
71479         * config.make.in (build-hardcoded-path-in-tests): New variable.
71480         * configure.in (--enable-hardcoded-path-in-tests): New configure
71481         option.
71482         (hardcoded_path_in_tests): New AC_SUBST.
71483         * configure: Regenerated.
71484         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71485         $(built-program-cmd) with $(test-program-cmd).
71486         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71487         (test_program_cmd): This.
71488         * elf/Makefile ($(objpfx)order.out): Run test with
71489         $(test-program-prefix).
71490         ($(objpfx)order2.out): Likewise.
71491         ($(objpfx)tst-initorder.out): Likewise.
71492         ($(objpfx)tst-initorder2.out): Likewise.
71493         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71494         $(test-program-cmd).
71495         ($(objpfx)tst-array1-static.out): Likewise.
71496         ($(objpfx)tst-array2.out): Likewise.
71497         ($(objpfx)tst-array3.out): Likewise.
71498         ($(objpfx)tst-array4.out): Likewise.
71499         ($(objpfx)tst-array5.out): Likewise.
71500         ($(objpfx)tst-array5-static.out): Likewise.
71501         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71502         $(test-program-cmd).
71503         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71504         $(run-program-prefix) with $(test-program-prefix).
71505         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71506         (test_program_prefix): This.
71507         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71508         $(run-program-prefix) with $(test-program-prefix).
71509         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71510         (test_program_prefix): This.
71511         * iconvdata/tst-tables.sh: Likewise.
71512         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71513         $(run-program-prefix) with $(test-program-prefix).
71514         ($(objpfx)tst-translit.out): Likewise.
71515         ($(objpfx)tst-gettext2.out): Likewise.
71516         ($(objpfx)tst-gettext4.out): Likewise.
71517         ($(objpfx)tst-gettext6.out): Likewise.
71518         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71519         (test_program_prefix): This.
71520         * intl/tst-gettext2.sh: Likewise.
71521         * intl/tst-gettext4.sh  Likewise.
71522         * intl/tst-gettext6.sh: Likewise.
71523         * intl/tst-translit.sh: Likewise.
71524         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71525         with $(test-program-cmd).
71526         * libio/Makefile ($(objpfx)test-freopen.out): Replace
71527         $(run-program-prefix) with $(test-program-prefix).
71528         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71529         (test_program_prefix): This.
71530         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71531         $(run-program-prefix) with $(test-program-prefix).
71532         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71533         (test_program_prefix): This.
71534         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71535         * posix/Makefile ($(objpfx)globtest.out): Replace
71536         $(run-via-rtld-prefix) and $(test-wrapper) with
71537         $(test-program-prefix) and $(test-via-rtld-prefix).
71538         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71539         $(test-program-prefix).
71540         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71541         $(host-test-program-cmd).
71542         (tst-spawn-ARGS): Likewise.
71543         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71544         $(test-program-prefix).
71545         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71546         (test_via_rtld_prefix): This.
71547         (test_wrapper): Renamed to ...
71548         (test_program_prefix): This.
71549         (run_program_prefix): Replaced by test_program_prefix.
71550         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71551         (test_program_prefix): This.
71552         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71553         with $(host-test-program-cmd).
71554         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71555         $(run-program-prefix) with $(test-program-prefix).
71556         ($(objpfx)tst-printf.out): Likewise.
71557         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71558         $(test-program-cmd).
71559         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71560         (test_program_prefix): This.
71561         * stdio-common/tst-unbputc.sh: Likewise.
71562         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71563         $(run-program-prefix) with $(test-program-prefix).
71564         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71565         (test_program_prefix): This.
71566         * string/Makefile ($(objpfx)tst-svc.out):  Replace
71567         $(built-program-cmd) with $(test-program-cmd).
71569 2013-01-11  Andreas Jaeger  <aj@suse.de>
71571         [BZ #15003]
71572         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71573         value. Sync with Linux 3.7.
71575 2013-01-10  David S. Miller  <davem@davemloft.net>
71577         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71578         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71579         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71581 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71583         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71584         never set.
71585         * configure: Regenerated.
71587 2013-01-10  David S. Miller  <davem@davemloft.net>
71589         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71590         sparc V9 rather than using V8 code.
71591         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71592         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71594 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71596         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71597         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71598         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71599         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71600         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71601         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71602         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71603         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71604         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71605         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71606         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71607         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71608         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71609         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71610         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71611         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71612         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71613         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71614         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71615         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71616         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71617         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71618         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71619         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71620         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71621         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71622         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71624 2013-01-10  David S. Miller  <davem@davemloft.net>
71626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71628 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71630         * posix/Makefile (tests-static): New variable.
71631         (tests): Add $(tests-static).
71632         (tst-exec-static-ARGS): New variable.
71633         (tst-spawn-static-ARGS): Likewise.
71634         * posix/tst-exec-static.c: New file.
71635         * posix/tst-spawn-static.c: Likewise.
71636         * posix/tst-exec.c: Support run directly.
71637         * posix/tst-spawn.c: Likewise.
71639 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71641         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71642         long.
71643         * math/bits/mathcalls.h (llrint): Likewise.
71644         (llround): Likewise.
71645         * stdlib/stdlib.h (struct drand48_data): Likewise.
71646         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71647         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71648         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71649         Likewise.
71650         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71651         Likewise.
71652         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71653         (elf_greg_t): Likewise.
71654         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71655         (__jmp_buf): Likewise.
71656         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71657         definitions.
71658         (llrint): Likewise, for all definitions.
71659         (llrintl): Likewise.
71661         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71662         Remove [__GNUC__] condition.
71663         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71664         condition to just [__USE_ISOC99].
71665         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71667 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71669         [BZ #14200]
71670         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71671         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71672         defined.
71673         (_POSIX_V6_ILP32_OFF32): Likewise.
71674         (_XBS5_ILP32_OFF32): Likewise.
71675         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71676         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71678 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71680         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71683         doubles __mpexp_twomm1.  Adjust usage.
71684         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71685         Remove.
71687 2013-01-10  Andreas Schwab  <schwab@suse.de>
71689         [BZ #14964]
71690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71691         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71693 2013-01-09  David S. Miller  <davem@davemloft.net>
71695         [BZ #15003]
71696         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71697         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71698         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71699         (TCP_FASTOPEN): Define.
71700         (tcp_repair_opt): New structure.
71701         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71702         enum values.
71703         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71704         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71705         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71706         (tcp_cookie_transactions): New structure.
71708 2013-01-09  Anton Blanchard  <anton@samba.org>
71710         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71711         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71712         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71713         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71715 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71717         * include/features.h (__USE_ANSI): Remove.
71719 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71721         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71723         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71725 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71727         * sysdeps/s390/fpu/libm-test-ulps: Update.
71729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71731         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71732         (__acr): Likewise.
71733         (__cpy): Likewise.
71734         (norm): Likewise.
71735         (denorm): Likewise.
71736         (__mp_dbl): Likewise.
71737         (__dbl_mp): Likewise.
71738         (add_magnitudes): Likewise.
71739         (sub_magnitudes): Likewise.
71740         (__add): Likewise.
71741         (__sub): Likewise.
71742         (__mul): Likewise.
71743         (__inv): Likewise.
71744         (__dvd): Likewise.
71745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71746         (__acr): Likewise.
71747         (__cpy): Likewise.
71748         (norm): Likewise.
71749         (denorm): Likewise.
71750         (__mp_dbl): Likewise.
71751         (__dbl_mp): Likewise.
71752         (add_magnitudes): Likewise.
71753         (sub_magnitudes): Likewise.
71754         (__add): Likewise.
71755         (__sub): Likewise.
71756         (__mul): Likewise.
71757         (__inv): Likewise.
71758         (__dvd): Likewise.
71759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71760         (__acr): Likewise.
71761         (__cpy): Likewise.
71762         (norm): Likewise.
71763         (denorm): Likewise.
71764         (__mp_dbl): Likewise.
71765         (__dbl_mp): Likewise.
71766         (add_magnitudes): Likewise.
71767         (sub_magnitudes): Likewise.
71768         (__add): Likewise.
71769         (__sub): Likewise.
71770         (__mul): Likewise.
71771         (__inv): Likewise.
71772         (__dvd): Likewise.
71774 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71776         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71777         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71778         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71779         2 && __USE_EXTERN_INLINES]: Likewise.
71781 2013-01-08  Andreas Jaeger  <aj@suse.de>
71783         [BZ #14985]
71784         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71785         Remove.
71786         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71787         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71789 2013-01-07  Anton Blanchard  <anton@samba.org>
71791         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71792         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71793         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71794         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71795         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71796         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71797         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71798         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71800         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71802         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71803         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71807         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71809         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71810         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71811         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71812         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71813         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71814         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71815         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71816         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71817         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71818         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71819         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71820         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71821         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71823         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71824         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71825         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71826         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71827         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71828         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71829         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71830         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71831         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71832         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71833         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71835 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71837         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71838         (__MALLOC_PMT): Likewise.
71839         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71840         [__GNUC__], only on [_LIBC].
71841         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71842         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71843         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71844         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71845         forward declaration.
71846         (realloc_hook_ini): Likewise.
71847         (memalign_hook_ini): Likewise.
71848         (__libc_memalign): Do not use __MALLOC_PMT in variable
71849         declaration.
71850         (__libc_valloc): Likewise.
71851         (__libc_pvalloc): Likewise.
71852         (__libc_calloc): Likewise.
71853         (__posix_memalign): Likewise.
71855         [BZ #14996]
71856         * math/s_casinh.c: Include <float.h>.
71857         (__casinh): Do not do computation with squaring and square root
71858         for large arguments.
71859         * math/s_casinhf.c: Include <float.h>.
71860         (__casinhf): Do not do computation with squaring and square root
71861         for large arguments.
71862         * math/s_casinhl.c: Include <float.h>.
71863         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71864         (__casinhl): Do not do computation with squaring and square root
71865         for large arguments.
71866         * math/libm-test.inc (casin_test): Add more tests.
71867         (casinh_test): Likewise.
71868         * sysdeps/i386/fpu/libm-test-ulps: Update.
71869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71871 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71873         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71874         (__x86_64_raw_data_cache_size): Likewise.
71875         (__x86_64_data_cache_size_half): Likewise.
71876         (__x86_64_raw_data_cache_size_half): Likewise.
71877         (__x86_64_shared_cache_size): Likewise.
71878         (__x86_64_raw_shared_cache_size): Likewise.
71879         (__x86_64_shared_cache_size_half): Likewise.
71880         (__x86_64_raw_shared_cache_size_half): Likewise.
71881         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71882         to ...
71883         (__x86_data_cache_size): This.
71884         (__x86_64_raw_data_cache_size): Renamed to ...
71885         (__x86_raw_data_cache_size): This.
71886         (__x86_64_data_cache_size_half): Renamed to ...
71887         (__x86_data_cache_size_half): This.
71888         (__x86_64_raw_data_cache_size_half): Renamed to ...
71889         (__x86_raw_data_cache_size_half): This.
71890         (__x86_64_shared_cache_size): Renamed to ...
71891         (__x86_shared_cache_size): This.
71892         (__x86_64_raw_shared_cache_size): Renamed to ...
71893         (__x86_raw_shared_cache_size): This.
71894         (__x86_64_shared_cache_size_half): Renamed to ...
71895         (__x86_shared_cache_size_half): This.
71896         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71897         (__x86_raw_shared_cache_size_half): This.
71898         * sysdeps/x86_64/memcpy.S: Updated.
71899         * sysdeps/x86_64/memset.S: Likewise.
71900         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71901         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71902         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71904 2013-01-04  David S. Miller  <davem@davemloft.net>
71906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71908 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71910         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71911         1 to avoid redefinition warning.
71912         (__USE_GNU): Don't define.
71913         (init_signaling_nan): Protoize.
71915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71917 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71919         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71921         (__cpymn): Likewise.
71922         (norm): Remove commented code.
71923         (denorm): Likewise.
71924         (__mp_dbl): Likewise.
71925         (__inv): Likewise.
71926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71927         (__cpymn): Likewise.
71928         (norm): Remove commented code.
71929         (denorm): Likewise.
71930         (__mp_dbl): Likewise.
71931         (__inv): Likewise.
71933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71934         mp_no value for 1.0 and 2.0.
71935         (norm): Use RADIXI instead of radixi.d.
71936         (denorm): Likewise.
71937         (__mul): Use 0.0 instead of zero.d.
71938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71939         mp_no value for 1.0 and 2.0.
71940         (norm): Use RADIXI instead of radixi.d.
71941         (denorm): Likewise.
71942         (__mul): Use 0.0 instead of zero.d.
71944 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71946         [BZ #14994]
71947         * math/s_casinh.c (__casinh): Reduce finite argument to first
71948         quadrant then set signs of results at the end.
71949         * math/s_casinhf.c (__casinhf): Likewise.
71950         * math/s_casinhl.c (__casinhl): Likewise.
71951         * math/libm-test.inc (casin_test): Add more tests.
71952         (casinh_test): Likewise.
71953         * sysdeps/i386/fpu/libm-test-ulps: Update.
71954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71956 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71958         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71960         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71962         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71963         declarations.
71964         (denorm): Likewise.
71965         (__mp_dbl): Likewise.
71966         (__inv): Likewise.
71968         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71969         and adjust the header comment.
71971         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71972         variable name from declaration.
71974 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71977         Initialize COMMON_CPUID_INDEX_7 element.
71978         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71979         (CPUID_RTM): Likewise.
71980         (HAS_RTM): Likewise.
71981         (COMMON_CPUID_INDEX_7): New enum.
71983 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71985         [BZ #14981]
71986         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71987         size is zero, record memory as freed.
71989 2013-01-03  Andreas Jaeger  <aj@suse.de>
71991         * po/ia.po: Add new Interlingua translation.
71993 2012-01-03  Allan McRae  <allan@archlinux.org>
71995         * locale/programs/localedef.c: Fix description of '--posix' flag.
71997 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71999         * NEWS: Update dates in second copyright notice.
72000         * README: Update copyright dates in example.
72001         * manual/libc.texinfo: Update copyright dates.
72002         * scripts/test-installation.pl: Update copyright date in --version
72003         output.
72005         * hurd/ctty-input.c: Fix copyright notice formatting.
72006         * hurd/ctty-output.c: Likewise.
72007         * hurd/dtable.c: Likewise.
72008         * hurd/hurd-raise.c: Likewise.
72009         * hurd/hurdprio.c: Likewise.
72010         * hurd/msgportdemux.c: Likewise.
72011         * misc/sys/file.h: Likewise.
72012         * misc/sys/ioctl.h: Likewise.
72013         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72014         * sysdeps/mach/hurd/chdir.c: Likewise.
72015         * sysdeps/mach/hurd/fchdir.c: Likewise.
72016         * sysdeps/mach/hurd/rename.c: Likewise.
72017         * sysdeps/mach/hurd/rmdir.c: Likewise.
72018         * sysdeps/mach/hurd/seekdir.c: Likewise.
72019         * sysdeps/mach/hurd/setsid.c: Likewise.
72020         * sysdeps/posix/wait3.c: Likewise.
72022         * All files with FSF copyright notices: Update copyright dates
72023         using scripts/update-copyrights.
72024         * intl/plural.c: Regenerated.
72025         * locale/programs/charmap-kw.h: Likewise.
72026         * locale/programs/locfile-kw.h: Likewise.
72028 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72030         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72031         four values.
72033         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72034         calculation loop and add branch prediction.
72036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72037         check access beyond bounds of m1np.
72039         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72040         MPTWO.
72041         (__inv): Remove local variable MPTWO to use the global
72042         constant.
72043         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72044         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72045         variable MPTWO.
72046         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72047         MP3HALFS static const.
72049 2013-01-01  David S. Miller  <davem@davemloft.net>
72051         * po/ca.po: Update from translation team.
72053 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72055         * scripts/update-copyrights: New file.
72056         * Makeconfig: Reformat copyright notice.
72057         * ctype/ctype.h: Likewise.
72058         * debug/swprintf_chk.c: Likewise.
72059         * elf/dl-cache.c: Likewise.
72060         * elf/dl-debug.c: Likewise.
72061         * elf/dl-object.c: Likewise.
72062         * grp/initgroups.c: Likewise.
72063         * hurd/Makefile: Likewise.
72064         * hurd/hurd/signal.h: Likewise.
72065         * hurd/hurdfault.c: Likewise.
72066         * hurd/hurdioctl.c: Likewise.
72067         * hurd/hurdlookup.c: Likewise.
72068         * hurd/intr-msg.c: Likewise.
72069         * iconv/gconv_open.c: Likewise.
72070         * libio/swprintf.c: Likewise.
72071         * locale/lc-ctype.c: Likewise.
72072         * locale/nl_langinfo.c: Likewise.
72073         * mach/Machrules: Likewise.
72074         * mach/Makefile: Likewise.
72075         * malloc/obstack.h: Likewise.
72076         * manual/Makefile: Likewise.
72077         * manual/tsort.awk: Likewise.
72078         * misc/bits/stab.def: Likewise.
72079         * nis/nis_print_group_entry.c: Likewise.
72080         * nis/nis_table.c: Likewise.
72081         * nis/nss_compat/compat-pwd.c: Likewise.
72082         * nis/nss_compat/compat-spwd.c: Likewise.
72083         * po/Makefile: Likewise.
72084         * posix/fnmatch.c: Likewise.
72085         * posix/regex.h: Likewise.
72086         * resolv/Makefile: Likewise.
72087         * resolv/nss_dns/dns-network.c: Likewise.
72088         * resolv/res_hconf.c: Likewise.
72089         * scripts/gen-sorted.awk: Likewise.
72090         * soft-fp/soft-fp.h: Likewise.
72091         * stdio-common/printf.h: Likewise.
72092         * stdlib/monetary.h: Likewise.
72093         * stdlib/random.c: Likewise.
72094         * stdlib/random_r.c: Likewise.
72095         * sysdeps/generic/Makefile: Likewise.
72096         * sysdeps/gnu/Makefile: Likewise.
72097         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72098         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72099         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72101         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72104         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72105         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72106         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72107         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72108         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72109         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72110         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72111         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72112         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72113         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72115         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72117         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72118         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72120         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72121         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72122         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72123         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72124         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72125         * sysdeps/mach/hurd/errnos.awk: Likewise.
72126         * sysdeps/mach/hurd/fork.c: Likewise.
72127         * sysdeps/mach/hurd/getcwd.c: Likewise.
72128         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72129         * sysdeps/mach/hurd/mmap.c: Likewise.
72130         * sysdeps/mach/hurd/utimes.c: Likewise.
72131         * sysdeps/mach/hurd/xmknod.c: Likewise.
72132         * sysdeps/posix/profil.c: Likewise.
72133         * sysdeps/posix/readdir_r.c: Likewise.
72134         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72135         * sysdeps/powerpc/bits/setjmp.h: Likewise.
72136         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72137         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72139         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72140         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72141         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72143         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72144         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72145         * sysdeps/pthread/lio_listio.c: Likewise.
72146         * sysdeps/sparc/dl-procinfo.h: Likewise.
72147         * sysdeps/unix/i386/sysdep.S: Likewise.
72148         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72149         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72150         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72151         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72153         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72154         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72155         * sysdeps/unix/sysv/linux/speed.c: Likewise.
72156         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72157         * sysdeps/wordsize-32/divdi3.c: Likewise.
72158         * time/sys/time.h: Likewise.
72159         * wcsmbs/Makefile: Likewise.
72161 2013-01-01  David S. Miller  <davem@davemloft.net>
72163         * po/fr.po: Update from translation team.
72165         * catgets/gencat.c: Update copyright year.
72166         * csu/version.c: Likewise.
72167         * debug/catchsegv.sh: Likewise.
72168         * debug/pcprofiledump.c: Likewise.
72169         * debug/xtrace.sh: Likewise.
72170         * elf/ldconfig.c: Likewise.
72171         * elf/ldd.bash.in: Likewise.
72172         * elf/pldd.c: Likewise.
72173         * elf/sotruss.ksh: Likewise.
72174         * elf/sprof.c: Likewise.
72175         * iconv/iconv_prog.c: Likewise.
72176         * iconv/iconvconfig.c: Likewise.
72177         * locale/programs/locale.c: Likewise.
72178         * locale/programs/localedef.c: Likewise.
72179         * login/programs/pt_chown.c: Likewise.
72180         * malloc/memusage.sh: Likewise.
72181         * malloc/memusagestat.c: Likewise.
72182         * malloc/mtrace.pl: Likewise.
72183         * nscd/nscd.c: Likewise.
72184         * nss/getent.c: Likewise.
72185         * nss/makedb.c: Likewise.
72186         * posix/getconf.c: Likewise.
72188 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72190         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72191         numbers.
72193 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
72195         * math/bits/mathcalls.h (modf): Use __nonnull.
72197 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72199         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72200         (split): Use macro CN instead of the bare value.
72201         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72202         could be used.
72203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72204         instead of the bare value.
72205         (power1): Likewise.
72207 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72209         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72210         __ATAN_TWOM.
72211         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72213         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72214         their values.
72215         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72216         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72217         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72218         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72220 2012-12-28  Andreas Jaeger  <aj@suse.de>
72222         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
72223         values are from Linux 3.7.
72225         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72226         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
72228 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72230         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72231         TRUE case.
72233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72234         (norm): Likewise.
72235         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72236         variables with preprocessor constants.
72237         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72238         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72239         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72241 2012-12-27  Bruno Haible  <bruno@clisp.org>
72243         [BZ #14317]
72244         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72245         only if needed.
72247 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72250         and use variable directly.
72251         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72253         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72254         MPONE.
72255         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72257         variable MPONE.
72258         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72260         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72261         include directive.  Remove local variable MPONE.
72262         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72263         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72264         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72266 2012-12-25  David S. Miller  <davem@davemloft.net>
72268         * version.h (RELEASE): Set to "development".
72269         (VERSION): Set to "2.17.90".
72270         * NEWS: Add 2.18 section.
72272 2012-12-21  David S. Miller  <davem@davemloft.net>
72274         * po/hr.po: Update from translation team.
72276 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72278         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72280 2012-12-19  Steve Ellcey  <sellcey@mips.com>
72282         * NEWS:  Mention new memcpy for MIPS.
72284 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72286         * manual/contrib.texi (Contributors): Spelling correction.
72288 2012-12-15  David S. Miller  <davem@davemloft.net>
72290         * po/ru.po: Update from translation team.
72292 2012-12-13  David S. Miller  <davem@davemloft.net>
72294         * NEWS: Mention IFUNC testsuite enhancements.
72296         * po/pl.po: Update from translation team.
72297         * po/bg.po: Likewise.
72299         * manual/contrib.texi (Contributors): Update entries for Hongjiu
72300         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
72302 2012-12-11  David S. Miller  <davem@davemloft.net>
72304         * po/sv.po: Update from translation team.
72306         * po/vi.po: Update from translation team.
72308         * po/cs.po: Update from translation team.
72310         * po/de.po: Update from translation team.
72311         * po/eo.po: Likewise.
72312         * po/nl.po: Likewise.
72314 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
72316         [BZ #14246]
72317         * manual/argp.texi (Argp Helper Functions): Move node to follow
72318         Argp Parsing State.
72320         [BZ #14872]
72321         * manual/conf.texi (Limits on File System Capacity): Mention if
72322         terminating null is included in the max size.
72324 2012-12-10  Andreas Jaeger  <aj@suse.de>
72326         * po/cs.po: Update from translation team.
72328 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
72330         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72331         void pointer and cast to uintptr_t.
72332         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72333         path.
72334         * sysdeps/s390/s390-64/memcpy.S: Likewise.
72335         * sysdeps/s390/s390-64/memset.S: Likewise.
72337 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
72339         [BZ #14833]
72340         * menual/message.texi (Message Translation): Fix typos.
72341         (Helper programs for gettext): Likewise.
72343 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
72345         [BZ #14898]
72346         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72347         Change to -1.
72349 2012-12-07  David S. Miller  <davem@davemloft.net>
72351         * po/libc.pot: Update.
72353 2012-12-07  Richard Henderson  <rth@redhat.com>
72355         [BZ #10114]
72356         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72357         normal/normal case to before the switch.
72358         (_FP_DIV): Likewise.
72360 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
72361             Mike Frysinger  <vapier@gentoo.org>
72363         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72364         check for __NR_fadvise64_64.
72366 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
72368         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72369         0, not just to plain "0" as a statement.
72370         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72371         with cw.
72373 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
72375         * NEWS: Use sourceware.org in Bugzilla URL.
72377 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72380         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72382         * stdio-common/tst-put-error.c (do_test): Add newline to the
72383         padded test to ensure flush.
72385 2012-12-05  Jeff Law  <law@redhat.com>
72387         * sunrpc/etc.rpc (fedfs_admin): Add entry.
72389 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
72391         * README: Don't refer to ports add-on as distributed separately.
72392         Mention AArch64 in list of systems supported in the ports add-on.
72394         * LICENSES: Add more non-FSF copyright and license notices.
72396         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72397         ((unused)).
72399         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72401         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
72402         10000 as width of padded output.
72404 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72406         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
72408         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72409         variable LX with __attribute__ ((unused)).
72410         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72411         Likewise.
72412         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72415         with __attribute__ ((unused)).
72417 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
72419         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72421 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72423         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72424         (CFLAGS-nldbl-acos.c): New variable.
72425         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72426         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72427         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72428         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72429         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72430         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72431         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72432         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72433         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72434         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72435         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72436         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72437         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72438         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72439         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72440         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72441         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72442         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72443         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72444         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72445         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72446         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72447         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72448         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72449         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72450         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72451         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72452         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72453         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72454         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72455         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72456         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72457         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72458         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72459         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72460         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72461         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72462         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72463         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72464         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72465         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72466         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72467         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72468         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72469         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72470         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72471         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72472         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72473         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72474         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72475         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72476         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72477         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72478         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72479         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72480         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72481         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72482         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72483         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72484         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72485         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72486         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72487         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72488         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72489         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72490         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72491         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72492         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72493         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72494         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72495         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72496         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72497         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72498         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72499         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72500         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72501         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72502         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72503         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72504         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72505         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72506         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72507         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72508         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72509         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72510         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72511         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72512         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72513         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72514         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72515         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72516         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72517         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72518         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72519         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72520         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72521         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72524         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72526         [BZ #14914]
72527         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72528         whole low double instead of just low 47 bits when splitting values
72529         into two parts.
72531 2012-12-03  Allan McRae  <allan@archlinux.org>
72533         * manual/stdio.texi (Predefined Printf Handlers): Remove
72534         @hsep and @vsep usage.
72536 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
72538         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72539         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72541 2012-12-03  Jeff Law  <law@redhat.com>
72543         * time/sys/time.h (settimeofday): Do not mark TV argument
72544         as __nonnull.
72546 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
72548         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72549         when currently writing and seek to current position when not.
72550         * libio/Makefile (tests): Remove bug-fclose1.
72551         * libio/bug-fclose1.c: Delete.
72553 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
72555         * manual/arith.texi (feenableexcept): Fix typo.
72556         (fedisableexcept): Likewise.
72558 2012-11-30  Roland McGrath  <roland@hack.frob.com>
72560         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72561         second, differently-typed declaration, rather than a cast.
72563 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72565         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72566         * include/rpc/svc.h: ... here.
72568 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
72570         [BZ #13013]
72571         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72572         depending n and resplen2 to catch cases where answer
72573         equals answerp2.
72575 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
72577         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72578         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72580 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
72582         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72584 2012-11-29  Roland McGrath  <roland@hack.frob.com>
72586         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72588 2012-11-28  Jeff Law  <law@redhat.com>
72590         [BZ #13761]
72591         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72592         dataset_temporary.  Track alloca usage into alloca_used.
72593         If dataset is large allocate and release it via malloc/free.
72595 2012-06-04  Florian Weimer  <fweimer@redhat.com>
72597         [BZ #14197]
72598         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72600 2012-11-28  David S. Miller  <davem@davemloft.net>
72602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72604 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72606         [BZ #14803]
72607         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72608         of pi/2 rounded to nearest to 64 bits.
72609         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72610         nearest to 64 bits.
72611         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72612         bits.
72614 2012-11-28  Jeff Law <law@redhat.com>
72615             Martin Osvald <mosvald@redhat.com>
72617         [BZ #14889]
72618         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72619         * sunrpc/svc.c: Include time.h.
72620         (__svc_accept_failed): New function.
72621         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72622         any reason other than EINTR, call __svc_accept_failed.
72623         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72624         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72626 2012-11-28  Andreas Schwab  <schwab@suse.de>
72628         * scripts/abilist.awk: Also handle indirect functions in .opd
72629         section.
72631 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72633         [BZ #13881]
72634         * sysdeps/x86/fpu/powl_helper.c: New file.
72635         * sysdeps/x86/fpu/Makefile: Likewise.
72636         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72637         (p3): New object.
72638         (__ieee754_powl): Use __powl_helper for finite arguments except
72639         integer exponents below 8.
72640         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72641         (p3): New object.
72642         (__ieee754_powl): Use __powl_helper for finite arguments except
72643         integer exponents below 8.
72644         * math/libm-test.inc (pow_test): Add more tests and enable some
72645         previously disabled tests.
72646         * sysdeps/i386/fpu/libm-test-ulps: Update.
72647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72649 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72650             Carlos O'Donell  <carlos_odonell@mentor.com>
72652         * nss/makedb.c (is_prime): Assert that input is odd and greater
72653         than 4.  Note that fact in a comment too.
72654         (next_prime): Add 4 to input.
72656 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72658         [BZ #11741]
72659         * libio/Makefile (tests): Add test case tst-fwrite-error.
72660         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72661         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72662         * libio/tst-fwrite-error.c: New test case.
72664 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72666         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72667         before casting to void *.
72668         * include/libc-internal.h (__pointer_type): New macro.
72669         (__integer_if_pointer_type_sub): Likewise.
72670         (__integer_if_pointer_type): Likewise.
72671         (cast_to_integer): Likewise.
72672         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72673         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72674         before casting to atomic64_t.
72675         (atomic_exchange_acq): Likewise.
72676         (__arch_exchange_and_add_body): Likewise.
72677         (__arch_add_body): Likewise.
72678         (atomic_add_negative): Likewise.
72679         (atomic_add_zero): Likewise.
72681 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72683         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72684         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72685         (add_fdes): Likewise.
72686         (linear_search_fdes): Likewise.
72687         (binary_search_unencoded_fdes): Likewise.
72689 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72691         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72693 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72695         * configure.in: Autodetect C++ header directories.
72696         * configure: Regenerated.
72698 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72700         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72702 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72706 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72708         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72709         LDBL_MANT_DIG == 106]: Disable some tests.
72710         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72711         Likewise.
72712         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72713         Likewise.
72715         [BZ #14871]
72716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72717         input for small inputs.  Return +/- pi/2 for large inputs.
72718         * math/libm-test.inc (atan_test): Add more tests.
72720         * sysdeps/generic/unwind-dw2-fde-glibc.c
72721         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72722         __attribute__ ((unused)).
72724         [BZ #14645]
72725         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72726         x * y if x and y are nonzero and z is zero.
72728         [BZ #14811]
72729         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72730         nonzero exponents with absolute value below 0x1p-117 to +/-
72731         0x1p-117.
72733         [BZ #14869]
72734         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72735         up arguments below 2**-450, not just those below 2**-500.
72736         * math/libm-test.inc (hypot_test): Add another test.
72738         [BZ #14868]
72739         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72740         Return a+b for ratio over 2**120, not 2**60.
72741         * math/libm-test.inc (hypot_test): Add another test.
72743         * math/libm-test.inc (clog_test): Use
72744         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72745         (clog10_test): Likewise.
72747         [BZ #6778]
72748         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72750 2012-11-22  Andreas Schwab  <schwab@suse.de>
72752         * sysdeps/i386/fpu/libm-test-ulps: Update.
72754 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72756         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72757         printf output with newline.
72759 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72761         [BZ #14865]
72762         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72763         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72764         -z nodlopen, -z initfirst and -z execstack support.
72765         * configure: Regenerated.
72767         * elf/elf.h (DF_1_NODIRECT): New macro.
72768         (DF_1_IGNMULDEF): Likewise.
72769         (DF_1_NOKSYMS): Likewise.
72770         (DF_1_NOHDR): Likewise.
72771         (DF_1_EDITED): Likewise.
72772         (DF_1_NORELOC): Likewise.
72773         (DF_1_SYMINTPOSE): Likewise.
72774         (DF_1_GLOBAUDIT): Likewise.
72775         (DF_1_SINGLETON): Likewise.
72776         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72777         DT_1_SUPPORTED_MASK bits.
72778         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72780 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72782         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72784 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72786         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72787         macro.
72789         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72790         (sendmmsg): Move declarations...
72791         * socket/sys/socket.h: ... here.
72792         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72793         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72794         include it from...
72795         * socket/recvmmsg.c: ... this new file.
72796         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72797         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72798         definition of __sendmmsg hidden.
72799         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72800         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72801         Move ENOSYS stub into and include it from...
72802         * socket/sendmmsg.c: ... this new file.
72803         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72804         (sysdep_routines): Move recvmmsg and sendmmsg...
72805         * socket/Makefile (routines): ... here.
72806         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72807         (GLIBC_PRIVATE): Add __sendmmsg.
72808         * include/sys/socket.h (__sendmmsg): Add declarations.
72809         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72810         sendmmsg.
72812 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72815         variable I1 with __attribute__ ((unused)).
72816         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72818 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72820         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72821         DUMMY variables with __attribute__ ((unused)).
72823         * bits/byteswap.h: Include <bits/types.h>.
72824         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72826 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72828         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72829         string_t.  Do not manually set errno.
72830         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72831         length with __strnlen.  Make sure to both set errno and return it on
72832         failure.
72834 2012-11-19  David S. Miller  <davem@davemloft.net>
72836         With help from Joseph Myers.
72837         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72838         very large arguments properly.
72839         * math/libm-test.inc (atan_test): New tests.
72840         (atan2_test): New tests.
72841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72844 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72846         [BZ #14856]
72847         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72848         Define to 3.
72850         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72851         [POSIX] (EADDRNOTAVAIL): Likewise.
72852         [POSIX] (EAFNOSUPPORT): Likewise.
72853         [POSIX] (EALREADY): Likewise.
72854         [POSIX] (ECONNABORTED): Likewise.
72855         [POSIX] (ECONNREFUSED): Likewise.
72856         [POSIX] (ECONNRESET): Likewise.
72857         [POSIX] (EDESTADDRREQ): Likewise.
72858         [POSIX] (EDQUOT): Likewise.
72859         [POSIX] (EHOSTUNREACH): Likewise.
72860         [POSIX] (EIDRM): Likewise.
72861         [POSIX] (EISCONN): Likewise.
72862         [POSIX] (ELOOP): Likewise.
72863         [POSIX] (EMULTIHOP): Likewise.
72864         [POSIX] (ENETDOWN): Likewise.
72865         [POSIX] (ENETUNREACH): Likewise.
72866         [POSIX] (ENOBUFS): Likewise.
72867         [POSIX] (ENODATA): Likewise.
72868         [POSIX] (ENOLINK): Likewise.
72869         [POSIX] (ENOMSG): Likewise.
72870         [POSIX] (ENOPROTOOPT): Likewise.
72871         [POSIX] (ENOSR): Likewise.
72872         [POSIX] (ENOSTR): Likewise.
72873         [POSIX] (ENOTCONN): Likewise.
72874         [POSIX] (ENOTSOCK): Likewise.
72875         [POSIX] (EOPNOTSUPP): Likewise.
72876         [POSIX] (EOVERFLOW): Likewise.
72877         [POSIX] (EPROTO): Likewise.
72878         [POSIX] (EPROTONOSUPPORT): Likewise.
72879         [POSIX] (EPROTOTYPE): Likewise.
72880         [POSIX] (ESTALE): Likewise.
72881         [POSIX] (ETIME): Likewise.
72882         [POSIX] (ETXTBSY): Likewise.
72883         [POSIX] (EWOULDBLOCK): Likewise.
72884         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72885         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72886         [POSIX] (SEEK_CUR): Likewise.
72887         [POSIX] (SEEK_END): Likewise.
72888         [POSIX || UNIX98] (mode_t): Do not require.
72889         [POSIX] (off_t): Likewise.
72890         [POSIX] (pid_t): Likewise.
72891         [POSIX] (sys/stat.h): Do not allow header.
72892         [POSIX] (unistd.h): Likewise.
72893         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72894         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72895         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72896         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72897         require.
72898         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72899         sigevent): Specify elements.
72900         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72901         entry.
72902         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72903         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72905         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72906         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72907         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72908         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72909         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72910         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72911         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72912         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72913         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72914         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72915         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72916         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72917         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72919         Likewise.
72920         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72921         Likewise.
72922         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72923         Likewise.
72924         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72925         Likewise.
72926         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72927         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72928         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72929         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72930         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72931         Specify lower bound on value.
72932         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72933         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72934         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72935         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72936         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72937         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72938         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72939         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72940         value.
72941         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72942         as optional.
72943         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72944         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72945         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72946         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72947         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72948         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72949         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72950         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72951         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72952         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72953         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72954         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72955         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72956         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72957         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72958         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72959         entry.
72960         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72961         optional.
72962         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72963         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72964         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72965         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72966         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72967         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72968         Likewise.
72969         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72970         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72971         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72972         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72973         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72974         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72976         as optional.
72977         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72978         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72979         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72980         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72981         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72982         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72983         specify as optional.
72984         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72985         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72986         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72987         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72988         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72989         [XPG3] (NL_LANGMAX): Likewise.
72990         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72991         [POSIX || XPG3] (NL_NMAX): Likewise.
72992         [POSIX || XPG3] (NL_SETMAX): Likewise.
72993         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72994         [XPG3] (NZERO): Likewise.
72995         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72996         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72997         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72998         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72999         (REG_ERANGE): Expect.
73000         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73001         optional-constant.
73002         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73003         Use (void) in prototype.
73004         [POSIX] (*_t): Allow.
73005         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73006         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73007         (WRDE_BADVAL): Expect.
73009         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73010         expect.
73011         [XPG3 || XPG4] (O_RSYNC): Likewise.
73012         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73013         Likewise.
73014         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73015         [XPG3 || XPG4] (sigqueue): Likewise.
73016         [XPG3 || XPG4] (sigtimedwait): Likewise.
73017         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73018         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73019         [XPG3 || XPG4] (vsnprintf): Likewise.
73020         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73021         Likewise.
73022         [XPG3 || XPG4] (blksize_t): Likewise.
73023         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73024         Likewise.
73025         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73026         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73027         [XPG3 || XPG4] (struct itimerspec): Likewise.
73028         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73029         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73030         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73031         [XPG3 || XPG4] (clockid_t): Likewise.
73032         [XPG3 || XPG4] (timer_t): Likewise.
73033         [XPG3 || XPG4] (clock_getres): Likewise.
73034         [XPG3 || XPG4] (clock_gettime): Likewise.
73035         [XPG3 || XPG4] (clock_settime): Likewise.
73036         [XPG3 || XPG4] (nanosleep): Likewise.
73037         [XPG3 || XPG4] (timer_create): Likewise.
73038         [XPG3 || XPG4] (timer_delete): Likewise.
73039         [XPG3 || XPG4] (timer_gettime): Likewise.
73040         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73041         [XPG3 || XPG4] (timer_settime): Likewise.
73042         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73043         [XPG3 || XPG4] (getlogin_r): Likewise.
73044         [XPG3 || XPG4] (pread): Likewise.
73045         [XPG3 || XPG4] (pthread_atfork): Likewise.
73046         [XPG3 || XPG4] (pwrite): Likewise.
73048         [BZ #14835]
73049         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73050         <bits/siginfo.h>.
73052 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73054         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73055         finalizing MALLSTREAM.
73057         * sysdeps/mach/hurd/syncfs.c: New file.
73059 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73061         [BZ #14719]
73062         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73063         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73064         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73065         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73066         (_nss_dns_gethostbyname4_r): Likewise.
73067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73068         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73070 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73072         [BZ #13763]
73073         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73075 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73077         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73078         * elf/cache.c (print_entry): Print ",AArch64" for
73079         FLAG_AARCH64_LIB64
73081         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73082         * elf/cache.c (print_entry): Print ",hard-float" for
73083         FLAG_ARM_LIBHF.
73085 2012-11-18  David S. Miller  <davem@davemloft.net>
73087         With help from Joseph Myers.
73088         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73089         cutoff to 2**-13.
73090         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73091         cutoff to 2**-25.
73092         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73093         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73094         small.
73095         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73096         * math/libm-test.inc (y0_test): New tests.
73097         (y1_test): New tests.
73098         * sysdeps/i386/fpu/libm-test-ulps: Update.
73099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73102 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73104         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73105         64-bit targets.
73106         * configure: Regenerated.
73108 2012-11-17  David S. Miller  <davem@davemloft.net>
73110         [BZ #14811]
73111         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73112         nonzero exponents with absolute value below 0x1p-128 to +/-
73113         0x1p-128.
73115 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
73117         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73119         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73121         * posix/getconf-speclist.c: New file.
73122         * posix/posix-envs.def: Likewise.
73123         * posix/confstr.c (START_ENV_GROUP): New macro.
73124         (END_ENV_GROUP): Likewise.
73125         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73126         (KNOWN_PRESENT_ENV_STRING): Likewise.
73127         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73128         (UNKNOWN_ENVIRONMENT): Likewise.
73129         (confstr): Include posix-envs.def instead of handling
73130         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73131         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73132         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73133         (END_ENV_GROUP): Likewise.
73134         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73135         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73136         (UNKNOWN_ENVIRONMENT): Likewise.
73137         (__sysconf): Include posix-envs.def instead of handling associated
73138         cases directly here.
73139         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73140         preprocessing getconf-speclist.c rather than running getconf or
73141         generating empty file.
73143 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
73145         * scripts/check-local-headers.sh: Ignore 'mach' headers.
73147 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
73149         [BZ #14672]
73150         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73152 2012-11-16  David S. Miller  <davem@davemloft.net>
73154         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73155         smaller than LDBL_EPSILON/2.0L, just return xm1.
73157 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
73159         * elf/tst-array1.c (init): Set constructor priority to 1000.
73160         (fini): Set destructor priority to 1000.
73161         * elf/tst-array2dep.c: Likewise.
73163 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73165         [BZ #11741]
73166         * libio/fileops.c (_IO_new_file_write): Correctly return error.
73167         (_IO_new_file_xsputn): Also return EOF if none of the input
73168         data was written when overflow failed.
73169         * libio/iopadn.c (_IO_padn): Likewise.
73170         * libio/iowpadn.c (_IO_wpadn): Likewise.
73171         * stdio-common/tst-put-error.c: Add copyright notice.
73172         (do_test): Add case for printing padded string.
73173         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73174         _IO_padn returned error.
73175         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73176         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73177         return EOF.
73179 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73181         * libio/libioP.h: Add comment note that the references to C++
73182         bits are now obsolete.
73184 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73186         * math/libm-test.inc (check_complex): Use asprintf.
73188 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
73190         * debug/pcprofiledump.c (print_version): Update copyright year.
73191         * malloc/memusagestat.c (print_version): Likewise.
73193 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73195         [BZ #14831]
73196         * elf/Makefile (tests): Add tst-audit8.
73197         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73198         ($(objpfx)tst-audit8.out): New target.
73199         (tst-audit8-ENV): New variable.
73200         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73201         audit if l_reloc_result is NULL.
73202         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73203         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73204         * elf/tst-audit8.c: New file.
73206 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73208         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73209         * misc/Makefile (CFLAGS-select.c): Define.
73210         * posix/Makefile (CFLAGS-pause.c): Define.
73212 2012-11-13  David S. Miller  <davem@davemloft.net>
73214         * crypt/Makefile: Move test targets after toplevel Rules
73215         inclusion.  Grab any necessary sysdep routines when linking.
73216         * crypt/md5.c (md5_process_block): Remove define, we will always
73217         name it __md5_process_block.
73218         (md5_finish_ctx): Update md5_process_block call.
73219         (md5_stream): Likewise.
73220         (md5_process_bytes): Likewise.
73221         (md5_process_block): Rename to __md5_process_block and move to ...
73222         * crypt/md5-block.c: ... here.
73223         * crypt/sha256.c (sha256_process_block): Move to ...
73224         * crypt/sha256-block.c: ... here.
73225         * crypt/sha512.c (sha512_process_block): Move to ...
73226         * crypt/sha512-block.c: ... here.
73227         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73228         path.
73229         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73230         * sysdeps/sparc/sparc64/multiarch/Makefile
73231         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73232         crypt subdir.
73233         (localedef-aux): Add md5 crypto assembler when in locale subdir.
73234         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73235         multiarch changes.
73236         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73237         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73238         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73239         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73240         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73241         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73242         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73243         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73244         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73245         file.
73246         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73247         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73248         file.
73249         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73251 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
73253         * timezone/tzselect.ksh: Update from tzcode git revision
73254         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73255         * timezone/zdump.c: Likewise.
73256         * timezone/zic.c: Likewise.
73257         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73258         in TZVERSION setting, not $(PKGVERSION).
73259         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
73260         REPORT_BUGS_TO settings.
73262         [BZ #14838]
73263         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73264         macro.
73266 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73268         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73269         detection to immediately after _FP_ROUND().
73270         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73271         bits are 0.
73273 2012-11-11  David S. Miller  <davem@davemloft.net>
73275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73276         inttypes.h
73277         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73278         __close rather than their public counterparts.
73280 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
73282         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73283         file.
73284         [UNIX98] (sem_timedwait): Do not expect.
73285         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73286         [XPG4 || UNIX98] (sockatmark): Do not expect.
73287         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73288         (clock_getcpuclockid): Do not expect.
73289         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73290         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73291         Do not expect.
73292         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73293         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73294         [UNIX98] (vwscanf): Likewise.
73295         [UNIX98] (vswscanf): Likewise.
73297 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
73299         * timezone/version.h: Remove file.
73300         * timezone/README: Do not refer to version.h.
73301         * timezone/Makefile ($(objpfx)zic.o): New dependency on
73302         $(objpfx)version.h.
73303         ($(objpfx)zdump.o): Likewise.
73304         ($(objpfx)version.h): New target.
73306         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73307         2012i.
73308         * timezone/README: Don't mention modification to tzselect.ksh.
73309         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73310         work on unmodified tzselect.ksh.  Substitute version numbers in
73311         tzselect.ksh.
73313         * Makefile (format-me): Remove.
73314         (INSTALL): Adjust indentation.  Use commands directly instead of
73315         using $(format-me).
73317         * aclocal.m4 (ACX_PKGVERSION): New macro.
73318         (ACX_BUGURL): Likewise.
73319         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73320         (PKGVERSION): New AC_DEFINE_UNQUOTED.
73321         (REPORT_BUGS_TO): Likewise.
73322         * configure: Regenerated.
73323         * config.h.in (PKGVERSION): New macro.
73324         (REPORT_BUGS_TO): Likewise.
73325         * config.make.in (PKGVERSION): New variable.
73326         (PKGVERSION_TEXI): Likewise.
73327         (REPORT_BUGS_TO): Likewise.
73328         (REPORT_BUGS_TEXI): Likewise.
73329         * Makefile (format-me): Use -I$(common-objpfx)manual.
73330         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73331         ($(common-objpfx)manual/%): New target.
73332         (manual/%): Remove target.
73333         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73334         (print_version): Use PKGVERSION.
73335         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73336         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73337         and REPORT_BUGS_TO.
73338         ($(objpfx)xtrace): Likewise.
73339         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73340         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73341         (print_version): Use PKGVERSION.
73342         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73343         (do_version): Use PKGVERSION.
73344         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73345         REPORT_BUGS_TO.
73346         (common-ldd-rewrite): Likewise.
73347         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73348         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73349         (print_version): Use PKGVERSION.
73350         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73351         * elf/pldd.c (argp_program_bug_address): Remove variable.
73352         (more_help): New function.
73353         (argp): Use more_help.
73354         (print_version): Use PKGVERSION.
73355         * elf/sln.c (main): Use PKGVERSION.
73356         (usage): Use REPORT_BUGS_TO.
73357         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73358         (top level): Use PKGVERSION.
73359         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73360         (print_version): Use PKGVERSION.
73361         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73362         (print_version): Use PKGVERSION.
73363         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73364         (print_version): Use PKGVERSION.
73365         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73366         (print_version): Use PKGVERSION.
73367         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73368         (print_version): Use PKGVERSION.
73369         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73370         (print_version): Use PKGVERSION.
73371         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73372         and BUGURL.
73373         ($(objpfx)memusage): Likewise.
73374         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73375         (do_version): Use PKGVERSION.
73376         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73377         (print_version): Use PKGVERSION.
73378         * malloc/mtrace.pl ($PACKAGE): Remove variable.
73379         ($PKGVERSION): New variable.
73380         ($REPORT_BUGS_TO): Likewise.
73381         (usage): Use $REPORT_BUGS_TO.
73382         (top level): Use $PKGVERSION.
73383         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73384         ($(objpfx)pkgvers.texi): New rule.
73385         ($(objpfx)stamp-pkgvers): Likewise.
73386         * manual/install.texi: Include pkgvers.texi.
73387         (--with-pkgversion): Document new configure option.
73388         (--with-bugurl): Likewise.
73389         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73390         than necessarily for this particular distribution.  Use
73391         REPORT_BUGS_TO for where to report bugs.
73392         * INSTALL: Regenerated.
73393         * manual/libc.texinfo: Include pkgvers.texi.
73394         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73395         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73396         (print_version): Use PKGVERSION.
73397         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73398         (print_version): Use PKGVERSION.
73399         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
73400         (print_version): Use PKGVERSION.
73401         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
73402         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
73403         macro.
73404         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
73405         (print_version): Use PKGVERSION.
73406         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
73407         (print_version): Use PKGVERSION.
73408         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
73409         and PKGVERSION.
73411         * timezone/checktab.awk: Update from tzcode 2012i.
73412         * timezone/ialloc.c: Likewise.
73413         * timezone/private.h: Likewise.
73414         * timezone/scheck.c: Likewise.
73415         * timezone/tzfile.h: Likewise.
73416         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73417         (TZVERSION): Hardcode tzcode version number.
73418         * timezone/zdump.c: Update from tzcode 2012i.
73419         * timezone/zic.c: Likewise.
73420         * timezone/version.h: New file.
73421         * timezone/README: Describe version.h.  Update upstream location.
73423         [BZ #14824]
73424         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73425         (mktemp): Enable declaration.
73426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73430         Likewise.
73431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73432         Likewise.
73433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73434         Likewise.
73435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73436         Likewise.
73437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73438         Likewise.
73439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73440         Likewise.
73442         [BZ #14821]
73443         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73444         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
73445         for copies of such integer values.
73446         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73447         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73449 2012-11-09  Andreas Jaeger  <aj@suse.de>
73451         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73452         definitions and declarations that are provided by
73453         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73455 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73457         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73458         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73459         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73460         definition.
73462 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73464         * elf/elf.h: Update comment before AArch64 relocations.
73466 2012-11-07  David S. Miller  <davem@davemloft.net>
73468         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73469         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73470         (__start_context): Declare.
73471         (__makecontext_ret): Delete.
73472         (__makecontext): Hook up __start_context instead of
73473         __makecontext_ret.
73474         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73475         (sysdep_routines): Add __start_context when in stdlib.
73477 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73479         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73480         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73481         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
73482         hardcoded "nm".
73483         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
73484         (READELF): New variable.  Use it instead of hardcoded "readelf".
73486 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73488         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73489         * sysdeps/x86/Makefile: Here.
73490         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73491         * sysdeps/x86/tst-xmmymm.sh: This.
73493 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73495         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73496         expectations.
73497         [UNIX98] (pthread_barrier_t): Do not expect.
73498         [UNIX98] (pthread_barrierattr_t): Likewise.
73499         [UNIX98] (pthread_spinlock_t): Likewise.
73500         [UNIX98] (pthread_barrier_destroy): Likewise.
73501         [UNIX98] (pthread_barrier_init): Likewise.
73502         [UNIX98] (pthread_barrier_wait): Likewise.
73503         [UNIX98] (pthread_barrierattr_destroy): Likewise.
73504         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73505         [UNIX98] (pthread_barrierattr_init): Likewise.
73506         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73507         [UNIX98] (pthread_getcpuclockid): Likewise.
73508         [UNIX98] (pthread_mutex_timedlock): Likewise.
73509         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73510         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73511         [UNIX98] (pthread_sigmask): Likewise.
73512         [UNIX98] (pthread_spin_destroy): Likewise.
73513         [UNIX98] (pthread_spin_init): Likewise.
73514         [UNIX98] (pthread_spin_lock): Likewise.
73515         [UNIX98] (pthread_spin_trylock): Likewise.
73516         [UNIX98] (pthread_spin_unlock): Likewise.
73517         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73518         Do not expect.
73519         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73520         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73521         [XPG3 || XPG4] (pthread_cond_t): Likewise.
73522         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73523         [XPG3 || XPG4] (pthread_key_t): Likewise.
73524         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73525         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73526         [XPG3 || XPG4] (pthread_once_t): Likewise.
73527         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73528         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73529         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73530         [XPG3 || XPG4] (pthread_t): Likewise.
73532         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73533         not expect.
73534         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73536         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73537         Change function return type to int.
73539         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73540         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73541         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73542         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73543         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73544         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73545         [!POSIX] (posix_madvise): Likewise.
73546         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73547         && !UNIX98].
73548         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73549         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73550         (mode_t): Likewise.
73551         (posix_mem_offset): Likewise.
73552         (posix_typed_mem_get_info): Likewise.
73553         (posix_typed_mem_open): Likewise.
73555         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73556         Change condition to [XOPEN2K8].
73558         * conform/conformtest.pl: Preprocess allow-header data with -x c
73559         instead of from stdin.
73560         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73561         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73562         [C99-based standards] (cerfc): Likewise.
73563         [C99-based standards] (cexp2): Likewise.
73564         [C99-based standards] (cexpm1): Likewise.
73565         [C99-based standards] (clog10): Likewise.
73566         [C99-based standards] (clog1p): Likewise.
73567         [C99-based standards] (clog2): Likewise.
73568         [C99-based standards] (clgamma): Likewise.
73569         [C99-based standards] (ctgamma): Likewise.
73570         [C99-based standards] (cerff): Likewise.
73571         [C99-based standards] (cerfcf): Likewise.
73572         [C99-based standards] (cexp2f): Likewise.
73573         [C99-based standards] (cexpm1f): Likewise.
73574         [C99-based standards] (clog10f): Likewise.
73575         [C99-based standards] (clog1pf): Likewise.
73576         [C99-based standards] (clog2f): Likewise.
73577         [C99-based standards] (clgammaf): Likewise.
73578         [C99-based standards] (ctgammaf): Likewise.
73579         [C99-based standards] (cerfl): Likewise.
73580         [C99-based standards] (cerfcl): Likewise.
73581         [C99-based standards] (cexp2l): Likewise.
73582         [C99-based standards] (cexpm1l): Likewise.
73583         [C99-based standards] (clog10l): Likewise.
73584         [C99-based standards] (clog1pl): Likewise.
73585         [C99-based standards] (clog2l): Likewise.
73586         [C99-based standards] (clgammal): Likewise.
73587         [C99-based standards] (ctgammal): Likewise.
73588         * conform/data/inttypes.h-data [C99-based standards]: Include
73589         stdint.h-data.  Remove all expectations for stdint.h contents.
73590         [C99-based standards] (PRI*): Do not allow.
73591         [C99-based standards] (SCN*): Likewise.
73592         [C99-based standards] (*_t): Likewise.
73593         [C99-based-standards] (PRId8): Expect macro.
73594         [C99-based-standards] (PRIi8): Likewise.
73595         [C99-based-standards] (PRIo8): Likewise.
73596         [C99-based-standards] (PRIu8): Likewise.
73597         [C99-based-standards] (PRIx8): Likewise.
73598         [C99-based-standards] (PRIX8): Likewise.
73599         [C99-based-standards] (SCNd8): Likewise.
73600         [C99-based-standards] (SCNi8): Likewise.
73601         [C99-based-standards] (SCNo8): Likewise.
73602         [C99-based-standards] (SCNu8): Likewise.
73603         [C99-based-standards] (SCNx8): Likewise.
73604         [C99-based-standards] (PRIdLEAST8): Likewise.
73605         [C99-based-standards] (PRIiLEAST8): Likewise.
73606         [C99-based-standards] (PRIoLEAST8): Likewise.
73607         [C99-based-standards] (PRIuLEAST8): Likewise.
73608         [C99-based-standards] (PRIxLEAST8): Likewise.
73609         [C99-based-standards] (PRIXLEAST8): Likewise.
73610         [C99-based-standards] (SCNdLEAST8): Likewise.
73611         [C99-based-standards] (SCNiLEAST8): Likewise.
73612         [C99-based-standards] (SCNoLEAST8): Likewise.
73613         [C99-based-standards] (SCNuLEAST8): Likewise.
73614         [C99-based-standards] (SCNxLEAST8): Likewise.
73615         [C99-based-standards] (PRIdFAST8): Likewise.
73616         [C99-based-standards] (PRIiFAST8): Likewise.
73617         [C99-based-standards] (PRIoFAST8): Likewise.
73618         [C99-based-standards] (PRIuFAST8): Likewise.
73619         [C99-based-standards] (PRIxFAST8): Likewise.
73620         [C99-based-standards] (PRIXFAST8): Likewise.
73621         [C99-based-standards] (SCNdFAST8): Likewise.
73622         [C99-based-standards] (SCNiFAST8): Likewise.
73623         [C99-based-standards] (SCNoFAST8): Likewise.
73624         [C99-based-standards] (SCNuFAST8): Likewise.
73625         [C99-based-standards] (SCNxFAST8): Likewise.
73626         [C99-based-standards] (PRId16): Likewise.
73627         [C99-based-standards] (PRIi16): Likewise.
73628         [C99-based-standards] (PRIo16): Likewise.
73629         [C99-based-standards] (PRIu16): Likewise.
73630         [C99-based-standards] (PRIx16): Likewise.
73631         [C99-based-standards] (PRIX16): Likewise.
73632         [C99-based-standards] (SCNd16): Likewise.
73633         [C99-based-standards] (SCNi16): Likewise.
73634         [C99-based-standards] (SCNo16): Likewise.
73635         [C99-based-standards] (SCNu16): Likewise.
73636         [C99-based-standards] (SCNx16): Likewise.
73637         [C99-based-standards] (PRIdLEAST16): Likewise.
73638         [C99-based-standards] (PRIiLEAST16): Likewise.
73639         [C99-based-standards] (PRIoLEAST16): Likewise.
73640         [C99-based-standards] (PRIuLEAST16): Likewise.
73641         [C99-based-standards] (PRIxLEAST16): Likewise.
73642         [C99-based-standards] (PRIXLEAST16): Likewise.
73643         [C99-based-standards] (SCNdLEAST16): Likewise.
73644         [C99-based-standards] (SCNiLEAST16): Likewise.
73645         [C99-based-standards] (SCNoLEAST16): Likewise.
73646         [C99-based-standards] (SCNuLEAST16): Likewise.
73647         [C99-based-standards] (SCNxLEAST16): Likewise.
73648         [C99-based-standards] (PRIdFAST16): Likewise.
73649         [C99-based-standards] (PRIiFAST16): Likewise.
73650         [C99-based-standards] (PRIoFAST16): Likewise.
73651         [C99-based-standards] (PRIuFAST16): Likewise.
73652         [C99-based-standards] (PRIxFAST16): Likewise.
73653         [C99-based-standards] (PRIXFAST16): Likewise.
73654         [C99-based-standards] (SCNdFAST16): Likewise.
73655         [C99-based-standards] (SCNiFAST16): Likewise.
73656         [C99-based-standards] (SCNoFAST16): Likewise.
73657         [C99-based-standards] (SCNuFAST16): Likewise.
73658         [C99-based-standards] (SCNxFAST16): Likewise.
73659         [C99-based-standards] (PRId32): Likewise.
73660         [C99-based-standards] (PRIi32): Likewise.
73661         [C99-based-standards] (PRIo32): Likewise.
73662         [C99-based-standards] (PRIu32): Likewise.
73663         [C99-based-standards] (PRIx32): Likewise.
73664         [C99-based-standards] (PRIX32): Likewise.
73665         [C99-based-standards] (SCNd32): Likewise.
73666         [C99-based-standards] (SCNi32): Likewise.
73667         [C99-based-standards] (SCNo32): Likewise.
73668         [C99-based-standards] (SCNu32): Likewise.
73669         [C99-based-standards] (SCNx32): Likewise.
73670         [C99-based-standards] (PRIdLEAST32): Likewise.
73671         [C99-based-standards] (PRIiLEAST32): Likewise.
73672         [C99-based-standards] (PRIoLEAST32): Likewise.
73673         [C99-based-standards] (PRIuLEAST32): Likewise.
73674         [C99-based-standards] (PRIxLEAST32): Likewise.
73675         [C99-based-standards] (PRIXLEAST32): Likewise.
73676         [C99-based-standards] (SCNdLEAST32): Likewise.
73677         [C99-based-standards] (SCNiLEAST32): Likewise.
73678         [C99-based-standards] (SCNoLEAST32): Likewise.
73679         [C99-based-standards] (SCNuLEAST32): Likewise.
73680         [C99-based-standards] (SCNxLEAST32): Likewise.
73681         [C99-based-standards] (PRIdFAST32): Likewise.
73682         [C99-based-standards] (PRIiFAST32): Likewise.
73683         [C99-based-standards] (PRIoFAST32): Likewise.
73684         [C99-based-standards] (PRIuFAST32): Likewise.
73685         [C99-based-standards] (PRIxFAST32): Likewise.
73686         [C99-based-standards] (PRIXFAST32): Likewise.
73687         [C99-based-standards] (SCNdFAST32): Likewise.
73688         [C99-based-standards] (SCNiFAST32): Likewise.
73689         [C99-based-standards] (SCNoFAST32): Likewise.
73690         [C99-based-standards] (SCNuFAST32): Likewise.
73691         [C99-based-standards] (SCNxFAST32): Likewise.
73692         [C99-based-standards] (PRId64): Likewise.
73693         [C99-based-standards] (PRIi64): Likewise.
73694         [C99-based-standards] (PRIo64): Likewise.
73695         [C99-based-standards] (PRIu64): Likewise.
73696         [C99-based-standards] (PRIx64): Likewise.
73697         [C99-based-standards] (PRIX64): Likewise.
73698         [C99-based-standards] (SCNd64): Likewise.
73699         [C99-based-standards] (SCNi64): Likewise.
73700         [C99-based-standards] (SCNo64): Likewise.
73701         [C99-based-standards] (SCNu64): Likewise.
73702         [C99-based-standards] (SCNx64): Likewise.
73703         [C99-based-standards] (PRIdLEAST64): Likewise.
73704         [C99-based-standards] (PRIiLEAST64): Likewise.
73705         [C99-based-standards] (PRIoLEAST64): Likewise.
73706         [C99-based-standards] (PRIuLEAST64): Likewise.
73707         [C99-based-standards] (PRIxLEAST64): Likewise.
73708         [C99-based-standards] (PRIXLEAST64): Likewise.
73709         [C99-based-standards] (SCNdLEAST64): Likewise.
73710         [C99-based-standards] (SCNiLEAST64): Likewise.
73711         [C99-based-standards] (SCNoLEAST64): Likewise.
73712         [C99-based-standards] (SCNuLEAST64): Likewise.
73713         [C99-based-standards] (SCNxLEAST64): Likewise.
73714         [C99-based-standards] (PRIdFAST64): Likewise.
73715         [C99-based-standards] (PRIiFAST64): Likewise.
73716         [C99-based-standards] (PRIoFAST64): Likewise.
73717         [C99-based-standards] (PRIuFAST64): Likewise.
73718         [C99-based-standards] (PRIxFAST64): Likewise.
73719         [C99-based-standards] (PRIXFAST64): Likewise.
73720         [C99-based-standards] (SCNdFAST64): Likewise.
73721         [C99-based-standards] (SCNiFAST64): Likewise.
73722         [C99-based-standards] (SCNoFAST64): Likewise.
73723         [C99-based-standards] (SCNuFAST64): Likewise.
73724         [C99-based-standards] (SCNxFAST64): Likewise.
73725         [C99-based-standards] (PRIdMAX): Likewise.
73726         [C99-based-standards] (PRIiMAX): Likewise.
73727         [C99-based-standards] (PRIoMAX): Likewise.
73728         [C99-based-standards] (PRIuMAX): Likewise.
73729         [C99-based-standards] (PRIxMAX): Likewise.
73730         [C99-based-standards] (PRIXMAX): Likewise.
73731         [C99-based-standards] (SCNdMAX): Likewise.
73732         [C99-based-standards] (SCNiMAX): Likewise.
73733         [C99-based-standards] (SCNoMAX): Likewise.
73734         [C99-based-standards] (SCNuMAX): Likewise.
73735         [C99-based-standards] (SCNxMAX): Likewise.
73736         [C99-based-standards] (PRIdPTR): Likewise.
73737         [C99-based-standards] (PRIiPTR): Likewise.
73738         [C99-based-standards] (PRIoPTR): Likewise.
73739         [C99-based-standards] (PRIuPTR): Likewise.
73740         [C99-based-standards] (PRIxPTR): Likewise.
73741         [C99-based-standards] (PRIXPTR): Likewise.
73742         [C99-based-standards] (SCNdPTR): Likewise.
73743         [C99-based-standards] (SCNiPTR): Likewise.
73744         [C99-based-standards] (SCNoPTR): Likewise.
73745         [C99-based-standards] (SCNuPTR): Likewise.
73746         [C99-based-standards] (SCNxPTR): Likewise.
73747         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73748         allow.
73749         * conform/data/stdint.h-data: Update comments to clarify
73750         requirements.
73751         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73752         type.
73753         [C99-based standards] (INT8_MAX): Likewise.
73754         [C99-based standards] (INT16_MIN): Likewise.
73755         [C99-based standards] (INT16_MAX): Likewise.
73756         [C99-based standards] (INT32_MIN): Likewise.
73757         [C99-based standards] (INT32_MAX): Likewise.
73758         [C99-based standards] (INT64_MIN): Likewise.
73759         [C99-based standards] (INT64_MAX): Likewise.
73760         [C99-based standards] (UINT8_MAX): Likewise.
73761         [C99-based standards] (UINT16_MAX): Likewise.
73762         [C99-based standards] (UINT32_MAX): Likewise.
73763         [C99-based standards] (UINT64_MAX): Likewise.
73764         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73765         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73766         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73767         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73768         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73769         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73770         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73771         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73772         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73773         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73774         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73775         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73776         [C99-based standards] (INT_FAST8_MIN): Likewise.
73777         [C99-based standards] (INT_FAST8_MAX): Likewise.
73778         [C99-based standards] (INT_FAST16_MIN): Likewise.
73779         [C99-based standards] (INT_FAST16_MAX): Likewise.
73780         [C99-based standards] (INT_FAST32_MIN): Likewise.
73781         [C99-based standards] (INT_FAST32_MAX): Likewise.
73782         [C99-based standards] (INT_FAST64_MIN): Likewise.
73783         [C99-based standards] (INT_FAST64_MAX): Likewise.
73784         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73785         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73786         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73787         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73788         [C99-based standards] (INTPTR_MIN): Likewise.
73789         [C99-based standards] (INTPTR_MAX): Likewise.
73790         [C99-based standards] (UINTPTR_MAX): Likewise.
73791         [C99-based standards] (INTMAX_MIN): Likewise.
73792         [C99-based standards] (INTMAX_MAX): Likewise.
73793         [C99-based standards] (UINTMAX_MAX): Likewise.
73794         [C99-based standards] (PTRDIFF_MIN): Likewise.
73795         [C99-based standards] (PTRDIFF_MAX): Likewise.
73796         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73797         [C99-based standards] (SIZE_MAX): Likewise.
73798         [C99-based standards] (WCHAR_MAX): Likewise.
73799         [C99-based standards] (WINT_MAX): Likewise.
73800         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73801         constraint on value.
73802         [C99-based standards] (WCHAR_MIN): Likewise.
73803         [C99-based standards] (WINT_MIN): Likewise.
73804         [C99-based standards] (*_t): Allow.
73805         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73806         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73807         Include math.h-data and complex.h-data.  Remove all expectations
73808         of math.h and complex.h contents.
73809         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73810         at end of line.
73811         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73812         (struct tm): Expect tag.
73813         [C99-based-standards] (wcstof): Expect function.
73814         [C99-based-standards] (wcstold): Likewise.
73815         [C99-based-standards] (wcstoll): Likewise.
73816         [C99-based-standards] (wcstoull): Likewise.
73817         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73818         macro-int-constant.  Specify type.
73819         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73820         constraint on value.
73821         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73822         Specify type.
73823         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73824         Specify value.
73825         [ISO C standards]: Do not allow headers.
73826         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73827         wcs[abcdefghijklmnopqrstuvwxyz]*.
73828         [ISO C standards] (*_t): Do not allow.
73829         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73830         Expect function.
73831         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73832         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73833         Specify type.
73834         [ISO C standards]: Do not allow headers.
73835         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73836         is[abcdefghijklmnopqrstuvwxyz]*.
73837         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73838         to[abcdefghijklmnopqrstuvwxyz]*.
73839         [ISO C standards] (*_t): Do not allow.
73840         * conform/data/stdalign.h-data: New file.
73841         * conform/data/stdbool.h-data: Likewise.
73842         * conform/data/stdnoreturn.h-data: Likewise.
73844 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73846         [BZ #14815]
73847         * manual/filesys.texi (Directory Entries): Typo fix.
73848         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73850 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73852         * elf/elf.h (EM_AARCH64): New macro.
73853         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73854         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73855         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73856         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73857         (R_AARCH64_TLSDESC): Likewise.
73858         (NT_ARM_TLS): Likewise.
73859         (NT_ARM_HW_BREAK): Likewise.
73860         (NT_ARM_HW_WATCH): Likewise.
73862 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73864         [BZ #14811]
73865         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73866         (__ieee754_powl): Saturate nonzero exponents with absolute value
73867         below 0x1p-79 to +/- 0x1p-79.
73868         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73869         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73870         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73871         nonzero exponents with absolute value below 0x1p-32 to +/-
73872         0x1p-32.
73873         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73874         (__ieee754_powl): Saturate nonzero exponents with absolute value
73875         below 0x1p-79 to +/- 0x1p-79.
73876         * math/libm-test.inc (pow_test): Add more tests.
73878 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73880         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73881         _dl_s390_cap_flags with kernel. Increase string length.
73882         (_dl_s390_platforms): Add z196 and zEC12.
73884 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73886         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73887         Change XOPEN21K to XOPEN2K.
73889 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73891         * string/memmove.c: Use memcpy when possible.
73893 2012-11-06  Andreas Jaeger  <aj@suse.de>
73895         * po/eo.po: Update from translation team.
73897 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73899         [BZ #14793]
73900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73901         exponent and small x and y exponents, scale x or y up.  Increase
73902         by 2 the exponent used in scaling up.
73903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73905         * math/libm-test.inc (fma_test): Add more tests.
73906         (fma_test_towardzero): Likewise.
73907         (fma_test_downward): Likewise.
73908         (fma_test_upward): Likewise.
73910 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73912         [BZ #14805]
73913         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73914         fenv_t *.
73916         [BZ #14801]
73917         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73918         namespace for names of struct fields.
73919         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73920         fenv_t fields.
73921         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73922         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73924 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73926         [BZ #3665]
73927         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73929 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73931         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73932         PTR_DEMANGLE.
73934         [BZ #5246]
73935         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73936         PTR_DEMANGLE.
73938 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73940         [BZ #14797]
73941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73942         definitely overflow as x * y not x * y + z.
73943         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73944         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73945         * math/libm-test.inc (fma_test): Add more tests.
73946         (fma_test_towardzero): Likewise.
73947         (fma_test_downward): Likewise.
73948         (fma_test_upward): Likewise.
73950 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73952         [BZ #157]
73954         * include/stub-tag.h: Remove file.
73955         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73956         '#include' of it.
73957         * manual/maint.texi (Porting): Don't reference it.
73958         * Makerules ($(objpfx)stubs): Likewise.
73959         * dirent/closedir.c: Don't include <stub-tag.h>.
73960         * dirent/dirfd.c: Likewise.
73961         * dirent/fdopendir.c: Likewise.
73962         * dirent/getdents.c: Likewise.
73963         * dirent/getdents64.c: Likewise.
73964         * dirent/opendir.c: Likewise.
73965         * dirent/readdir.c: Likewise.
73966         * dirent/readdir64.c: Likewise.
73967         * dirent/readdir64_r.c: Likewise.
73968         * dirent/readdir_r.c: Likewise.
73969         * dirent/rewinddir.c: Likewise.
73970         * dirent/seekdir.c: Likewise.
73971         * dirent/telldir.c: Likewise.
73972         * gmon/profil.c: Likewise.
73973         * grp/setgroups.c: Likewise.
73974         * inet/if_index.c: Likewise.
73975         * io/access.c: Likewise.
73976         * io/chdir.c: Likewise.
73977         * io/chmod.c: Likewise.
73978         * io/chown.c: Likewise.
73979         * io/close.c: Likewise.
73980         * io/dup.c: Likewise.
73981         * io/dup2.c: Likewise.
73982         * io/dup3.c: Likewise.
73983         * io/euidaccess.c: Likewise.
73984         * io/faccessat.c: Likewise.
73985         * io/fchdir.c: Likewise.
73986         * io/fchmod.c: Likewise.
73987         * io/fchmodat.c: Likewise.
73988         * io/fchown.c: Likewise.
73989         * io/fchownat.c: Likewise.
73990         * io/fcntl.c: Likewise.
73991         * io/flock.c: Likewise.
73992         * io/fstatfs.c: Likewise.
73993         * io/fstatfs64.c: Likewise.
73994         * io/fstatvfs.c: Likewise.
73995         * io/fstatvfs64.c: Likewise.
73996         * io/futimens.c: Likewise.
73997         * io/fxstat.c: Likewise.
73998         * io/fxstat64.c: Likewise.
73999         * io/fxstatat.c: Likewise.
74000         * io/fxstatat64.c: Likewise.
74001         * io/getcwd.c: Likewise.
74002         * io/isatty.c: Likewise.
74003         * io/lchmod.c: Likewise.
74004         * io/lchown.c: Likewise.
74005         * io/link.c: Likewise.
74006         * io/linkat.c: Likewise.
74007         * io/lseek.c: Likewise.
74008         * io/lseek64.c: Likewise.
74009         * io/lxstat64.c: Likewise.
74010         * io/mkdir.c: Likewise.
74011         * io/mkdirat.c: Likewise.
74012         * io/mkfifo.c: Likewise.
74013         * io/mkfifoat.c: Likewise.
74014         * io/open.c: Likewise.
74015         * io/open64.c: Likewise.
74016         * io/openat.c: Likewise.
74017         * io/openat64.c: Likewise.
74018         * io/pipe.c: Likewise.
74019         * io/pipe2.c: Likewise.
74020         * io/poll.c: Likewise.
74021         * io/posix_fadvise.c: Likewise.
74022         * io/posix_fadvise64.c: Likewise.
74023         * io/posix_fallocate.c: Likewise.
74024         * io/posix_fallocate64.c: Likewise.
74025         * io/read.c: Likewise.
74026         * io/readlink.c: Likewise.
74027         * io/readlinkat.c: Likewise.
74028         * io/rmdir.c: Likewise.
74029         * io/sendfile.c: Likewise.
74030         * io/sendfile64.c: Likewise.
74031         * io/statfs.c: Likewise.
74032         * io/statfs64.c: Likewise.
74033         * io/statvfs.c: Likewise.
74034         * io/statvfs64.c: Likewise.
74035         * io/symlink.c: Likewise.
74036         * io/symlinkat.c: Likewise.
74037         * io/ttyname.c: Likewise.
74038         * io/ttyname_r.c: Likewise.
74039         * io/umask.c: Likewise.
74040         * io/unlink.c: Likewise.
74041         * io/unlinkat.c: Likewise.
74042         * io/utime.c: Likewise.
74043         * io/utimensat.c: Likewise.
74044         * io/write.c: Likewise.
74045         * io/xmknod.c: Likewise.
74046         * io/xmknodat.c: Likewise.
74047         * io/xstat.c: Likewise.
74048         * io/xstat64.c: Likewise.
74049         * login/getpt.c: Likewise.
74050         * login/grantpt.c: Likewise.
74051         * login/unlockpt.c: Likewise.
74052         * math/e_acoshl.c: Likewise.
74053         * math/e_acosl.c: Likewise.
74054         * math/e_asinl.c: Likewise.
74055         * math/e_atan2l.c: Likewise.
74056         * math/e_atanhl.c: Likewise.
74057         * math/e_coshl.c: Likewise.
74058         * math/e_expl.c: Likewise.
74059         * math/e_fmodl.c: Likewise.
74060         * math/e_gammal_r.c: Likewise.
74061         * math/e_hypotl.c: Likewise.
74062         * math/e_j0l.c: Likewise.
74063         * math/e_j1l.c: Likewise.
74064         * math/e_jnl.c: Likewise.
74065         * math/e_lgammal_r.c: Likewise.
74066         * math/e_log10l.c: Likewise.
74067         * math/e_log2l.c: Likewise.
74068         * math/e_logl.c: Likewise.
74069         * math/e_powl.c: Likewise.
74070         * math/e_rem_pio2l.c: Likewise.
74071         * math/e_sinhl.c: Likewise.
74072         * math/e_sqrtl.c: Likewise.
74073         * math/fclrexcpt.c: Likewise.
74074         * math/fedisblxcpt.c: Likewise.
74075         * math/feenablxcpt.c: Likewise.
74076         * math/fegetenv.c: Likewise.
74077         * math/fegetexcept.c: Likewise.
74078         * math/fegetround.c: Likewise.
74079         * math/feholdexcpt.c: Likewise.
74080         * math/fesetenv.c: Likewise.
74081         * math/fesetround.c: Likewise.
74082         * math/feupdateenv.c: Likewise.
74083         * math/fgetexcptflg.c: Likewise.
74084         * math/fraiseexcpt.c: Likewise.
74085         * math/fsetexcptflg.c: Likewise.
74086         * math/ftestexcept.c: Likewise.
74087         * math/k_cosl.c: Likewise.
74088         * math/k_rem_pio2l.c: Likewise.
74089         * math/k_sinl.c: Likewise.
74090         * math/k_tanl.c: Likewise.
74091         * math/s_asinhl.c: Likewise.
74092         * math/s_atanl.c: Likewise.
74093         * math/s_cbrtl.c: Likewise.
74094         * math/s_erfl.c: Likewise.
74095         * math/s_expm1l.c: Likewise.
74096         * math/s_log1pl.c: Likewise.
74097         * math/s_tanhl.c: Likewise.
74098         * misc/acct.c: Likewise.
74099         * misc/brk.c: Likewise.
74100         * misc/chflags.c: Likewise.
74101         * misc/chroot.c: Likewise.
74102         * misc/fchflags.c: Likewise.
74103         * misc/fgetxattr.c: Likewise.
74104         * misc/flistxattr.c: Likewise.
74105         * misc/fremovexattr.c: Likewise.
74106         * misc/fsetxattr.c: Likewise.
74107         * misc/fsync.c: Likewise.
74108         * misc/ftruncate.c: Likewise.
74109         * misc/futimes.c: Likewise.
74110         * misc/futimesat.c: Likewise.
74111         * misc/getdomain.c: Likewise.
74112         * misc/getdtsz.c: Likewise.
74113         * misc/gethostid.c: Likewise.
74114         * misc/gethostname.c: Likewise.
74115         * misc/getloadavg.c: Likewise.
74116         * misc/getpagesize.c: Likewise.
74117         * misc/getsysstats.c: Likewise.
74118         * misc/getxattr.c: Likewise.
74119         * misc/gtty.c: Likewise.
74120         * misc/ioctl.c: Likewise.
74121         * misc/lgetxattr.c: Likewise.
74122         * misc/listxattr.c: Likewise.
74123         * misc/llistxattr.c: Likewise.
74124         * misc/lremovexattr.c: Likewise.
74125         * misc/lsetxattr.c: Likewise.
74126         * misc/lutimes.c: Likewise.
74127         * misc/madvise.c: Likewise.
74128         * misc/mincore.c: Likewise.
74129         * misc/mlock.c: Likewise.
74130         * misc/mlockall.c: Likewise.
74131         * misc/mmap.c: Likewise.
74132         * misc/mprotect.c: Likewise.
74133         * misc/msync.c: Likewise.
74134         * misc/munlock.c: Likewise.
74135         * misc/munlockall.c: Likewise.
74136         * misc/munmap.c: Likewise.
74137         * misc/preadv.c: Likewise.
74138         * misc/preadv64.c: Likewise.
74139         * misc/ptrace.c: Likewise.
74140         * misc/pwritev.c: Likewise.
74141         * misc/pwritev64.c: Likewise.
74142         * misc/readv.c: Likewise.
74143         * misc/reboot.c: Likewise.
74144         * misc/remap_file_pages.c: Likewise.
74145         * misc/removexattr.c: Likewise.
74146         * misc/revoke.c: Likewise.
74147         * misc/select.c: Likewise.
74148         * misc/setdomain.c: Likewise.
74149         * misc/setegid.c: Likewise.
74150         * misc/seteuid.c: Likewise.
74151         * misc/sethostid.c: Likewise.
74152         * misc/sethostname.c: Likewise.
74153         * misc/setregid.c: Likewise.
74154         * misc/setreuid.c: Likewise.
74155         * misc/setxattr.c: Likewise.
74156         * misc/sstk.c: Likewise.
74157         * misc/stty.c: Likewise.
74158         * misc/swapoff.c: Likewise.
74159         * misc/swapon.c: Likewise.
74160         * misc/sync.c: Likewise.
74161         * misc/syncfs.c: Likewise.
74162         * misc/syscall.c: Likewise.
74163         * misc/truncate.c: Likewise.
74164         * misc/ualarm.c: Likewise.
74165         * misc/usleep.c: Likewise.
74166         * misc/ustat.c: Likewise.
74167         * misc/utimes.c: Likewise.
74168         * misc/vhangup.c: Likewise.
74169         * misc/writev.c: Likewise.
74170         * posix/_exit.c: Likewise.
74171         * posix/alarm.c: Likewise.
74172         * posix/execve.c: Likewise.
74173         * posix/fexecve.c: Likewise.
74174         * posix/fork.c: Likewise.
74175         * posix/fpathconf.c: Likewise.
74176         * posix/getaddrinfo.c: Likewise.
74177         * posix/getegid.c: Likewise.
74178         * posix/geteuid.c: Likewise.
74179         * posix/getgid.c: Likewise.
74180         * posix/getgroups.c: Likewise.
74181         * posix/getlogin.c: Likewise.
74182         * posix/getlogin_r.c: Likewise.
74183         * posix/getpgid.c: Likewise.
74184         * posix/getpid.c: Likewise.
74185         * posix/getppid.c: Likewise.
74186         * posix/getresgid.c: Likewise.
74187         * posix/getresuid.c: Likewise.
74188         * posix/getsid.c: Likewise.
74189         * posix/getuid.c: Likewise.
74190         * posix/glob64.c: Likewise.
74191         * posix/nanosleep.c: Likewise.
74192         * posix/pathconf.c: Likewise.
74193         * posix/pause.c: Likewise.
74194         * posix/posix_madvise.c: Likewise.
74195         * posix/pread.c: Likewise.
74196         * posix/pread64.c: Likewise.
74197         * posix/pwrite.c: Likewise.
74198         * posix/pwrite64.c: Likewise.
74199         * posix/sched_getaffinity.c: Likewise.
74200         * posix/sched_getp.c: Likewise.
74201         * posix/sched_gets.c: Likewise.
74202         * posix/sched_primax.c: Likewise.
74203         * posix/sched_primin.c: Likewise.
74204         * posix/sched_rr_gi.c: Likewise.
74205         * posix/sched_setaffinity.c: Likewise.
74206         * posix/sched_setp.c: Likewise.
74207         * posix/sched_sets.c: Likewise.
74208         * posix/sched_yield.c: Likewise.
74209         * posix/setgid.c: Likewise.
74210         * posix/setlogin.c: Likewise.
74211         * posix/setpgid.c: Likewise.
74212         * posix/setresgid.c: Likewise.
74213         * posix/setresuid.c: Likewise.
74214         * posix/setsid.c: Likewise.
74215         * posix/setuid.c: Likewise.
74216         * posix/sleep.c: Likewise.
74217         * posix/spawni.c: Likewise.
74218         * posix/sysconf.c: Likewise.
74219         * posix/times.c: Likewise.
74220         * posix/wait.c: Likewise.
74221         * posix/wait3.c: Likewise.
74222         * posix/wait4.c: Likewise.
74223         * posix/waitpid.c: Likewise.
74224         * resolv/gai_sigqueue.c: Likewise.
74225         * resource/getpriority.c: Likewise.
74226         * resource/getrlimit.c: Likewise.
74227         * resource/getrusage.c: Likewise.
74228         * resource/nice.c: Likewise.
74229         * resource/setpriority.c: Likewise.
74230         * resource/setrlimit.c: Likewise.
74231         * resource/ulimit.c: Likewise.
74232         * rt/aio_cancel.c: Likewise.
74233         * rt/aio_fsync.c: Likewise.
74234         * rt/aio_read.c: Likewise.
74235         * rt/aio_sigqueue.c: Likewise.
74236         * rt/aio_suspend.c: Likewise.
74237         * rt/aio_write.c: Likewise.
74238         * rt/clock_getres.c: Likewise.
74239         * rt/clock_gettime.c: Likewise.
74240         * rt/clock_nanosleep.c: Likewise.
74241         * rt/clock_settime.c: Likewise.
74242         * rt/lio_listio.c: Likewise.
74243         * rt/mq_close.c: Likewise.
74244         * rt/mq_getattr.c: Likewise.
74245         * rt/mq_notify.c: Likewise.
74246         * rt/mq_open.c: Likewise.
74247         * rt/mq_receive.c: Likewise.
74248         * rt/mq_send.c: Likewise.
74249         * rt/mq_setattr.c: Likewise.
74250         * rt/mq_timedreceive.c: Likewise.
74251         * rt/mq_timedsend.c: Likewise.
74252         * rt/mq_unlink.c: Likewise.
74253         * rt/shm_open.c: Likewise.
74254         * rt/shm_unlink.c: Likewise.
74255         * rt/timer_create.c: Likewise.
74256         * rt/timer_delete.c: Likewise.
74257         * rt/timer_getoverr.c: Likewise.
74258         * rt/timer_gettime.c: Likewise.
74259         * rt/timer_settime.c: Likewise.
74260         * setjmp/__longjmp.c: Likewise.
74261         * setjmp/setjmp.c: Likewise.
74262         * signal/kill.c: Likewise.
74263         * signal/killpg.c: Likewise.
74264         * signal/raise.c: Likewise.
74265         * signal/sigaction.c: Likewise.
74266         * signal/sigaltstack.c: Likewise.
74267         * signal/sigblock.c: Likewise.
74268         * signal/sigignore.c: Likewise.
74269         * signal/sigintr.c: Likewise.
74270         * signal/signal.c: Likewise.
74271         * signal/sigpause.c: Likewise.
74272         * signal/sigpending.c: Likewise.
74273         * signal/sigqueue.c: Likewise.
74274         * signal/sigreturn.c: Likewise.
74275         * signal/sigset.c: Likewise.
74276         * signal/sigsetmask.c: Likewise.
74277         * signal/sigstack.c: Likewise.
74278         * signal/sigsuspend.c: Likewise.
74279         * signal/sigtimedwait.c: Likewise.
74280         * signal/sigvec.c: Likewise.
74281         * signal/sigwait.c: Likewise.
74282         * signal/sigwaitinfo.c: Likewise.
74283         * signal/sysv_signal.c: Likewise.
74284         * socket/accept.c: Likewise.
74285         * socket/accept4.c: Likewise.
74286         * socket/bind.c: Likewise.
74287         * socket/connect.c: Likewise.
74288         * socket/getpeername.c: Likewise.
74289         * socket/getsockname.c: Likewise.
74290         * socket/getsockopt.c: Likewise.
74291         * socket/isfdtype.c: Likewise.
74292         * socket/listen.c: Likewise.
74293         * socket/recv.c: Likewise.
74294         * socket/recvfrom.c: Likewise.
74295         * socket/recvmsg.c: Likewise.
74296         * socket/send.c: Likewise.
74297         * socket/sendmsg.c: Likewise.
74298         * socket/sendto.c: Likewise.
74299         * socket/setsockopt.c: Likewise.
74300         * socket/shutdown.c: Likewise.
74301         * socket/sockatmark.c: Likewise.
74302         * socket/socket.c: Likewise.
74303         * socket/socketpair.c: Likewise.
74304         * stdio-common/ctermid.c: Likewise.
74305         * stdio-common/cuserid.c: Likewise.
74306         * stdio-common/remove.c: Likewise.
74307         * stdio-common/rename.c: Likewise.
74308         * stdio-common/renameat.c: Likewise.
74309         * stdio-common/tempname.c: Likewise.
74310         * stdlib/getcontext.c: Likewise.
74311         * stdlib/makecontext.c: Likewise.
74312         * stdlib/setcontext.c: Likewise.
74313         * stdlib/swapcontext.c: Likewise.
74314         * stdlib/system.c: Likewise.
74315         * streams/fattach.c: Likewise.
74316         * streams/fdetach.c: Likewise.
74317         * streams/getmsg.c: Likewise.
74318         * streams/getpmsg.c: Likewise.
74319         * streams/putmsg.c: Likewise.
74320         * streams/putpmsg.c: Likewise.
74321         * sysdeps/unix/bsd/getpt.c: Likewise.
74322         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74323         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74324         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74326         Likewise.
74327         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74328         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74329         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74330         * sysvipc/msgctl.c: Likewise.
74331         * sysvipc/msgget.c: Likewise.
74332         * sysvipc/msgrcv.c: Likewise.
74333         * sysvipc/msgsnd.c: Likewise.
74334         * sysvipc/semctl.c: Likewise.
74335         * sysvipc/semget.c: Likewise.
74336         * sysvipc/semop.c: Likewise.
74337         * sysvipc/semtimedop.c: Likewise.
74338         * sysvipc/shmat.c: Likewise.
74339         * sysvipc/shmctl.c: Likewise.
74340         * sysvipc/shmdt.c: Likewise.
74341         * sysvipc/shmget.c: Likewise.
74342         * termios/tcdrain.c: Likewise.
74343         * termios/tcflow.c: Likewise.
74344         * termios/tcflush.c: Likewise.
74345         * termios/tcgetattr.c: Likewise.
74346         * termios/tcgetpgrp.c: Likewise.
74347         * termios/tcsendbrk.c: Likewise.
74348         * termios/tcsetattr.c: Likewise.
74349         * termios/tcsetpgrp.c: Likewise.
74350         * time/adjtime.c: Likewise.
74351         * time/clock.c: Likewise.
74352         * time/getitimer.c: Likewise.
74353         * time/gettimeofday.c: Likewise.
74354         * time/setitimer.c: Likewise.
74355         * time/settimeofday.c: Likewise.
74356         * time/stime.c: Likewise.
74357         * time/time.c: Likewise.
74359 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
74361         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74362         /usr/old/bin.
74364         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74365         instead of spaces.
74366         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74368 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
74370         [BZ #14796]
74371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74372         FE_TONEAREST before applying Dekker multiplication and Knuth
74373         addition.  Clear inexact exceptions and check for exact zero
74374         results afterwards.
74375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74376         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74378         * math/libm-test.inc (fma_test): Add more tests.
74379         (fma_test_towardzero): Likewise.
74380         (fma_test_downward): Likewise.
74381         (fma_test_upward): Likewise.
74382         * sysdeps/generic/math_private.h (default_libc_fesetround): New
74383         function.
74384         (libc_fesetround): New macro.
74385         (libc_fesetroundf): Likewise.
74386         (libc_fesetroundl): Likewise.
74387         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74388         function.
74389         (libc_fesetround_387): Likewise.
74390         (libc_fesetroundf): New macro.
74391         (libc_fesetround): Likewise.
74392         (libc_fesetroundl): Likewise.
74393         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74394         function.
74395         (libc_fesetroundf): New macro.
74396         (libc_fesetround): Likewise.
74397         (libc_fesetroundl): Likewise.
74398         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
74399         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
74400         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
74401         libm_hidden_ver.
74402         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
74403         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
74404         libm_hidden_def.
74405         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
74406         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
74407         libm_hidden_ver.
74408         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
74409         libm_hidden_def.
74411         [BZ #3439]
74412         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74413         integer constant usable in #if and use that to give value to enum
74414         constant.
74415         (FE_DIVBYZERO): Likewise.
74416         (FE_UNDERFLOW): Likewise.
74417         (FE_OVERFLOW): Likewise.
74418         (FE_INVALID): Likewise.
74419         (FE_INVALID_SNAN): Likewise.
74420         (FE_INVALID_ISI): Likewise.
74421         (FE_INVALID_IDI): Likewise.
74422         (FE_INVALID_ZDZ): Likewise.
74423         (FE_INVALID_IMZ): Likewise.
74424         (FE_INVALID_COMPARE): Likewise.
74425         (FE_INVALID_SOFTWARE): Likewise.
74426         (FE_INVALID_SQRT): Likewise.
74427         (FE_INVALID_INTEGER_CONVERSION): Likewise.
74428         (FE_TONEAREST): Likewise.
74429         (FE_TOWARDZERO): Likewise.
74430         (FE_UPWARD): Likewise.
74431         (FE_DOWNWARD): Likewise.
74432         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74433         (FE_DIVBYZERO): Likewise.
74434         (FE_OVERFLOW): Likewise.
74435         (FE_UNDERFLOW): Likewise.
74436         (FE_INEXACT): Likewise.
74437         (FE_TONEAREST): Likewise.
74438         (FE_DOWNWARD): Likewise.
74439         (FE_UPWARD): Likewise.
74440         (FE_TOWARDZERO): Likewise.
74441         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74442         (FE_UNDERFLOW): Likewise.
74443         (FE_OVERFLOW): Likewise.
74444         (FE_DIVBYZERO): Likewise.
74445         (FE_INVALID): Likewise.
74446         (FE_TONEAREST): Likewise.
74447         (FE_TOWARDZERO): Likewise.
74448         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74449         (FE_OVERFLOW): Likewise.
74450         (FE_UNDERFLOW): Likewise.
74451         (FE_DIVBYZERO): Likewise.
74452         (FE_INEXACT): Likewise.
74453         (FE_TONEAREST): Likewise.
74454         (FE_TOWARDZERO): Likewise.
74455         (FE_UPWARD): Likewise.
74456         (FE_DOWNWARD): Likewise.
74457         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74458         (FE_DIVBYZERO): Likewise.
74459         (FE_OVERFLOW): Likewise.
74460         (FE_UNDERFLOW): Likewise.
74461         (FE_INEXACT): Likewise.
74462         (FE_TONEAREST): Likewise.
74463         (FE_DOWNWARD): Likewise.
74464         (FE_UPWARD): Likewise.
74465         (FE_TOWARDZERO): Likewise.
74467 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
74469         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74471 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
74473         * scripts/cross-test-ssh.sh (command): Use newlines to separate
74474         commands.  Quote $PWD.
74475         (blacklist_exports): Don't use remove_newlines.  Replace "declare
74476         -x" by "export".
74477         (remove_newlines): Remove.
74479 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
74481         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74482         * stdlib/stdlib.h (atof): Moved to ...
74483         * include/bits/stdlib-float.h: Here.  New file.
74484         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74485         * stdlib/bits/stdlib-float.h: New file.
74486         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74487         -mno-sse -mno-mmx.
74488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74489         <xmmintrin.h>.
74491 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74493         * conform/conformtest.pl (@headers): Add fenv.h.
74494         * conform/data/fenv.h-data: New file.
74495         * include/fenv.h [_ISOMAC]: Disable all contents of file except
74496         include of <math/fenv.h>.
74498         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74499         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74500         && !UNIX98].  Enables tests for XOPEN2K8.
74501         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74502         POSIX2008]: Likewise.
74504         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74505         (struct rusage): Do not expect type or its members.
74507         [BZ #3439]
74508         * math/math.h (FP_NAN): Define macro to integer constant usable in
74509         #if and use that to give value to enum constant.
74510         (FP_INFINITE): Likewise.
74511         (FP_ZERO): Likewise.
74512         (FP_SUBNORMAL): Likewise.
74513         (FP_NORMAL): Likewise.
74515 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
74517         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74518         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74519         arguments.
74521 2012-11-02  Roland McGrath  <roland@hack.frob.com>
74523         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74524         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74525         autoconf-time if not.
74526         * configure.in: Remove AC_PREREQ.
74528 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74530         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74531         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74532         of the internal implementation.
74534 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74536         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74537         except include of <misc/sys/syslog.h>.
74539 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74542         function returns with a NULL context exit with zero.
74544 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74546         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74548 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
74550         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74551         (run_program_cmd): This.
74552         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74553         (tst_langinfo): New variable.  Use it.
74555 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
74557         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74558         floating point opcodes.
74560 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74562         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74563         variable.
74565         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74567         * sysdeps/mach/hurd/powerpc: Remove directory.
74568         * sysdeps/mach/powerpc: Likewise.
74570 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74572         * scripts/check-local-headers.sh: Ignore c++ headers.
74574 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74576         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74577         __libc_cleanup_region_start argument.
74579 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
74581         [BZ #14784]
74582         [BZ #14785]
74583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74584         x * y using scaling, not as x * y + z.
74585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74587         * math/libm-test.inc (fma_test): Add more tests.
74588         (fma_test_towardzero): Likewise.
74589         (fma_test_downward): Likewise.
74590         (fma_test_upward): Likewise.
74592 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74594         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74596 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74598         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74599         New variable.
74601 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
74603         * rt/tst-shm.c (worker): Correct checking for mmap failure.
74605 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74608         Fix sort order.
74609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74610         Likewise.
74612 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74615         Fix the order of the list for glibc 2.17.
74616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74617         Likewise.
74619 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74623 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74625         [BZ #14610]
74626         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74627         for low part of x being zero before using __atanl (y).
74628         * math/libm-test.inc (atan2_test): Add another test.
74630         * manual/install.texi (Configuring and compiling): Document
74631         general use of test-wrapper and test-wrapper-env.
74632         * INSTALL: Regenerated.
74634         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74635         (__fma): Do not extract and scale down low bits on after-rounding
74636         systems when result rounded to normal precision would have normal
74637         exponent.
74638         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74639         (__fmal): Do not extract and scale down low bits on after-rounding
74640         systems when result rounded to normal precision would have normal
74641         exponent.
74642         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74643         (__fmal): Do not extract and scale down low bits on after-rounding
74644         systems when result rounded to normal precision would have normal
74645         exponent.
74646         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74647         macro.
74648         (fma_test): Add more tests.
74649         (fma_test_towardzero): Likewise.
74650         (fma_test_downward): Likewise.
74651         (fma_test_upward): Likewise.
74653 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74655         * sysdeps/i386/tininess.h: Renamed to ...
74656         * sysdeps/x86/tininess.h: This.
74657         * sysdeps/x86_64/tininess.h: Removed.
74659 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74661         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74662         input.  Use $(build-program-cmd).
74663         ($(objpfx)tst-array1-static.out): Likewise.
74664         ($(objpfx)tst-array2.out): Likewise.
74665         ($(objpfx)tst-array3.out): Likewise.
74666         ($(objpfx)tst-array4.out): Likewise.
74667         ($(objpfx)tst-array5.out): Likewise.
74668         ($(objpfx)tst-array5-static.out): Likewise.
74670 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74672         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74673         if defined.
74675         * nss/nsswitch.h (nss_interface_function): Provide new
74676         macro for use with NSS functions.
74677         * grp/initgroups.c: Use new macro.
74678         * nss/getXXbyYY.c: Likewise.
74679         * nss/getXXbyYY_r.c: Likewise.
74680         * nss/getXXent.c: Likewise.
74681         * nss/getXXent_r.c: Likewise.
74682         * sysdeps/posix/getaddrinfo.c: Likewise.
74684 2012-10-30  Andreas Jaeger  <aj@suse.de>
74686         * po/ru.po: Update Russion translation from translation project.
74688 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74690         [BZ #14152]
74691         [BZ #14783]
74692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74693         result and shift together with sticky bit instead of replicating
74694         round-to-nearest rounding.
74695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74697         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74698         missing underflow exceptions.
74699         (fma_test_towardzero): Add more tests.
74700         (fma_test_downward): Likewise.
74701         (fma_test_upward): Likewise.
74703         [BZ #14047]
74704         * sysdeps/generic/tininess.h: New file.
74705         * sysdeps/i386/tininess.h: Likewise.
74706         * sysdeps/sh/tininess.h: Likewise.
74707         * sysdeps/x86_64/tininess.h: Likewise.
74708         * stdlib/tst-strtod-underflow.c: Likewise.
74709         * stdlib/tst-tininess.c: Likewise.
74710         * stdlib/strtod_l.c: Include <tininess.h>.
74711         (round_and_return): Do not set errno for exact underflow cases.
74712         Force an underflow exception when setting errno for underflow.
74713         Determine underflow based on rounding to normal precision if
74714         TININESS_AFTER_ROUNDING.
74715         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74716         ERANGE for exact underflow cases.
74717         * stdlib/Makefile (tests): Add tst-tininess and
74718         tst-strtod-underflow.
74719         ($(objpfx)tst-tininess): Use $(link-libm).
74720         ($(objpfx)tst-strtod-underflow): Likewise.
74722 2012-10-30  Andreas Jaeger  <aj@suse.de>
74724         [BZ #14767]
74725         * elf/Makefile (tests): Remove conditional for have-initfini-array
74726         since this is now always required and the variable does not exist
74727         anymore.
74728         (tests-static): Likewise.
74729         (modules-names): Likewise.
74731         * po/eo.po: Add Esperanto translation from translation project.
74733         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74734         merged with constructor/destructor.
74735         (init_array): Likewise.
74736         * elf/tst-array2dep.c (fini_array): Likewise.
74737         (init_array): Likewise.
74739 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74741         * manual/message.texi: Delete @cartouche tags.
74743 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74745         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74746         EOPNOTSUPP.
74747         * sysdeps/mach/hurd/fsync.c: Likewise.
74749         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74750         [_POSIX_REALTIME_SIGNALS]: Change condition to
74751         [_POSIX_REALTIME_SIGNALS > 0].
74753 2012-10-27  Andreas Jaeger  <aj@suse.de>
74755         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74756         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74758         [__WORDSIZE != 64]: Likewise.
74760 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74762         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74763         *  iconvdata/tst-tables.sh: Likewise.
74765 2012-10-25  David S. Miller  <davem@davemloft.net>
74767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74768         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74769         of strtoull.
74771         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74772         ifunc-impl-list.c
74773         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74774         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74775         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74776         file.
74778 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74781         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74782         __getdirentries.
74784 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74785             Jim Blandy  <jimb@codesourcery.com>
74787         * scripts/cross-test-ssh.sh: New file.
74788         * manual/install.texi (Configuring and compiling): Document use of
74789         cross-test-ssh.sh.
74790         * INSTALL: Regenerated.
74792 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74794         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74795         EOPNOTSUPP.
74797 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74799         * Makeconfig (run-program-prefix): Fix comment.
74801 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74802             Jim Blandy  <jimb@codesourcery.com>
74804         * Makeconfig (test-wrapper): New variable,
74805         (test-wrapper-env): Likewise.
74806         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74807         (run-built-tests): Define to yes.
74808         (run-program-prefix): Use $(test-wrapper).
74809         (built-program-cmd): Likewise.
74810         * Rules (make-test-out): Use $(test-wrapper-env) and
74811         $(host-built-program-cmd).
74812         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74813         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74814         tst-pathopt.sh.
74815         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74816         $(test-wrapper-env) to tst-rtld-load-self.sh.
74817         ($(objpfx)order2.out): Use $(test-wrapper).
74818         ($(objpfx)tst-initorder.out): Likewise.
74819         ($(objpfx)tst-initorder2.out): Likewise.
74820         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74821         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74822         (test_wrapper_env): New variable.  Use it to run ld.so.
74823         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74824         Use it to run ld.so.
74825         (test_wrapper_env): Likewise.
74826         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74827         $(test-wrapper) to run-iconv-test.sh.
74828         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74829         (ICONV): Use $test_wrapper.
74830         * posix/Makefile ($(objpfx)globtest.out): Pass
74831         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74832         globtest.sh, not $(run-program-prefix).
74833         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74834         (test_wrapper): Likewise.
74835         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74836         set together with run_via_rtld_prefix.
74837         (run_program_prefix): Define in terms of test_wrapper and
74838         run_via_rtld_prefix.
74840 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74842         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74843         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74844         Targets removed.
74846         [BZ #14743]
74847         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74848         Declare __clock_getres, __clock_gettime, __clock_settime,
74849         __clock_nanosleep, and __clock_getcpuclockid.
74850         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74851         Remove librt_hidden_def (clock_gettime).
74852         * sysdeps/unix/clock_gettime.c: Likewise.
74853         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74854         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74855         * rt/clock_getres.c: Define __clock_getres as an alias.
74856         * sysdeps/posix/clock_getres.c: Likewise.
74857         * rt/clock_settime.c: Define __clock_settime as an alias.
74858         * sysdeps/unix/clock_settime.c: Likewise.
74859         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74860         * sysdeps/unix/clock_nanosleep.c: Likewise.
74861         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74862         * rt/clock-compat.c: New file.
74863         * rt/Makefile (librt-routines): Add clock-compat and move
74864         $(clock-routines) to ...
74865         (routines): ... here, new variable.
74866         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74867         Don't add get_clockfreq here.
74868         * rt/Versions (libc: GLIBC_2.17): New version set.
74869         Add clock_* symbols here.
74870         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74872         (GLIBC_2.17): Add clock_* symbols.
74873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74877         Likewise.
74878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74879         Likewise.
74880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74884         * NEWS: Mention the move.
74886         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74887         Use __open, __read, __close rather than their public counterparts.
74888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74889         (__get_clockfreq_via_cpuinfo): Likewise.
74890         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74891         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74893         * config.h.in (HAVE_IFUNC): New #undef.
74894         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74895         was successful.
74896         * configure: Regenerated.
74898 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74900         * configure.in: Move READELF check to start of file.
74901         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74902         libc_cv_asm_gnu_indirect_function in the process.
74903         * configure: Regenerated.
74905 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74907         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74908         send the output to /dev/null.
74909         (libc_cv_cc_with_libunwind): Likewise.
74910         (libc_cv_as_noexecstack): Likewise.
74911         * configure: Regenerate.
74913 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74915         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74917         * posix/globtest.sh (TMPDIR): Do not set.
74918         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74919         (testout): Likewise.
74921 2012-10-24  Andreas Jaeger  <aj@suse.de>
74923         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74924         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74925         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74926         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74927         posix_fadvise64, posix_fallocate64.
74929         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74930         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74931         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74932         Likewise.
74933         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74934         Likewise.
74935         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74938         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74939         <bits/fcntl-linux.h>.
74940         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74943         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74944         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74945         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74946         [__WORDSIZE != 64]: Likewise.
74948 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74950         * Makeconfig (run-built-tests): New variable.
74951         * Rules [$(cross-compiling) = yes]: Change condition to
74952         [$(run-built-tests) = no].
74953         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74954         to [$(run-built-tests) = yes].
74955         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74956         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74957         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74958         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74959         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74960         * io/Makefile [$(cross-compiling) = no]: Likewise.
74961         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74962         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74963         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74964         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74965         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74966         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74967         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74968         * string/Makefile [$(cross-compiling) = no]: Likewise.
74970         * posix/Makefile ($(objpfx)globtest.out): Pass
74971         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74972         $(rtld-installed-name).
74973         * posix/globtest.sh (elf_objpfx): Remove variable.
74974         (rtld_installed_name): Likewise.
74975         (library_path): Likewise.
74976         (run_program_prefix): New variable.  Use for running globtest
74977         binary.
74979 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74980             Joseph Myers  <joseph@codesourcery.com>
74982         * Makeconfig (host-built-program-cmd): New variable.
74983         * elf/Makefile (tst-stackguard1-ARGS): Use
74984         $(host-built-program-cmd).
74985         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74986         (tst-spawn-ARGS): Likewise.
74987         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74989 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74990             Jim Blandy  <jimb@codesourcery.com>
74992         * Makeconfig (run-via-rtld-prefix): New variable.
74993         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74994         (built-program-cmd): Likewise.
74996 2012-10-22  Andreas Jaeger  <aj@suse.de>
74998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74999         __O_RSYNC if it exists, otherwise to O_SYNC.
75001 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75002             Joseph Myers  <joseph@codesourcery.com>
75004         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75005         /dev/null.
75006         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75007         from /dev/null
75008         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75009         /dev/null.
75011 2012-10-22  Andreas Jaeger  <aj@suse.de>
75013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75014         Define always.
75015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75018         bits/fcntl-linux.h.
75020         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75021         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75023         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75024         to __O_LARGEFILE.
75025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75026         to __O_LARGEFILE.
75028 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75029             Joseph Myers  <joseph@codesourcery.com>
75031         * config.make.in (NM): New variable.
75033 2012-10-21  Andreas Jaeger  <aj@suse.de>
75035         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75036         definitions and declarations that are provided by
75037         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75039 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75041         [BZ #14683]
75042         * elf/Makefile (tests-static): Add tst-leaks1-static.
75043         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75044         ($(objpfx)tst-leaks1-static): New rule.
75045         ($(objpfx)tst-leaks1-static-mem): Likewise.
75046         (tst-leaks1-static-ENV): New macro.
75047         * elf/dl-open.c (dl_open_worker): Check the main application
75048         only if SHARED is defined.
75049         * elf/tst-leaks1-static.c: New file.
75051 2012-10-20  Andreas Jaeger  <aj@suse.de>
75053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75054         generic values for Linux.
75055         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75056         and declarations that are provided by <bits/fcntl-linux.h> and
75057         include <bits/fcntl-linux.h>.
75058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75061 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75063         * io/fcntl.h: Move include of <bits/types.h> to the top and
75064         include it unconditionally.
75066 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75068         * wcsmbs/Makefile (tests-ifunc): New variable.
75069         (tests): Add $(tests-ifunc).
75070         * wcsmbs/test-wcschr-ifunc.c: New file.
75071         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75072         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75073         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75074         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75075         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75077         * string/Makefile (tests-ifunc): New variable.
75078         (tests): Add $(tests-ifunc).
75079         * string/test-memccpy.c (TEST_NAME): New macro.
75080         * string/test-memchr.c (TEST_NAME): Likewise.
75081         * string/test-memcmp.c (TEST_NAME): Likewise.
75082         * string/test-memcpy.c (TEST_NAME): Likewise.
75083         * string/test-memmem.c (TEST_NAME): Likewise.
75084         * string/test-memmove.c (TEST_NAME): Likewise.
75085         * string/test-memset.c (TEST_NAME): Likewise.
75086         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75087         * string/test-stpcpy.c (TEST_NAME): Likewise.
75088         * string/test-stpncpy.c (TEST_NAME): Likewise.
75089         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75090         * string/test-strcasestr.c (TEST_NAME): Likewise.
75091         * string/test-strcat.c (TEST_NAME): Likewise.
75092         * string/test-strchr.c (TEST_NAME): Likewise.
75093         * string/test-strcmp.c(TEST_NAME): Likewise.
75094         * string/test-strcpy.c (TEST_NAME): Likewise.
75095         * string/test-strcspn.c (TEST_NAME): Likewise.
75096         * string/test-strlen.c (TEST_NAME): Likewise.
75097         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75098         * string/test-strncmp.c (TEST_NAME): Likewise.
75099         * string/test-strncpy.c (TEST_NAME): Likewise.
75100         * string/test-strnlen.c (TEST_NAME): Likewise.
75101         * string/test-strpbrk.c (TEST_NAME): Likewise.
75102         * string/test-strrchr.c (TEST_NAME): Likewise.
75103         * string/test-strspn.c (TEST_NAME): Likewise.
75104         * string/test-strstr.c (TEST_NAME): Likewise.
75105         * string/test-bcopy-ifunc.c: New file.
75106         * string/test-bzero-ifunc.c: Likewise.
75107         * string/test-memccpy-ifunc.c: Likewise.
75108         * string/test-memchr-ifunc.c: Likewise.
75109         * string/test-memcmp-ifunc.c: Likewise.
75110         * string/test-memcpy-ifunc.c: Likewise.
75111         * string/test-memmem-ifunc.c: Likewise.
75112         * string/test-memmove-ifunc.c: Likewise.
75113         * string/test-mempcpy-ifunc.c: Likewise.
75114         * string/test-memset-ifunc.c: Likewise.
75115         * string/test-rawmemchr-ifunc.c: Likewise.
75116         * string/test-stpcpy-ifunc.c: Likewise.
75117         * string/test-stpncpy-ifunc.c: Likewise.
75118         * string/test-strcasecmp-ifunc.c: Likewise.
75119         * string/test-strcasestr-ifunc.c: Likewise.
75120         * string/test-strcat-ifunc.c: Likewise.
75121         * string/test-strchr-ifunc.c: Likewise.
75122         * string/test-strchrnul-ifunc.c: Likewise.
75123         * string/test-strcmp-ifunc.c: Likewise.
75124         * string/test-strcpy-ifunc.c: Likewise.
75125         * string/test-strcspn-ifunc.c: Likewise.
75126         * string/test-strlen-ifunc.c: Likewise.
75127         * string/test-strncasecmp-ifunc.c: Likewise.
75128         * string/test-strncat-ifunc.c: Likewise.
75129         * string/test-strncmp-ifunc.c: Likewise.
75130         * string/test-strncpy-ifunc.c: Likewise.
75131         * string/test-strnlen-ifunc.c: Likewise.
75132         * string/test-strpbrk-ifunc.c: Likewise.
75133         * string/test-strrchr-ifunc.c: Likewise.
75134         * string/test-strspn-ifunc.c: Likewise.
75135         * string/test-strstr-ifunc.c: Likewise.
75137         * debug/Makefile (tests-ifunc): New variable.
75138         (tests): Add $(tests-ifunc).
75139         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75140         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75141         * debug/test-stpcpy_chk-ifunc.c: New file.
75142         * debug/test-strcpy_chk-ifunc.c: Likewise.
75144 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
75146         [BZ #13601]
75147         * elf/dl-load.c (open_verify): Retry read if the entire ELF
75148         header is not read in.
75150 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
75152         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
75153         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
75154         directly.  Pass built executable to script as
75155         $(built-program-cmd).
75156         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
75157         $testprogram without using LD_LIBRARY_PATH and $ldso.
75159         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75160         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75161         $(rtld-installed-name).
75162         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75163         (rtld_installed_name): Likewise.
75164         (library_path): Likewise.
75165         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
75166         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75167         $(run-program-prefix) to tst-tables.sh.
75168         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
75169         it to run tst-table-from and tst-table-to.
75170         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75171         Pass it to tst-table.sh.
75172         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75173         $(run-program-prefix) to tst-gettext.sh.
75174         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75175         tst-translit.sh.
75176         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75177         tst-gettext2.sh.
75178         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
75179         to run tst-gettext.
75180         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
75181         to run tst-gettext2.
75182         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
75183         to run tst-translit.
75184         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75185         $(run-program-prefix) to tst-mtrace.sh.
75186         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
75187         to run tst-mtrace.
75188         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75189         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75190         $(rtld-installed-name).
75191         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75192         (rtld_installed_name): Likewise.
75193         (run_program_prefix): New variable.  Use it to run wordexp-test.
75195         * Makeconfig (ARCH): Remove all definitions.
75196         (machine): Likewise.
75197         [ARCH]: Remove conditional code.
75198         [!objdir]: Give error.
75199         [!objdir] (objpfx): Remove.
75200         [!objdir] (common-objpfx): Likewise.
75201         [!objdir] (common-objdir): Likewise.
75202         * configure.in (config_makefile): Remove.  Hardcode Makefile in
75203         AC_CONFIG_FILES call.
75204         * configure: Regenerated.
75206         [BZ #13888]
75207         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75208         or TMPDIR.
75209         (testout): Likewise.
75211         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75212         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75213         $(rtld-installed-name).
75214         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75215         (rtld_installed_name): Likewise.
75216         (runit): Remove function.
75217         (run_getconf): New variable,  Use it for running getconf binary.
75219 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
75221         [BZ #14716]
75222         * string/test-memmem.c (check_result): New function.
75223         (do_one_test): Use it.
75224         (check1): New function.
75225         (test_main): Use it.
75227 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
75229         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75231 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
75233         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75234         (_G_LSEEK64): Likewise.
75235         (_G_MMAP64): Likewise.
75236         (_G_FSTAT64): Likewise.
75237         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75238         (_G_LSEEK64): Likewise.
75239         (_G_MMAP64): Likewise.
75240         (_G_FSTAT64): Likewise.
75241         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75242         unconditional.  Call __mmap64 directly.
75243         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75244         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
75245         __lseek64 directly.
75246         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75247         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
75248         __mmap64 directly.
75249         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75250         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75251         __lseek64 directly.
75252         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75253         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75254         __lseek64 directly.
75255         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75256         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
75257         __lseek64 directly.
75258         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75259         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
75260         __fxstat64 directly.
75261         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75262         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75263         unconditional.
75264         (freopen64) [!_G_OPEN64]: Remove conditional code.
75265         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75266         unconditional.
75267         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75268         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75269         unconditional.
75270         (ftello64) [!_G_LSEEK64]: Remove conditional code.
75271         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75272         unconditional.
75273         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75274         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75275         unconditional.
75276         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75277         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75278         unconditional.
75279         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75280         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75281         unconditional.
75282         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75283         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75284         unconditional.
75285         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75287 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
75289         [BZ #12140]
75290         * manual/memory.texi (Malloc Tunable Parameters): Add note
75291         about free list pointers overwriting some perturb bytes.
75292         Wording suggested by Roland McGrath.
75294 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
75296         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75297         (lgamma_test): Likewise.
75298         (tgamma_test): Likewise.
75300 2012-10-16  Florian Weimer  <fweimer@redhat.com>
75302         [BZ #14700]
75303         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75304         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75306 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
75308         * NEWS: Mention BZ #14716.
75309         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75310         when removing AVAILABLE1_USES_J macro.
75312 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
75314         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75315         (__bswap_64): __uint64_t for unsigned 64-bit int.
75317 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
75319         * include/string.h (memmem): Declare libc hidden alias.
75320         * string/memmem.c (memmem): Define libc hidden alias.
75321         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75322         __read, __close instead of open, read, close.
75324 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
75326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75327         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75328         global and hidden.
75329         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75330         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75331         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75332         Likewise.
75333         (__rawmemchr_sse2): Likewise.
75334         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75335         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75336         (__strchr_sse2): Likewise.
75337         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75338         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75339         (__strcasecmp_sse2): Likewise.
75340         (__strncasecmp_sse2): Likewise.
75341         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75342         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75343         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75344         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75345         (__strrchr_sse2): Likewise.
75346         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75347         ifunc-impl-list.c.
75348         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75350         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75351         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75352         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75353         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75354         * sysdeps/x86_64/multiarch/memset.S: Likewise.
75355         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75356         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75357         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75358         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75359         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75360         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75361         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75362         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75363         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75364         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75365         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75366         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75367         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75368         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75369         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75370         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75371         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75372         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75373         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75374         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75375         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75376         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75377         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75379         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75380         global and hidden.
75381         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75382         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75383         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75384         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75385         Likewise.
75386         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75387         Likewise.
75388         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75389         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75390         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75391         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75392         ifunc-impl-list.c.
75393         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75394         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75395         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75396         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75397         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75398         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75399         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75400         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75401         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75402         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75403         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75404         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75405         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75406         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
75407         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
75408         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75409         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
75410         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75411         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75412         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75413         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75414         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75415         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75416         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75417         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75418         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75419         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75420         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75421         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75422         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75423         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75424         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75425         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75426         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75427         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75428         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75429         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75430         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75431         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75432         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75433         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75435         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75436         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75437         * include/ifunc-impl-list.h: New file.
75438         * misc/ifunc-impl-list.c: Likewise.
75439         * misc/Makefile (routines): Add ifunc-impl-list.
75440         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75441         * string/test-string.h: Include <ifunc-impl-list.h>.
75442         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75443         TEST_NAME]: New variables.
75444         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75445         are defined.
75446         (test_init): Call __libc_ifunc_impl_list to initialize
75447         func_list if TEST_IFUNC and TEST_NAME are defined.
75449         * string/Makefile (strop-tests): Add bcopy and bzero.
75450         * string/test-bcopy.c: New file.
75451         * string/test-bzero.c: Likewise.
75452         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75453         defined.
75454         * string/test-memset.c: Support bzero test if TEST_BZERO is
75455         defined.
75456         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75457         __libc_memmove.
75458         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75459         __libc_memset.
75460         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75461         of memset.
75463 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
75465         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75466         * configure: Regenerated.
75468         * Makeconfig (+link-static-before-libc): Don't include
75469         $(link-static-libc).
75471         * libio/libio.h (_IO_pos_t): Remove.
75473 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75475         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
75476         McGrath.
75478 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75480         * crypt/crypt-entry.c: Include fips-private.h.
75481         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75482         * crypt/md5c-test.c (main): Tolerate disabled MD5.
75483         * sysdeps/unix/sysv/linux/fips-private.h: New file.
75484         * sysdeps/generic/fips-private.h: New file, dummy fallback.
75486 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75488         * crypt/crypt-private.h: Include stdbool.h.
75489         (_ufc_setup_salt_r): Return bool.
75490         * crypt/crypt-entry.c: Include errno.h.
75491         (__crypt_r): Return NULL with EINVAL for bad salt.
75492         * crypt/crypt_util.c (bad_for_salt): New.
75493         (_ufc_setup_salt_r): Check that salt is long enough and within
75494         the specified alphabet.
75495         * crypt/badsalttest.c: New file.
75496         * crypt/Makefile (tests): Add it.
75497         ($(objpfx)badsalttest): New.
75499 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
75501         * NEWS: Add entry for BZ #14602.
75503 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75505         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75506         type-generic.
75507         * math/libm-test.inc: Update comment listing what functions and
75508         macros are tested.
75509         (isgreater_test): New function.
75510         (isgreaterequal_test): Likewise.
75511         (isless_test): Likewise.
75512         (islessequal_test): Likewise.
75513         (islessgreater_test): Likewise.
75514         (isunordered_test): Likewise.
75515         (main): Call the new functions.
75517 2012-10-09  Roland McGrath  <roland@hack.frob.com>
75519         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75520         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75521         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75522         * sysdeps/i386/configure: Regenerated.
75523         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75524         * sysdeps/mach/configure: Regenerated.
75525         * sysdeps/mach/hurd/configure: Regenerated.
75526         * sysdeps/powerpc/configure: Regenerated.
75527         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75528         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75529         * sysdeps/s390/s390-32/configure: Regenerated.
75530         * sysdeps/s390/s390-64/configure: Regenerated.
75531         * sysdeps/sh/configure: Regenerated.
75532         * sysdeps/sparc/configure: Regenerated.
75533         * sysdeps/unix/sysv/linux/configure: Regenerated.
75534         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75535         * sysdeps/x86_64/configure: Regenerated.
75537         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75538         defined.  Don't check if MAP is NULL.
75540 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75542         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75543         (_G_stat64): Likewise.
75544         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75545         (_G_stat64): Likewise.
75546         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75547         instead of struct _G_stat64.
75548         * libio/fileops.c (mmap_remap_check): Likewise.
75549         (decide_maybe_mmap): Likewise.
75550         (_IO_new_file_seekoff): Likewise.
75551         (_IO_file_stat): Likewise.
75552         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75553         _G_off64_t.
75554         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75555         instead of struct _G_stat64.
75556         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75558 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
75560         [BZ #14602]
75561         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75562         Replace with ...
75563         (CHECK_EOL): New macro.
75564         (two_way_short_needle): Check beginning of haystack for EOL.  Use
75565         CHECK_EOL.
75566         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75567         Replace with CHECK_EOL.
75568         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75569         Replace with CHECK_EOL.
75571 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
75573         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75574         type-generic.
75575         * math/libm-test.inc: Update comment listing what functions and
75576         macros are tested.
75577         (finite_test): New function.
75578         (isinf_test): Likewise.
75579         (isnan_test): Likewise.
75580         (fpclassify_test): Test subnormal input.
75581         (isfinite_test): Likewise.
75582         (isnormal_test): Likewise.
75583         (main): Call the new functions.
75585 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
75587         [BZ #14660]
75588         * Makerules (%.dynsym): Force C locale when running
75589         $(OBJDUMP) --dynamic-syms.
75591 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
75593         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75594         <stdint.h>.
75596 2012-10-06  David S. Miller  <davem@davemloft.net>
75598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75599         upper 32-bits of the length value in %o2 since we use branch-on-register
75600         tests which consider the entire 64-bit register.
75602 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
75604         * string/test-strstr.c (check2): Add a test for page boundary.
75606 2012-10-05  David S. Miller  <davem@davemloft.net>
75608         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75609         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75610         file.
75611         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75612         sysdep_routines.
75613         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75614         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75615         and bzero when HWCAP_SPARC_CRYPTO is present.
75617 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
75619         [BZ #14602]
75620         * string/test-strstr.c (check2): New function.
75621         (test_main): Call check2.
75623         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75624         and bug-strchr1.
75625         * string/bug-strcasestr1.c (do_test): Moved to ...
75626         * string/test-strcasestr.c (check1): Here.  New function.
75627         (do_one_test): Break out result checking code into ...
75628         (check_result): This.  New function.
75629         (do_one_test): Call check_result.
75630         (test_main): Call check1.
75631         * string/bug-strchr1.c (do_test): Moved to ...
75632         * string/test-strchr.c (check1): Here.  New function.
75633         (do_one_test): Break out result checking code into ...
75634         (check_result): This.  New function.
75635         (do_one_test): Call check_result.
75636         (test_main): Call check1.
75637         * string/bug-strstr1.c (main): Moved to ...
75638         * string/test-strstr.c (check1): Here.  New function.
75639         (do_one_test): Break out result checking code into ...
75640         (check_result): This.  New function.
75641         (do_one_test): Call check_result.
75642         (test_main): Call check1.
75643         * string/bug-strcasestr1.c: Removed.
75644         * string/bug-strchr1.c: Likewise.
75645         * string/bug-strstr1.c: Likewise.
75647         * elf/Makefile (dl-routines): Add hwcaps.
75648         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75649         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75650         (_dl_important_hwcaps): Moved to ...
75651         * elf/dl-hwcaps.c: Here.  New file.
75652         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75654         [BZ #14557]
75655         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75656         if IS_IN_rtld isn't defined.
75658         * elf/dl-support.c (_dl_sysinfo_map): New.
75659         Include "get-dynamic-info.h" and "setup-vdso.h".
75660         (_dl_non_dynamic_init): Call setup_vdso.
75661         * elf/dynamic-link.h: Don't include <assert.h>.
75662         (elf_get_dynamic_info): Moved to ...
75663         * elf/get-dynamic-info.h: Here.  New file.
75664         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75665         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75666         * elf/setup-vdso.h: Here.  New file.
75667         * elf/rtld.c: Include "setup-vdso.h".
75668         (dl_main): Call setup_vdso.
75670 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75672         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75673         creal in comment listing functions tested.  List finite, isinf,
75674         isnan, isless, islessequal, isgreater, isgreaterequal,
75675         islessgreater, isunordered, lgamma_r and pow10 as functions and
75676         macros not tested.  Mention which functions not tested are aliases
75677         for other functions.  Fix typo.  Note that signs of NaNs are not
75678         tested.
75680         * scripts/config.guess: Update from config.git.
75681         * scripts/config.sub: Likewise.
75683 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75685         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75686         * misc/madvise.c (madvise): Renamed to __madvise.
75687         Make madvise a weak alias.
75688         * include/sys/mman.h: Declare __madvise.
75689         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75690         * sysdeps/unix/syscalls.list
75691         (madvise): Make __madvise the strong name, and madvise a weak alias.
75692         * sysdeps/unix/sysv/linux/syscalls.list
75693         (madvise, mmap): Remove redundant entries.
75694         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75695         * malloc/malloc.c (mtrim): Likewise.
75696         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75698 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75700         * sysdeps/mach/hurd/dl-cache.c: File removed.
75701         * config.h.in (USE_LDCONFIG): New #undef.
75702         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75703         * configure: Regenerated.
75704         * elf/Makefile (dl-routines): Add dl-cache only under
75705         [$(use-ldconfig) = yes].
75706         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75707         cache on [USE_LDCONFIG].
75708         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75709         [USE_LDCONFIG].
75710         * elf/rtld.c (dl_main): Likewise.
75712 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75714         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75715         _SC_LEVEL4_CACHE_LINESIZE.
75717 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75719         * sysdeps/unix/bsd/confstr.h: File removed.
75721 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75723         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75724         sys/sdt-config.h.
75726 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75728         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75729         Make 'mapoff' field ElfW(Off) rather than off_t.
75731 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75733         * nscd/Makefile: Remove nscd-cflags and all its users.
75734         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75735         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75737         [BZ #10631]
75738         * malloc.c (malloc_printerr): Clarify error message.
75740 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75742         [BZ #14648]
75743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75744         Set bit_FMA_Usable if FMA is supported.
75745         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75746         macro.
75747         (bit_FMA4_Usable): Updated.
75748         (index_FMA_Usable): New macro.
75749         (CPUID_FMA): Likewise.
75750         (HAS_FMA): Defined with bit_FMA_Usable.
75752 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75754         * bits/types.h (__swblk_t): Type removed.
75755         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75756         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75757         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75758         (__SWBLK_T_TYPE): Likewise.
75759         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75760         (__SWBLK_T_TYPE): Likewise.
75761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75762         (__SWBLK_T_TYPE): Likewise.
75763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75764         (__SWBLK_T_TYPE): Likewise.
75766 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75767             Honza Horak <hhorak@redhat.com>
75769         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75770         (xdr_mapname): Use YPMAXMAP as maxsize.
75771         (xdr_peername): Use YPMAXPEER as maxsize.
75772         (xdr_keydat): Use YPAXRECORD as maxsize.
75773         (xdr_valdat): Use YPMAXRECORD as maxsize.
75775 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75777         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75779         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75780         * csu/init-first.c: ... here.
75781         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75782         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75783         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75784         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75785         * sysdeps/i386/init-first.c: File removed.
75786         * sysdeps/sh/init-first.c: File removed.
75788 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75790         [BZ #14645]
75791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75792         if x * y might underflow to zero and z is zero.
75793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75795         * math/libm-test.inc (min_subnorm_value): New variable.
75796         (fma_test): Add more tests.
75797         (fma_test_towardzero): Likewise.
75798         (fma_test_downward): Likewise.
75799         (fma_test_upward): Likewise.
75800         (initialize): Set min_subnorm_value.
75802 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75804         [BZ #14638]
75805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75806         0 + 0.
75807         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75808         mode for addition resulting in exact zero.
75809         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75811         exact 0 + 0.
75812         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75814         * math/libm-test.inc (fma_test): Add more tests.
75815         (fma_test_towardzero): New function.
75816         (fma_test_downward): Likewise.
75817         (fma_test_upward): Likewise.
75818         (main): Call the new functions.
75820 2012-09-28  David S. Miller  <davem@davemloft.net>
75822         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75824 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75826         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75827         instead of SIGALRM.
75829         * sysdeps/gnu/_G_config.h: Moved to ...
75830         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75831         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75832         * sysdeps/generic/_G_config.h: ... here.
75834         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75836         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75838         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75839         Conditionalize target on [libnss_test1.so-version].
75841         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75843         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75844         (elfobjdir): Move out of conditionals.
75846         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75847         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75848         (__nss_lookup_function): Conditionalize label remove_from_tree on
75849         [!DO_STATIC_NSS || SHARED], matching its only use.
75851 2012-09-28  David S. Miller  <davem@davemloft.net>
75853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75854         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75855         file.
75856         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75857         sysdep_routines.
75858         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75860         when HWCAP_SPARC_CRYPTO is present.
75862 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75864         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75866 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75868         [BZ #6530]
75869         * stdio-common/vfprintf.c (process_string_arg): Revert
75870         2000-07-22 change.
75872 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75874         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75875         for testcase.
75876         * stdio-common/tst-sprintf.c: Include <locale.h>
75877         (main): Test sprintf's handling of incomplete multibyte
75878         characters.
75880 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75882         * elf/dl-runtime.c (VERSYMIDX): Removed.
75883         * elf/dl-version.c (VERSYMIDX): Likewise.
75884         * elf/do-rel.h (VERSYMIDX): Likewise.
75885         (VALIDX): Likewise.
75886         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75887         * elf/rtld.c (VALIDX): Likewise.
75888         (ADDRIDX): Likewise.
75889         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75890         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75891         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75892         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75893         (VALIDX): Likewise.
75894         (ADDRIDX): Likewise.
75896 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75898         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75900 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75902         [BZ #11438]
75903         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75904         to global scope.
75905         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75906         addresses are in the same scope as 192.0.2/24.
75907         * posix/gai.conf: Document new scope table defaults.
75909 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75911         [BZ #5298]
75912         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75913         for ftell.  Compute offsets from write pointers instead.
75914         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75916 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75918         [BZ #14543]
75919         * libio/Makefile (tests): New test case tst-fseek.
75920         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75921         combination works in wide mode.
75922         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75923         state when the external buffer state changes.
75925 2012-09-27  David S. Miller  <davem@davemloft.net>
75927         [BZ #14376]
75928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75929         pass reloc->r_addend in as the 'high' argument to
75930         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75934 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75936         * rt/tst-aio2.c: Include <pthread.h>.
75937         * rt/tst-aio3.c: Likewise.
75939 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75941         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75943 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75945         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75946         contents on [SHARED].
75948 2012-09-26  Marek Polacek  <polacek@redhat.com>
75950         [BZ #14530]
75951         [BZ #13741]
75952         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75953         for C++ and GCC <4.3 as well as for non GCC compilers.
75955 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75959 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75961         * Makefile.in (all, install): Declare with .PHONY.
75962         Reported by Michael Hope <michael.hope@linaro.org>.
75964 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75966         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75967         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75968         system header.
75969         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75970         Likewise.
75971         (sydep_routines): Add the new and the internal functions.
75972         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75973         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75975         (GLIBC_2.17): Add the new function.
75976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75977         (GLIBC_2.17): Likewise.
75978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75979         (GLIBC_2.17): Likewise.
75980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75981         (GLIBC_2.17): Likewise.
75982         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75984 2012-09-25  Alan Modra  <amodra@gmail.com>
75986         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75987         Add release barrier before setting once_control to say
75988         initialisation is done.  Add hints on lwarx.  Use macro in
75989         place of isync.
75990         (clear_once_control): Add release barrier.
75992 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75994         [BZ #13629]
75995         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75996         specially.
75997         * math/s_clog10.c (__clog10): Likewise.
75998         * math/s_clog10f.c (__clog10f): Likewise.
75999         * math/s_clog10l.c (__clog10l): Likewise.
76000         * math/s_clogf.c (__clogf): Likewise.
76001         * math/s_clogl.c (__clogl): Likewise.
76002         * math/Makefile (libm-calls): Add x2y2m1.
76003         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76004         (__x2y2m1): Likewise.
76005         (__x2y2m1l): Likewise.
76006         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76007         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76008         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76009         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76010         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76011         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76012         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76013         * sysdeps/i386/fpu/libm-test-ulps: Update.
76014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76016         [BZ #14621]
76017         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76018         int as type of variable DEPTH.
76019         (glob): Use size_t instead of int as type of variables NEWCOUNT
76020         and OLD_PATHC.
76022 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76024         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76025         Add s_sincosf-sse2.
76026         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76027         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76028         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76029         macros for using routine as __sincosf_ia32.
76030         Use macro for function declaration and weak_alias.
76031         * sysdeps/i386/fpu/libm-test-ulps: Update.
76033         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76036         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76037         subnormal argument.
76038         * math/s_cexpf.c (__cexpf): Likewise.
76039         * math/s_csinf.c (__csinf): Likewise.
76040         * math/s_csinhf.c (__csinhf): Likewise.
76041         * math/s_ctanf.c (__ctanf): Likewise.
76042         * math/s_ctanhf.c (__ctanhf): Likewise.
76043         * math/s_ccosh.c (__ccoshf): Likewise.
76044         * math/s_cexp.c (__cexpl): Likewise.
76045         * math/s_csin.c (__csin): Likewise.
76046         * math/s_csinh.c (__csinh): Likewise.
76047         * math/s_ctan.c (__ctan): Likewise.
76048         * math/s_ctanh.c (ctanh): Likewise.
76049         * math/s_ccoshl.c (__ccoshl): Likewise.
76050         * math/s_cexpl.c (__cexpl): Likewise.
76051         * math/s_csinl.c (__csinl): Likewise.
76052         * math/s_csinhl.c (__csinhl): Likewise.
76053         * math/s_ctanl.c (__ctanl): Likewise.
76054         * math/s_ctanhl.c (__ctanhl): Likewise.
76056 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76058         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76059         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76060         (_IO_off_t): Define to __off_t, not _G_off_t.
76061         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76062         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76063         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76064         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76065         type of __dummy and __dummy2 fields.
76066         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76067         (_G_ssize_t): Likewise.
76068         (_G_off_t): Likewise.
76069         (_G_pid_t): Likewise.
76070         (_G_uid_t): Likewise.
76071         (_G_wchar_t): Likewise.
76072         (_G_wint_t): Likewise.
76073         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76074         (_G_ssize_t): Likewise.
76075         (_G_off_t): Likewise.
76076         (_G_pid_t): Likewise.
76077         (_G_uid_t): Likewise.
76078         (_G_wchar_t): Likewise.
76079         (_G_wint_t): Likewise.
76080         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76081         (_G_ssize_t): Likewise.
76082         (_G_off_t): Likewise.
76083         (_G_pid_t): Likewise.
76084         (_G_uid_t): Likewise.
76085         (_G_wchar_t): Likewise.
76086         (_G_wint_t): Likewise.
76088 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76090         * malloc/arena.c: Include malloc-sysdep.h.
76091         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76092         is sufficient to shrink the heap or an unmap is needed.
76093         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76094         new function check_may_shrink_heap.
76095         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76096         new function check_may_shrink_heap.
76098 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76100         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76101         comments.
76103 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76105         * catgets/test-gencat.sh: Add "set -e".
76106         * elf/tst-pathopt.sh: Likewise.
76107         * grp/tst_fgetgrent.sh: Likewise.
76108         * iconvdata/run-iconv-test.sh: Likewise.
76109         * intl/tst-gettext.sh: Likewise.
76110         * intl/tst-gettext2.sh: Likewise.
76111         * intl/tst-gettext4.sh: Likewise.
76112         * intl/tst-gettext6.sh: Likewise.
76113         * intl/tst-translit.sh: Likewise.
76114         * io/ftwtest-sh: Likewise.
76115         * libio/test-freopen.sh: Likewise.
76116         * malloc/tst-mtrace.sh: Likewise.
76117         * posix/globtest.sh: Likewise.
76118         * posix/tst-getconf.sh: Likewise.
76119         * posix/wordexp-tst.sh: Likewise.
76120         * stdio-common/tst-printf.sh: Likewise.
76121         * stdio-common/tst-unbputc.sh: Likewise.
76122         * stdlib/tst-fmtmsg.sh: Likewise.
76123         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76124         * catgets/Makefile: Do not specify -e option when running
76125         testsuite shell scripts.
76126         * elf/Makefile: Likewise.
76127         * grp/Makefile: Likewise.
76128         * iconvdata/Makefile: Likewise.
76129         * intl/Makefile: Likewise.
76130         * io/Makefile: Likewise.
76131         * libio/Makefile: Likewise.
76132         * malloc/Makefile: Likewise.
76133         * posix/Makefile: Likewise.
76134         * stdio-common/Makefile: Likewise.
76135         * stdlib/Makefile: Likewise.
76136         * sysdeps/x86_64/Makefile: Likewise.
76138         * io/ftwtest-sh: Add copyright header.
76139         * posix/globtest.sh: Likewise.
76140         * posix/tst-getconf.sh: Likewise.
76141         * posix/wordexp-tst.sh: Likewise.
76142         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76144 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
76146         [BZ #13679]
76147         * Makeconfig (+link): Defined as $(+link-static) if
76148         $(build-shared) isn't yes.
76149         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76150         isn't yes.
76151         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76153         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76155         [BZ #14562]
76156         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76157         new chunk size with MALLOC_ALIGN_MASK.
76159 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
76161         [BZ #5044]
76162         * stdio-common/printf_fphex.c: Include <stdbool.h> and
76163         <rounding-mode.h>.
76164         (__printf_fphex): Determine rounding using get_rounding_mode and
76165         round_away.
76166         * stdio-common/tst-printf-round.c (struct hex_test): New
76167         structure.
76168         (hex_tests): New variable.
76169         (test_hex_in_one_mode): New function.
76170         (do_test): Also run tests for hex float output.
76172 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
76174         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76175         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76176         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76177         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76178         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76179         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76180         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76181         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76183 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
76185         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76186         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76187         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76188         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76190 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
76192         [BZ #14579]
76193         * elf/rtld.c (dl_main): Limit the check for self loading to normal
76194         mode only.
76195         * elf/tst-rtld-load-self.sh: New test.
76196         * elf/Makefile: Run it.
76198 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
76200         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76201         (tst-writev-ENV): Remove.
76202         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76204 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
76206         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76208 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
76210         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76211         unconditional.
76212         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76213         Likewise.
76214         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76215         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76216         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76217         Likewise.
76219 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
76221         [BZ #14587]
76222         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76223         * config.make.in (have-cpp-asm-debuginfo): Removed.
76224         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76225         * configure: Regenerated.
76227 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
76229         [BZ #5044]
76230         * stdio-common/printf_fp.c: Include <stdbool.h> and
76231         <rounding-mode.h>.
76232         (___printf_fp): Determine rounding using get_rounding_mode and
76233         round_away.
76234         * stdio-common/tst-printf-round.c: New file.
76235         * stdio-common/Makefile (tests): Add tst-printf-round.
76236         (link-libm): New variable.
76237         ($(objpfx)tst-printf-round): Depend in $(link-libm).
76239 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
76241         [BZ #14576]
76242         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76243         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76244         Likewise.
76245         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76246         Likewise.
76248 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
76250         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76251         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76252         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76253         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76255 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
76257         [BZ #14518]
76258         * include/rounding-mode.h: New file.
76259         * sysdeps/generic/get-rounding-mode.h: Likewise.
76260         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76261         * stdlib/strtod_l.c: Include <rounding-mode.h>.
76262         (MAX_VALUE): New macro.
76263         (MIN_VALUE): Likewise.
76264         (overflow_value): New function.
76265         (underflow_value): Likewise.
76266         (round_and_return): Use overflow_value and underflow_value to
76267         determine return values in overflow and underflow cases.  Use
76268         round_away to determine rounding depending on rounding mode.
76269         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76270         determine return values in overflow and underflow cases.
76271         * stdlib/tst-strtod-round.c: Include <fenv.h>.
76272         (struct test_results): New structure.
76273         (struct test): Use struct test_results to store expected results
76274         for all rounding modes.
76275         (TEST): Include expected results for all rounding modes.
76276         (test_in_one_mode): New function.
76277         (do_test): Use test_in_one_mode to compute and check results.
76278         Check results for all rounding modes.
76279         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76280         $(link-libm).
76282 2012-12-09  Allan McRae  <allan@archlinux.org>
76284         * sysdeps/i386/fpu/libm-test-ulps: Update
76286 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
76288         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76289         (_G_int32_t): Likewise.
76290         (_G_uint16_t): Likewise.
76291         (_G_uint32_t): Likewise.
76292         (_G_HAVE_BOOL): Likewise.
76293         (_G_HAVE_ATEXIT): Likewise.
76294         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76295         (_G_HAVE_IO_FILE_OPEN): Likewise.
76296         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76297         (_G_int32_t): Likewise.
76298         (_G_uint16_t): Likewise.
76299         (_G_uint32_t): Likewise.
76300         (_G_HAVE_BOOL): Likewise.
76301         (_G_HAVE_ATEXIT): Likewise.
76302         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76303         (_G_HAVE_IO_FILE_OPEN): Likewise.
76304         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76305         (_G_int32_t): Likewise.
76306         (_G_uint16_t): Likewise.
76307         (_G_uint32_t): Likewise.
76308         (_G_HAVE_BOOL): Likewise.
76309         (_G_HAVE_ATEXIT): Likewise.
76310         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76311         (_G_HAVE_IO_FILE_OPEN): Likewise.
76313 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
76315         * csu/libc-tls.c: Update copyright years.
76317 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
76319         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76320         [!_G_USING_THUNKS]: Remove conditional code.
76321         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76322         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76324         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76325         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76326         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76327         (_G_VTABLE_LABEL_PREFIX): Likewise.
76328         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76329         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76330         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76331         (_G_VTABLE_LABEL_PREFIX): Likewise.
76332         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76333         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76334         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76335         (_G_VTABLE_LABEL_PREFIX): Likewise.
76336         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76338 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
76340         * libio/Makefile: Include ../Makeconfig before tests.
76341         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76342         only if $(build-shared) is yes.
76344         * iconv/gconv_db.c: Update copyright years.
76346 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76348         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76349         unwind info if defined PIC. Fix special cases description.
76350         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76352         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76353         DP_HI_MASK entry.
76354         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76356 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
76358         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76360         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76361         is NULL.
76363         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76364         (LDLIBS-tst-chk4): This.
76365         (LDFLAGS-tst-chk5): Renamed to ...
76366         (LDLIBS-tst-chk5): This.
76367         (LDFLAGS-tst-chk6): Renamed to ...
76368         (LDLIBS-tst-chk6): This.
76369         (LDFLAGS-tst-lfschk4): Renamed to ...
76370         (LDLIBS-tst-lfschk4): This.
76371         (LDFLAGS-tst-lfschk5): Renamed to ...
76372         (LDLIBS-tst-lfschk5): This.
76373         (LDFLAGS-tst-lfschk6): Renamed to ...
76374         (LDLIBS-tst-lfschk6): This.
76376         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76377         on $(common-objpfx)soversions.mk.
76379 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
76381         [BZ #10014]
76382         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76383         example host name.
76385 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
76387         * malloc/arena.c (arena_get_retry): New function that gets
76388         another arena for the caller to try its request on.
76389         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76390         current arena cannot fulfill the request.
76391         (__libc_memalign): Likewise.
76392         (__libc_memalign): Likewise.
76393         (__libc_pvalloc): Likewise.
76394         (__libc_calloc): Likewise.
76396 2012-09-05  John Tobey  <john.tobey@gmail.com>
76398         [BZ #13542]
76399         * manual/arith.texi (Operations on Complex): Fix description
76400         of carg branch cut.
76402 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76404         [BZ #10014]
76405         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
76406         host name.
76408         [BZ #10038]
76409         * manual/memory.texi (Memory): Make order of menu items match
76410         order of sections.
76412 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76414         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76415         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
76416         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76420         * csu/libc-tls.c (static_dtv): Renamed to ...
76421         (_dl_static_dtv): This.  Make it global.
76422         (_dl_initial_dtv): Removed.
76423         (__libc_setup_tls): Updated.
76424         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76425         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76426         DL_INITIAL_DTV.
76428 2012-09-06  Petr Machata  <pmachata@redhat.com>
76430         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76431         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76432         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76433         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76435 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76437         [BZ #14545]
76438         * csu/libc-tls.c (_dl_initial_dtv): New variable.
76439         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76440         freeing dtv[-1].
76442 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76444         [BZ #14544]
76445         * Makeconfig (link-static-before-libc): Replace $(+prector)
76446         with $(+prectorT).
76447         (link-static-after-libc): Replace $(+postctor) with
76448         $(+postctorT).
76449         (link-bounded): Replace $(+prector)/$(+postctor) with
76450         $(+prectorT)/$(+postctorT).
76451         (+prectorT): New macro.
76452         (+postctorT): Likewise.
76454 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76456         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76457         (round_str): Handle values above the maximum for IBM long double
76458         as inexact.
76459         * stdlib/tst-strtod-round.c (tests): Regenerated.
76461 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76463         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76464         assembler flag.
76465         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76466         zarch_nohighgprs around the zarch optimized routines.
76467         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76468         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76470         for zarch.
76472 2012-09-05  David S. Miller  <davem@davemloft.net>
76474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76476         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76477         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76478         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76479         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76480         entries.
76482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76484         * malloc/arena.c: Fold copyright years.
76485         * malloc/mcheck.c, malloc/memusage.c: Likewise.
76487 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76489         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76491 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76493         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
76495 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76497         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76498         change internal state upon failure.
76500 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76502         * malloc/mcheck.c (mcheck_check_all): Fix typo.
76503         * malloc/memusage.c (mmap): Likewise.
76504         (mmap64, mremap): Likewise.  Adjust name in comment.
76506 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76508         * libio/fileops.c: Fix typos in comments.
76509         * libio/oldfileops.c: Likewise.
76510         * libio/wfileops.c: Likewise.
76512 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76514         [BZ #1349]
76515         * malloc/Makefile (tests): Add tst-malloc-usable test case.
76516         (tst-malloc-usable-ENV): Set environment for test case.
76517         * malloc/hooks.c (malloc_check_get_size): New function to get
76518         requested size.
76519         * malloc/malloc.c (musable): Use malloc_check_get_size.
76520         * malloc/tst-malloc-usable.c: New test case.
76522 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76524         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76526 2012-09-05  Allan McRae  <allan@archlinux.org>
76528         [BZ #13966]
76529         * configure.in (CXX_SYSINCLUDES): Use compiler output to
76530         determine header location.
76531         * configure: Regenerated.
76533 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76535         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76536         float format.
76537         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76538         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76539         format.
76540         (test): Regenerate.
76542 2012-09-04  David S. Miller  <davem@davemloft.net>
76544         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76545         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76546         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76548 2012-09-04  Florian Weimer  <fweimer@redhat.com>
76550         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76551         failures.
76553         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76555 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
76557         [BZ #9914]
76558         * libio/iogetdelim.c: Include <limits.h>.
76559         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76560         + len + 1 would overflow.
76562 2012-09-03  Andreas Jaeger  <aj@suse.de>
76564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76565         * sysdeps/i386/fpu/libm-test-ulps: Update.
76567 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76569         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76570         Add s_sinf-sse2, s_conf-sse2.
76572         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76573         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76574         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76575         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76577         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76578         for using routine as __sinf_ia32.
76579         Use macro for function declaration and weak_alias.
76580         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76581         for using routine as __cosf_ia32.
76582         Use macro for function declaration and weak_alias.
76584         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76585         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76587         * sysdeps/x86_64/fpu/s_sinf.S: New file.
76588         * sysdeps/x86_64/fpu/s_cosf.S: New file.
76589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76591         * math/libm-test.inc (cos_test): Add more test cases.
76592         (sin_test): Likewise.
76593         (sincos_test): Likewise.
76595 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76598         (IFUNC_RESOLVE): Make pointers to the specialized implementations
76599         hidden.
76600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76602 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
76604         [BZ #14538]
76605         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76606         first element of the GOT.
76607         (elf_machine_load_address): Return the difference between
76608         the runtime address of _DYNAMIC and elf_machine_dynamic ().
76610 2012-09-01  Allan McRae  <allan@archlinux.org>
76612         [BZ #13412]
76613         * configure.in (AWK): Require gawk version 3.0 or later.
76614         * configure: Regenerated.
76616 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
76618         * sysdeps/unix/sysv/linux/kernel-features.h
76619         (__ASSUME_POSIX_CPU_TIMERS): Remove.
76620         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76621         [__NR_clock_getres]: Make code unconditional.
76622         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76623         (clock_getcpuclockid): Remove code left unreachable by removal of
76624         conditionals.
76625         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76626         code unconditional.
76627         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76628         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76629         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76630         Make code unconditional.
76631         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76632         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76633         * sysdeps/unix/sysv/linux/clock_settime.c
76634         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76635         conditional code.
76636         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76637         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76639 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76641         [BZ #14476]
76642         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76643         scripts/test-installation.pl.
76645         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76646         and $ld_so_version if it is set.
76648 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76650         [BZ #14516]
76651         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76652         failure if reading from procfs failed.
76653         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76655 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76657         * sysdeps/unix/sysv/linux/kernel-features.h
76658         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76659         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76660         Remove conditional code.
76661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76662         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76663         Remove conditional code.
76664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76665         * sysdeps/unix/sysv/linux/i386/fxstat.c
76666         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76668         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76669         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76671         * sysdeps/unix/sysv/linux/i386/lxstat.c
76672         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76674         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76675         Remove conditional code.
76676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76677         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76678         Remove conditional code.
76679         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76680         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76681         <kernel-features.h>.
76682         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76683         Remove.
76684         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76685         Remove conditional code.
76686         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76687         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76688         Remove conditional.
76690 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76692         [BZ #5400]
76693         * NEWS: Add fixed bug number.
76695 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76697         [BZ #14519]
76698         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76699         underflowing exponent in case of negative sign.
76700         * stdlib/tst-strtod-round-data: Add more tests.
76701         * stdlib/tst-strtod-round.c (tests): Regenerated.
76703         [BZ #3479]
76704         * stdlib/strtod_l.c (NDIG): Remove.
76705         (HEXNDIG): Likewise.
76706         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76707         smallest representable value.
76708         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76709         lie within an exact representation of 1/2 ulp of the result.
76710         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76711         unconditionally.
76712         (TENS_P9_IDX): Define unconditionally.
76713         (TENS_P9_SIZE): Likewise.
76714         (TENS_P10_IDX): Likewise.
76715         (TENS_P10_SIZE): Likewise.
76716         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76717         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76718         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76719         entries for 10^2^13 and 10^2^14.
76720         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76721         (TENS_P13_IDX): Define.
76722         (TENS_P13_SIZE): Likewise.
76723         (TENS_P14_IDX): Likewise.
76724         (TENS_P14_SIZE): Likewise.
76725         (_fpioconst_pow10): Change array size to
76726         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76727         unconditional.
76728         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76729         1024]: Add entries for 10^2^13 and 10^2^14.
76730         [LAST_POW10 > _LAST_POW10]: Remove #error.
76731         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76732         (_fpioconst_pow10): Change array size to
76733         FPIOCONST_POW10_ARRAY_SIZE.
76734         * stdlib/gen-fpioconst.c: New file.
76735         * stdlib/gen-tst-strtod-round.c: Likewise.
76736         * stdlib/tst-strtod-round-data: Likewise.
76737         * stdlib/tst-strtod-round.c: Likewise.
76738         * stdlib/Makefile (tests): Add tst-strtod-round.
76740         [BZ #14459]
76741         * stdlib/strtod_l.c: Include <stdint.h>.
76742         (NDEBUG): Do not define.
76743         (round_and_return): Change EXPONENT parameter to type intmax_t.
76744         Rearrange calculations to avoid internal overflow possibilities.
76745         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76746         Rearrange calculations to avoid internal overflow possibilities.
76747         Assert that number fits inside MPNSIZE limbs.
76748         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76749         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76750         calculations and add assertions to avoid internal overflow
76751         possibilities.  Add casts to avoid signed/unsigned operations.
76752         * stdlib/tst-strtod-overflow.c: New file.
76753         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76755 2012-08-25  Marek Polacek  <polacek@redhat.com>
76757         * time/time.h: Fix some typos in comments.
76759 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76761         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76762         * posix/tst-rfc3484-2.c: Likewise.
76763         * posix/tst-rfc3484-3.c: Likewise.
76765 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76767         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76768         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76770 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76772         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76773         #include of fxstatat64.c.
76775 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76777         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76778         * shadow/getspent_r.c: Likewise.
76779         * shadow/getspnam.c: Likewise.
76780         * shadow/getspnam_r.c: Likewise.
76781         * gshadow/getsgent.c: Likewise.
76782         * gshadow/getsgent_r.c: Likewise.
76783         * gshadow/getsgnam.c: Likewise.
76784         * gshadow/getsgnam_r.c: Likewise.
76785         * inet/getnetbyad.c: Likewise.
76786         * inet/getnetbyad_r.c: Likewise.
76787         * inet/getnetbynm.c: Likewise.
76788         * inet/getnetbynm_r.c: Likewise.
76789         * inet/getnetent.c: Likewise.
76790         * inet/getnetent_r.c: Likewise.
76791         * inet/getproto.c: Likewise.
76792         * inet/getproto_r.c: Likewise.
76793         * inet/getprtent.c: Likewise.
76794         * inet/getprtent_r.c: Likewise.
76795         * inet/getprtname.c: Likewise.
76796         * inet/getprtname_r.c: Likewise.
76797         * inet/getrpcbyname.c: Likewise.
76798         * inet/getrpcbyname_r.c: Likewise.
76799         * inet/getrpcbynumber.c: Likewise.
76800         * inet/getrpcbynumber_r.c: Likewise.
76801         * inet/getrpcent.c: Likewise.
76802         * inet/getrpcent_r.c: Likewise.
76803         * inet/getaliasent.c: Likewise.
76804         * inet/getaliasent_r.c: Likewise.
76805         * inet/getaliasname.c: Likewise.
76806         * inet/getaliasname_r.c: Likewise.
76807         * nscd/getgrgid_r.c: Likewise.
76808         * nscd/getgrnam_r.c: Likewise.
76809         * nscd/gethstbyad_r.c: Likewise.
76810         * nscd/gethstbynm3_r.c: Likewise.
76811         * nscd/getpwnam_r.c: Likewise.
76812         * nscd/getpwuid_r.c: Likewise.
76813         * nscd/getsrvbynm_r.c: Likewise.
76814         * nscd/getsrvbypt_r.c: Likewise.
76815         * nscd/gai.c: Likewise.
76817         * configure.in (build_nscd): New substituted variable, set
76818         by --disable-build-nscd and defaults to $use_nscd.
76819         * configure: Regenerated.
76820         * config.make.in (build-nscd): New substituted variable.
76821         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76822         Change conditional to require [$(build-nscd) = yes] as well.
76823         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76825         [BZ #13696]
76826         * configure.in (use_nscd): New substituted variable, set by
76827         --disable-nscd.  If enabled, define USE_NSCD.
76828         * configure: Regenerated.
76829         * config.h.in: Add USE_NSCD.
76830         * config.make.in (use-nscd): New substituted variable.
76831         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76832         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76833         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76834         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76835         (CFLAGS-getgrnam_r.c): Likewise.
76836         (CFLAGS-initgroups.c): Likewise.
76837         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76838         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76839         Variables removed.
76840         * inet/getnetgrent_r.c
76841         (nscd_setnetgrent): New function, broken out of ...
76842         (setnetgrent): ... here.  Call it.
76843         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76844         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76845         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76846         * nscd/Makefile (routines, aux): Move definitions after include of
76847         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76848         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76849         Conditionalize on [USE_NSCD].
76850         (is_nscd, nscd_init_cb): Likewise.
76851         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76852         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76853         * nss/nss_db/db-init.c: Likewise.
76854         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76855         [USE_NSCD].
76856         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76857         (make_request): Use it.
76858         (cache_valid_p): New function.
76859         (__check_pf): Use it.
76860         * NEWS: Add item for --disable-nscd.
76862 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76864         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76865         to support sed >= 4.2.1-20-ga9bf076.
76866         * configure: Regenerated.
76868 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76870         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76871         Conditionalize whole body on [IREL].
76873 2012-08-22  Jeff Law <law@redhat.com>
76875         [BZ #14505]
76876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76877         if the family is PF_UNSPEC.
76879 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76881         * Makerules (lib-version): Rename from V.
76882         (install-lib-nosubdir): Change V to lib-version.
76884 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76886         [BZ #14252]
76887         * powerpc32/power6/wcschr.c: New file.
76888         * powerpc32/power6/wcscpy.c: New file.
76889         * powerpc32/power6/wcsrchr.c: New file.
76890         * powerpc64/power6/wcschr.c: New file.
76891         * powerpc64/power6/wcscpy.c: New file.
76892         * powerpc64/power6/wcsrchr.c: New file.
76894 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76896         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76897         (two_way_short_needle): Use it.
76898         * string/strstr.c (AVAILABLE1_USES_J): Define.
76899         * string/strcasestr.c: Likewise.
76901         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76902         array references.
76903         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76905         [BZ #11607]
76906         * NEWS: Add an entry.
76907         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76908         define their defaults.
76909         (two_way_short_needle): Detect end-of-string on-the-fly.
76910         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76911         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76912         * string/bug-strcasestr1.c: New test.
76913         * string/Makefile: Run it.
76915 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76917         [BZ #11607]
76918         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76919         the first character.
76921 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76923         * csu/elf-init.c (__libc_csu_irel): Function removed.
76924         * csu/libc-start.c (apply_irel): New function.
76925         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76927 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76929         * sysdeps/unix/sysv/linux/kernel-features.h
76930         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76931         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76932         <kernel-features.h>.
76933         [__NR_fadvise64_64]: Make code unconditional.
76934         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76935         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76936         !__NR_fadvise64_64)]: Likewise.
76937         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76938         !__NR_fadvise64_64))]: Likewise.
76939         [__NR_fadvise64]: Make code unconditional.
76940         [!__NR_fadvise64]: Remove conditional code.
76941         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76942         <kernel-features.h>.
76943         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76944         unconditional.
76945         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76946         conditional code.
76947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76948         not include <kernel-features.h>.
76949         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76950         unconditional.
76951         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76952         conditional code.
76953         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76954         include <kernel-features.h>.
76955         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76956         unconditional.
76957         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76958         conditional code.
76960 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76962         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76963         slight instruction rearrangements per scrollpipe analysis.
76964         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76966 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76968         * manual/syslog.texi (syslog; vsyslog, closelog):
76969         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76970         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76972         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76973         DSOCAPS to match condition on defining it.
76975 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76977         * sysdeps/unix/sysv/linux/kernel-features.h
76978         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76980         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76981         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76983         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76984         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76986         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76987         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76989         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76990         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76992         * sysdeps/unix/sysv/linux/kernel-features.h
76993         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76994         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76995         unconditional.
76996         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76997         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76998         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76999         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77000         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77001         Make code unconditional.
77002         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77003         (__mmap64) [!__NR_mmap2]: Likewise.
77004         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77005         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77006         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77007         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77008         [__NR_mmap2]: Make code unconditional.
77009         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77010         (__mmap64) [!__NR_mmap2]: Likewise.
77012 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77014         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77016 2012-08-18  Andreas Jaeger  <aj@suse.de>
77018         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77020 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77022         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77023         * include/unistd.h (__have_sock_cloexec): Likewise.
77024         (__have_pipe2): Likewise.
77025         (__have_dup3): Likewise.
77027 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77029         [BZ #9685]
77030         * include/unistd.h (__have_pipe2): Change define into an extern int.
77031         (__have_dup3): Likewise.
77032         * socket/have_sock_cloexec.c: Include fcntl.h.
77033         (__have_pipe2): New variable.
77034         (__have_dup3): Likewise.
77036 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77038         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77040 2012-08-17  Marek Polacek  <polacek@redhat.com>
77042         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77043         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77045 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77047         * configure.in: Add AC_SUBST for sysheaders.
77048         * configure: Regenerated.
77049         * config.make.in (sysheaders): New substituted variable.
77051         * sysdeps/unix/mkfifo.c: Moved ...
77052         * sysdeps/posix/mkfifo.c: ... here.
77053         * sysdeps/unix/mkfifoat.c: Moved ...
77054         * sysdeps/posix/mkfifoat.c: ... here.
77056         * sysdeps/unix/utime.c: Moved ...
77057         * sysdeps/posix/utime.c: ... here.
77059         * sysdeps/unix/time.c: Moved ...
77060         * sysdeps/posix/time.c: ... here.
77061         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77062         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77064         * sysdeps/unix/nice.c: Moved ...
77065         * sysdeps/posix/nice.c: ... here.
77067         * sysdeps/unix/alarm.c: Moved ...
77068         * sysdeps/posix/alarm.c: ... here.
77070         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77072 2012-08-17  Jeff Law <law@redhat.com>
77074         * intl/Makefile (codeset_mo): New variable.
77075         ($(codeset_mo)): New target.
77076         (tst-codeset.out): Depend on that.  Remove explicit rule.
77077         (tst-gettext3.out, tst-gettext5.out): Likewise.
77078         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77079         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77080         * intl/tst-codeset.sh: Remove.
77081         * intl/tst-gettext3.sh: Likewise.
77082         * intl/tst-gettext5.sh: Likewise.
77084 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77086         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77087         * sysdeps/unix/syscalls.list: ... here.
77089         * sysdeps/posix/getaddrinfo.c
77090         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77091         (gaiconf_init, gaiconf_reload): Use them.
77092         [!_STATBUF_ST_NSEC]
77093         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77094         Define using time_t rather than struct timespec.
77096         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77097         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77098         Macros removed.
77099         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77100         [!NO_THREADS].
77101         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77102         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77103         Likewise.
77105         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77106         __libc_cleanup_push argument.
77108         * bits/param.h: New file.
77109         * misc/sys/param.h: New file.
77110         * include/sys/param.h: New file.
77111         * misc/Makefile (headers): Add bits/param.h.
77112         * sysdeps/generic/sys/param.h: File removed.
77113         * sysdeps/unix/sysv/linux/bits/param.h: New file.
77114         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77115         * sysdeps/mach/hurd/bits/param.h: New file.
77116         * sysdeps/mach/hurd/sys/param.h: File removed.
77118         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77119         last change.
77121         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77122         [_IO_MTSAFE_IO].
77123         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77124         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77125         New macros.
77127         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77128         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77129         rather than -D_IO_MTSAFE_IO conditionally.
77130         * stdio-common/Makefile (CPPFLAGS): Likewise.
77131         * wcsmbs/Makefile (CPPFLAGS): Likewise.
77132         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77133         Use $(libio-mtsafe).
77134         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77135         of -D_IO_MTSAFE_IO.
77136         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77137         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77138         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77139         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77140         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77141         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77142         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77143         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77144         (CFLAGS-fread_u_chk.c): Likewise.
77145         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77146         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77147         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77148         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77149         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77150         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77151         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77152         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77153         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77155         * libio/Makefile: Test [$(libc-reentrant) = yes]
77156         instead of [$(filter %REENTRANT, $(defines)) nonempty].
77158         * Makeconfig
77159         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77160         * sysdeps/pthread/configure: File removed.
77161         * sysdeps/pthread/Makeconfig: New file.
77162         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77163         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77165 2012-08-16  Gary Benson  <gbenson@redhat.com>
77167         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77168         unmapping the first object in a namespace.
77170 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77172         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77173         (__internal_setnetgrent): ... this.  Add internal_function to
77174         definition.  Add libc_hidden_def.
77175         (setnetgrent): Update caller.
77176         (internal_endnetgrent): Renamed to ...
77177         (__internal_endnetgrent): ... this.  Add internal_function to
77178         definition.  Add libc_hidden_def.
77179         (endnetgrent): Update caller.
77180         (internal_getnetgrent_r): Renamed to ...
77181         (__internal_getnetgrent_r): ... this.  Add internal_function to
77182         definition.  Add libc_hidden_def.
77183         (__getnetgrent_r): Update caller.
77184         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
77186 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77188         * stdlib/longlong.h: Update from GCC.
77190 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77192         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77193         on _QL, which is set by umul_ppmm but never used.
77194         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77195         variables, which are set by GMP macros but never used.
77196         * stdio-common/_itowa.c (_itowa): Likewise.
77197         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77198         * stdlib/mod_1.c (mpn_mod_1): Likewise.
77200 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
77202         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77203         struct La_sh_regs is not constant.
77204         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77205         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77206         and struct La_sparc64_regs are not constant.
77208 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77210         * sysdeps/unix/sysv/linux/kernel-features.h
77211         (__ASSUME_POSIX_TIMERS): Remove.
77212         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77214         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77215         Make code unconditional.
77216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77217         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77218         Make code unconditional.
77219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77220         * sysdeps/unix/sysv/linux/clock_nanosleep.c
77221         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77223         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77224         Make code unconditional.
77225         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77226         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77227         (__libc_missing_posix_timers): Remove.
77229 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77231         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77232         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77234         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77236         * elf/dl-sym.c: Include <stdlib.h>.
77238         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77239         constants, which avoids warnings in 32-bit builds.
77241         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77242         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77244         * misc/lseek.c: File moved to ...
77245         * io/lseek.c: ... here.
77247         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77249         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77250         shifting LEN more than 31 bits at once.
77252 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77254         [BZ #14195]
77255         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77256         segmentation fault for a case of two empty input strings.
77257         * string/test-strncasecmp.c (check1): Renamed to...
77258         (bz12205): ...this.
77259         (bz14195): Add new testcase for two empty input strings and N > 0.
77260         (test_main): Call new testcase, adapt for renamed function.
77262 2012-08-15  Andreas Jaeger  <aj@suse.de>
77264         [BZ #14090]
77265         * crypt/md5test2.c: New test, based on test supplied by Serge
77266         Belyshev <belyshev@depni.sinp.msu.ru>.
77267         * crypt/Makefile (xtests): Add md5test-giant..
77268         * crypt/Makefile ($(objpfx)md5test-giant): Add.
77270 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
77272         [BZ #14090]
77273         * crypt/md5.c (md5_process_block): Don't assume the buffer
77274         length is less than 2**32.
77275         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77276         length is less than 2**64.
77278 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77280         * string/str-two-way.h: Include <sys/param.h>.
77281         (MAX): Macro removed.
77283         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77284         Move #define and #undef of memmove to just before and after
77285         including <string.h>.
77287         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77288         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77289         and after including <string.h>.  Move declarations of
77290         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77291         to before #include "string/memmove.c".
77293         * include/dirent.h: Declare __getdirentries.
77295         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77296         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77298 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
77300         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77301         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77302         * sysdeps/i386/configure: Regenerated.
77303         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77304         STABS_CURRENT_FILE, and STABS_FUN.
77305         (END): Remove call to STABS_FUN_END.
77306         (STABS_CURRENT_FILE1): Delete.
77307         (STABS_CURRENT_FILE): Likewise.
77308         (STABS_FUN): Likewise.
77309         (STABS_FUN_END): Likewise.
77310         (STABS_FUN2): Likewise.
77311         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77312         * sysdeps/x86_64/configure: Regenerated.
77314 2012-08-14  Roland McGrath  <roland@hack.frob.com>
77316         * elf/dl-open.c: Include <atomic.h>.
77317         * elf/dl-lookup.c: Likewise.
77319 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
77321         * sysdeps/unix/sysv/linux/kernel-features.h
77322         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77323         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77324         unconditionally.
77325         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77326         unconditionally.
77327         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77328         condition on __ASSUME_CLONE_THREAD_FLAGS.
77330 2012-08-14  Andreas Jaeger  <aj@suse.de>
77332         * sysdeps/i386/fpu/libm-test-ulps: Update.
77334 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
77336         * include/atomic.h (atomic_exchange_and_add): Split into ...
77337         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77338         New atomic macros.
77340 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
77342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77344 2012-08-13  Jeff Law <law@redhat.com>
77346         * manual/stdio.texi (snprintf): Clarify handling of the trailing
77347         null byte in the output string.
77349 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
77351         * sysdeps/unix/sysv/linux/kernel-features.h
77352         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77353         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77354         (__ASSUME_ARG_MAX_STACK_BASED): Define.
77355         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77356         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77357         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
77358         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77360 2012-08-09  Jeff Law <law@redhat.com>
77362         [BZ #13939]
77363         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77364         When avoid_arena is set, don't retry in the that arena.  Pick the
77365         next one, whatever it might be.
77366         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77367         (arena_lock): Pass in new parameter to arena_get2.
77368         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77369         arena_get2.
77370         (__libc_malloc): Unify retrying after main arena failure with
77371         __libc_memalign version.
77372         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77374 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
77376         [BZ #14166]
77377         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77378         to __redirect_strstr.
77379         (__strstr_sse42): Use typeof __redirect_strstr.
77380         (__strstr_ia32): Likewise.
77381         (__libc_strstr): New prototype.
77382         (strstr): Renamed to ...
77383         (__libc_strstr): This.
77384         (strstr): New strong alias of __libc_strstr.
77385         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77386         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77387         __redirect_time.
77388         Include <time.h>.
77389         (__libc_time): New prototype.
77390         (time_ifunc): Replace time with __libc_time.
77391         (time): New strong alias and hidden definition of __libc_time.
77392         (__GI_time): Remove strong alias.
77393         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77394         Include <stddef.h>.
77395         (memmove): Redefined to __redirect_memmove.
77396         (__memmove_sse2): Use typeof __redirect_memmove.
77397         (__memmove_ssse3): Likewise.
77398         (__memmove_ssse3_back): Likewise.
77399         (__libc_memmove): New prototype.
77400         (memmove): Renamed to ...
77401         (__libc_memmove): This.
77402         (memmove): New strong alias of __libc_memmove.
77404 2012-08-08  Mark Salter  <msalter@redhat.com>
77406         * elf/elf.h
77407         (R_MN10300_TLS_GD): Define.
77408         (R_MN10300_TLS_LD): Likewise.
77409         (R_MN10300_TLS_LDO): Likewise.
77410         (R_MN10300_TLS_GOTIE): Likewise.
77411         (R_MN10300_TLS_IE): Likewise.
77412         (R_MN10300_TLS_LE): Likewise.
77413         (R_MN10300_TLS_DTPMOD): Likewise.
77414         (R_MN10300_TLS_DTPOFF): Likewise.
77415         (R_MN10300_TLS_TPOFF): Likewise.
77416         (R_MN10300_SYM_DIFF): Likewise.
77417         (R_MN10300_ALIGN): Likewise.
77418         (R_MN10300_NUM): Update.
77420 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
77422         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77423         Remove.
77425 2012-08-08  Roland McGrath  <roland@hack.frob.com>
77427         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77429         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77430         sysdeps/unix -> sysdeps/posix move.
77431         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77433 2012-08-07      Allan McRae     <allan@archlinux.org>
77435         [BZ #14303]
77436         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77437         (SUNOS_CPP): Likewise.
77438         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77439         not found.
77440         (open_input): Call CPP using execvp.
77442 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77444         * sysdeps/unix/sysv/linux/kernel-features.h
77445         (__ASSUME_PROT_GROWSUPDOWN): Remove.
77446         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77447         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77448         (__ASSUME_WAITID_SYSCALL): Likewise.
77449         * sysdeps/unix/sysv/linux/dl-execstack.c
77450         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77451         code unconditional.
77452         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77453         conditional code.
77454         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77455         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77456         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77457         code.
77458         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77459         unconditional.
77460         [__ASSUME_WAITID_SYSCALL]: Likewise.
77461         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77463 2012-08-07  Roland McGrath  <roland@hack.frob.com>
77465         * sysdeps/unix/closedir.c: Renamed to ...
77466         * sysdeps/posix/closedir.c: ... here.
77467         * sysdeps/unix/dirfd.c: Renamed to ...
77468         * sysdeps/posix/dirfd.c: ... here.
77469         * sysdeps/unix/dirstream.h: Renamed to ...
77470         * sysdeps/posix/dirstream.h: ... here.
77471         * sysdeps/unix/fdopendir.c: Renamed to ...
77472         * sysdeps/posix/fdopendir.c: ... here.
77473         * sysdeps/unix/opendir.c: Renamed to ...
77474         * sysdeps/posix/opendir.c: ... here.
77475         * sysdeps/unix/readdir.c: Renamed to ...
77476         * sysdeps/posix/readdir.c: ... here.
77477         * sysdeps/unix/readdir_r.c: Renamed to ...
77478         * sysdeps/posix/readdir_r.c: ... here.
77479         * sysdeps/unix/rewinddir.c: Renamed to ...
77480         * sysdeps/posix/rewinddir.c: ... here.
77481         * sysdeps/unix/seekdir.c: Renamed to ...
77482         * sysdeps/posix/seekdir.c: ... here.
77483         * sysdeps/unix/telldir.c: Renamed to ...
77484         * sysdeps/posix/telldir.c: ... here.
77485         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77486         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77487         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77488         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77490         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77491         * bits/fcntl.h: ... here.
77493         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77494         not 0.
77495         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77496         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77497         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77498         (struct flock): Move l_start, l_len to the beginning.
77499         Use __pid_t for l_pid.
77500         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77501         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77502         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77503         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77504         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77505         [__USE_LARGEFILE64] (struct flock64): New type.
77506         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77508         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77509         * bits/dirent.h: ... here.
77511         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77512         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77514 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77517         Change from 2.6.0 to 2.6.16.
77518         * sysdeps/unix/sysv/linux/configure: Regenerated.
77519         * sysdeps/unix/sysv/linux/kernel-features.h
77520         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77521         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77522         version.
77523         (__ASSUME_UTIMES): Likewise.
77524         (__ASSUME_CLONE_STOPPED): Remove.
77525         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77526         architectures, not kernel version.
77527         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77528         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77529         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77530         (__ASSUME_WAITID_SYSCALL): Likewise.
77531         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77532         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77533         * README: State 2.6.16 as minimum Linux kernel version.  Do not
77534         refer to older versions.
77536 2012-08-06  Roland McGrath  <roland@hack.frob.com>
77538         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77539         Define alphasort64 as an alias.
77540         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77541         Define versionsort64 as an alias.
77542         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77543         Define scandir64 as an alias.
77544         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77545         Define scandirat64 as an alias.
77546         * dirent/alphasort64.c (alphasort64):
77547         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77548         * dirent/versionsort64.c: Likewise.
77549         * dirent/scandir64.c: Likewise.
77550         * dirent/scandirat64.c: Likewise.
77551         * sysdeps/wordsize-64/alphasort.c: File removed.
77552         * sysdeps/wordsize-64/alphasort64.c: File removed.
77553         * sysdeps/wordsize-64/scandir.c: File removed.
77554         * sysdeps/wordsize-64/scandir64.c: File removed.
77555         * sysdeps/wordsize-64/scandirat.c: File removed.
77556         * sysdeps/wordsize-64/scandirat64.c: File removed.
77557         * sysdeps/wordsize-64/versionsort.c: File removed.
77558         * sysdeps/wordsize-64/versionsort64.c: File removed.
77559         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77560         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77561         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77562         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77563         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77564         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77565         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77566         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77568         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77570         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77572         [defined __arch64__ || defined __sparcv9]
77573         (__INO_T_MATCHES_INO64_T): New macro.
77574         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77575         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77576         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77577         * sysdeps/unix/sysv/linux/bits/dirent.h
77578         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77579         (_DIRENT_MATCHES_DIRENT64): New macro.
77581         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77582         Define lockf64 as an alias.
77583         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77584         Define fseeko64 as an alias.
77585         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77586         Define ftello64 as an alias.
77587         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77588         Define _IO_fgetpos64 and fgetpos64 as aliases.
77589         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77590         Define _IO_fsetpos64 and fsetpos64 as aliases.
77591         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77592         Conditionalize body on this.
77593         * libio/fseeko64.c: Likewise.
77594         * libio/ftello64.c: Likewise.
77595         * libio/iofgetpos64.c: Likewise.
77596         * libio/iofsetpos64.c: Likewise.
77597         * sysdeps/wordsize-64/lockf.c: File removed.
77598         * sysdeps/wordsize-64/lockf64.c: File removed.
77599         * sysdeps/wordsize-64/fseeko.c: File removed.
77600         * sysdeps/wordsize-64/fseeko64.c: File removed.
77601         * sysdeps/wordsize-64/ftello.c: File removed.
77602         * sysdeps/wordsize-64/ftello64.c: File removed.
77603         * sysdeps/wordsize-64/iofgetpos.c: File removed.
77604         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77605         * sysdeps/wordsize-64/iofsetpos.c: File removed.
77606         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77607         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77608         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77609         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77610         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77611         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77612         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77613         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77614         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77615         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77616         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77618         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77620         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77622         [defined __arch64__ || defined __sparcv9]
77623         (__OFF_T_MATCHES_OFF64_T): New macro.
77624         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77625         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77627         (__OFF_T_MATCHES_OFF64_T): New macro.
77629 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77631         * stdlib/secure-getenv.c (__secure_getenv): Replace
77632         GLIBC_2_16 with GLIBC_2_17.
77634 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77636         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77637         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77639 2012-08-03  David S. Miller  <davem@davemloft.net>
77641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77643 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77646         Remove.
77647         (__ASSUME_CORRECT_SI_PID): Likewise.
77648         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77649         (__ASSUME_TMPFS_NAME): Likewise.
77650         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77651         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77652         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77653         (HAVE_AUX_SECURE): Make definition unconditional.
77654         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77655         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77657 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77659         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77660         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77661         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77662         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77663         __eloop_threshold instead of SYMLOOP_MAX.
77665         * sysdeps/generic/eloop-threshold.h: New file.
77666         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77667         of MAXSYMLINKS.
77668         * elf/chroot_canon.c (chroot_canon): Likewise.
77670 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77672         [BZ #13717]
77673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77674         Change to 2.6.0 everywhere.
77675         * sysdeps/unix/sysv/linux/configure: Regenerated.
77676         * sysdeps/unix/sysv/linux/kernel-features.h
77677         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77678         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77679         kernel versions.
77680         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77681         (__ASSUME_FUTEX_REQUEUE): Remove.
77682         (__ASSUME_STATFS64): Define unconditionally.
77683         (__ASSUME_AT_SECURE): Likewise.
77684         (__ASSUME_CORRECT_SI_PID): Likewise.
77685         (__ASSUME_TGKILL): Define without depending on kernel version for
77686         i386.
77687         (__ASSUME_UTIMES): Likewise.
77688         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77689         kernel version.
77690         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77691         (__ASSUME_TMPFS_NAME): Likewise.
77692         * README: Update reference to Linux kernel versions.
77694 2012-08-02  Marek Polacek  <polacek@redhat.com>
77696         [BZ #14150]
77697         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77698         libc_cv_asm_type_prefix with %.
77699         * configure: Regenerated.
77700         * include/libc-symbols.h: Remove comment about
77701         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77702         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77703         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77704         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77705         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77706         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77707         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77708         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77709         * elf/tst-unique2mod1.c: Likewise.
77710         * elf/tst-unique1mod2.c: Likewise.
77711         * elf/tst-unique1mod1.c: Likewise.
77712         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77713         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77714         Replace ASM_TYPE_DIRECTIVE with .type.
77715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77716         * sysdeps/i386/sysdep.h: Likewise.
77717         * sysdeps/x86_64/sysdep.h: Likewise.
77718         * sysdeps/sh/sysdep.h: Likewise.
77719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77720         Do not define ASM_TYPE_DIRECTIVE.
77721         * sysdeps/powerpc/sysdep.h: Likewise.
77722         * sysdeps/powerpc/powerpc32/sysdep.h:
77723         Replace ASM_TYPE_DIRECTIVE with .type.
77724         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77725         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77726         * sysdeps/i386/fpu/e_powf.S: Likewise.
77727         * sysdeps/i386/fpu/e_expl.S: Likewise.
77728         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77729         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77730         * sysdeps/i386/fpu/e_pow.S: Likewise.
77731         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77732         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77733         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77734         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77735         * sysdeps/i386/fpu/e_log2.S: Likewise.
77736         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77737         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77738         * sysdeps/i386/fpu/e_powl.S: Likewise.
77739         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77740         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77741         * sysdeps/i386/fpu/e_logl.S: Likewise.
77742         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77743         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77744         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77745         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77746         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77747         * sysdeps/i386/fpu/e_log.S: Likewise.
77748         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77749         * sysdeps/i386/fpu/e_logf.S: Likewise.
77750         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77751         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77752         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77753         * sysdeps/i386/fpu/e_log10.S: Likewise.
77754         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77755         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77756         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77757         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77758         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77759         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77760         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77761         * sysdeps/i386/i686/strtok.S: Likewise.
77762         * sysdeps/i386/i386-mcount.S: Likewise.
77763         * sysdeps/i386/strtok.S: Likewise.
77764         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77765         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77766         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77767         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77768         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77769         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77770         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77771         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77772         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77773         * sysdeps/x86_64/_mcount.S: Likewise.
77774         * sysdeps/x86_64/strtok.S: Likewise.
77775         * sysdeps/sh/_mcount.S: Likewise.
77777 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77779         * libio/iofopen.c: Include <fcntl.h>.
77780         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77781         (_IO_fopen64, fopen64): Define as aliases.
77782         * libio/iofopen64.c: Include <fcntl.h>.
77783         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77784         Conditionalize body on this.
77785         * sysdeps/wordsize-64/iofopen.c: File removed.
77786         * sysdeps/wordsize-64/iofopen64.c: File removed.
77788 2012-08-01  Marek Polacek  <polacek@redhat.com>
77790         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77791         Use dlfcn directly instead of a variable.
77792         (binfmt-subdir): Do not define.
77793         (dlfcn): Likewise.
77795 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77798         Remove all definitions.
77799         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77800         <kernel-features.h>.
77801         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77802         (miss_F_GETOWN_EX): Remove all definitions.
77803         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77804         macro definition.
77805         [!__ASSUME_FCNTL64]: Remove conditional code.
77806         [__ASSUME_FCNTL64]: Make code unconditional.
77807         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77808         <kernel-features.h>.
77809         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77810         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77811         (lockf64) [__NR_fcntl64]: Make code unconditional.
77812         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77814         * sysdeps/unix/sysv/linux/kernel-features.h
77815         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77816         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77817         Make code unconditional.
77818         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77819         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77821         [__NR_vfork]: Make code unconditional.
77822         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77823         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77825         [__NR_vfork]: Make code unconditional.
77826         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77827         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77829 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77831         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77832         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77834         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77835         Define mkstemp64 as an alias.
77836         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77837         Define mkstemps64 as an alias.
77838         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77839         Define mkostemp64 as an alias.
77840         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77841         Define mkostemps64 as an alias.
77842         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77843         Conditionalize body on this.
77844         * misc/mkostemp64.c: Likewise.
77845         * misc/mkostemps64.c: Likewise.
77846         * misc/mkstemps64.c: Likewise.
77847         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77848         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77849         * sysdeps/wordsize-64/mkostemp.c: File removed.
77850         * sysdeps/wordsize-64/mkstemp.c: File removed.
77851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77852         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77853         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77854         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77856         [BZ #14138]
77857         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77858         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77859         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77860         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77862         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77863         compat_symbol macros from <shlib-compat.h> rather than the underlying
77864         default_symbol_version and symbol_version macros, so that DEFAULT
77865         lines in shlib-versions are respected.
77866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77868 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77870         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77871         Declare with warn_unused_result.
77872         (setgid, setregid, setegid, setresgid): Likewise.
77873         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77874         Likewise.
77875         * WUR-REPORT: Remove set*id functions.
77877 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77879         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77881 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77883         [BZ #10191]
77884         * include/sys/socket.h (__libc_accept, __libc_accept4):
77885         Add attribute_hidden.
77886         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77888         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77889         use of PTR_MANGLE.
77890         * inet/getnetgrent_r.c (setup): Likewise.
77892         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77894 2012-07-31  David S. Miller  <davem@davemloft.net>
77896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77898 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77900         [BZ #13629]
77901         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77902         value between 1.0 and 2.0 and smaller part has absolute value less
77903         than 1.0.
77904         * math/s_clog10.c (__clog10): Likewise.
77905         * math/s_clog10f.c (__clog10f): Likewise.
77906         * math/s_clog10l.c (__clog10l): Likewise.
77907         * math/s_clogf.c (__clogf): Likewise.
77908         * math/s_clogl.c (__clogl): Likewise.
77909         * math/libm-test.inc (clog_test): Add more tests.
77910         (clog10_test): Likewise.
77911         * sysdeps/i386/fpu/libm-test-ulps: Update.
77912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77914 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77916         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77917         Exit with zero in case no suitable GID is found, and write a
77918         message to standard error.
77920 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77922         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77923         rather than to 1.
77924         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77925         (MAXPATHLEN): Removed.
77926         (NOGROUP, NODEV): New macros.
77927         (setbit, clrbit, isset, isclr): New macros.
77928         (howmany, roundup, powerof2): New macros.
77929         (DEV_BSIZE): New macro.
77931         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77932         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77934         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77935         definition on [!__NO_LONG_DOUBLE_MATH].
77937         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77938         PTR_MANGLE and PTR_DEMANGLE.
77940         * socket/accept4.c (accept4): Rename to __libc_accept4.
77941         Define accept4 as a weak alias.
77943         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77944         on [_DIRENT_HAVE_D_TYPE].
77945         * io/ftw.c (ftw_dir): Likewise.
77947         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77949         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77951         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77952         Use the BSD numbers rather than the arbitrary ones we had.
77953         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77954         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77955         (SIGXCPU, SIGXFSZ): New macros.
77956         (_NSIG): Now 32.
77958         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77959         initializer on [_LIBC_REENTRANT].
77961         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77962         definitions inside [_POSIX_MAPPED_FILES].
77964         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77966         * dirent/opendir.c: Include <fcntl.h>.
77968         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77969         (__libc_getspecific): Likewise.
77970         (__libc_key_create): Likewise.
77972         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77973         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77974         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77975         (tmpfile64): Define as alias.
77976         * sysdeps/wordsize-64/tmpfile.c: File removed.
77977         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77978         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77979         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77981         * stdio-common/vfscanf.c: Include <stdbool.h>.
77982         * nss/makedb.c: Likewise.
77983         * stdio-common/_i18n_number.h: Likewise.
77984         * argp/argp-help.c: Likewise.
77985         * posix/wordexp.c: Likewise.
77986         * sysdeps/posix/spawni.c: Likewise.
77987         * nss/nss_files/files-initgroups.c: Likewise.
77988         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77989         * nss/nss_files/files-initgroups.c: Likewise.
77990         * nss/nss_db/db-netgrp.c: Likewise.
77991         * nss/nss_db/db-initgroups.c: Likewise.
77992         * io/fchmodat.c: Include <sys/stat.h>.
77994         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77995         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77997         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77998         [HAVE_MMAP].
78000         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78001         Add multiple inclusion protection.
78003 2012-07-27  David S. Miller  <davem@davemloft.net>
78005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78007 2012-07-27  Gary Benson  <gbenson@redhat.com>
78009         [BZ #14298]
78010         * elf/rtld.c: Include <stap-probe.h>.
78011         (dl_main): Added static probes "init_start" and "init_complete".
78012         * elf/dl-load.c: Include <stap-probe.h>.
78013         (lose): Take new parameter "nsid".
78014         Added static probe "map_failed".
78015         (_dl_map_object_from_fd): Pass namespace id to lose.
78016         Added static probe "map_start".
78017         (open_verify): Pass namespace id to lose.
78018         * elf/dl-open.c: Include <stap-probe.h>.
78019         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78020         and "reloc_complete".
78021         * elf/dl-close.c: Include <stap-probe.h>.
78022         (_dl_close_worker): Added static probes "unmap_start" and
78023         "unmap_complete".
78024         * elf/rtld-debugger-interface.txt: New file documenting the above.
78026 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78028         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78029         rather than a string variable.
78030         * sunrpc/rpc_main.c (h_output): Likewise.
78031         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78033 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78035         * inet/check_native.c: New file.
78037 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78039         [BZ #13629]
78040         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78041         if larger part has absolute value 1.0.
78042         * math/s_clog10.c (__clog10): Likewise.
78043         * math/s_clog10f.c (__clog10f): Likewise.
78044         * math/s_clog10l.c (__clog10l): Likewise.
78045         * math/s_clogf.c (__clogf): Likewise.
78046         * math/s_clogl.c (__clogl): Likewise.
78047         * math/libm-test.inc (clog_test): Add more tests.
78048         (clog10_test): Likewise.
78049         * sysdeps/i386/fpu/libm-test-ulps: Update.
78050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78052         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78053         (pltexit): Likewise.
78054         (La_regs): Likewise.
78055         (La_retval): Likewise.
78056         (int_retval): Likewise.
78057         Update #error for removed macros to refer only to definitions in
78058         tst-audit.h.
78059         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78060         macro.
78061         (pltexit): Likewise.
78062         (La_regs): Likewise.
78063         (La_retval): Likewise.
78064         (int_retval): Likewise.
78065         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78066         macro.
78067         (pltexit): Likewise.
78068         (La_regs): Likewise.
78069         (La_retval): Likewise.
78070         (int_retval): Likewise.
78071         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78072         macro.
78073         (pltexit): Likewise.
78074         (La_regs): Likewise.
78075         (La_retval): Likewise.
78076         (int_retval): Likewise.
78077         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78078         macro.
78079         (pltexit): Likewise.
78080         (La_regs): Likewise.
78081         (La_retval): Likewise.
78082         (int_retval): Likewise.
78083         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78084         macro.
78085         (pltexit): Likewise.
78086         (La_regs): Likewise.
78087         (La_retval): Likewise.
78088         (int_retval): Likewise.
78089         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78090         macro.
78091         (pltexit): Likewise.
78092         (La_regs): Likewise.
78093         (La_retval): Likewise.
78094         (int_retval): Likewise.
78095         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78096         macro definitions in tst-audit.h.
78097         * sysdeps/i386/tst-audit.h: New file.
78098         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78099         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78100         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78101         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78102         * sysdeps/sh/tst-audit.h: Likewise.
78103         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78104         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78105         * sysdeps/x86_64/tst-audit.h: Likewise.
78107 2012-07-26  Andreas Jaeger  <aj@suse.de>
78109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78110         ptrace.
78112         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78113         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78114         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78115         PTRACE_O_MASK.
78116         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78117         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78118         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78120         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78121         value.
78123         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78124         _sigsys.
78125         (si_call_addr, si_syscall, si_arch): Define new macro.
78126         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78127         _sigsys.
78128         (si_call_addr, si_syscall, si_arch): Define new marcro.
78129         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78130         _sigsys.
78131         (si_call_addr, si_syscall, si_arch): Define new macro.
78132         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78133         _sigsys.
78134         (si_call_addr, si_syscall, si_arch): Define new macro.
78136 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78138         [BZ #13717]
78139         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78140         Change to 2.4.21 where previously 2.4.1.
78141         * sysdeps/unix/sysv/linux/configure: Regenerated.
78142         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78143         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78144         Linux kernel version.
78145         (__ASSUME_STD_AUXV): Remove.
78146         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78147         kernel version.
78148         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78149         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78150         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78151         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78152         (__ASSUME_NETLINK_SUPPORT): Likewise.
78153         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78154         (__no_netlink_support): Remove conditional definition.
78155         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78156         Remove.
78157         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78158         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78159         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78160         (if_nameindex_ioctl): Remove.
78161         (if_nameindex_netlink): Do not handle __no_netlink_support.
78162         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78163         code.
78164         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78165         Remove conditional code.
78166         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78167         code.
78168         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78169         unconditional.
78170         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78171         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78172         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78173         Remove.
78174         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78175         [!__ASSUME_STD_AUXV]: Remove conditional code.
78176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78177         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78178         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78180         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78181         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78182         code.
78183         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78185         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78186         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78187         conditional code.
78188         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78190         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78191         code.
78192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78193         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78194         conditional code.
78195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78196         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78197         code unconditional.
78198         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78199         conditional code.
78200         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78201         unconditional.
78202         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78203         conditional code.
78204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78205         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78206         unconditional.
78207         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78208         conditional code.
78209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78210         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78211         code unconditional.
78212         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78213         conditional code.
78214         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78215         unconditional.
78216         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78217         conditional code.
78218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78219         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78220         code unconditional.
78221         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78222         conditional code.
78223         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78224         unconditional.
78225         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78226         conditional code.
78228 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
78230         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78231         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78232         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78233         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78234         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78235         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78236         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78237         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78238         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78239         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78240         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78241         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78242         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78243         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78244         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78245         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78246         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78247         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78248         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78250         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78251         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78252         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78254 2012-07-25  Florian Weimer  <fweimer@redhat.com>
78256         * Versions.def: Add GLIBC_2.17.
78257         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78258         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78259         Introduce __libc_secure_getenv.
78260         * stdlib/Versions (2.17): Add secure_getenv
78261         (GLIBC_PRIVATE): Add __libc_secure_getenv.
78262         * stdlib/secure-getenv.c: Rename __secure_getenv to
78263         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
78264         symbol __secure_getenv for GLIBC_2.0.
78265         * stdlib/tst-secure-getenv.c: New.
78266         * stdlib/Makefile (tests): Add testcase.
78267         * manual/startup.texi (Environment Access): Document
78268         secure_getenv.
78269         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78270         __libc_secure_getenv.
78271         * inet/ruserpass.c (ruserpass): Likewise.
78272         * malloc/mtrace.c (mtrace): Likewise.
78273         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78274         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78275         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78276         * sysdeps/posix/tempname.c: Likewise.  Evaluate
78277         HAVE_SECURE_GETENV.
78278         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78279         __secure_getenv to __libc_secure_getenv.
78280         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78282         Likewise.
78283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78284         Likewise.
78285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78287         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78293 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78295         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78296         (struct La_i86_retval): Likewise.
78297         (struct La_x86_64_regs): Likewise.
78298         (struct La_x86_64_retval): Likewise.
78299         (struct La_x32_regs): Likewise.
78300         (struct La_x32_retval): Likewise.
78301         (struct La_ppc32_regs): Likewise.
78302         (struct La_ppc32_retval): Likewise.
78303         (struct La_ppc64_regs): Likewise.
78304         (struct La_ppc64_retval): Likewise.
78305         (struct La_sh_regs): Likewise.
78306         (struct La_sh_retval): Likewise.
78307         (struct La_s390_32_regs): Likewise.
78308         (struct La_s390_32_retval): Likewise.
78309         (struct La_s390_64_regs): Likewise.
78310         (struct La_s390_64_retval): Likewise.
78311         (struct La_sparc32_regs): Likewise.
78312         (struct La_sparc32_retval): Likewise.
78313         (struct La_sparc64_regs): Likewise.
78314         (struct La_sparc64_retval): Likewise.
78315         (struct audit_ifaces): Remove architecture-specific pltenter and
78316         pltexit members.
78317         * sysdeps/i386/ldsodefs.h: New file.
78318         * sysdeps/powerpc/ldsodefs.h: Likewise.
78319         * sysdeps/s390/ldsodefs.h: Likewise.
78320         * sysdeps/sh/ldsodefs.h: Likewise.
78321         * sysdeps/sparc/ldsodefs.h: Likewise.
78322         * sysdeps/x86_64/ldsodefs.h: Likewise.
78324 2012-07-25  Marek Polacek  <polacek@redhat.com>
78326         [BZ #6808]
78327         * math/libm-test.inc (yn_test): Add another test.
78328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78329         to ERANGE when the result is +-Inf.
78330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78331         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78332         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78333         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78335 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
78337         * conform/data/time.h-data (NULL): Use macro-constant.  Require
78338         equal to 0.
78339         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
78340         clock_t.
78341         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
78343 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
78345         * configure.in <sysdeps resolving>: Correct printing
78346         Implies_before.
78347         * configure: Regenerate.
78349 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
78351         * math/w_ilogb.c: Include <limits.h>.
78352         * math/w_ilogbl.c: Likewise.
78354 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78356         * manual/lang.texi (__va_copy): Document primarily as ISO C99
78357         va_copy.  Document allowing for unavailable va_copy only as
78358         pre-C99 compatibility.
78359         * manual/string.texi (Copying and Concatenation): Use va_copy
78360         instead of __va_copy in concat example.
78362 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
78364         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78365         (__sendto): Use create_address_port.  Initialize APORT and deallocate
78366         it if not null.
78368         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78369         with O_NOLINK passed to __file_name_lookup.
78371         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78372         with O_NOLINK passed to __file_name_lookup.
78374         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78375         negative N or less than NGIDS.
78377         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78378         type to string_t.  Set ERANGE as errno and return it if NAME is not big
78379         enough.  Use memcpy instead of strncpy.
78381 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78383         * elf/Makefile (check-data): Remove.
78384         (localplt.data): New vpath directive.
78385         ($(objpfx)check-localplt.out): Use localplt.data from vpath
78386         instead of $(check-data).
78387         * scripts/data/localplt-generic.data: Move to ...
78388         * sysdeps/generic/localplt.data: ... here.
78389         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78390         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78391         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78393         ... here.
78394         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78396         ... here.
78397         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
78399         ... here.
78400         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
78402         ... here.
78403         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
78404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
78405         ... here.
78406         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
78407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
78408         ... here.
78410 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78412         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78413         PPC32 and PPC64 files.
78414         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78415         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78417 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78419         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78420         __makecontext_ret to ...
78421         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78422         ... here and call exit if uc_link is NULL.  New file.
78423         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78424         __makecontext_ret.S.
78425         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78426         __makecontext_ret to ...
78427         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78428         ... here and call exit if uc_link is NULL.  New file.
78429         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78430         __makecontext_ret.S.
78432 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78434         * elf/elf.h (R_390_IRELATIVE): New definition.
78435         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78436         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
78437         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78438         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78439         (elf_machine_lazy_rel): Likewise.
78440         * sysdeps/s390/dl-irel.h: New file.
78441         * sysdeps/s390/s390-64/memcpy.S: New asm code.
78442         * sysdeps/s390/s390-64/memset.S: New asm code.
78443         * sysdeps/s390/s390-64/memcmp.S: New asm code.
78444         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78446         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78447         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78448         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78450         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78451         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78452         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78453         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78454         * sysdeps/s390/s390-32/memcpy.S: New asm code.
78455         * sysdeps/s390/s390-32/memset.S: New asm code.
78456         * sysdeps/s390/s390-32/memcmp.S: New asm code.
78458 2012-07-17  Marek Polacek  <polacek@redhat.com>
78460         [BZ #14349]
78461         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78462         * sysdeps/s390/s390-64/configure.in: Likewise.
78463         * sysdeps/sparc/configure.in: Likewise.
78464         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78465         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78466         * sysdeps/i386/configure.in: Likewise.
78467         * sysdeps/x86_64/configure.in: Likewise.
78468         * sysdeps/sh/configure.in: Likewise.
78469         * sysdeps/s390/s390-32/configure: Regenerated.
78470         * sysdeps/s390/s390-64/configure: Likewise.
78471         * sysdeps/x86_64/configure: Likewise.
78472         * sysdeps/sh/configure: Likewise.
78473         * sysdeps/powerpc/powerpc64/configure: Likewise.
78474         * sysdeps/powerpc/powerpc32/configure: Likewise.
78475         * sysdeps/sparc/configure: Likewise.
78476         * sysdeps/i386/configure: Likewise.
78478         * elf/dl-open.c: Comment fixes.
78480 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
78482         * Makefile [CXX] (check-data): Remove.
78483         [CXX] (c++-types.data): New vpath directive.
78484         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78485         vpath.  Do not allow for C++ type data being missing.
78486         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78487         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78488         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78489         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78490         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78491         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78492         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78494         ... here.
78495         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78497         ... here.
78498         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78500         ... here.
78501         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78503         ... here.
78504         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78506         ... here.
78507         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78509         ... here.
78510         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78512         ... here.
78513         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78516         * elf/tls-macros.h (TLS_LE): Move architecture-specific
78517         definitions to architecture-specific files.
78518         (TLS_IE): Likewise.
78519         (TLS_LD): Likewise.
78520         (TLS_GD): Likewise.
78521         * sysdeps/i386/tls-macros.h: New file.
78522         * sysdeps/powerpc/tls-macros.h: Likewise.
78523         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78524         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78525         * sysdeps/sh/tls-macros.h: Likewise.
78526         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78527         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78528         * sysdeps/x86_64/tls-macros.h: Likewise.
78530 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78532         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78533         zero value for regular exit case.
78535         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78536         (__start_context): Preserve zero value for regular exit case.
78538 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78539             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78541         * manual/setjmp.texi (setcontext): Clarify normal process
78542         termination when uc_link is the null pointer.
78543         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78544         exit call.
78546 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
78548         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78549         preprocessor.  Test for each exception mask separately.
78551 2012-07-16  Andreas Jaeger  <aj@suse.de>
78553         * po/ru.po: Update from translation team.
78555 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
78557         * conform/data/string.h-data (NULL): Use macro-constant.  Require
78558         equal to 0.
78559         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78560         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78561         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78562         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78565 2012-07-13  Andreas Jaeger  <aj@suse.de>
78567         * po/fr.po: Update from translation team.
78569 2012-07-12  Marek Polacek  <polacek@redhat.com>
78571         [BZ #14173]
78572         * math/libm-test.inc (yn_test): Add test for BZ #14173.
78573         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78574         loop condition.
78576 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
78578         [BZ #13717]
78579         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78580         Change to 2.4.1 where previously 2.4.0.
78581         * sysdeps/unix/sysv/linux/configure: Regenerated.
78582         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78583         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78584         version.
78585         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78586         (__ASSUME_AT_CLKTCK): Remove.
78587         (__ASSUME_AT_PAGESIZE): Likewise.
78588         (__ASSUME_AT_XID): Likewise.
78589         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78590         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78591         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78592         unconditionally.
78593         (HAVE_AUX_PAGESIZE): Likewise.
78594         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78595         [__ASSUME_AT_CLKTCK]: Make code unconditional.
78596         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78598 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
78600         [BZ #14307]
78601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78602         the temporary buffer used to invoke __gethostbyname2_r,
78603         __gethostbyaddr_r and gethostbyname4_r to make room for struct
78604         host_data / struct gaih_addrtuple.
78605         * resolv/nss_dns/dns-host.c (global scope): Move definition of
78606         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78607         header file nss/nsswitch.h.
78608         * nss/nsswitch.h (global scope): Add definition of implementation
78609         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78610         resolv/nss_dns/dns-host.c).
78612 2012-07-11  Andreas Jaeger  <aj@suse.de>
78614         * po/fr.po: Update from translation team.
78616         * po/sv.po: Update from translation team
78617         * po/fr.po: Another update from translation team.
78619 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78621         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78622         for subnormals or multiply small sinh result by itself.
78623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78626 2012-07-11  David S. Miller  <davem@davemloft.net>
78628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78630 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
78632         [BZ #14347]
78633         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78634         (INTERNAL_MARK): Shift it here.
78636 2012-07-10  Marek Polacek  <polacek@redhat.com>
78638         [BZ #14151]
78639         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78640         libc_cv_asm_global_directive with .globl.
78641         * configure: Regenerated.
78642         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78643         with .globl.
78644         * sysdeps/i386/configure: Regenerated.
78645         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78646         with .globl.
78647         * sysdeps/x86_64/configure: Regenerated.
78648         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78649         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78650         * elf/tst-unique2mod2.c: Likewise.
78651         * elf/tst-unique2mod1.c: Likewise.
78652         * elf/tst-unique1mod2.c: Likewise.
78653         * elf/tst-unique1mod1.c: Likewise.
78654         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78655         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78656         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78657         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78658         * sysdeps/mach/sysdep.h: Likewise.
78659         * sysdeps/i386/sysdep.h: Likewise.
78660         * sysdeps/i386/i386-mcount.S: Likewise.
78661         * sysdeps/x86_64/_mcount.S: Likewise.
78662         * sysdeps/x86_64/sysdep.h: Likewise.
78663         * sysdeps/sh/_mcount.S: Likewise.
78664         * sysdeps/sh/sysdep.h: Likewise.
78665         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78666         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78667         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78668         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78669         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78670         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78671         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78672         * locale/localeinfo.h: Likewise.
78673         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78674         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78676 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78678         [BZ #14336]
78679         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78680         system".
78681         * manual/message.texi (The Uniforum approach): Likewise.
78682         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78683         (glibc iconv Implementation): Likewise.
78685 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78687         [BZ #14337]
78688         * math/s_clog.c (__clog): Avoid scaling a value down where that
78689         could result in underflow.
78690         * math/s_clog10.c (__clog10): Likewise.
78691         * math/s_clog10f.c (__clog10f): Likewise.
78692         * math/s_clog10l.c (__clog10l): Likewise.
78693         * math/s_clogf.c (__clogf): Likewise.
78694         * math/s_clogl.c (__clogl): Likewise.
78695         * math/libm-test.inc (clog_test): Add more tests.
78696         (clog10_test): Likewise.
78697         * sysdeps/i386/fpu/libm-test-ulps: Update.
78698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78700 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78702         [BZ #14283]
78703         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78704         by 7 not 8 to examine high bit of fractional part.
78706         [BZ #14042]
78707         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78708         for call to __mcount_internal.
78709         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78710         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78711         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78713 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78715         [BZ #14154]
78716         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78717         approximation for values within 0x1p-13f of an odd multiple of
78718         pi/4.
78719         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78720         exception.  Add more tests.
78721         * sysdeps/i386/fpu/libm-test-ulps: Update.
78723         [BZ #6778]
78724         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78725         inputs and return -1 for them.  Do not check for +Inf in case not
78726         reachable for +Inf.
78727         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78728         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78729         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78730         and return -1 for them.  Do not check for +Inf in case not
78731         reachable for +Inf.
78732         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78733         define.
78734         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78735         and return -1 for them.  Do not check for +Inf in case not
78736         reachable for +Inf.
78737         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78738         spurious underflow.
78739         * sysdeps/i386/fpu/libm-test-ulps: Update.
78740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78742 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78744         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78746 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78748         [BZ #14157]
78749         [BZ #14331]
78750         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78751         could result in spurious underflow.  Scale down values above
78752         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78753         * math/s_csqrtf.c (__csqrtf): Likewise.
78754         * math/s_csqrtl.c (__csqrtl): Likewise.
78755         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78756         spurious underflow.
78757         * sysdeps/i386/fpu/libm-test-ulps: Update.
78758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78760 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78762         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78763         xopen-msg.sed.
78764         * catgets/xopen-msg.awk: New file.
78765         * catgets/xopen-msg.sed: Removed.
78767         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78768         po2text.sed.
78769         * intl/po2test.awk: New file.
78770         * intl/po2test.sed: Removed.
78772 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78774         [BZ #14328]
78775         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78776         or multiply small sinh result by itself.
78777         * math/s_ctanf.c (__ctanf): Likewise.
78778         * math/s_ctanh.c (__ctanh): Likewise.
78779         * math/s_ctanhf.c (__ctanhf): Likewise.
78780         * math/s_ctanhl.c (__ctanhl): Likewise.
78781         * math/s_ctanl.c (__ctanl): Likewise.
78782         * math/libm-test.inc (ctan_test_tonearest): New function.
78783         (ctan_test_towardzero): Likewise.
78784         (ctan_test_downward): Likewise.
78785         (ctan_test_upward): Likewise.
78786         (ctanh_test_tonearest): Likewise.
78787         (ctanh_test_towardzero): Likewise.
78788         (ctanh_test_downward): Likewise.
78789         (ctanh_test_upward): Likewise.
78790         (main): Call these new functions.
78791         * sysdeps/i386/fpu/libm-test-ulps: Update.
78792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78794 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78796         * .gitignore: Delete /ports entry.
78798 2012-07-03  Andreas Jaeger  <aj@suse.de>
78800         * po/bg.po: Update from translation team.
78801         * po/cs.po: Likewise.
78802         * po/de.po: Likewise.
78803         * po/hr.po: Likewise.
78804         * po/nl.pl: Likewise.
78805         * po/pl.po: Likewise.
78806         * po/vi.po: Likewise.
78808 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78810         * Makeconfig [!+link] (+link-before-libc): New variable.
78811         [!+link] (+link-after-libc): Likewise.
78812         [!+link] (+link-tests): Likewise.
78813         [!+link] (+link): Define in terms of $(+link-before-libc) and
78814         $(+link-after-libc).
78815         [!+link-static] (+link-static-before-libc): New variable.
78816         [!+link-static] (+link-static-after-libc): Likewise.
78817         [!+link-static] (+link-static-tests): Likewise.
78818         [!+link-static] (+link-static): Define in terms of
78819         $(+link-static-before-libc) and $(+link-static-after-libc).
78820         [build-shared] (link-libc-before-gnulib): New variable.
78821         [build-shared] (link-libc-tests): Likewise.
78822         [build-shared] (link-libc): Define in terms of
78823         $(link-libc-before-gnulib).
78824         [!build-shared] (link-libc-tests): New variable.
78825         (link-libc-static-tests): New variable.
78826         [!gnulib] (gnulib-arch): New variable.
78827         [!gnulib] (gnulib-tests): Likewise.
78828         [!gnulib] (static-gnulib-arch): Likewise.
78829         [!gnulib] (static-gnulib-tests): Likewise.
78830         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78831         Define with "=" instead of ":=".
78832         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78833         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78834         * Rules (binaries-all-notests): New variable.
78835         (binaries-all-tests): Likewise.
78836         (binaries-static-notests): Likewise.
78837         (binaries-static-tests): Likewise.
78838         (binaries-all): Define using $(binaries-all-notests) and
78839         $(binaries-all-tests).
78840         (binaries-static): Define using $(binaries-static-notests) and
78841         $(binaries-static-tests).
78842         (binaries-shared-tests): New variable.
78843         (binaries-shared-notests): Likewise.
78844         (binaries-shared): Remove variable.
78845         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78846         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78847         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78848         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78849         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78850         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78851         * elf/Makefile (sln-modules): New variable.
78852         (extra-objs): Add $(sln-modules:=.o).
78853         (ldconfig-modules): Add static-stubs.
78854         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78855         * elf/static-stubs.c: New file.
78857         [BZ #14283]
78858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78859         by 7 not 8 to examine high bit of fractional part.  Use volatile
78860         variables when splitting into final array of floats if
78861         __FLT_EVAL_METHOD__ != 0.
78862         * math/libm-test.inc (cos_test): Add another test.
78863         (sin_test): Likewise.
78864         * sysdeps/i386/fpu/libm-test-ulps: Update.
78866         [BZ #14273]
78867         * math/libm-test.inc (cosh_test): Add more tests.
78869         * version.h (RELEASE): Set to "development".
78870         (VERSION): Set to "2.16.90".
78872 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78874         * NEWS: Update copyright. Remove last-updated date.
78875         Mention math library bug fixes and timezone data changes.
78876         * README: Mention GNU/Hurd, x32, and HPPA support status.
78878 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78880         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78882 2012-06-27  Andreas Jaeger  <aj@suse.de>
78884         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78886 2012-06-25  Andreas Jaeger  <aj@suse.de>
78888         * sysdeps/s390/fpu/libm-test-ulps: Update.
78890 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78891             Thomas Schwinge  <thomas@codesourcery.com>
78893         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78894         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78895         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78896         fanotify_mark.
78898 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78900         * sysdeps/mach/start.c: Remove file.
78901         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78902         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78903         * sysdeps/sh/init-first.c: Likewise.
78905         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78906         registers for frame unwinding purposes, add CFI directives.
78907         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78908         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78909         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78910         Likewise.
78912         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78913         __fortify_fail returning.
78914         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78916         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78917         sysdeps/sh/____longjmp_chk.S.
78918         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78919         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78920         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78921         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78923         * sysdeps/sh/abort-instr.h: New file.
78924         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78925         process in case exit returns.
78927         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78928         initialize the GOT register before use.
78930         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78931         calculation of ARGC > 4.
78933         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78934         meaningful names to some local labels.
78936 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78937             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78939         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78940         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78941         (__arch_compare_and_exchange_val_16_acq): Likewise.
78942         (__arch_compare_and_exchange_val_32_acq): Likewise.
78943         (atomic_exchange_and_add): Fix gUSA sequence.
78944         (atomic_add): Likewise.
78945         (atomic_add_negative): Likewise.
78946         (atomic_add_zero): Likewise.
78947         (atomic_bit_test_set): Likewise.
78949 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78951         [BZ #13579]
78952         * include/link.h (struct link_map): Add l_free_initfini.
78953         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78954         l_initfini.
78955         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78956         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78957         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78958         set.
78960 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78962         * configure.in: Use AC_LANG_SOURCE.
78963         * configure: Regenerate.
78965 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78967         * configure.in (libc_cv_localstatedir): New substituted variable.
78968         * configure: Regenerated.
78969         * config.make.in (localstatedir): New variable, substituted from
78970         libc_cv_localstatedir.
78971         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78972         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78973         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78974         * sysdeps/gnu/configure: Regenerated.
78976 2012-06-21  Jeff Law  <law@redhat.com>
78978         [BZ #14277]
78979         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78980         free.  Simplify list management for _LIBC case.
78982 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78984         [BZ #14273]
78985         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78986         Clear sign bit of 64-bit integer value before comparing against
78987         overflow value.
78989         * sysdeps/mach/configure: Regenerated.
78991 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78993         [BZ #14278]
78994         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78996 2012-06-21  Jeff Law  <law@redhat.com>
78998         [BZ #13882]
78999         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79000         uint16_t for elements in the "seen" array to avoid char overflows.
79001         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79002         * elf/dl-open.c (dl_open_worker): Likewise.
79004 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79006         * scripts/list-sources.sh: Scan PORTS for translations.
79007         * po/libc.pot: Regenerated.
79009 2012-06-21  Andreas Jaeger  <aj@suse.de>
79011         [BZ #12194]
79012         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79013         warning.
79014         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79015         * bits/byteswap-16.h (__bswap_16): Likewise.
79016         * bits/byteswap.h (__bswap_constant_16): Likewise.
79018 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79020         [BZ #14117]
79021         * sysdeps/i386/fpu_control.h: Removed.
79022         * sysdeps/x86_64/fpu_control.h: Moved to ...
79023         * sysdeps/x86/fpu_control.h: Here.
79025         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79026         (_FPU_SETCW): Likewise.
79028 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79030         [BZ #14117]
79031         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79032         * sysdeps/x86/fpu/bits/mathinline.h: This.
79033         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79035         [BZ #14050]
79036         [BZ #14117]
79037         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79038         functions if __x86_64__ is defined.
79040 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79042         * string/endian.h: Add !__ASSEMBLER__ condition for including
79043         conversion interfaces.
79045 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79047         [BZ #14241]
79048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79049         of ABS(x) in calculating zero to negative powers other than odd
79050         integers.
79051         * math/libm-test.inc (pow_test): Add more tests.
79053 2012-06-15  Andreas Jaeger  <aj@suse.de>
79055         * manual/contrib.texi (Contributors): Update entry of Liubov
79056         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79057         Machado Filho.
79059 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79061         * string/string.h: Add __wur to GNU version of strerror_r.
79063 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79065         [BZ #14229]
79066         * string/Makefile (tests): Add tst-strtok_r.
79067         * string/tst-strtok_r.c: New file.
79068         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79069         RAX_LP/RDX_LP on SAVE_PTR.
79071 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79073         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79075 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79077         * libm_test.inc (csqrt_test): Allow more spurious underflow
79078         exceptions.
79079         (j0_test): Likewise.
79080         (j1_test): Likewise.
79081         (y0_test): Likewise.
79082         (y1_test): Likewise.
79084 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79086         * po/Makefile (libc.pot): Use UTF-8 charset.
79088 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79090         [BZ #14210]
79091         Suppress sign-conversion warning from FD_SET.
79092         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79093         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79094         not unsigned long int.
79095         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79097 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79099         [BZ #14050]
79100         [BZ #14117]
79101         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79102         __extern_always_inline instead of __extern_inline.
79103         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79104         (__signbit): Likewise.
79105         (__signbitl): Support C++ namespace.
79106         (lrintf): New inline function.
79107         (lrint): Likewise.
79108         (llrintf): Likewise.
79109         (llrint): Likewise.
79110         (fmaxf): Likewise.
79111         (fmax): Likewise.
79112         (fminf): Likewise.
79113         (fmin): Likewise.
79114         (rint): Likewise.
79115         (rintf): Likewise.
79116         (ceil): Likewise.
79117         (ceilf): Likewise.
79118         (floor): Likewise.
79119         (floorf): Likewise.
79120         (nearbyint): Likewise.
79121         (nearbyintf): Likewise.
79123 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
79125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79126         non-default versions.
79128 2012-06-11  Roland McGrath  <roland@hack.frob.com>
79130         [BZ #14218]
79131         * manual/argp.texi (Argp): Reword argp_parse description slightly.
79133 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
79135         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79136         (FE_UPWARD, FE_DOWNWARD): Don't define.
79137         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79138         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79140         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79141         reading it.
79142         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79143         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79145 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79147         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79149         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79150         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79152 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
79154         [BZ #14117]
79155         * sysdeps/i386/fpu/bits/fenv.h: Removed.
79156         * sysdeps/i386/fpu/Implies: New file.
79157         * sysdeps/x86_64/fpu/Implies: Likewise.
79158         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79159         * sysdeps/x86/fpu/bits/fenv.h: This.
79161         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79162         __SSE_MATH__.
79164 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
79166         [BZ #14134]
79167         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79168         character 0xffff that matches the last element of the
79169         conversion table.
79171 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79173         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79174         fmodl commit.
79176 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79179         values higher than 25.6283.
79181 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79183         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79184         subnormal exponent extraction and add some __builtin_expect.
79185         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79186         Fix for subnormal mantissa calculation.
79188 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
79190         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79191         cpu2 is -1 and errno is not ENOSYS.
79193 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
79195         [BZ #14117]
79196         * sysdeps/i386/i486/bits/string.h: Renamed to ...
79197         * sysdeps/x86/bits/string.h: This.
79198         * sysdeps/x86_64/bits/string.h: Removed.
79200         * sysdeps/i386/i486/bits/string.h: Define inline functions only
79201         if not compiling for x86-64, but compiling for >= i486.
79203         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79204         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79206         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79207         New macro from Linux kernel 3.4.0.
79208         (FP_XSTATE_MAGIC2): Likewise.
79209         (FP_XSTATE_MAGIC2_SIZE): Likewise.
79210         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79211         (struct _fpx_sw_bytes): New struct.
79212         (struct _xsave_hdr): Likewise.
79213         (struct _ymmh_state): Likewise.
79214         (struct _xstate): Likewise.
79216         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79217         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79218         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79219         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79220         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79221         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79223         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79224         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79225         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79226         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79227         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79228         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79230 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79232         [BZ #13743]
79233         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79234         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79235         (sysdep_headers): Include sys/platform/ppc.h.
79236         * sysdeps/powerpc/test-gettimebase.c: Test for
79237         __ppc_get_timebase() to catch future ISA opcode/insn changes.
79238         * manual/Makefile (appendices): Include platform.texi.
79239         * manual/contrib.texi (Contributors): Update @node pointers.
79240         * manual/maint.texi (Maintenance): Likewise.
79241         (Platform): New node.
79242         * manual/platform.texi: New file.  Document the new features.
79244 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
79245             Jakub Jelinek  <jakub@redhat.com>
79247         [BZ #14188]
79248         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79249         where __builtin_expect is unavailable.
79251 2012-06-03  David S. Miller  <davem@davemloft.net>
79253         * stdlib/longlong.h: Updated from GCC.
79255 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
79257         [BZ #14042]
79258         * sysdeps/powerpc/powerpc32/mcount.c: New file.
79259         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79260         __mcount_internal.
79261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79262         (GLIBC_2.16): Likewise.
79264 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79266         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79268 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79271         (default-abi): New variable.
79272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79273         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79274         variable.
79275         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79276         Likewise.
79277         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79278         Likewise.
79279         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79280         Likewise.
79282         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79283         definition.  Document in comment.
79285 2012-06-01  David S. Miller  <davem@davemloft.net>
79287         * stdlib/longlong.h: Updated from GCC.
79289 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79291         [BZ #14117]
79292         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79293         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79294         sys/debugreg.h sys/io.h here.
79295         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79296         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79297         sys/io.h.
79298         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79299         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79300         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79301         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79302         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79303         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79306         Define only if __x86_64__ is defined.
79308 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79310         [BZ #14048]
79311         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79312         Use int64_t for variable i.
79313         * math/libm-test.inc (fmod_test): Add more tests.
79315         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79316         z computation is not scheduled after fetestexcept.
79317         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79318         Use math_force_eval instead of asm to ensure calculation scheduled
79319         before exception test.
79320         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79321         Ensure a1 + u.d computation is not scheduled after fetestexcept.
79323 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
79325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79326         computation is not scheduled after fetestexcept.
79328 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79330         [BZ #14117]
79331         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79332         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79334 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79336         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79337         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79339 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79341         [BZ #14117]
79342         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79343         <bits/wordsize.h>.
79344         (__WCHAR_MIN): Support __WORDSIZE == 64.
79345         (__WCHAR_MAX): Likewise.
79347         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79348         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79350         [BZ #14183]
79351         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79352         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79354         [BZ #14117]
79355         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79356         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79358         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79359         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79361         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79362         Defined to 1 if __x86_64__ isn't defined.
79363         (_STAT_VER_LINUX_OLD): New.
79364         (st_atime): Remove duplicate.
79365         (st_mtime): Likewise.
79366         (st_ctime): Likewise.
79368 2012-05-31  David S. Miller  <davem@davemloft.net>
79370         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79371         entries.
79373 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
79375         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79376         gen-libm-test.pl.
79378         [BZ #14132]
79379         * elf/dl-reloc.c: Include <_itoa.h>.
79380         (_dl_reloc_bad_type): Remove use of INTUSE.
79381         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79382         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79383         * stdio-common/psiginfo.c (psiginfo): Likewise.
79384         * stdio-common/psignal.c (psignal): Likewise.
79385         * string/strsignal.c (strsignal): Likewise.
79386         * include/signal.h (_sys_siglist): Declare hidden proto.
79387         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
79388         INTVARDEF with libc_hidden_data_def.
79389         * stdio-common/itoa-udigits.c: Likewise.
79390         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79391         (_itoa_lower_digits_internal): Remove declaration.
79392         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79393         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79394         (_sys_sigabbrev_internal): Remove aliases.
79395         (_sys_siglist): Define hidden alias.
79397 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
79399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79400         bits/sysctl.h.
79402 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79404         [BZ #14117]
79405         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79406         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
79408         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
79409         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
79410         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79411         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79412         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79413         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79415         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79416         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79417         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79419         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79420         with __addr.
79421         (insw): Likewise.
79422         (insl): Likewise.
79423         (outsb): Likewise.
79424         (outsw): Likewise.
79425         (outsl): Likewise.
79427         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79428         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79429         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79431         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79432         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79433         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79434         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79435         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79436         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79438         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79439         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79441         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79442         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79444         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79445         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79446         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79448         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79449         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79450         to ...
79451         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79453         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79454         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79455         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79457         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79458         for x86-64.
79459         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79461 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
79463         * math/math.h (M_El): Use two more decimal places.
79464         (M_LOG2El): Likewise.
79465         (M_LOG10El): Likewise.
79466         (M_LN2l): Likewise.
79467         (M_LN10l): Likewise.
79468         (M_PIl): Likewise.
79469         (M_PI_2l): Likewise.
79470         (M_PI_4l): Likewise.
79471         (M_1_PIl): Likewise.
79472         (M_2_PIl): Likewise.
79473         (M_2_SQRTPIl): Likewise.
79474         (M_SQRT2l): Likewise.
79475         (M_SQRT1_2l): Likewise.
79477 2012-05-31  David S. Miller  <davem@davemloft.net>
79479         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79480         values between float registers.
79481         * sysdeps/sparc/sparc64/memset.S: Likewise.
79482         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79484 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
79486         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79487         -D_FORTIFY_SOURCE=1.
79488         (CPPFLAGS-tst-longjmp_chk.c): Define.
79489         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79490         (CPPFLAGS-tst-longjmp_chk2.c): Define.
79491         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79492         CFLAGS-tst-wchar-h.c.
79494 2012-05-31  Marek Polacek  <polacek@redhat.com>
79496         [BZ #14132]
79497         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79498         __endmntent_internal): Remove declaration.
79499         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79500         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79501         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79503 2012-05-30  David S. Miller  <davem@davemloft.net>
79505         * sysdeps/sparc/sparc32/soft-fp/q_util.c
79506         (___Q_simulate_exceptions): Use real FP ops rather than writing
79507         into the %fsr.
79508         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79509         Likewise.
79511 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79513         [BZ #14117]
79514         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79515         * sysdeps/x86/bits/xtitypes.h: This.
79517         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79518         * sysdeps/x86/bits/wordsize.h: This.
79520         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79521         * sysdeps/x86/bits/huge_vall.h: This.
79523         * sysdeps/i386/bits/select.h: Removed.
79524         * sysdeps/x86_64/bits/select.h: Renamed to ...
79525         * sysdeps/x86/bits/select.h: This.
79527         * sysdeps/i386/bits/setjmp.h: Removed.
79528         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79529         * sysdeps/x86/bits/setjmp.h: This.
79531         * sysdeps/i386/bits/mathdef.h: Removed.
79532         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79533         * sysdeps/x86/bits/mathdef.h: This.
79535 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
79537         [BZ #14132]
79538         * include/sys/socket.h (__connect_internal)
79539         (__libc_sa_len_internal): Remove declaration.
79540         (__connect, __libc_sa_len): Declare hidden_proto.
79541         (SA_LEN): Remove use of INTUSE.
79542         * socket/connect.c: Add libc_hidden_def.
79543         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79544         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79545         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79546         alias.
79547         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79548         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79549         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79550         of adding _internal alias.
79552 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79554         [BZ #14117]
79555         * sysdeps/i386/bits/link.h: Removed.
79556         * sysdeps/i386/bits/linkmap.h: Likewise.
79557         * sysdeps/x86_64/bits/link.h: Renamed to ...
79558         * sysdeps/x86/bits/link.h: This.
79559         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79560         * sysdeps/x86/bits/linkmap.h: This.
79562         * sysdeps/i386/bits/endian.h: Removed.
79563         * sysdeps/x86_64/bits/endian.h: Renamed to ...
79564         * sysdeps/x86/bits/endian.h: This.
79566         * sysdeps/i386/bits/byteswap.h: Removed.
79567         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79568         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79569         * sysdeps/x86/bits/byteswap.h: This.
79570         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79571         * sysdeps/x86/bits/byteswap-16.h: This.
79572         * sysdeps/i386/Implies: Add x86.
79573         * sysdeps/x86_64/Implies: Likewise.
79575 2012-05-30  David S. Miller  <davem@davemloft.net>
79577         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79578         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79579         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79580         (FP_TRAPPING_EXCEPTIONS): Define.
79581         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79582         (FP_TRAPPING_EXCEPTIONS): Define.
79583         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79584         subnormals only when inexact has been signalled or underflow
79585         exceptions are enabled.
79586         (_FP_PACK_CANONICAL): Likewise.
79588 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79590         [BZ #14183]
79591         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79592         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79594 2012-05-30  Richard Henderson  <rth@twiddle.net>
79596         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79597         with #ifndef NOT_IN_libc.
79599         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
79600         marked to avoid plt entry.
79602 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79604         [BZ #14112]
79605         * Makeconfig (default-abi): New macro.
79606         (abi-includes): Likewise.
79607         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
79608         $(abi-$(default-abi)-lib-soname) for soname if defined.
79609         ($(common-objpfx)gnu/lib-names.stmp): Generate from
79610         abi-variants.
79611         * Makefile (installed-stubs): Likewise.
79612         * include/stubs-biarch.h: Removed.
79613         * scripts/lib-names.awk: Only handle one library at a time.
79614         * scripts/soversions.awk: Remove WORDSIZE support.
79615         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79616         entries.
79617         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79618         Removed.
79619         (syscall-list-default-condition): Likewise.
79620         (syscall-list-default-condition): Likewise.
79621         (syscall-list-includes): Likewise.
79622         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79623         syscall-list-* with abi-*.  Handle undefined abi-variants.
79624         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79625         * sysdeps/unix/sysv/linux/i386/Implies: New file.
79626         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79627         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79628         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79629         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79630         Removed.
79631         (syscall-list-32-options): Likewise.
79632         (syscall-list-32-condition): Likewise.
79633         (syscall-list-64-options): Likewise.
79634         (syscall-list-64-condition): Likewise.
79635         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79636         macro.
79637         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79638         Renamed to ...
79639         (abi-*): This.
79640         (abi-64-ld-soname): New macro.
79641         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79642         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79643         Renamed to ...
79644         (abi-*): This.
79645         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79646         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79648 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79650         * sysdeps/unix/sysv/linux/kernel-features.h
79651         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79652         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79653         include <kernel-features.h>.
79654         [!__NR_ftruncate64]: Remove conditional code.
79655         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79656         [__NR_ftruncate64]: Make code unconditional.
79657         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79658         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79659         include <kernel-features.h>.
79660         [!__NR_ftruncate64]: Remove conditional code.
79661         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79662         [__NR_ftruncate64]: Make code unconditional.
79663         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79665         include <kernel-features.h>.
79666         [!__NR_ftruncate64]: Remove conditional code.
79667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79668         [__NR_ftruncate64]: Make code unconditional.
79669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79671         include <kernel-features.h>.
79672         [!__NR_ftruncate64]: Remove conditional code.
79673         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79674         [__NR_ftruncate64]: Make code unconditional.
79675         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79677         * configure.in (libc_cv_fpie): Weaken to a compile test using
79678         LIBC_TRY_CC_OPTION.
79679         * configure: Regenerated.
79681 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79687         Refreshed.
79688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79694         Refreshed.
79696 2012-05-27  David S. Miller  <davem@davemloft.net>
79698         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79699         (___Q_zero): New.
79700         (__Q_simulate_exceptions): Return void.  Change to simulate
79701         exceptions by writing into the %fsr.
79702         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79703         (__Qp_handle_exceptions): Likewise.
79704         (numbers): Delete.
79705         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79706         __Qp_handle_exceptions.
79707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79708         __Qp_handle_exceptions.
79709         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79710         as unused and give dummy FP_RND_NEAREST initializer.
79711         (FP_INHIBIT_RESULTS): Define.
79712         (___Q_simulate_exceptions): Update declaration.
79713         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79714         formatting.
79715         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79716         as unused and give dummy FP_RND_NEAREST initializer.
79717         (__Qp_handle_exceptions): Update declaration.
79718         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79719         formatting.
79721 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79723         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79724         the temporary FPU control word.
79725         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79726         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79727         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79728         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79729         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79730         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79731         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79732         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79733         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79734         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79735         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79737 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79739         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79740         fields.
79742 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79744         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79745         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79746         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79747         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79748         Likewise.
79749         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79750         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79751         Likewise.
79753 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79755         * po/h.po: Update from translation team.
79757 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79759         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79761         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79762         handling of denormals.
79763         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79764         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79765         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79766         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79770         Likewise.
79772 2012-05-26  Marek Polacek  <polacek@redhat.com>
79774         [BZ #14152]
79775         * math/libm-test.inc (fma_test): Don't always expect underflow
79776         exception.
79778 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79780         [BZ #12416]
79781         * elf/tst-execstack.c: Include stackinfo.h.
79782         (do_test): Adjust test case to ensure that pthread_getattr_np
79783         behaviour remains the same after marking stack executable.
79785 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79787         * sysdeps/unix/sysv/linux/kernel-features.h
79788         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79789         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79790         kernel-features.h.
79791         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79792         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79793         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79794         kernel-features.h.
79795         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79796         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79798 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79800         * configure.in: Define the default includes to being none.
79801         * configure: Regenerated.
79803 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79805         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79806         * sysdeps/x86_64/setjmp.S: Likewise.
79807         * sysdeps/i386/bsd-setjmp.S: Likewise.
79808         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79809         * sysdeps/i386/setjmp.S: Likewise.
79810         * sysdeps/i386/__longjmp.S: Likewise.
79811         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79812         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79814         * include/stap-probe.h: New file.
79815         * configure.in: Handle --enable-systemtap.
79816         * configure: Regenerated.
79817         * config.h.in (USE_STAP_PROBE): New #undef.
79818         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79819         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79820         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79822 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79824         [BZ #13717]
79825         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79826         to 2.4.0 where earlier.
79827         * sysdeps/unix/sysv/linux/configure: Regenerated.
79828         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79829         <kernel-features.h>.
79830         [__ASSUME_32BITUIDS]: Make code unconditional.
79831         [!__ASSUME_32BITUIDS]: Remove conditional code.
79832         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79833         <kernel-features.h>.
79834         [__ASSUME_32BITUIDS]: Make code unconditional.
79835         [!__ASSUME_32BITUIDS]: Remove conditional code.
79836         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79837         [__ASSUME_32BITUIDS]: Make code unconditional.
79838         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79839         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79840         <kernel-features.h>.
79841         [__ASSUME_32BITUIDS]: Make code unconditional.
79842         [!__ASSUME_32BITUIDS]: Remove conditional code.
79843         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79844         <kernel-features.h>.
79845         [__ASSUME_32BITUIDS]: Make code unconditional.
79846         [!__ASSUME_32BITUIDS]: Remove conditional code.
79847         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79848         <kernel-features.h>.
79849         [__ASSUME_32BITUIDS]: Make code unconditional.
79850         [!__ASSUME_32BITUIDS]: Remove conditional code.
79851         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79852         <kernel-features.h>.
79853         [__ASSUME_32BITUIDS]: Make code unconditional.
79854         [!__ASSUME_32BITUIDS]: Remove conditional code.
79855         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79856         <kernel-features.h>.
79857         [__ASSUME_32BITUIDS]: Make code unconditional.
79858         [!__ASSUME_32BITUIDS]: Remove conditional code.
79859         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79860         <kernel-features.h>.
79861         [__ASSUME_32BITUIDS]: Make code unconditional.
79862         [!__ASSUME_32BITUIDS]: Remove conditional code.
79863         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79864         <kernel-features.h>.
79865         [__ASSUME_32BITUIDS]: Make code unconditional.
79866         [!__ASSUME_32BITUIDS]: Remove conditional code.
79867         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79868         <kernel-features.h>.
79869         [__ASSUME_32BITUIDS]: Make code unconditional.
79870         [!__ASSUME_32BITUIDS]: Remove conditional code.
79871         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79872         <kernel-features.h>.
79873         [__ASSUME_32BITUIDS]: Make code unconditional.
79874         [!__ASSUME_32BITUIDS]: Remove conditional code.
79875         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79876         <kernel-features.h>.
79877         [__ASSUME_32BITUIDS]: Make code unconditional.
79878         [!__ASSUME_32BITUIDS]: Remove conditional code.
79879         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79880         <kernel-features.h>.
79881         [__NR_setresgid] (__setresgid): Do not declare.
79882         [__ASSUME_32BITUIDS]: Make code unconditional.
79883         [!__ASSUME_32BITUIDS]: Remove conditional code.
79884         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79885         <kernel-features.h>.
79886         [__NR_setresuid] (__setresuid): Do not declare.
79887         [__ASSUME_32BITUIDS]: Make code unconditional.
79888         [!__ASSUME_32BITUIDS]: Remove conditional code.
79889         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79890         <kernel-features.h>.
79891         [__ASSUME_32BITUIDS]: Make code unconditional.
79892         [!__ASSUME_32BITUIDS]: Remove conditional code.
79893         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79894         <kernel-features.h>.
79895         [__ASSUME_32BITUIDS]: Make code unconditional.
79896         [!__ASSUME_32BITUIDS]: Remove conditional code.
79897         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79898         <kernel-features.h>.
79899         [__ASSUME_32BITUIDS]: Make code unconditional.
79900         [!__ASSUME_32BITUIDS]: Remove conditional code.
79901         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79902         <kernel-features.h>.
79903         [__ASSUME_32BITUIDS]: Make code unconditional.
79904         [!__ASSUME_32BITUIDS]: Remove conditional code.
79905         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79906         <kernel-features.h>.
79907         [__ASSUME_32BITUIDS]: Make code unconditional.
79908         [!__ASSUME_32BITUIDS]: Remove conditional code.
79909         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79910         <kernel-features.h>.
79911         [__ASSUME_32BITUIDS]: Make code unconditional.
79912         [!__ASSUME_32BITUIDS]: Remove conditional code.
79913         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79914         <kernel-features.h>.
79915         [__ASSUME_32BITUIDS]: Make code unconditional.
79916         [!__ASSUME_32BITUIDS]: Remove conditional code.
79917         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79918         <kernel-features.h>.
79919         [__ASSUME_32BITUIDS]: Make code unconditional.
79920         [!__ASSUME_32BITUIDS]: Remove conditional code.
79921         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79922         <kernel-features.h>.
79923         [__ASSUME_32BITUIDS]: Make code unconditional.
79924         [!__ASSUME_32BITUIDS]: Remove conditional code.
79925         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79926         <kernel-features.h>.
79927         [__ASSUME_32BITUIDS]: Make code unconditional.
79928         [!__ASSUME_32BITUIDS]: Remove conditional code.
79929         * sysdeps/unix/sysv/linux/kernel-features.h
79930         (__ASSUME_SETRESUID_SYSCALL): Remove.
79931         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79932         (__ASSUME_32BITUIDS): Likewise.
79933         (__ASSUME_LDT_WORKS): Likewise.
79934         (__ASSUME_O_DIRECTORY): Likewise.
79935         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79936         architecture but not kernel version.
79937         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79938         (__ASSUME_MMAP2_SYSCALL): Likewise.
79939         (__ASSUME_STAT64_SYSCALL): Likewise.
79940         (__ASSUME_IPC64): Likewise.
79941         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79942         <kernel-features.h>.
79943         [__ASSUME_32BITUIDS]: Make code unconditional.
79944         [!__ASSUME_32BITUIDS]: Remove conditional code.
79945         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79946         <kernel-features.h>.
79947         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79948         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79949         132096]: Remove conditional code.
79950         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79951         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79952         <kernel-features.h>.
79953         [__ASSUME_32BITUIDS]: Make code unconditional.
79954         [!__ASSUME_32BITUIDS]: Remove conditional code.
79955         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79956         <kernel-features.h>.
79957         [__ASSUME_32BITUIDS]: Make code unconditional.
79958         [!__ASSUME_32BITUIDS]: Remove conditional code.
79959         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79960         <kernel-features.h>.
79961         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79962         unconditional.
79963         (__setresgid): Do not declare.
79964         [__ASSUME_32BITUIDS]: Make code unconditional.
79965         [!__ASSUME_32BITUIDS]: Remove conditional code.
79966         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79967         <kernel-features.h>.
79968         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79969         unconditional.
79970         (__setresuid): Do not declare.
79971         [__ASSUME_32BITUIDS]: Make code unconditional.
79972         [!__ASSUME_32BITUIDS]: Remove conditional code.
79973         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79974         <kernel-features.h>.
79975         [__ASSUME_32BITUIDS]: Make code unconditional.
79976         [!__ASSUME_32BITUIDS]: Remove conditional code.
79977         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79978         <kernel-features.h>.
79979         [__ASSUME_32BITUIDS]: Make code unconditional.
79980         [!__ASSUME_32BITUIDS]: Remove conditional code.
79982 2012-05-25  Richard Henderson  <rth@twiddle.net>
79984         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79985         dl_hwcap to ifunc resolver.
79986         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79987         elf_ifunc_invoke.
79988         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79989         dl_hwcap to ifunc resolver.
79990         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79992 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79994         [BZ #14153]
79995         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79996         for |x| <= 2**-26, not 2**-57.
79997         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79998         exception.
80000 2012-05-24  Jeff Law  <law@redhat.com>
80002         * stdio-common/Makefile (tests): Add bug25.
80003         * stdio-common/bug25.c: New test.
80005 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80007         [BZ #13576]
80008         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80009         multiple of MALLOC_ALIGNMENT in size.
80010         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80012 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80014         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80015         Require >= 256.
80016         (FILENAME_MAX): Use macro-int-constant.
80017         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80018         (_IOFBF): Use macro-int-constant.
80019         (_IOLBF): Likewise.
80020         (_IONBF): Likewise.
80021         (SEEK_CUR): Likewise.
80022         (SEEK_END): Likewise.
80023         (SEEK_SET): Likewise.
80024         (TMP_MAX): Likewise.
80025         (EOF): Use macro-int-constant.  Require < 0.
80026         (NULL): Use macro-constant.  Require == 0.
80027         (stdin): Require type to be FILE *.
80028         (stdout): Likewise.
80029         (stderr): Likewise.
80030         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80031         macro-int-constant.
80032         (EXIT_SUCCESS): Likewise.
80033         (NULL): Use macro-constant.  Require == 0.
80034         (RAND_MAX): Use macro-int-constant.
80035         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80036         [C99-based standards] (strtof): Require function.
80037         [C99-based standards] (strtold): Likewise.
80038         [C99-based standards] (strtoll): Likewise.
80039         [C99-based standards] (strtoull): Likewise.
80040         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80041         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80042         [ISO || ISO99 || ISO11] (math.h): Likewise.
80043         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80044         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80045         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80047 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80049         [BZ #14132]
80050         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80051         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80052         * intl/dgettext.c (DCGETTEXT): Likewise.
80053         * intl/gettext.c (DCGETTEXT): Likewise.
80054         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80055         * posix/regex_internal.h (gettext): Likewise.
80056         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80057         Remove declaration.
80058         * include/argz.h (__argz_count_internal)
80059         (__argz_stringify_internal): Remove declaration.
80060         (__argz_count, __argz_stringify): Declare hidden proto.
80061         * intl/dcgettext.c: Remove use of INTDEF.
80062         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80063         * string/argz-stringify.c: Likewise.
80064         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80065         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80066         Declare hidden proto.
80067         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80068         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80069         Declare hidden proto.
80070         * include/stdio.h (__asprintf_internal): Don't declare.
80071         (__asprintf): Don't define as macro.  Declare hidden proto.
80072         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80073         (__fsetlocking): Declare hidden proto.
80074         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80075         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80076         hidden proto.
80077         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80078         (_IO_setlinebuf): Remove use of INTUSE.
80079         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80080         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80081         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80082         Remove declaration.
80083         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80084         (_IO_do_flush): Remove use of INTUSE.
80085         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80086         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80087         (_IO_adjust_column, _IO_least_wmarker)
80088         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80089         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80090         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80091         (_IO_default_doallocate, _IO_wdefault_doallocate)
80092         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80093         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80094         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80095         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80096         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80097         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80098         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80099         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80100         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80101         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80102         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80103         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80104         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80105         proto.
80106         (_IO_flush_all_internal, _IO_adjust_column_internal)
80107         (_IO_default_uflow_internal, _IO_default_finish_internal)
80108         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80109         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80110         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80111         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80112         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80113         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80114         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80115         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80116         (_IO_file_close_internal, _IO_file_close_it_internal)
80117         (_IO_file_underflow_internal, _IO_file_overflow_internal)
80118         (_IO_file_init_internal, _IO_file_attach_internal)
80119         (_IO_file_fopen_internal, _IO_file_read_internal)
80120         (_IO_file_sync_internal, _IO_file_seek_internal)
80121         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80122         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80123         (_IO_str_underflow_internal, _IO_str_overflow_internal)
80124         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80125         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80126         (_IO_list_all_internal, _IO_link_in_internal)
80127         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80128         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80129         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80130         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80131         (_IO_do_write_internal, _IO_padn_internal)
80132         (_IO_getline_info_internal, _IO_getline_internal)
80133         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80134         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80135         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80136         (_IO_vfscanf_internal, _IO_vfprintf_internal)
80137         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80138         (_IO_init_internal, _IO_un_link_internal): Don't declare.
80139         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80140         with libc_hidden_ver, remove use of INTUSE.
80141         * libio/genops.c: Likewise.
80142         * libio/freopen.c: Likewise.
80143         * libio/freopen64.c: Likewise.
80144         * libio/iofclose.c: Likewise.
80145         * libio/iofdopen.c: Likewise.
80146         * libio/iofflush.c: Likewise.
80147         * libio/iofflush_u.c: Likewise.
80148         * libio/iofgets.c: Likewise.
80149         * libio/iofgets_u.c: Likewise.
80150         * libio/iofopen.c: Likewise.
80151         * libio/iofopncook.c: Likewise.
80152         * libio/iofread.c: Likewise.
80153         * libio/iofread_u.c: Likewise.
80154         * libio/ioftell.c: Likewise.
80155         * libio/iofwrite.c: Likewise.
80156         * libio/iogetline.c: Likewise.
80157         * libio/iogets.c: Likewise.
80158         * libio/iogetwline.c: Likewise.
80159         * libio/iopadn.c: Likewise.
80160         * libio/iopopen.c: Likewise.
80161         * libio/ioseekoff.c: Likewise.
80162         * libio/ioseekpos.c: Likewise.
80163         * libio/iosetbuffer.c: Likewise.
80164         * libio/iosetvbuf.c: Likewise.
80165         * libio/ioungetc.c: Likewise.
80166         * libio/ioungetwc.c: Likewise.
80167         * libio/iovdprintf.c: Likewise.
80168         * libio/iovsprintf.c: Likewise.
80169         * libio/iovsscanf.c: Likewise.
80170         * libio/memstream.c: Likewise.
80171         * libio/obprintf.c: Likewise.
80172         * libio/oldfileops.c: Likewise.
80173         * libio/oldiofclose.c: Likewise.
80174         * libio/oldiofdopen.c: Likewise.
80175         * libio/oldiofopen.c: Likewise.
80176         * libio/oldiopopen.c: Likewise.
80177         * libio/oldstdfiles.c: Likewise.
80178         * libio/putc.c: Likewise.
80179         * libio/setbuf.c: Likewise.
80180         * libio/setlinebuf.c: Likewise.
80181         * libio/stdfiles.c: Likewise.
80182         * libio/strops.c: Likewise.
80183         * libio/vasprintf.c: Likewise.
80184         * libio/vscanf.c: Likewise.
80185         * libio/vsnprintf.c: Likewise.
80186         * libio/vswprintf.c: Likewise.
80187         * libio/wfiledoalloc.c: Likewise.
80188         * libio/wfileops.c: Likewise.
80189         * libio/wgenops.c: Likewise.
80190         * libio/wmemstream.c: Likewise.
80191         * libio/wstrops.c: Likewise.
80192         * libio/__fpurge.c: Likewise.
80193         * libio/__fsetlocking.c: Likewise.
80194         * assert/assert.c: Likewise.
80195         * debug/fgets_chk.c: Likewise.
80196         * debug/fgets_u_chk.c: Likewise.
80197         * debug/fread_chk.c: Likewise.
80198         * debug/fread_u_chk.c: Likewise.
80199         * debug/gets_chk.c: Likewise.
80200         * debug/obprintf_chk.c: Likewise.
80201         * debug/vasprintf_chk.c: Likewise.
80202         * debug/vdprintf_chk.c: Likewise.
80203         * debug/vsnprintf_chk.c: Likewise.
80204         * debug/vsprintf_chk.c: Likewise.
80205         * malloc/mtrace.c: Likewise.
80206         * misc/error.c: Likewise.
80207         * misc/syslog.c: Likewise.
80208         * stdio-common/asprintf.c: Likewise.
80209         * stdio-common/fxprintf.c: Likewise.
80210         * stdio-common/getw.c: Likewise.
80211         * stdio-common/isoc99_fscanf.c: Likewise.
80212         * stdio-common/isoc99_scanf.c: Likewise.
80213         * stdio-common/isoc99_vfscanf.c: Likewise.
80214         * stdio-common/isoc99_vscanf.c: Likewise.
80215         * stdio-common/isoc99_vsscanf.c: Likewise.
80216         * stdio-common/printf-prs.c: Likewise.
80217         * stdio-common/printf_fp.c: Likewise.
80218         * stdio-common/printf_fphex.c: Likewise.
80219         * stdio-common/printf_size.c: Likewise.
80220         * stdio-common/putw.c: Likewise.
80221         * stdio-common/scanf.c: Likewise.
80222         * stdio-common/sprintf.c: Likewise.
80223         * stdio-common/tmpfile.c: Likewise.
80224         * stdio-common/vfprintf.c: Likewise.
80225         * stdio-common/vfscanf.c: Likewise.
80226         * stdlib/strfmon_l.c: Likewise.
80227         * sunrpc/openchild.c: Likewise.
80228         * sunrpc/xdr_stdio.c: Likewise.
80229         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80230         * sysdeps/mach/hurd/tmpfile.c: Likewise.
80232 2012-05-24  Roland McGrath  <roland@hack.frob.com>
80234         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80236         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80237         in the third column, to generate for the shared library an IFUNC
80238         that uses _dl_vdso_vsym.
80239         * Makerules (COMPILE.c, compile-stdin.c): New variables.
80240         * Makeconfig (object-suffixes-noshared): New variable.
80242         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80243         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80244         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80245         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80247         [BZ #14132]
80248         * include/sys/time.h (__gettimeofday): Remove macro.
80249         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80250         * time/gettimeofday.c (__gettimeofday): Remove #undef.
80251         Remove INTDEF.
80252         (__gettimeofday): Add libc_hidden_def.
80253         (gettimeofday): Add libc_hidden_weak.
80254         * sysdeps/mach/gettimeofday.c: Likewise.
80255         * sysdeps/posix/gettimeofday.c: Likewise.
80256         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80257         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80259         (__gettimeofday_internal): Remove strong_alias.
80260         (__gettimeofday): Add libc_hidden_def.
80261         (gettimeofday): Add libc_hidden_weak.
80262         * sysdeps/unix/syscalls.list (gettimeofday):
80263         Remove __gettimeofday_internal alias.
80265 2012-05-24  Daniel Jacobowitz  <drow@false.org>
80266             H.J. Lu  <hongjiu.lu@intel.com>
80268         [BZ #12495]
80269         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80270         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80271         (largebin_index_32_big): New.
80272         (largebin_index): Use it for 16-byte alignment.
80273         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
80274         correction with front_misalign.
80276 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80280         Likewise.
80281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80282         Likewise.
80283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80284         Likewise.
80285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80286         Likewise.
80287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80288         Likewise.
80289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80290         Likewise.
80291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80292         Likewise.
80293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80294         Likewise.
80295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80296         Likewise.
80297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80298         Likewise.
80299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80300         Likewise.
80301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80302         Likewise.
80304         * scripts/data/c++-types-x32-linux-gnu.data: New file.
80305         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80307 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80309         [BZ #10846]
80310         [BZ #14036]
80311         * math/libm-test.inc (exp_test): Add test from bug 14036.
80312         (pow_test): Add test from bug 10846.
80314         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80315         and other flags.
80316         (special_function): Do not include flags in test name.
80317         (parse_args): Likewise.
80318         * sysdeps/i386/fpu/libm-test-ulps: Update.
80319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80321         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80324         * math/gen-libm-test.pl (%beautify): Add entries for underflow
80325         exceptions.
80326         * math/libm-test.inc ("Philosophy"): Update comment about
80327         exception testing.
80328         (UNDERFLOW_EXCEPTION): New macro.
80329         (UNDERFLOW_EXCEPTION_OK): Likewise.
80330         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80331         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80332         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80333         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80334         (INVALID_EXCEPTION_OK): Update value.
80335         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80336         (OVERFLOW_EXCEPTION_OK): Likewise.
80337         (IGNORE_ZERO_INF_SIGN): Likewise.
80338         (test_exceptions): Handle underflow exceptions.
80339         (acos_test): Update for underflow exception expectations.
80340         (cexp_test): Likewise.
80341         (clog_test): Likewise.
80342         (clog10_test): Likewise.
80343         (csqrt_test): Likewise.
80344         (ctan_test): Likewise.
80345         (ctanh_test): Likewise.
80346         (exp_test): Likewise.
80347         (exp10_test): Likewise.
80348         (exp2_test): Likewise.
80349         (expm1_test): Likewise.
80350         (fma_test): Likewise.
80351         (j0_test): Likewise.
80352         (jn_test): Likewise.
80353         (nexttoward_test): Likewise.
80354         (pow_test): Likewise.
80355         (scalbn_test): Likewise.
80356         (scalbln_test): Likewise.
80357         (tan_test): Likewise.
80358         (y1_test): Likewise.
80359         * sysdeps/i386/fpu/libm-test-ulps: Update.
80360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80362 2012-05-23  David S. Miller  <davem@davemloft.net>
80364         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80365         (__libc_sigaction): Remove unused local variables.
80367 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80369         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80371 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
80373         mktime: avoid signed integer overflow
80374         * time/mktime.c (__mktime_internal): Do not mishandle the case
80375         where diff == INT_MIN.
80377         mktime: simplify computation of average
80378         * time/mktime.c (ranged_convert): Use new time_t_avg function
80379         instead of rolling our own (probably-slower) code.
80381         mktime: do not assume signed right shift propagates sign bit
80382         * time/mktime.c (isdst_differ): New static function.
80383         (__mktime_internal): No need to normalize tm_isdst now.
80384         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80385         tm_isdst values.
80387         mktime: merge another wrapv change from gnulib
80388         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80389         from some compilers.
80391         mktime: remove incorrect attempt at unusual arithmetics
80392         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80393         The code didn't really work on such machines anyway.
80394         (TYPE_MINIMUM): Assume two's complement.
80395         (twos_complement_arithmetic): Verify that long_int and time_t
80396         are two's complement (or unsigned, in the latter case).
80398         mktime: check signed shifts on long_int and time_t, too
80399         * time/mktime.c (SHR): Check that shifts work as desired
80400         on the types long_int and time_t too, as SHR is used on
80401         such types.
80403         mktime: do not assume 'long' is wide enough
80404         * time/mktime.c (verify): Move decl up.
80405         (long_int): New type.
80406         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
80407         to remove assumption in the code that 'long' is wide enough to
80408         store year values.  This assumption is not true on x32 and on
80409         some non-glibc platforms.
80411         mktime: merge wrapv change from gnulib
80412         * time/mktime.c (WRAPV): New macro.
80413         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80414         (guess_time_tm, __mktime_internal): Do not assume that signed
80415         integer overflow wraps around; modern compilers generate code
80416         where this assumption is no longer valid.
80418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80420         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80421         Replace "jmp L(pseudo_end)" with "ret".
80422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80423         Likewise.
80425 2012-05-23  Andreas Jaeger  <aj@suse.de>
80427         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80428         * sysdeps/unix/sysv/linux/poll.c: Remove file.
80430 2012-05-23  Andreas Jaeger  <aj@suse.de>
80431             Maximilian Attems  <max@stro.at>
80433         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80434         New macros.
80436 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80438         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80439         code so that pseudo_end is just ret and the stack pointer is
80440         correct also for static library in error case.
80442 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
80444         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80445         move to syscalls.list.
80446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80451         * manual/install.texi (Running make install): Do not mention Linux
80452         kernel version for which pt_chown is not needed.
80453         (Linux): Do not mention problems with nscd with 2.0 kernels.
80454         * INSTALL: Regenerated.
80456 2012-05-23  Andreas Jaeger  <aj@suse.de>
80458         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80459         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80460         macro.
80461         * sysdeps/unix/sysv/linux/s390/bits/mman.h
80462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80463         * sysdeps/unix/sysv/linux/sh/bits/mman.h
80464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80465         * sysdeps/unix/sysv/linux/i386/bits/mman.h
80466         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80467         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80469         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80470         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80471         * sysdeps/unix/sysv/linux/bits/in.h
80472         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80474 2012-05-22  Roland McGrath  <roland@hack.frob.com>
80476         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80477         (PREPARE_VERSION): Just use assert instead, it will be elided
80478         under [NDEBUG] anyway.
80480 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80482         * sysdeps/unix/sysv/linux/Makefile: Include
80483         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80484         (sysdep_routines): Remove sysctl.
80485         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80486         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80487         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80488         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80489         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80491 2012-05-22  Andreas Jaeger  <aj@suse.de>
80493         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80494         that pseudo_end is just ret and the stack pointer is correct also
80495         for static library in error case.
80497 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
80499         [BZ #14122]
80500         * nss/nsswitch.c (defconfig_entries): New variable.
80501         (__nss_database_lookup): Don't leak defconfig entries.
80502         (nss_parse_service_list): Don't leak on error paths.
80503         (free_database_entries): New function.
80504         (free_defconfig): New function.
80505         (free_mem): Move common code to free_database_entries.
80507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80509         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80510         Add arch_prctl.
80511         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80514         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80516         New macro.
80517         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80518         (INTERNAL_SYSCALL_TYPES): Likewise.
80519         (LOAD_ARGS_TYPES_[1-6]): Likewise.
80520         (LOAD_REGS_TYPES_[1-6]): Likewise.
80521         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80522         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80524 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80526         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80527         copysignl for GLIBC_2_0.
80528         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80529         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80530         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80531         logbl for GLIBC_2_0.
80532         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80533         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80535 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80538         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80540         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80541         Use "neg %eax".
80543         * time/mktime.c: Update copyright years.
80545 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
80547         mktime: merge comment-quoting-style change from gnulib
80548         * time/mktime.c: Quote 'like this' in comments.
80549         The GNU coding standards suggest that we no longer quote `like this',
80550         as "`" and "'" are typically rendered asymmetrically nowadays.
80551         The typical gnulib style is to quote 'like this' when quoting
80552         code, and "like this" when quoting English.
80554         * time/mktime.c (compile-command): Add "-I.".
80556         mktime: merge mktime-internal.h change from gnulib
80557         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80559         mktime: merge time_r change from gnulib
80560         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80562         mktime: merge DEBUG change from gnulib
80563         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80564         case system <time.h> has a #define.
80566         mktime: merge <sys/types.h> change from gnulib
80567         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80568         since <time.t> is now guaranteed to define time_t.
80570         mktime: merge HAVE_CONFIG_H change from gnulib
80571         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80573 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80576         Use "neg %eax".
80578         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80579         __rlim_t cast.
80580         (struct rusage): Use anonymous union to pad each field to
80581         __syscall_slong_t.
80583 2012-05-21  David S. Miller  <davem@davemloft.net>
80585         * Makefules (o-iterator): Remove .s cases.
80586         (compile-command.s): Delete.
80587         (COMPILE.s): Delete.
80588         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80590 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
80592         * configure.in (libc_cv_predef_stack_protector): Only consider
80593         "foobar" and "__stack_chk_fail" lines in libc_undefs.
80594         * configure: Regenerated.
80596 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80599         New macro.  Use R*LP on int and pointer.
80600         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80601         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80602         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80603         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80605         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80606         [__WORDSIZE_TIME64_COMPAT32] instead of
80607         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80608         (struct utmp): Likewise.
80609         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80610         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80611         Renamed to ...
80612         (__WORDSIZE_TIME64_COMPAT32): This.
80613         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80614         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80615         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80616         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80617         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80618         (__WORDSIZE_TIME64_COMPAT32): New macro.
80620 2012-05-21  Andreas Jaeger  <aj@suse.de>
80622         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80623         only if [SHARED]. Add prototype for __wcschr_ia32.
80625 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80627         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80628         of %rbp unmolested in the jmp_buf while mangling the low bits.
80629         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80630         unmolested high bits of %rbp while demangling the low bits.
80631         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80633 2012-05-21  Andreas Jaeger  <aj@suse.de>
80635         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80636         * sunrpc/svc_simple.c: Use it for registerrpc.
80637         * sunrpc/xcrypt.c: Use it for passwd2des.
80639         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80641 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80643         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80644         Don't define if [__SYSCALL_WORDSIZE != 32].
80645         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80646         New macro.
80648 2012-05-21  Bruno Haible  <bruno@clisp.org>
80649             Andreas Jaeger  <aj@suse.de>
80651         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80652         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80653         inptr and inend for must_buffer_ch.
80654         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80655         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80656         * stdio-common/Makefile (tests): Remove bug15.
80657         (bug15-ENV): Remove macro.
80658         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80659         anymore.
80661 2012-05-19  Andreas Jaeger  <aj@suse.de>
80662             Roland McGrath  <roland@hack.frob.com>
80664         * manual/contrib.texi: Completely rewritten. It contains now an
80665         alphabetical list of contributors and their contributions.
80667 2012-05-21  Richard Henderson  <rth@twiddle.net>
80669         * misc/getauxval.c (__getauxval): Use unsigned long int.
80670         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80671         (getauxval): Use unsigned long int.
80673 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80675         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80677 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80679         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80680         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80681         __alignof__ (long double).
80683 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80687 2012-05-20  Richard Henderson  <rth@twiddle.net>
80689         * misc/getauxval.c: New file.
80690         * misc/sys/auxv.h: New file.
80691         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80692         (routines): Add getauxval.
80693         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80694         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80695         * elf/dl-sysdep.c (_dl_auxv): Remove.
80696         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80697         * elf/dl-support.c (_dl_auxv): New variable.
80698         (_dl_aux_init): Initialize it.
80699         * manual/startup.texi (Auxiliary Vector): New node.
80700         * sysdeps/generic/bits/hwcap.h: New file.
80701         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80702         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80703         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80704         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80705         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80706         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80708         Update.
80709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80712         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80718 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80722 2012-05-19  David S. Miller  <davem@davemloft.net>
80724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80726 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80728         [BZ #14123]
80729         * math/s_ccosh.c: Include <float.h>
80730         (__ccosh): Avoid internal overflow calculating sinh and cosh
80731         values before multiplying by sin and cos values.
80732         * math/s_ccoshf.c: Likewise.
80733         * math/s_ccoshl.c: Likewise.
80734         * math/s_csin.c: Likewise.
80735         * math/s_csinf.c: Likewise.
80736         * math/s_csinl.c: Likewise.
80737         * math/s_csinh.c: Likewise.
80738         * math/s_csinhf.c: Likewise.
80739         * math/s_csinhl.c: Likewise.
80740         * math/libm-test.inc (ccos_test): Add more tests.
80741         (ccosh_test): Likewise.
80742         (csin_test): Likewise.
80743         (csinh_test): Likewise.
80744         * sysdeps/i386/fpu/libm-test-ulps: Update.
80745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80747 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80749         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80750         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80752         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80754 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80756         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80757         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80758         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80759         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80760         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80761         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80762         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80763         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80764         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80765         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80766         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80767         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80768         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80769         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80770         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80771         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80772         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80773         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80774         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80775         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80776         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80777         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80778         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80779         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80780         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80781         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80782         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80783         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80784         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80785         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80786         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80788 2012-05-18  Andreas Jaeger  <aj@suse.de>
80790         * csu/.gitignore: Delete.
80792 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80794         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80795         (timex): Use __syscall_slong_t.
80797 2012-05-18  Andreas Jaeger  <aj@suse.de>
80798             Carlos O'Donell  <carlos_odonell@mentor.com>
80800         * manual/install.texi (Configuring and compiling): Update
80801         description about files modified in the source directory.
80802         * INSTALL: Regenerated.
80804 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80806         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80807         value.  Use "or" to set return value to -1.
80808         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80809         negate return value.
80811 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80813         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80814         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80815         failure if the compiler has Graphite support disabled.
80816         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80817         Likewise.
80818         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80819         (CFLAGS-memmove.c): Likewise.
80820         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80821         Likewise.
80823 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80825         * sysdeps/x86_64/x32/_itoa.h: New file.
80827         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80828         getdents system call only if kernel and user dirents have the
80829         same d_ino and d_off.
80831         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80832         LLONG_MAX != LONG_MAX.
80833         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80834         (_fitoa_word): Likewise.
80836         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80837         years.
80838         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80840         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80842         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80843         include <bits/wordsize.h>.  Check __x86_64__ instead of
80844         __WORDSIZE.
80845         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80846         if __x86_64__ is defined.  Use anonymous union on fpstate.
80848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80849         anonymous union.
80851 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80853         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80854         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80855         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80856         Refer to _rtld_local_ro instead of _rtld_global_ro.
80857         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80858         Likewise.
80859         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80860         Likewise.
80861         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80862         Likewise.
80863         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80864         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80865         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80867         [BZ #10882]
80868         * sysdeps/powerpc/powerpc32/dl-machine.c
80869         (__elf_machine_runtime_setup) [PROF]: Don't reference
80870         _dl_prof_resolve.
80872 2012-05-18  Andreas Jaeger  <aj@suse.de>
80874         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80875         function only available for GCCs before 3.4 since GCC 3.4
80876         introduced a builtin.
80877         (lrint): Likewise.
80878         (llrintf): Likewise.
80879         (llrint): Likewise.
80880         (fmaxf): Likewise.
80881         (fmax): Likewise.
80882         (fminf): Likewise.
80883         (fmin): Likewise.
80884         (rint): Likewise.
80885         (rintf): Likewise.
80886         (nearbyint): Likewise.
80887         (nearbyintf): Likewise.
80888         (ceil): Likewise.
80889         (ceilf): Likewise.
80890         (floor): Likewise.
80891         (floorf): Likewise.
80893 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80895         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80896         on both fields and cast pointer to __syscall_ulong_t.
80898         * bits/types.h (__fsword_t): New type.
80899         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80900         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80902         (__FSWORD_T_TYPE): Likewise.
80903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80904         (__FSWORD_T_TYPE): Likewise.
80905         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80906         (__FSWORD_T_TYPE): Likewise.
80907         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80908         (__FSWORD_T_TYPE): Likewise.
80909         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80910         __SWORD_TYPE with __fsword_t.
80911         (statfs64): Likewise.
80913 2012-05-17  David S. Miller  <davem@davemloft.net>
80915         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80917 2012-05-17  Andreas Jaeger  <aj@suse.de>
80919         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80920         warning.
80922 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80924         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80926 2012-05-17  Andreas Jaeger  <aj@suse.de>
80928         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80929         when it is used.
80931 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80933         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80935 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80937         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80938         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80940 2012-05-17  Andreas Jaeger  <aj@suse.de>
80941             Carlos O'Donell  <carlos_odonell@mentor.com>
80943         [BZ #14059]
80944         * sysdeps/x86_64/multiarch/init-arch.h
80945         (bit_YMM_Usable): Rename to...
80946         (bit_AVX_Usable): ... this.
80947         (bit_FMA4_Usable): New macro.
80948         (bit_XMM_state): New macro.
80949         (bit_YMM_state): New macro.
80950         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80951         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80952         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80953         (CPUID_OSXSAVE): New macro.
80954         (CPUID_AVX): New macro.
80955         (CPUID_FMA4): New macro.
80956         (index_YMM_Usable): Rename to...
80957         (index_AVX_Usable): ... this.
80958         (HAS_AVX): Use HAS_ARCH_FEATURE.
80959         (HAS_FMA4): Likewise.
80960         (HAS_YMM_USABLE): Remove.
80961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80962         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80963         are present.
80964         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80965         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80966         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80967         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80968         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80970 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80972         * math/libm-test.c: Support platforms without multiple rounding modes.
80973         * math/bug-nextafter.c: Support platforms without FP exceptions.
80974         * math/bug-nexttoward.c: Likewise.
80975         * math/test-fenv.c: Likewise.
80976         * math/test-misc.c: Likewise.
80977         * stdlib/bug-getcontext.c: Likewise.
80979 2012-05-17  Andreas Jaeger  <aj@suse.de>
80981         * manual/examples/search.c (critter_cmp): Change signature to
80982         avoid warnings.
80983         * manual/string.texi (Collation Functions): Likewise.
80985 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80987         * bits/types.h: Fold copyright years.
80988         * bits/typesizes.h: Likewise.
80989         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80990         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80993         * time/time.h: Likewise.
80995 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80997         [BZ #208]
80998         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80999         in instead of returning them.  Return void.
81000         (__libc_mallinfo): Accumulate over all arenas.
81001         (__malloc_stats): Adjust for change in int_mallinfo interface.
81003 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81005         [BZ #10375]
81006         * configure.in (NM): Add AC_CHECK_TOOL for it.
81007         (libc_extra_cflags): New substituted variable.
81008         Check for -fstack-protector being used implicitly.
81009         * configure: Regenerated.
81010         * config.make.in (config-extra-cflags): New variable,
81011         gets @libc_extra_cflags@.
81012         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81014         [BZ #10375]
81015         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81016         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81017         * configure: Regenerated.
81018         * config.make.in (CPPUNDEFS): New substituted variable.
81019         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81020         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81021         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81025         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81026         (mq_attr): Use __syscall_slong_t.
81028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81030         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81031         Check __x86_64__ instead of __WORDSIZE.
81032         (_STAT_VER_LINUX): Likewise.
81033         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81034         __syscall_ulong_t and __syscall_slong_t.
81035         (stat64): Likewise.
81037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81039         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81041 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81043         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81045 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81047         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81048         __syscall_ulong_t.
81050         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81051         include <bits/wordsize.h>.  Check __x86_64__ instead of
81052         __WORDSIZE.
81053         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81054         defined.
81055         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81058         include <bits/wordsize.h>.  Check __x86_64__ instead of
81059         __WORDSIZE.
81060         (user_regs_struct): Use "__extension__ unsigned long long"
81061         instead of "unsigned long" if __x86_64__ is defined.
81062         (user): Likewise.  Pad after pointer field if __ILP32__ is
81063         defined.
81065 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81067         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81068         versions 5 to 9.
81069         * configure: Regenerated.
81070         * manual/install.texi (texinfo): Increase version requirement to
81071         4.5 or later.
81072         * INSTALL: Regenerated.
81074         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81076 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81078         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81080         * sysdeps/x86_64/x32/ffs.c: New file.
81082         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81083         __syscall_ulong_t.
81084         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81085         defined.  Use __syscall_ulong_t.
81086         (shminfo): Use __syscall_ulong_t.
81087         (shm_info): Likewise.
81089         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81090         __syscall_ulong_t.
81092         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81093         <bits/wordsize.h>.
81094         (msgqnum_t): Use __syscall_ulong_t.
81095         (msglen_t): Likewise.
81096         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81097         __syscall_ulong_t.
81099         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81100         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81102         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81104         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81105         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81107         * sysvipc/sys/msg.h (msgbuf): Replace long int with
81108         __syscall_slong_t.
81110         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81111         include <bits/wordsize.h>.  Check __x86_64__ instead of
81112         __WORDSIZE.
81114         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81115         "unsigned long long int" if __x86_64__ is defined.
81116         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81118         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81119         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81120         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81122         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81123         <stdint.h>.
81124         (GET_PC): Cast to uintptr_t first.
81125         (GET_FRAME): Likewise.
81126         (GET_STACK): Likewise.
81128         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81129         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81130         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81131         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81132         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81133         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81134         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81135         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81136         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81137         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81138         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81139         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81140         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81142         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81143         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81144         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81145         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81146         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81147         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81148         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81149         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81150         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81151         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81152         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81153         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81154         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81155         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81156         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81158 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
81160         * Makerules (+depfiles): Also collect depfiles from .oS in
81161         $(extra-objs).
81162         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81163         .oS, $(libnldbl-routines)).
81165         * Makerules (native-compile-mkdep-flags): Define.
81166         * sunrpc/Makefile (extra-objs): Add $(addprefix
81167         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81168         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81169         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
81170         calling $(make-target-directory).
81172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81174         * bits/types.h (__snseconds_t): Removed.
81175         * time/time.h (struct timespec): Replace __snseconds_t with
81176         __syscall_slong_t.
81177         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81178         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81179         Likewise.
81180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81181         (__SNSECONDS_T_TYPE): Likewise.
81182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81183         (__SNSECONDS_T_TYPE): Likewise.
81184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81185         (__SNSECONDS_T_TYPE): Likewise.
81187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81189         * sysdeps/mach/hurd/bits/typesizes.h
81190         (__SYSCALL_SLONG_TYPE): New macro.
81191         (__SYSCALL_ULONG_TYPE): Likewise.
81193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81195         * bits/types.h (__syscall_slong_t): New type.
81196         (__syscall_ulong_t): Likewise.
81198         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81199         (__SYSCALL_ULONG_TYPE): Likewise.
81200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81201         (__SYSCALL_SLONG_TYPE): Likewise.
81202         (__SYSCALL_ULONG_TYPE): Likewise.
81203         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81204         (__SYSCALL_SLONG_TYPE): Likewise.
81205         (__SYSCALL_ULONG_TYPE): Likewise.
81206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81207         (__SYSCALL_SLONG_TYPE): Likewise.
81208         (__SYSCALL_ULONG_TYPE): Likewise.
81210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81212         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81213         Add sigaltstack-offsets.sym.
81214         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81215         <sigaltstack-offsets.h>.
81216         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
81217         longjmp_msg pointer.
81218         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
81219         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81220         signal stack.
81221         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81223 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81225         * elf/stackguard-macros.h: Remove file.
81226         * sysdeps/generic/stackguard-macros.h: New file.
81227         * sysdeps/i386/stackguard-macros.h: Likewise.
81228         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81229         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81230         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81231         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81232         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81233         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81234         * sysdeps/x86_64/stackguard-macros.h: Likewise.
81235         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81236         <elf/stackguard-macros.h>.
81238         [BZ #14109]
81239         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81240         __aligned__ in attribute.
81241         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81242         (gregset_t): Likewise.
81244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81246         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81247         * sysdeps/x86_64/64/Implies-after: Here.  New file.
81248         * sysdeps/x86_64/x32/Implies-after: New file.
81250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81252         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81253         and access return value for _dl_profile_fixup.  Use R10_LP to
81254         load frame size.
81256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81258         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81262         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81263         * sysdeps/x86_64/x32/sysdep.h: New file.
81265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81267         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81268         * sysdeps/x86_64/setjmp.S: Likewise.
81270 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81272         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81273         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81274         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81275         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81276         remove unused global constant.
81278 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
81280         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81281         include of <not-cancel.h>.
81283 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81285         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81287 2012-05-15  Jeff Law  <law@redhat.com>
81288             Andreas Jaeger  <aj@suse.de>
81290         [BZ #13594]
81291         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81292         out from...
81293         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81294         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81295         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81296         code changing __hst_map_handle.map.
81298 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81300         * configure.in (sysnames): Look for Implies-before and Implies-after
81301         files.
81302         * configure: Regenerated.
81304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81306         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81307         8-byte data alignment with LP_SIZE alignment.
81309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81311         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81312         into R10_LP.
81314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81316         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81320         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81321         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81322         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81323         Likewise.
81324         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81328         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81329         (stackinfo_sub_sp): Likewise.
81331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81333         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81334         RAX_LP.
81336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81338         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81339         into R*_LP.
81341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81343         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81344         sizes into R*_LP.
81346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81348         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81352         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81353         into R11_LP and load __x86_64_shared_cache_size_half into
81354         R8_LP.
81356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81358         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81359         R8_LP.
81361 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81363         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81364         logb for POWER7.
81365         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81366         logbf for POWER7.
81367         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81368         logbl for POWER7.
81369         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81370         powerpc32/power7/fpu/s_logb.c via #include.
81371         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81372         powerpc32/power7/fpu/s_logbf.c via #include.
81373         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81374         powerpc32/power7/fpu/s_logbl.c via #include.
81376 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81378         * README.libm: Remove file.
81380 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81382         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81383         count for x32.  Use R*_LP and omit operand-size suffix.
81385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81387         * shlib-versions: Move x86_64-.*-linux.* entries to ...
81388         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
81389         * sysdeps/x86_64/x32/shlib-versions: New file.
81391 2012-05-14  Roland McGrath  <roland@hack.frob.com>
81393         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81394         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81395         Use _dl_fatal_printf instead.
81397 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81399         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
81400         set if not set by the user.  Do not allow for being unset.
81401         * sysdeps/unix/sysv/linux/configure: Regenerated.
81403 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81405         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
81406         the `q' suffix from lea and replace .quad with ASM_ADDR.
81408 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81411         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
81412         instead of $17.
81413         (PTR_DEMANGLE): Likewise.
81415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81417         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81418         (LP_OP): Likewise.
81419         (ASM_ADDR): Likewise.
81420         (RAX_LP): Likewise.
81421         (RBP_LP): Likewise.
81422         (RBX_LP): Likewise.
81423         (RCX_LP): Likewise.
81424         (RDI_LP): Likewise.
81425         (RSI_LP): Likewise.
81426         (RSP_LP): Likewise.
81427         (R8_LP): Likewise.
81428         (R9_LP): Likewise.
81429         (R10_LP): Likewise.
81430         (R10_LP): Likewise.
81431         (R11_LP): Likewise.
81432         (R12_LP): Likewise.
81433         (R13_LP): Likewise.
81434         (R14_LP): Likewise.
81435         (R15_LP): Likewise.
81437 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81439         * sysdeps/x86_64/x32/dl-machine.h: New file.
81441 2012-05-14  Andreas Jaeger  <aj@suse.de>
81443         * manual/Makefile (subdir): Remove export of subdir.
81444         (all): Remove target.
81445         (.PHONY): Remove all from list.
81446         (mkinstalldirs): Remove.
81447         (.PHONY): Remove installdirs from list.
81448         ($(inst_infodir)/libc.info): Use make-target-directory.
81449         (installdirs): Remove.
81450         (subdir_%): Remove.
81451         (glibc-targets): Remove.
81452         (lib): Remove.
81453         (stubs): Remove.
81454         ($(objpfx)stubs ../po/manual.pot): Remove.
81455         ($(objpfx)stamp%): Remove.
81456         (make-target-directory): Remove.
81457         (subdir_install): Remove.
81458         (routines): Remove.
81459         (aux): Remove.
81460         (sources): Remove.
81461         (objects): Remove.
81462         (headers): Remove.
81464         [BZ #13750]
81465         * manual/.gitignore: Remove, it's not needed anymore.
81466         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81467         all files in it.
81468         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81469         directory.
81470         (texis): Renamed to $(objpfx)texis.
81471         (texis-path): New, contains path to generated files.
81472         (chapters.%): Use texis-path for complete path, add extra argument
81473         libc-texinfo.sh.
81474         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81475         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81476         (summary,texi, stamp-summary): Use complete path of
81477         files. Generate files in build dir.
81478         (dir-add.texi): Build in build dir.
81479         (libm-err.texi,stamp-libm-err): Likewise.
81480         (version.texi, stamp-version): Likewise.
81481         (.%c.texi): Likewise.
81482         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81483         (mostlyclean): Remove target.
81484         (realclean): Remove target.
81485         (generated): Add new variable with contents from mostlyclean and
81486         realclean, remove entries duplicated in common-mostlyclean, add
81487         stamp-libm-err and stamp-version.
81488         (generated-dirs): Add libc directory.
81489         ($(inst_infodir)/libc.info): Install files from build dir.
81491         * manual/install.texi (Configuring and compiling): Adjust since
81492         the info files are not part of the tar ball anymore.
81494 2012-05-14  Andreas Jaeger  <aj@suse.de>
81496         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81497         variable.
81499 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81501         [BZ #13717]
81502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81503         to 2.2.0 where earlier.
81504         * sysdeps/unix/sysv/linux/configure: Regenerated.
81505         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81506         Remove conditional code.
81507         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81508         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81509         Remove conditional code.
81510         [!__NR_lchown]: Likewise.
81511         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81512         [__NR_lchown]: Likewise.
81513         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81514         comment referencing __ASSUME_LCHOWN_SYSCALL.
81515         * sysdeps/unix/sysv/linux/i386/sigaction.c
81516         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81517         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81518         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81519         Remove conditional code.
81520         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81521         (__protocol_available): Remove #if 0 code.
81522         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81523         conditional code.
81524         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81525         * sysdeps/unix/sysv/linux/kernel-features.h
81526         (__ASSUME_GETCWD_SYSCALL): Don't define.
81527         (__ASSUME_REALTIME_SIGNALS): Likewise.
81528         (__ASSUME_PREAD_SYSCALL): Likewise.
81529         (__ASSUME_PWRITE_SYSCALL): Likewise.
81530         (__ASSUME_POLL_SYSCALL): Likewise.
81531         (__ASSUME_LCHOWN_SYSCALL): Likewise.
81532         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81533         non-SPARC.
81534         (__ASSUME_SIOCGIFNAME): Don't define.
81535         (__ASSUME_MSG_NOSIGNAL): Likewise.
81536         (__ASSUME_SENDFILE): Define unconditionally.
81537         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81538         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81539         conditional code.
81540         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81541         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81542         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81543         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81544         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81545         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81546         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81548         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81551         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81552         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81554         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81555         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81557         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81558         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81560         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81563         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81564         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81569         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81571         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81572         Remove conditional code.
81573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81574         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81575         Remove conditional code.
81576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81577         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81578         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81579         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81580         Remove conditional code.
81581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81582         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81583         Remove conditional code.
81584         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81585         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81586         Remove conditional code.
81587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81588         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81589         Remove conditional code.
81590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81591         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81592         Remove conditional code.
81593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81594         * sysdeps/unix/sysv/linux/sh/pwrite64.c
81595         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81596         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81597         * sysdeps/unix/sysv/linux/sigaction.c
81598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81600         * sysdeps/unix/sysv/linux/sigpending.c
81601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81603         * sysdeps/unix/sysv/linux/sigprocmask.c
81604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81606         * sysdeps/unix/sysv/linux/sigsuspend.c
81607         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81608         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81609         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81610         (__libc_missing_rt_sigs): Remove.
81611         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81612         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81613         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81614         Remove conditional code.
81615         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81616         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81617         return 1.
81618         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81619         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81620         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81621         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81623 2012-05-14  Andreas Jaeger  <aj@suse.de>
81625         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81626         it's not used in glibc.
81627         (__coshm1): Likewise.
81628         (__acosh1p): Likewise.
81629         (__sgn): Likewise.
81631         * manual/string.texi (Copying and Concatenation): Add missing
81632         variable in concat example.
81633         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81637         [BZ #14103]
81638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81639         __builtin_clzl with __builtin_clzll.
81641 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81643         [BZ #14104]
81644         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81645         libc_freeres_ptr.
81647 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81649         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81650         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81651         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81652         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81654 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81656         * NEWS: Update ia64 info.
81658 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81660         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81661         used as bcopy.
81663 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81665         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81666         * sysdeps/unix/syscalls.list (dup3): Likewise.
81667         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81668         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81670 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81672         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81673         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81675 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81677         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81678         thread pointer.
81679         (TLS_IE): Use mov/add instead of movq/addq to load thread
81680         pointer.
81681         (TLS_GD_PREFIX): New.
81682         (TLS_GD): Use it.
81684 2012-05-11  David S. Miller  <davem@davemloft.net>
81686         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81687         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81688         (_FPU_SETCW): Likewise.
81690 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81692         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81693         is 32-byte aligned.
81695 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81697         [BZ #11837]
81698         * iconvdata/gb18030.c: Update tables.
81699         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81700         characters specially.
81701         (BODY for TO_LOOP): Add encoding of missing ranges.
81703 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81705         [BZ #13673]
81706         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81707         * sysdeps/mach/hurd/dup3.c: Likewise.
81708         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81709         * sysdeps/powerpc/memmove.c:: Likewise.
81711 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81713         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81714         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81716 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81718         * elf/elf.h (R_X86_64_RELATIVE64): New.
81719         (R_X86_64_NUM): Updated.
81720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81721         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81722         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81723         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81724         tst-quad1pie tst-quad2pie
81725         (modules-names): Add tst-quadmod1 tst-quadmod2.
81726         ($(objpfx)tst-quad1): New dependency.
81727         ($(objpfx)tst-quad2): Likewise.
81728         ($(objpfx)tst-quad1pie): Likewise.
81729         ($(objpfx)tst-quad2pie): Likewise.
81730         * sysdeps/x86_64/tst-quad1.c: New file.
81731         * sysdeps/x86_64/tst-quad1pie.c: New file.
81732         * sysdeps/x86_64/tst-quad2.c: Likewise.
81733         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81734         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81735         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81736         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81737         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81741         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81742         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81743         * streams/stropts.h (t_scalar_t): Define type.
81745         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81746         (_PATH_PRESERVE): Set to "/var/lib".
81747         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81749         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81750         instead of int.
81752         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81753         if __dir_mkfile succeeded.
81755         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81756         checking for _hurd_dtablesize.  Unlock it right after having
81757         finished _hurd_dtable allocation.
81759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81761         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81762         * sysdeps/mach/hurd/configure: Regenerated.
81763         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81764         special-casing to...
81765         * sysdeps/gnu/configure.in: ... this new file.
81766         * sysdeps/unix/sysv/linux/configure: Regenerated.
81767         * sysdeps/gnu/configure: New generated file.
81769         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81770         for Linux: use nsec instead of usec, as well as:
81771         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81772         members of type struct timespec.
81773         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81774         New macros.
81775         (struct stat64): Likewise.
81776         (_STATBUF_ST_NSEC): New macro.
81777         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81779         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81780         __strtoul_internal rather than strtoul.
81782 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81784         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81785         and reject them.
81787 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81789         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81790         which preserves existing values.
81791         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81793 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81795         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81796         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81797         greater than FD_SETSIZE.
81799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81801         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81802         allocated, call __vm_protect to finish enabling the existing space, and
81803         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81804         allocate the remainder.
81806 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81808         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81809         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81813         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81814         sysdeps/mach/hurd/readlink.c.
81816         * posix/tst-sysconf.c (posix_options): Only use
81817         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81818         _POSIX_SYNCHRONIZED_IO when they are defined
81819         * sysdeps/mach/hurd/bits/posix_opt.h:
81820         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81821         (_XOPEN_REALTIME): Undefine macro.
81822         (_XOPEN_REALTIME_THREADS): Undefine macro.
81823         (_XOPEN_SHM): Undefine macro.
81824         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81825         macro to -1.
81826         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81827         macro to -1.
81828         (_POSIX_ASYNC_IO): Undefine macro.
81829         (_POSIX_PRIORITIZED_IO): Undefine macro.
81830         (_POSIX_SPIN_LOCKS): Define macro to -1.
81832         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81833         SA_NODEFER, SA_RESETHAND.
81834         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81835         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81836         F_DUPFD_CLOEXEC.
81838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81840         * elf/Makefile (pldd-modules): Define unconditionally.
81842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81844         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81848         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81849         Return ENOENT when name is empty.
81850         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81854         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81856         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81860         Fix mlock in all cases except non-readable pages.
81861         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81862         instead of VM_PROT_ALL as parameter to __vm_wire function.
81864         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81865         (__mkdir): When path is `/', just fail with EEXIST.
81866         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81870         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81871         <sys/uio.h> (for writev).
81872         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81873         and <sys/param.h> (for MIN).
81875 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81877         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81878         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81879         if interrupted.
81881 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81883         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81884         Depend on against $(link-rpcuserlibs).
81886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81888         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81889         (__libc_stack_end): Do not use attribute_relro.
81890         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81891         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81892         to libthread-provided value.
81893         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81894         attribute_relro.
81896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81898         [BZ #3748]
81899         * bits/libc-lock.h (__libc_once_get): New macro.
81900         * sysdeps/mach/bits/libc-lock.h: Likewise.
81901         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81902         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81903         instead of using implementation details.
81905         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81906         * libio/freopen.c: Likewise.
81907         * libio/freopen64.c: Likewise.
81908         * misc/syslog.c: Likewise.
81909         * nscd/connections.c: Likewise.
81910         * nscd/netgroupcache.c: Likewise.
81911         * sysdeps/posix/getcwd.c: Likewise.
81913 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81915         * math/w_ilogbf.c: Add #include <limits.h>.
81917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81919         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81920         path instead of returning without unlocking.
81922         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81923         immediate-write ioctls.
81924         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81928         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81929         __builtin_frame_address instead of making assumptions about the
81930         location of the return address relative to DATA.  Force early load of
81931         the return address.
81932         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81933         __builtin_frame_address.
81935         dup3 for GNU Hurd.
81936         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81937         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81938         implement dup3 and do some further code clean-ups.
81939         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81940         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81942 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81944         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81946         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81947         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81948         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81949         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81950         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81951         d->port.lock.
81953         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81954         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81955         when handler == SIG_ERR, not when handler != SIG_ERR.
81957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81959         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81960         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81961         definitions.
81963         accept4 for GNU Hurd.
81964         * include/sys/socket.h (__libc_accept4): New prototype.
81965         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81966         to implement __libc_accept4.
81967         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81968         __libc_accept4.
81969         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81971         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81972         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81973         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81974         signal-defines.sym.
81976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81978         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81980 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81982         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81983         assertion on O_CLOEXEC flag.
81984         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81985         * hurd/intern-fd.c: Likewise.
81986         * hurd/port2fd.c: Likewise.
81988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81990         [BZ #3906]
81991         * bits/in.h (IPV6_PKTINFO): Define new macro.
81992         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81994 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81996         [BZ #13954]
81997         [BZ #13955]
81998         [BZ #13956]
81999         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82000         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82001         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82002         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82004         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82005         * math/libm-test.inc (logb_test) : Additional logb tests.
82007 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82008             Andreas Jaeger  <aj@suse.de>
82010         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82011         * configure: Regenerated.
82012         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82013         * config.make.in (link-obsolete-rpc): New substituted variable.
82014         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82015         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82016         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82017         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82018         so that libc.a contains the symbols.
82019         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82020         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82021         * sunrpc/auth_none.c: Likewise.
82022         * sunrpc/auth_unix.c: Likewise.
82023         * sunrpc/authdes_prot.c: Likewise.
82024         * sunrpc/authuxprot.c: Likewise.
82025         * sunrpc/clnt_gen.c: Likewise.
82026         * sunrpc/clnt_perr.c: Likewise.
82027         * sunrpc/clnt_raw.c: Likewise.
82028         * sunrpc/clnt_simp.c: Likewise.
82029         * sunrpc/clnt_tcp.c: Likewise.
82030         * sunrpc/clnt_udp.c: Likewise.
82031         * sunrpc/clnt_unix.c: Likewise.
82032         * sunrpc/des_crypt.c: Likewise.
82033         * sunrpc/des_soft.c: Likewise.
82034         * sunrpc/get_myaddr.c: Likewise.
82035         * sunrpc/key_call.c: Likewise.
82036         * sunrpc/key_prot.c: Likewise.
82037         * sunrpc/netname.c: Likewise.
82038         * sunrpc/pm_getmaps.c: Likewise.
82039         * sunrpc/pm_getport.c: Likewise.
82040         * sunrpc/pmap_clnt.c: Likewise.
82041         * sunrpc/pmap_prot.c: Likewise.
82042         * sunrpc/pmap_prot2.c: Likewise.
82043         * sunrpc/pmap_rmt.c: Likewise.
82044         * sunrpc/publickey.c: Likewise.
82045         * sunrpc/rpc_cmsg.c: Likewise.
82046         * sunrpc/rpc_common.c: Likewise.
82047         * sunrpc/rpc_dtable.c: Likewise.
82048         * sunrpc/rpc_prot.c: Likewise.
82049         * sunrpc/rpc_thread.c: Likewise.
82050         * sunrpc/rtime.c: Likewise.
82051         * sunrpc/svc.c: Likewise.
82052         * sunrpc/svc_auth.c: Likewise.
82053         * sunrpc/svc_raw.c: Likewise.
82054         * sunrpc/svc_run.c: Likewise.
82055         * sunrpc/svc_tcp.c: Likewise.
82056         * sunrpc/svc_udp.c: Likewise.
82057         * sunrpc/svc_unix.c: Likewise.
82058         * sunrpc/svcauth_des.c: Likewise.
82059         * sunrpc/xcrypt.c: Likewise.
82060         * sunrpc/xdr.c: Likewise.
82061         * sunrpc/xdr_array.c: Likewise.
82062         * sunrpc/xdr_float.c: Likewise.
82063         * sunrpc/xdr_intXX_t.c: Likewise.
82064         * sunrpc/xdr_mem.c: Likewise.
82065         * sunrpc/xdr_rec.c: Likewise.
82066         * sunrpc/xdr_ref.c: Likewise.
82067         * sunrpc/xdr_sizeof.c: Likewise.
82068         * sunrpc/xdr_stdio.c: Likewise.
82070 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82072         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82073         change.  Update copyright years.
82075 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82077         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82079 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82080             Joseph Myers  <joseph@codesourcery.com>
82081             Paul Pluzhnikov  <ppluzhnikov@google.com>
82083         [BZ #14012]
82084         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82085         requiring rpcgen.
82086         [cross-compiling] (extra-libs): Likewise.
82087         [cross-compiling] (extra-libs-others): Likewise.
82088         [cross-compiling] (librpcsvc-routines): Likewise.
82089         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82090         [cross-compiling] (omit-deps): Likewise.
82091         (sunrpc-CPPFLAGS): New variable.
82092         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82093         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82094         (cross-rpcgen-objs): New variable.
82095         (extra-objs): Append $(cross-rpcgen-objs).
82096         ($(cross-rpcgen-objs)): New rule.
82097         ($(objpfx)cross-rpcgen): Likewise.
82098         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82099         comment.
82100         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82101         ($(objpfx)x%.stmp): Likewise.
82102         * sunrpc/proto.h [IS_IN_build] (_): Define.
82103         [IS_IN_build] (_libc_intl_domainname): Likewise.
82105 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82107         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82108         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82109         and R_X86_64_TPOFF64.
82111 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82113         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82114         sysdeps/unix/sysv/syscalls.list.
82115         (stime): Likewise.
82116         (utime): Likewise.
82117         * sysdeps/unix/sysv/syscalls.list: Remove file.
82119 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
82121         [BZ #3440]
82122         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82123         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82124         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82125         (__LC_IDENTIFICATION): Make these macros useful in #if
82126         expressions, as required by C99.
82128 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
82130         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82131         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
82132         after this.
82134 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
82136         * stdlib/longlong.h: Updated from GCC.
82138 2012-05-09  Andreas Jaeger  <aj@suse.de>
82140         * nscd/nscd.c (run_modes): Make named enum, reorder so that
82141         default is first entry.
82142         (run_mode): Set type.
82143         (main): Remove informal message about syslog.
82144         (options): Fix typo.
82146         [BZ #14053]
82147         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82148         to asm.
82149         (lrint): Likewise.
82150         (llrintf): Likewise.
82151         (llrint): Likewise.
82152         (rint): Likewise.
82153         (rintf): Likewise.
82154         (nearbyint): Likewise.
82155         (nearbyintf): Likewise.
82157 2012-05-09  Andreas Jaeger  <aj@suse.de>
82158             Pedro Alves  <palves@redhat.com>
82160         * nscd/nscd.c (run_mode): Use enum.
82161         (main): Cleanup coding style issue.
82163 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
82164             Andreas Jaeger  <aj@suse.de>
82166         * nscd/nscd.c (go_background): Replaced with...
82167         (run_mode): ... this.
82168         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82169         (options): Add -F --foreground.
82170         (main): Implement it.
82171         (parse_opt): Parse it.
82173 2012-05-09  Andreas Jaeger  <aj@suse.de>
82175         [BZ #14083]
82176         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82177         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82178         -Wconversion warning.
82179         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82180         Likewise.
82182 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
82184         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
82185         == 0.
82186         (LC_ALL): Use macro-int-constant.
82187         (LC_COLLATE): Likewise.
82188         (LC_CTYPE): Likewise.
82189         (LC_MESSAGES): Likewise.
82190         (LC_MONETARY): Likewise.
82191         (LC_NUMERIC): Likewise.
82192         (LC_TIME): Likewise.
82193         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82194         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82195         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82196         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82197         Specify type.
82198         [C99-based standards] (float_t): Expect type.
82199         [C99-based standards] (double_t): Expect type.
82200         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
82201         type.
82202         [C99-based standards] (HUGE_VALL): Likewise.
82203         [C99-based standards] (INFINITY): Likewise.
82204         [C99-based standards] (NAN): Likewise.
82205         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82206         [C99-based standards] (FP_NAN): Likewise.
82207         [C99-based standards] (FP_NORMAL): Likewise.
82208         [C99-based standards] (FP_SUBNORMAL): Likewise.
82209         [C99-based standards] (FP_ZERO): Likewise.
82210         [C99-based standards] (FP_FAST_FMA): Use
82211         optional-macro-int-constant.  Specify type.  Require == 1.
82212         [C99-based standards] (FP_FAST_FMAF): Likewise.
82213         [C99-based standards] (FP_FAST_FMAL): Likewise.
82214         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82215         [C99-based standards] (FP_ILOGBNAN): Likewise.
82216         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82217         Specify type.
82218         [C99-based standards] (MATH_ERREXCEPT): Likewise.
82219         [C99-based standards] (math_errhandling): Specify type.
82220         [ISO99 || ISO11] (signgam): Do not allow.
82221         [non-C99-based standards] (copysignf): Do not allow.
82222         [non-C99-based standards] (exp2f): Likewise.
82223         [non-C99-based standards] (log2f): Likewise.
82224         [non-C99-based standards] (modff): Allow.
82225         [non-C99-based standards] (erff): Do not allow.
82226         [non-C99-based standards] (erfcf): Likewise.
82227         [non-C99-based standards] (gammaf): Likewise.
82228         [non-C99-based standards] (hypotf): Likewise.
82229         [non-C99-based standards] (j0f): Likewise.
82230         [non-C99-based standards] (j1f): Likewise.
82231         [non-C99-based standards] (jnf): Likewise.
82232         [non-C99-based standards] (lgammaf): Likewise.
82233         [non-C99-based standards] (tgammaf): Likewise.
82234         [non-C99-based standards] (y0f): Likewise.
82235         [non-C99-based standards] (y1f): Likewise.
82236         [non-C99-based standards] (ynf): Likewise.
82237         [non-C99-based standards] (isnanf): Likewise.
82238         [non-C99-based standards] (acoshf): Likewise.
82239         [non-C99-based standards] (asinhf): Likewise.
82240         [non-C99-based standards] (atanhf): Likewise.
82241         [non-C99-based standards] (cbrtf): Likewise.
82242         [non-C99-based standards] (expm1f): Likewise.
82243         [non-C99-based standards] (ilogbf): Likewise.
82244         [non-C99-based standards] (log1pf): Likewise.
82245         [non-C99-based standards] (logbf): Likewise.
82246         [non-C99-based standards] (nextafterf): Likewise.
82247         [non-C99-based standards] (remainderf): Likewise.
82248         [non-C99-based standards] (rintf): Likewise.
82249         [non-C99-based standards] (scalbf): Likewise.
82250         [non-C99-based standards] (copysignl): Likewise.
82251         [non-C99-based standards] (exp2l): Likewise.
82252         [non-C99-based standards] (log2l): Likewise.
82253         [non-C99-based standards] (modfl): Allow.
82254         [non-C99-based standards] (erfl): Do not allow.
82255         [non-C99-based standards] (erfcl): Likewise.
82256         [non-C99-based standards] (gammal): Likewise.
82257         [non-C99-based standards] (hypotl): Likewise.
82258         [non-C99-based standards] (j0l): Likewise.
82259         [non-C99-based standards] (j1l): Likewise.
82260         [non-C99-based standards] (jnl): Likewise.
82261         [non-C99-based standards] (lgammal): Likewise.
82262         [non-C99-based standards] (tgammal): Likewise.
82263         [non-C99-based standards] (y0l): Likewise.
82264         [non-C99-based standards] (y1l): Likewise.
82265         [non-C99-based standards] (ynl): Likewise.
82266         [non-C99-based standards] (isnanl): Likewise.
82267         [non-C99-based standards] (acoshl): Likewise.
82268         [non-C99-based standards] (asinhl): Likewise.
82269         [non-C99-based standards] (atanhl): Likewise.
82270         [non-C99-based standards] (cbrtl): Likewise.
82271         [non-C99-based standards] (expm1l): Likewise.
82272         [non-C99-based standards] (ilogbl): Likewise.
82273         [non-C99-based standards] (log1pl): Likewise.
82274         [non-C99-based standards] (logbl): Likewise.
82275         [non-C99-based standards] (nextafterl): Likewise.
82276         [non-C99-based standards] (remainderl): Likewise.
82277         [non-C99-based standards] (rintl): Likewise.
82278         [non-C99-based standards] (scalbl): Likewise.
82279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82280         [non-C99-based standards] (FP_*): Do not allow.
82281         [C99-based standards] (FP_*): Change to
82282         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82283         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82284         allow.
82285         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82286         (SIG_ERR): Likewise.
82287         [X/Open-based standards] (SIG_HOLD): Likewise.
82288         (SIG_IGN): Likewise.
82289         (SIGABRT): Use macro-int-constant.  Specify type.  Require
82290         positive value.
82291         (SIGFPE): Likewise.
82292         (SIGILL): Likewise.
82293         (SIGINT): Likewise.
82294         (SIGSEGV): Likewise.
82295         (SIGTER): Likewise.
82296         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82297         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82298         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82299         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82300         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82301         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82302         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82303         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82304         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82305         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82306         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82307         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82308         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82309         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82310         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82311         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82312         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82313         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82314         [X/Open-based standards] (SIGTRAP): Likewise.
82315         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82316         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82317         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82318         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82319         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82320         allow.
82322 2012-05-08  Ian Wienand  <ianw@vmware.com>
82324         [BZ #14080]
82325         * time/tzset.c (__tzset_parse_tz): Update default rules for
82326         daylight time changes in the Energy Policy Act of 2005.
82328 2012-05-09  Andreas Jaeger  <aj@suse.de>
82330         [BZ #13983]
82331         * elf/ldconfig.c (parse_conf): Change string to make clear that
82332         ldconfig only issued a warning if ld.so.conf does not exist.
82334 2012-05-08  David S. Miller  <davem@davemloft.net>
82336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82337         movxtod instead of popping the value on the stack.
82339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82341 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
82343         * config.h.in: Add HAVE_ARM_PCS_VFP.
82345 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
82347         [BZ #13979]
82348         * include/features.h: Warn if user requests __FORTIFY_SOURCE
82349         checking but the checks are disabled for any reason.
82351 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
82353         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82354         and ELF64_R_TYPE with ELFW(R_TYPE).
82356 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
82358         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82359         (ulimit): Likewise.
82361         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82362         (settimeofday): Likewise.
82364 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
82366         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
82367         a struct th_u2 inside the union, and move tu_block/tu_code into
82368         a new th_u3 union of tu_block/tu_code inside of that.  Move
82369         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
82370         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
82371         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82372         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82373         (th_stuff): Change to th_u1.tu_stuff.
82374         (th_data): Define.
82375         (th_msg): Change to th_u1.th_u2.tu_data.
82377 2012-05-07  David S. Miller  <davem@davemloft.net>
82379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82381         [BZ #14074]
82382         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82383         (SETUP_PIC_REG): Use it.
82384         (SETUP_PIC_REG_LEAF): Use it.
82386 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
82388         [BZ #13885]
82389         [BZ #13923]
82390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82391         USE_AS_EXPM1L.
82392         (EXPL_FINITE): Likewise.
82393         (FLDLOG): Likewise.
82394         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82395         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82396         e_expl.S.
82397         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82398         USE_AS_EXPM1L.
82399         (EXPL_FINITE): Likewise.
82400         (FLDLOG): Likewise.
82401         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82402         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82403         e_expl.S.
82404         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
82405         test of -max_value argument for long double.
82406         * sysdeps/i386/fpu/libm-test-ulps: Update.
82407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82409 2012-05-06  David S. Miller  <davem@davemloft.net>
82411         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82412         quad soft-float symbols whose references which are compiler
82413         generated.
82414         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82416 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
82418         [BZ #13884]
82419         [BZ #13914]
82420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82421         USE_AS_EXP10L.
82422         (EXPL_FINITE): Likewise.
82423         (FLDLOG): Likewise.
82424         (c0): Likewise.
82425         (c1): Likewise.
82426         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82427         Adjust comments for base varying.
82428         (__expl_finite): Change alias to EXPL_FINITE.
82429         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82430         e_expl.S.
82431         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82432         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82433         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82434         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82435         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82436         USE_AS_EXP10L.
82437         (EXPL_FINITE): Likewise.
82438         (FLDLOG): Likewise.
82439         (c0): Likewise.
82440         (c1): Likewise.
82441         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82442         Adjust comments for base varying.
82443         (__expl_finite): Change alias to EXPL_FINITE.
82444         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
82445         tests for bugs.
82446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82448         [BZ #14064]
82449         * math/libm-test.inc (check_float_internal): Correct ulp
82450         calculation for subnormal expected results.
82452 2012-05-06  Andreas Jaeger  <aj@suse.de>
82454         * Makeconfig (+math-flags): New, set to -frounding-math.
82455         (+cflags): Add +math-flags so that all of glibc gets compiled with
82456         it.
82458         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82460 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
82462         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82463         Disable one test.
82465         [BZ #13787]
82466         [BZ #13922]
82467         [BZ #14036]
82468         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82469         (__ieee754_expl): Allow for and saturate large arguments.
82470         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82471         (u_threshold): Likewise.
82472         (__exp): Call __ieee754_exp before checking for overflow and
82473         underflow.
82474         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82475         (u_threshold): Likewise.
82476         (__expf): Call __ieee754_expf before checking for overflow and
82477         underflow.
82478         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82479         (u_threshold): Likewise.
82480         (__expl): Call __ieee754_expl before checking for overflow and
82481         underflow.
82482         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82483         (__ieee754_expl): Allow for and saturate large arguments.
82484         * math/libm-test.inc (exp_test): Add another test.  Do not allow
82485         missing overflow exception on overflow.
82486         (expm1_test): Do not allow missing overflow exception on overflow.
82488         * sysdeps/i386/fpu/e_expl.c: Move to ...
82489         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
82490         rather than using inline asm.
82491         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82492         * sysdeps/x86_64/fpu/e_expl.S: Copy from
82493         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82495         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82496         (nice): Likewise.
82497         (poll): Likewise.
82498         (signal): Likewise.
82499         (time): Likewise.
82500         (times): Likewise.
82502 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82504         * sysdeps/unix/syscalls.list (adjtime): Add entry from
82505         sysdeps/unix/common/syscalls.list.
82506         (fchmod): Likewise.
82507         (fchown): Likewise.
82508         (ftruncate): Likewise.
82509         (getrusage): Likewise.
82510         (gettimeofday): Likewise.
82511         (setpgid): Likewise.
82512         (setregid): Likewise.
82513         (setreuid): Likewise.
82514         (sigaction): Likewise.
82515         (truncate): Likewise.
82516         (vhangup): Likewise.
82517         * sysdeps/unix/common/syscalls.list: Remove file.
82518         * sysdeps/unix/bsd/Implies: Don't include unix/common.
82519         * sysdeps/unix/sysv/linux/Implies: Likewise.
82521 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
82523         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82525         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82526         Moved to ...
82527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82528         Here.
82529         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82530         to ...
82531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82532         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82533         to ...
82534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82535         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82536         to ...
82537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82538         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82539         to ...
82540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82541         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82542         to ...
82543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82544         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82545         to ...
82546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82547         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82548         to ...
82549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82550         Here.
82551         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82552         to ...
82553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82554         Here.
82555         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82556         to ...
82557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82558         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82559         Moved to ...
82560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82561         Here.
82562         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82563         to ...
82564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82566 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82568         * sysdeps/unix/common/bits/dirent.h: Remove file.
82569         * sysdeps/unix/common/bits/fcntl.h: Likewise.
82571         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82572         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82573         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82574         * sysdeps/unix/bsd/isatty.c: Likewise.
82575         * sysdeps/unix/bsd/tcdrain.c: Likewise.
82576         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82577         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82579 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82581         [BZ #13563]
82582         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82583         long double comparison inaccuracies.
82584         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82587 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
82589         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82590         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82592 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82594         [BZ #14049]
82595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82596         nonzero digits before rounding a hex value.
82597         * stdlib/tst-strtod.c (tests): Add another test.
82599 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82601         * sysdeps/s390/fpu/libm-test-ulps: Update.
82603 2012-05-03  Andreas Jaeger  <aj@suse.de>
82605         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82606         does not get optimized out.
82607         (malloc_opt_barrier): New.
82609 2012-05-03  Andreas Jaeger  <aj@suse.de>
82610             Roland McGrath  <roland@hack.frob.com>
82612         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82613         intermediate file deletion.
82614         (generated): Add .symlist files.
82616 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
82618         [BZ #13775]
82619         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82620         Redirect under this condition.
82621         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82622         [__USE_GNU] (__dprintf_chk): Not under this condition.
82623         [__USE_GNU] (__vdprintf_chk): Likewise.
82624         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82625         under this condition.
82626         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82627         [__USE_XOPEN2K8] (dprintf): Define under this condition.
82628         [__USE_XOPEN2K8] (vdprintf): Likewise.
82629         [__USE_GNU] (__dprintf_chk): Not under this condition.
82630         [__USE_GNU] (__vdprintf_chk): Likewise.
82631         [__USE_GNU] (dprintf): Likewise.
82632         [__USE_GNU] (vdprintf): Likewise.
82634 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82636         * elf/Makefile (common-generated): Set this instead of generated for
82637         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82638         $(all-built-dso)-derived lists.
82640 2012-05-03  Andreas Jaeger  <aj@suse.de>
82642         * sysdeps/i386/fpu/libm-test-ulps: Update.
82644         * FAQ: Removed.
82645         * FAQ.in: Likewise.
82646         * scripts/gen-FAQ.pl: Likewise.
82647         * manual/install.texi (Installation): Point to online location of
82648         FAQ.
82649         * Makefile (files-for-dist): Remove FAQ.
82650         (FAQ): Remove.
82652 2012-05-02  Allan McRae  <allan@archlinux.org>
82654         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82655         (LDFLAGS-reldepmod5.so): Likewise.
82656         (LDFLAGS-reldep6mod1.so): Likewise.
82657         (LDFLAGS-reldep6mod4.so): Likewise.
82658         (LDFLAGS-reldep8mod3.so): Likewise.
82659         (LDFLAGS-unload4mod1.so): Likewise.
82660         (LDFLAGS-unload4mod2.so): Likewise.
82661         (LDFLAGS-tst-initorder): Likewise.
82662         (LDFLAGS-tst-initordera2.so): Likewise.
82663         (LDFLAGS-tst-initordera3.so): Likewise.
82664         (LDFLAGS-tst-initordera4.so): Likewise.
82665         (LDFLAGS-tst-initorderb2.so): Likewise.
82666         (LDFLAGS-noload): Likewise.
82667         (LDFLAGS-next): Likewise.
82668         (LDFLAGS-order2mod1.so): Likewise.
82669         (LDFLAGS-order2mod2.so): Likewise.
82670         (LDFLAGS-tst-initorder2): Likewise.
82671         (LDFLAGS-tst-initorder2a.so): Likewise.
82672         (LDFLAGS-tst-initorder2b.so): Likewise.
82673         (LDFLAGS-tst-initorder2c.so): Likewise.
82674         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82676 2012-05-02  David S. Miller  <davem@davemloft.net>
82678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82680 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82682         [BZ #14055]
82683         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82685 2012-05-02  Andreas Jaeger  <aj@suse.de>
82687         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82688         since we manipulate rounding mode.
82689         (CPPFLAGS-test-idouble.c): Likewise.
82690         (CPPFLAGS-test-ifloat.c): Likewise.
82691         (CFLAGS-test-ldouble.c): Likewise.
82692         (CFLAGS-test-double.c): Likewise.
82693         (CFLAGS-test-float.c): Likewise.
82694         (CFLAGS-test-misc.c): Likewise.
82695         (CFLAGS-test-test-fenv.c): Likewise.
82697 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82699         [BZ #2550]
82700         [BZ #2570]
82701         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82702         comparisons to determine direction to adjust input.
82704 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82706         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82707         output to the target.
82709         * scripts/localplt.awk: New file.
82710         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82711         (check-localplt-CFLAGS): Variable removed.
82712         ($(all-built-dso:=.jmprel)): New static pattern rule.
82713         (generated): Add those targets.
82714         (localplt-built-dso): New variable.
82715         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82717         * elf/check-localplt.c: File removed.
82719         * scripts/check-execstack.awk: New file.
82720         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82721         (check-execstack-CFLAGS): Variable removed.
82722         ($(objpfx)check-execstack.h): Target removed.
82723         ($(objpfx)execstack-default): New target.
82724         (generated): Add that instead of check-execstack.h.
82725         ($(all-built-dso:=.phdr)): New static pattern rule.
82726         (generated): Add those targets.
82727         * elf/check-execstack.c: File removed.
82729         * scripts/check-textrel.awk: New file.
82730         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82731         (check-textrel-CFLAGS): Variable removed.
82732         (all-built-dso): Use := to define.o
82733         ($(all-built-dso:=.dyn)): New static pattern rule.
82734         (generated): Add those targets.
82735         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82736         * config.make.in (READELF): New substituted variable.
82737         * elf/check-textrel.c: File removed.
82739 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82741         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82742         allow.
82743         * conform/data/ctype.h-data [C99-based standards] (isblank):
82744         Expect function.
82745         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82746         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82748         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82749         Specify type.  Require positive value.
82750         (EILSEQ): Likewise.
82751         (ERANGE): Likewise.
82752         [ISO || POSIX] (EILSEQ): Do not expect.
82753         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82754         Specify type.  Require positive value.
82755         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82756         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82757         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82758         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82759         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82760         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82761         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82762         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82763         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82764         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82765         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82766         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82767         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82768         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82769         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82770         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82771         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82772         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82773         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82774         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82775         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82776         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82777         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82778         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82779         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82780         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82781         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82782         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82783         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82784         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82785         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82786         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82787         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82788         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82789         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82790         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82791         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82792         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82793         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82794         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82795         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82796         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82797         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82798         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82799         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82800         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82801         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82802         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82803         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82804         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82805         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82806         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82807         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82808         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82809         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82810         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82811         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82812         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82813         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82814         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82815         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82816         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82817         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82818         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82819         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82820         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82821         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82822         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82823         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82824         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82825         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82826         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82827         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82828         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82829         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82830         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82831         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82832         Require >= 2.
82833         (FLT_ROUNDS): Expect as macro, not constant.
82834         (FLT_MANT_DIG): Use macro-int-constant.
82835         (DBL_MANT_DIG): Likewise.
82836         (LDBL_MANT_DIG): Likewise.
82837         (FLT_DIG): Likewise.
82838         (DBL_DIG): Likewise.
82839         (LDBL_DIG): Likewise.
82840         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82841         (DBL_MIN_EXP): Likewise.
82842         (LDBL_MIN_EXP): Likewise.
82843         (FLT_MAX_EXP): Use macro-int-constant.
82844         (DBL_MAX_EXP): Likewise.
82845         (LDBL_MAX_EXP): Likewise.
82846         (FLT_MAX_10_EXP): Likewise.
82847         (DBL_MAX_10_EXP): Likewise.
82848         (LDBL_MAX_10_EXP): Likewise.
82849         (FLT_MAX): Use macro-constant.
82850         (DBL_MAX): Likewise.
82851         (LDBL_MAX): Likewise.
82852         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82853         (DBL_EPSILON): Likewise.
82854         (LDBL_EPSILON): Likewise.
82855         (FLT_MIN): Likewise.
82856         (DBL_MIN): Likewise.
82857         (LDBL_MIN): Likewise.
82858         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82859         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82860         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82861         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82862         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82863         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82864         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82865         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82866         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82867         [ISO11] (FLT_TRUE_MIN): Likewise.
82868         [ISO11] (LDBL_TRUE_MIN): Likewise.
82869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82870         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82871         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82872         (SCHAR_MAX): Likewise.
82873         (UCHAR_MAX): Likewise.
82874         (CHAR_MIN): Likewise.
82875         (CHAR_MAX): Likewise.
82876         (MB_LEN_MAX): Use macro-int-constant.
82877         (SHRT_MIN): Use macro-int-constant.  Specify type.
82878         (SHRT_MAX): Likewise.
82879         (USHRT_MAX): Likewise.
82880         (INT_MAX): Likewise.
82881         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82882         bound negative.
82883         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82884         bound with "U".
82885         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82886         bound with "L".
82887         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82888         bound negative.  Suffix upper bound with "L".
82889         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82890         bound with "UL".
82891         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82892         Specify type.
82893         [C99-based standards] (LLONG_MAX): Likewise.
82894         [C99-based standards] (ULLONG_MAX): Likewise.
82895         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82896         == 0.
82897         [ISO11] (max_align_t): Require type.
82898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82900         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82901         from $CFLAGS, without defining away __attribute__ calls.
82902         (checknamespace): Use $CFLAGS_namespace.
82904         * conform/conformtest.pl (@keywords): Only include C99 keywords
82905         for standards based on C99 or C11.
82907         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82908         Disable tests.
82909         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82910         UNIX98]: Likewise.
82912         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82913         usability of symbols in #if.
82915         * conform/conformtest.pl: If macro or constant types start
82916         "promoted:", expect the symbol to be of the following type
82917         promoted by the integer promotions.
82919         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82920         in one place.  Also handle "macro-constant".
82922         * conform/conformtest.pl: Only accept expected macro values with
82923         "==".  Parse all "macro" lines in one place.
82924         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82926         * conform/conformtest.pl: Handle braced types on "constant" lines
82927         instead of handling "typed-constant".
82928         * conform/data/signal.h-data: Use "constant" instead of
82929         "typed-constant".
82931         * conform/conformtest.pl: Handle "optional-" at start of lines in
82932         one place rather than duplicating several cases.  Handle each
82933         format of "macro" line with initial "optional-".
82935         * conform/conformtest.pl: Only accept expected constant or
82936         optional-constant values with "==".  Parse all "constant" lines in
82937         one place.  Parse all "optional-constant" lines in one place.
82938         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82939         * conform/data/fmtmsg.h-data: Likewise.
82940         * conform/data/netinet/in.h-data: Likewise.
82941         * conform/data/tar.h-data: Likewise.
82942         * conform/data/limits.h-data: Use "==" form on "constant" and
82943         "optional-constant" lines.
82945         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82946         Use -std=c99 for XOPEN2K.
82947         (@knownproblems): Remove.
82948         (newtoken): Don't check %isknown.
82950         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82951         Do not expect macro.
82952         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82953         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82954         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82955         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82956         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82957         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82958         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82959         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82960         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82961         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82962         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82963         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82964         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82965         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82966         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82967         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82968         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82969         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82970         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82971         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82972         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82973         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82974         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82975         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82976         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82977         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82978         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82979         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82980         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82981         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82982         [XPG3] (acosh): Likewise.
82983         [XPG3] (asinh): Likewise.
82984         [XPG3] (atanh): Likewise.
82985         [XPG3] (cbrt): Likewise.
82986         [XPG3] (expm1): Likewise.
82987         [XPG3] (ilogb): Likewise.
82988         [XPG3] (log1p): Likewise.
82989         [XPG3] (logb): Likewise.
82990         [XPG3] (nextafter): Likewise.
82991         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82992         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82993         [XPG3] (remainder): Likewise.
82994         [XPG3] (rint): Likewise.
82995         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82996         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82997         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82998         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82999         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83000         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83001         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83002         [UNIX98 || XOPEN2K] (scalb): Expect.
83003         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83004         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83005         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83006         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83007         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83008         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83009         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83010         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83011         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83012         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83013         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83014         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83015         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83016         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83017         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83018         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83019         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83020         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83021         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83022         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83023         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83024         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83025         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83026         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83027         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83028         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83029         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83030         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83031         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83032         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83033         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83034         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83035         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83036         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83037         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83038         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83039         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83040         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83041         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83042         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83043         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83044         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83045         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83046         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83047         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83048         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83049         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83050         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83051         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83052         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83053         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83054         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83055         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83056         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83057         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83058         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83059         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83060         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83061         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83062         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83063         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83064         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83065         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83066         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83067         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83068         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83069         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83070         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83071         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83072         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83073         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83074         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83075         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83076         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83077         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83078         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83079         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83080         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83081         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83082         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83083         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83084         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83085         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83086         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83087         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83088         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83089         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83090         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83091         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83092         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83093         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83094         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83095         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83096         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83097         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83098         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83099         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83100         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83101         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83102         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83103         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83104         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83105         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83106         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83107         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83108         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83109         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83110         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83111         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83112         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83113         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83114         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83115         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83116         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83117         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83118         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83119         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83120         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83121         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83122         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83123         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83124         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83125         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83126         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83127         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83128         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83129         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83130         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83131         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83132         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83133         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83134         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83135         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83136         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83137         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83138         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83139         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83141         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83142         _XOPEN_SOURCE_EXTENDED for XPG4.
83144         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83146         * Makeconfig (localtime): Remove variable.
83147         (inst_localtime-file): Likewise.
83149 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83152         Update.
83153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83154         Update.
83155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83156         Update.
83157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83158         Update.
83159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83160         Update.
83161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83162         Update.
83163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83164         Update.
83165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83166         Update.
83167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83168         Update.
83170 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83172         [BZ #2550]
83173         [BZ #2570]
83174         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83175         comparisons to determine direction to adjust input.
83176         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83177         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83178         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83179         Likewise.
83180         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83181         Likewise.
83182         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83183         Likewise.
83184         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83185         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83186         Likewise.
83187         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83188         Likewise.
83189         * math/libm-test.inc (nexttoward_test): Add more tests.
83191 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83193         [BZ #14040]
83194         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83195         in version GLIBC_2.1, not GLIBC_2.0.
83196         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83197         Likewise.
83199 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
83201         [BZ #13942]
83202         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83203         (1 - x) * (1 + x).
83204         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83205         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83206         * math/libm-test.inc (acos_test): Add more tests.
83207         (asin_test): Likewise.
83208         * sysdeps/i386/fpu/libm-test-ulps: Update.
83209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83211         [BZ #14034]
83212         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83213         of square root.
83214         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83215         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83216         * math/libm-test.inc (acos_test_tonearest): New function.
83217         (acos_test_towardzero): Likewise.
83218         (acos_test_downward): Likewise.
83219         (acos_test_upward): Likewise.
83220         (asin_test_tonearest): Likewise.
83221         (asin_test_towardzero): Likewise.
83222         (asin_test_downward): Likewise.
83223         (asin_test_upward): Likewise.
83224         (main): Call the new functions.
83225         * sysdeps/i386/fpu/libm-test-ulps: Update.
83226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83228         [BZ #13884]
83229         [BZ #13924]
83230         * math/e_exp10.c: Include <float.h>.
83231         (__ieee754_exp10): Handle underflow here rather than multiplying
83232         large negative argument by M_LN10.
83233         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83234         of __ieee754_expf.
83235         * math/e_exp10l.c: Include <float.h>.
83236         (__ieee754_exp10l): Handle underflow here rather than multiplying
83237         large negative argument by M_LN10l.
83238         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
83239         spurious overflow exception on underflow.
83241 2012-04-29  Marek Polacek  <polacek@redhat.com>
83243         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83244         (__fortify_function): New macro.
83245         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83246         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83247         __extern_always_inline.
83248         * libio/bits/stdio2.h: Likewise.
83249         * libio/bits/stdio.h: Likewise.
83250         * string/string.h: Likewise.
83251         * string/bits/string3.h: Likewise.
83252         * include/stdio.h: Likewise.
83253         * stdlib/bits/stdlib.h: Likewise.
83254         * stdlib/stdlib.h: Likewise.
83255         * rt/bits/mqueue2.h: Likewise.
83256         * rt/mqueue.h: Likewise.
83257         * posix/bits/unistd.h: Likewise.
83258         * posix/unistd.h: Likewise.
83259         * io/bits/poll2.h: Likewise.
83260         * io/bits/fcntl2.h: Likewise.
83261         * io/fcntl.h: Likewise.
83262         * io/sys/poll.h: Likewise.
83263         * misc/bits/syslog.h: Likewise.
83264         * misc/bits/syslog-ldbl.h: Likewise.
83265         * misc/sys/syslog.h: Likewise.
83266         * socket/bits/socket2.h: Likewise.
83267         * socket/sys/socket.h: Likewise.
83268         * debug/tst-chk1.c: Likewise.
83269         * wcsmbs/bits/wchar2.h: Likewise.
83270         * wcsmbs/bits/wchar-ldbl.h: Likewise.
83271         * wcsmbs/wchar.h: Likewise.
83273 2012-04-29  Andreas Jaeger  <aj@suse.de>
83275         * Makerules (tests): Remove enable-check-abi protection.
83276         (check-abi-warn): Remove.
83277         (check-abi-%): Remove check-abi-warn usage.
83279         * configure.in: Remove check-abi configure option.
83280         * configure: Regenerated.
83281         * config.make.in (enable-check-abi): Remove.
83283 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
83285         [BZ #14033]
83286         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83287         double functions to double *_finite functions.
83289         [BZ #13941]
83290         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83291         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83292         LDBL_MIN_EXP.
83293         * stdio-common/Makefile (tests): Add tst-sprintf3.
83294         * stdio-common/tst-sprintf3.c: New file.
83296         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83297         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83299 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83301         * conform/conformtest.pl: Remove duplicate typed-constant
83302         handling.
83304 2012-04-28  David S. Miller  <davem@davemloft.net>
83306         * Makerules (%.abilist): Add vpath on sysdep_dirs.
83307         (check-abi-%): Remove AWK script prerequisite and explicit
83308         abilist directory.
83309         (check-abi): Rewrite to just diff the symlist with the abilist.
83310         (config-tls, config-abi-config): Delete, no longer used.
83311         (update-abi-%): Remove AWK script and explicit abilist directory.
83312         (update-abi): Rewrite to simply compare and conditionally copy the
83313         symlist and the sysdep abilist file.  Remove update-abi-config
83314         checks.
83315         * abilist/ld.abilist: Remove.
83316         * abilist/libBrokenLocale.abilist: Remove.
83317         * abilist/libanl.abilist: Remove.
83318         * abilist/libcrypt.abilist: Remove.
83319         * abilist/libdl.abilist: Remove.
83320         * abilist/librt.abilist: Remove.
83321         * abilist/libthread_db.abilist: Remove.
83322         * abilist/libutil.abilist: Remove.
83323         * scripts/extract-abilist.awk: Remove.
83324         * scripts/merge-abilist.awk: Remove.
83325         * sysdeps/generic/libcidn.abilist: New file.
83326         * sysdeps/generic/libnss_compat.abilist: New file.
83327         * sysdeps/generic/libnss_db.abilist: New file.
83328         * sysdeps/generic/libnss_dns.abilist: New file.
83329         * sysdeps/generic/libnss_files.abilist: New file.
83330         * sysdeps/generic/libnss_hesiod.abilist: New file.
83331         * sysdeps/generic/libnss_nis.abilist: New file.
83332         * sysdeps/generic/libnss_nisplus.abilist: New file.
83333         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83334         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83335         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83336         file.
83337         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83338         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83339         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83340         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83341         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83342         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83343         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83344         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83345         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83346         file.
83347         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83348         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83349         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83350         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83351         file.
83352         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83353         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83354         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83355         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83356         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83357         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83358         file.
83359         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83360         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83361         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83362         file.
83363         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83365         New file.
83366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83367         New file.
83368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83369         New file.
83370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83371         New file.
83372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83373         New file.
83374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83375         New file.
83376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83377         New file.
83378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83379         New file.
83380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83381         New file.
83382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83383         New file.
83384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83385         New file.
83386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83387         New file.
83388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83389         New file.
83390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83391         file.
83392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83393         New file.
83394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83395         New file.
83396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83397         file.
83398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
83399         New file.
83400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
83401         New file.
83402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
83403         file.
83404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
83405         New file.
83406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83407         New file.
83408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
83409         New file.
83410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83411         New file.
83412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83413         New file.
83414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83415         New file.
83416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83418         file.
83419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83420         New file.
83421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83422         file.
83423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83424         file.
83425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83426         file.
83427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83428         file.
83429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83430         file.
83431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83432         New file.
83433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83434         file.
83435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83436         file.
83437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83438         New file.
83439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83440         file.
83441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83443         file.
83444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83445         New file.
83446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83447         file.
83448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83449         file.
83450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83451         file.
83452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83453         file.
83454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83455         file.
83456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83457         New file.
83458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83459         file.
83460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83461         file.
83462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83463         New file.
83464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83465         file.
83466         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83467         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83468         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83469         file.
83470         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83471         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83472         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83473         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83474         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83475         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83476         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83477         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83478         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83479         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83482         file.
83483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83484         New file.
83485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83486         file.
83487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83488         file.
83489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83490         file.
83491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83492         file.
83493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83494         file.
83495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83496         New file.
83497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83498         New file.
83499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83500         file.
83501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83502         New file.
83503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83504         file.
83505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83507         file.
83508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83509         New file.
83510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83511         file.
83512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83513         file.
83514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83515         file.
83516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83517         file.
83518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83519         file.
83520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83521         New file.
83522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83523         New file.
83524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83525         file.
83526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83527         New file.
83528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83529         file.
83531 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83533         * conform/conformtest.pl: Fix typo in handling typed-constant from
83534         allow-header.
83536 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83538         * README: Cut down references to pre-2.6 Linux kernels and
83539         Linuxthreads.  Update lists of configurations in libc and ports
83540         and sort alphabetically.  Say "or newer" with Linux kernel version
83541         requirements.
83543         * config.h.in [IS_IN_build]: Allow compiling without optimization.
83545 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
83547         [BZ #887]
83548         * math/libm-test.inc (logb_test_downward): New test to expose
83549         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83550         rounding mode.
83552 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83554         [BZ #14027]
83555         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83556         to be done.
83557         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83558         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83560 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
83562         * sysdeps/unix/i386/brk.S: Remove file.
83563         * sysdeps/unix/i386/dl-brk.S: Likewise.
83564         * sysdeps/unix/i386/pipe.S: Likewise.
83565         * sysdeps/unix/i386/sigreturn.S: Likewise.
83566         * sysdeps/unix/i386/syscall.S: Likewise.
83567         * sysdeps/unix/i386/vfork.S: Likewise.
83568         * sysdeps/unix/i386/wait.S: Likewise.
83570         * sysdeps/unix/common/tcsendbrk.c: Move to ...
83571         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83573         * configure.in (arm*-none*): Do not allow without
83574         --enable-hacker-mode.
83575         (netbsd*): Remove case setting base_os.
83576         (386bsd*): Likewise.
83577         (freebsd*): Likewise.
83578         (bsdi*): Likewise.
83579         (osf*): Likewise.
83580         (sunos*): Likewise.
83581         (ultrix*): Likewise.
83582         (newsos*): Likewise.
83583         (dynix*): Likewise.
83584         (*bsd*): Likewise.
83585         (sysv*): Likewise.
83586         (isc*): Likewise.
83587         (esix*): Likewise.
83588         (sco*): Likewise.
83589         (minix*): Likewise.
83590         (irix4*): Likewise.
83591         (irix6*): Likewise.
83592         (solaris[2-9]*): Likewise.
83593         (none): Likewise.
83594         * configure: Regenerated.
83596 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83598         [BZ #11521]
83599         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83600         overflow or cancellation in calculating denominator.
83601         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83603         down expression to avoid unexpected rounding in newer GCCs.
83604         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83606 2012-04-26  David S. Miller  <davem@davemloft.net>
83608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83609         long-double compat symbols.
83610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83624 2012-04-25  David S. Miller  <davem@davemloft.net>
83626         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83627         HWCAP_* values only after the memory barriers have been defined.
83628         (atomic_full_barrier): Define.
83629         (atomic_read_barrier): Define.
83630         (atomic_write_barrier): Define.
83632 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
83634         * shlib-versions: Add libgcc_s version information.
83635         * sysdeps/generic/libgcc_s.h: Remove.
83636         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83637         libgcc_s.h.
83638         * sysdeps/gnu/unwind-resume.c: Likewise.
83639         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83641 2012-04-25  David S. Miller  <davem@davemloft.net>
83643         * sysdeps/unix/sparc/brk.S: Delete.
83644         * sysdeps/unix/sparc/dl-brk.S: Delete.
83645         * sysdeps/unix/sparc/pipe.S: Delete.
83646         * sysdeps/unix/sparc/sysdep.S: Delete.
83647         * sysdeps/unix/sparc/sysdep.h: Delete.
83648         * sysdeps/unix/sparc/vfork.S: Delete.
83649         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83650         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83651         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83652         (ret_ERRVAL, r0, r1, MOVE): Define.
83653         (JUMPTARGET): Remove.
83654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83655         sysdeps/unix/sparc/sysdep.h
83656         (ENTRY, END): Remove.
83657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83659 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83661         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83662         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83663         -DIS_IN_build.
83665         * timezone/README: Update upstream location and email address for
83666         tzcode and tzdata.
83667         * timezone/zdump.c: Update from tzcode 2012b.
83668         * timezone/zic.c: Likewise.
83670         * configure.in (libc_cv_as_needed): Remove test.
83671         * configure: Regenerated.
83672         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83673         conditional definition.
83674         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83675         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83676         * config.make.in (have-as-needed): Remove variable.
83678 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83679             Paul Pluzhnikov  <ppluzhnikov@google.com>
83681         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83682         strings correctly.
83684 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83686         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83687         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83688         * sysdeps/sh/strlen.S: Likewise.
83690 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83692         * sysdeps/unix/fork.S: Remove file.
83693         * sysdeps/unix/i386/fork.S: Likewise.
83694         * sysdeps/unix/sparc/fork.S: Likewise.
83696         * sysdeps/unix/system.c: Remove file.
83697         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83699         * sysdeps/unix/getegid.S: Remove file.
83700         * sysdeps/unix/geteuid.S: Likewise.
83702 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83704         * scripts/check-localplt.awk: New file.
83705         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83706         of diff.
83707         * scripts/data/localplt-generic.data: Add a comment.
83709         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83710         NODE when __dir_mkfile failed.
83711         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83712         Reported by Ludovic Courtès <ludo@gnu.org>.
83714 2012-04-24  Andreas Jaeger  <aj@suse.de>
83716         * Makerules (common-clean): Also remove gen-as-const-headers
83717         files.
83719 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83721         * Makerules (native-compile): Do not change working directory for
83722         build.  Use $(OUTPUT_OPTION) in command.
83723         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83725 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83727         [BZ #13886]
83728         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83729         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83730         * math/libm-test.inc (floor_test): Add more tests.
83731         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83733 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83735         * sysdeps/unix/getdents.c: Remove file.
83736         * sysdeps/unix/sysv/getdents.c: Likewise.
83737         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83739         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83740         sysdeps/unix/mman/syscalls.list.
83741         (mmap): Likewise.
83742         (mprotect): Likewise.
83743         (msync): Likewise.
83744         (munmap): Likewise.
83745         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83746         * sysdeps/unix/mman/syscalls.list: Remove.
83747         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83749         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83750         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83751         * configure: Regenerated.
83752         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83753         $(libgcc_s_suffix).
83754         * config.make.in (libgcc_s_suffix): Remove variable.
83756 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83758         * sysdeps/unix/sysv/gethostname.c: Move to ...
83759         * sysdeps/posix/gethostname.c: ... here.
83761         * sysdeps/unix/execve.S: Remove file.
83763         * sysdeps/unix/_exit.S: Remove file.
83765 2012-04-23  Andreas Jaeger  <aj@suse.de>
83767         [BZ #13739]
83768         * manual/Makefile: Remove make dist support, there's no
83769         need for a stand-alone documentation tar ball.
83770         (TEXI2DVI): Define always, it's not in Makeconfig.
83771         (dist): Removed.
83772         (tar-it): Removed.
83773         (edition): Removed.
83774         (glibc-doc-$(edition).tar): Removed
83775         (%.Z): Removed.
83776         (%.gz): Removed.
83777         (%.uu): Removed.
83778         (ETAGS): Remove, it's in Makeconfig.
83779         (move-if-change): Remove, it's in Makeconfig.
83781 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83783         [BZ #13970]
83784         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83785         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83786         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83787         (strtod_l, strtof_l, strtold_l): Remove __wur.
83788         It is not necessarily an error to ignore strtol's return value.
83789         One can reliably look at the stored endptr to decide whether
83790         the number had valid syntax.
83792 2012-04-21  Andreas Jaeger  <aj@suse.de>
83794         [BZ #13739]
83795         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83797 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83799         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83800         * sysdeps/unix/sysv/Versions: Remove file.
83802 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83804         [BZ #13927]
83805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83807 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83809         [BZ #7064]
83810         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83811         version from __vm86.
83813 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83815         * sysdeps/unix/common/lxstat.c: Remove file.
83816         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83818         * sysdeps/unix/sysv/Makefile: Remove file.
83820         * sysdeps/unix/sysv/direct.h: Remove file.
83822         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83823         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83824         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83825         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83826         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83827         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83828         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83830         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83832         * sysdeps/unix/xmknod.c: Remove file.
83833         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83835         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83837         * sysdeps/unix/sysv/i386/time.S: Remove file.
83839         * sysdeps/unix/fxstat.c: Remove file.
83840         * sysdeps/unix/xstat.c: Likewise.
83841         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83843         * sysdeps/unix/sysv/sigaction.c: Remove file.
83845         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83846         (sysdep_headers): Remove variable.
83847         [termio.h not in sysdep_headers] (generated): Likewise.
83848         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83849         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83850         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83851         * sysdeps/unix/sysv/tcflow.c: Likewise.
83852         * sysdeps/unix/sysv/tcflush.c: Likewise.
83853         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83854         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83855         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83856         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83857         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83859         * sysdeps/unix/siglist.c: Remove file.
83861         * sysdeps/unix/getppid.S: Remove file.
83863         * sysdeps/unix/mkdir.c: Remove file.
83864         * sysdeps/unix/rmdir.c: Likewise.
83866 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83868         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83869         ERR_MAX value.
83870         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83871         errlist-compat value.
83873 2012-04-18  David S. Miller  <davem@davemloft.net>
83875         * sysdeps/generic/memcopy.h (reg_char): Delete.
83876         * debug/strcat_chk.c: Use char, not reg_char.
83877         * debug/strcpy_chk.c: Likewise.
83878         * debug/strncat_chk.c: Likewise.
83879         * debug/strncpy_chk.c: Likewise.
83880         * string/memchr.c: Likewise.
83881         * string/memrchr.c: Likewise.
83882         * string/rawmemchr.c: Likewise.
83883         * string/strcat.c: Likewise.
83884         * string/strchr.c: Likewise.
83885         * string/strchrnul.c: Likewise.
83886         * string/strcmp.c: Likewise.
83887         * string/strcpy.c: Likewise.
83888         * string/strncat.c: Likewise.
83889         * string/strncmp.c: Likewise.
83890         * string/strncpy.c: Likewise.
83892 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83894         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83895         __builtin_memcopy is called when src and dest ranges are known to not
83896         overlap.
83898 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83900         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83901         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83902         fwd_align_merge macro call.
83903         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83904         bwd_align_merge macro call.
83905         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83907 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83909         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83910         bwd_align_merge macros.
83911         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83912         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83913         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83915 2012-04-18  David S. Miller  <davem@davemloft.net>
83917         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83919 2012-04-18  Andreas Jaeger  <aj@suse.de>
83921         [BZ #6794]
83922         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83923         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83924         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83926         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83927         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83928         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83930         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83931         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83932         Adjust for changed ldbl-128 files.
83934         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83935         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83936         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83938 2012-04-17  David S. Miller  <davem@davemloft.net>
83940         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83942 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83944         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83945         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83946         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83947         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83948         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83949         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83951 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83953         [BZ #6794]
83954         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83955         * math/libm-test.inc: Add ilogb errno and exception tests.
83956         * math/w_ilogb.c: New file: ilogb wrapper.
83957         * math/w_ilogbf.c: New file: ilogbf wrapper.
83958         * math/w_ilogbl.c: New file: ilogbl wrapper.
83959         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83960         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83961         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83962         exception being thrown with 0.0 as argument.
83963         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83964         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83965         exception being thrown with 0.0 as argument.
83966         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83967         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83968         exception being thrown with 0.0 as argument.
83969         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83970         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83971         exception being thrown with 0.0 as argument.
83972         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83973         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83974         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83975         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83977         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83978         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83979         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83980         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83982 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83984         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83985         with altivec.
83987 2012-04-16  Marek Polacek  <polacek@redhat.com>
83989         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83991 2012-04-16  Marek Polacek  <polacek@redhat.com>
83993         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83994         operands of fdivp instruction.
83996 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83998         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83999         * elf/tst-auditmod3b.c: Likewise.
84000         * elf/tst-auditmod4b.c: Likewise.
84001         * elf/tst-auditmod5b.c: Likewise.
84002         * elf/tst-auditmod6b.c: Likewise.
84003         * elf/tst-auditmod6c.c: Likewise.
84004         * elf/tst-auditmod7b.c: Likewise.
84005         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84006         * sysdeps/x86_64/preconfigure.in: Likewise.
84007         * sysdeps/x86_64/preconfigure: Regenerated.
84009 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84011         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84012         __ILP32__.
84014 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84016         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84017         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84019 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84021         [BZ #13973]
84022         * locale/iso-639.def: Fix gl language name. Spotted by
84023         Yaron Shahrabani.
84025 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84027         [BZ #2074]
84028         * libio/libio.h (__io_write_fn): Update comment.
84030 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84032         [BZ #2074]
84033         * stdio.texi (Hook Functions): The user provided writer function
84034         is not allowed to return -1.
84036 2012-04-11  David S. Miller  <davem@davemloft.net>
84038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84040 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84042         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84043         Add a leading slash to rtkaio.
84045 2012-04-11  Jim Meyering  <meyering@redhat.com>
84047         [BZ #11959]
84048         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84049         It is not necessarily an error to ignore fwrite's return
84050         value.  One can reliably use ferror to test for errors after
84051         the fact.
84053 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84055         * bits/types.h (__snseconds_t): New type.
84056         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84058         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84060         (__SNSECONDS_T_TYPE): Likewise.
84061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84062         (__SNSECONDS_T_TYPE): Likewise.
84063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84064         (__SNSECONDS_T_TYPE): Likewise.
84066 2012-04-10  Andreas Jaeger  <aj@suse.de>
84068         [BZ #2636]
84069         * manual/time.texi (Processor Time): Return type of times is
84070         elapsed real time since an arbitrary point in the past.
84071         (CPU Time): Move CLK_TCK from here...
84072         (Processor Time): ...to here.  Correct description.
84073         * manual/conf.texi (Constants for Sysconf): Correct description of
84074         _SC_CLK_TCK.
84076 2012-04-10  David S. Miller  <davem@davemloft.net>
84078         [BZ #13967]
84079         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84080         where the is a gap between DT_REL(A) and DT_JMPREL.
84082 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84084         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84085         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84086         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84088 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84090         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84091         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84092         (dl_main): Handle --inhibit-cache.
84093         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84094         _dl_inhibit_cache.
84095         * elf/dl-load.c (_dl_map_object): Use it.
84096         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84098 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84100         [BZ #13872]
84101         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84102         (__ieee754_powl): Saturate large exponents rather than testing for
84103         overflow of y*log2(x).
84104         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84105         * math/libm-test.inc (pow_test): Do not permit spurious overflow
84106         exceptions.
84108         [BZ #11521]
84109         * math/s_ctan.c: Include <float.h>.
84110         (__ctan): Avoid internal overflow or cancellation in calculating
84111         denominator.
84112         * math/s_ctanf.c: Likewise.
84113         * math/s_ctanl.c: Likewise.
84114         * math/s_ctanh.c: Likewise.
84115         * math/s_ctanhf.c: Likewise.
84116         * math/s_ctanhl.c: Likewise.
84117         * math/libm-test.inc (ctan_test): Add more tests.
84118         (ctanh_test): Likewise.
84119         * sysdeps/i386/fpu/libm-test-ulps: Update.
84120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84122 2012-04-09  Andreas Jaeger  <aj@suse.de>
84124         [BZ #6894]
84125         * manual/filesys.texi (Directory Entries): Mention that d_namlen
84126         is an optional BSD extension.
84128         [BZ #10254]
84129         * manual/stdio.texi (Opening Streams): Document additional fopen
84130         parameters.
84132 2012-04-09  Roland McGrath  <roland@hack.frob.com>
84134         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84135         %eax without telling the compiler.
84137 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
84139         [BZ # 13963]
84140         * manual/install.texi: Use sourceware.org.
84142 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84144         [BZ #13873]
84145         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84146         (__ieee754_pow): Generate overflow and underflow using huge*huge
84147         and tiny*tiny rather than just returning constant infinity or zero
84148         for large exponents.
84149         * math/libm-test.inc (pow_test): Require overflow exceptions for
84150         applicable cases of large exponents.
84152         [BZ #706]
84153         * sysdeps/i386/fpu/e_pow.S (p10): New object.
84154         (__ieee754_pow): Use iterative multiplication algorithm only for
84155         integer exponents with absolute value below 1024.  Check for odd
84156         integer exponents when using algorithm for real exponents.
84157         * math/libm-test.inc (pow_test): Add more tests.
84158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84160 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
84162         [BZ #13705]
84163         * math/libm-test.inc (exp_test): Do not allow overflow exception
84164         on underflow test.
84166 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
84168         [BZ #13705]
84169         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84170         instead of __kernel_standard_f.
84172 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
84174         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84175         * sysdeps/x86_64/memset_chk.S: Likewise.
84177 2012-04-08  Andreas Jaeger  <aj@suse.de>
84179         [BZ #10153]
84180         * manual/startup.texi (Environment Access): Describe return value
84181         for putenv and setenv.
84183         [BZ #6895]
84184         * manual/filesys.texi (Directory Entries): Add description for
84185         DT_LNK.
84187         [BZ #6890]
84188         * manual/filesys.texi (Directory Entries): Clarify that it's file
84189         system not operating system in the description of DT_UNKNOWN.
84191         [BZ #6578]
84192         * manual/syslog.texi (closelog): Fix reference, it's openlog.
84194 2012-04-08  Stephen Compall  <s11@member.fsf.org>
84196         [BZ #6649]
84197         * manual/llio.texi (Opening and Closing Files): Add cross
84198         reference to explain mode argument.
84200 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
84202         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84203         * sysdeps/x86_64/memset_chk.S: Likewise.
84205 2012-04-07  David S. Miller  <davem@davemloft.net>
84207         * elf/elf.h (R_SPARC_WDISP10): Define.
84208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84209         R_SPARC_SIZE32.
84210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84211         R_SPARC_SIZE64 and R_SPARC_H34.
84213 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
84215         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84216         conditions and remove no longer applicable assertion.
84218 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84220         * bits/byteswap.h: Include <features.h>.
84221         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84222         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84224 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84226         * bits/byteswap.h (__bswap_16): Removed.
84227         Include <bits/byteswap-16.h> to get __bswap_16.
84228         * sysdeps/i386/bits/byteswap.h: Likewise.
84229         * sysdeps/s390/bits/byteswap.h: Likewise.
84230         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84231         * bits/byteswap-16.h: New file.
84232         * sysdeps/i386/bits/byteswap-16.h: Likewise.
84233         * sysdeps/s390/bits/byteswap-16.h: Likewise.
84234         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84235         * string/Makefile (headers): Add bits/byteswap-16.h.
84237 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84239         [BZ #13895]
84240         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84241         extra indirection.
84242         * nss/Makefile (tests-static, tests): Add tst-nss-static.
84243         * nss/tst-nss-static.c: New.
84245 2012-04-06  Robert Millan  <rmh@gnu.org>
84247         [BZ #6486]
84248         * manual/llio.texi (File Position Primitive): lseek
84249         refers to WHENCE when it really means OFFSET.
84251 2012-04-06  Andreas Jaeger  <aj@suse.de>
84253         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84254         strncmp declarations.
84256         * abilist/libc.abilist: Add __poll and __ppoll.
84258 2012-04-05  David S. Miller  <davem@davemloft.net>
84260         * scripts/check-local-headers.sh: Accept a host triplet in the
84261         path matched by the exclude regexp.
84263         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84264         definition.
84265         * sysdeps/powerpc/powerpc32/dl-machine.h
84266         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84267         * sysdeps/s390/s390-32/dl-machine.h
84268         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84269         * sysdeps/sparc/sparc32/dl-machine.h
84270         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84271         * sysdeps/sparc/sparc64/dl-machine.h
84272         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84274         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84275         lazy binding.
84276         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84277         undefined symbol errors.
84279         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84280         DT_NEEDED entries.
84282 2012-04-05  Michael Matz  <matz@suse.de>
84284         [BZ #13592]
84285         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84287 2012-04-05  Andreas Jaeger  <aj@suse.de>
84289         [BZ #13908]
84290         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84291         comment.
84293 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84295         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84296         which ROUND is no valid rounding mode.
84298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84301         read again.
84302         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84304 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84306         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84307         an exception using FPU order intentionally.
84309 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84311         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84312         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84313         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84314         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84316 2012-04-05  Simon Josefsson  <simon@josefsson.org>
84318         [BZ #12340]
84319         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84320         EINVAL when BUFLEN is too smal.
84322 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
84324         [BZ #13553]
84325         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84326         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84328 2012-04-03  Andreas Jaeger  <aj@suse.de>
84330         [BZ #13938]
84331         * manual/setjmp.texi (System V contexts): Fix sentence.
84333         [BZ #13926]
84334         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84335         New macro for this case.
84336         [!__GNUC__] (__bswap_64): New inline function for this case.
84337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84338         * bits/byteswap.h: Likewise.
84339         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84340         ull, guard with __GLIBC_HAVE_LONG_LONG.
84342         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84343         __GLIBC_HAVE_LONG_LONG.
84345         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84346         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84348 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84350         [BZ #13691]
84351         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84352         inptr and inend, rather than using last_ch.
84354 2012-04-02  David S. Miller  <davem@davemloft.net>
84356         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84357         * stdio-common/printf-parse.h (read_int): Change return type to
84358         'int', return -1 on INT_MAX overflow.
84359         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84360         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
84361         overflows INT_MAX.  Check for overflow of in-format-string precision
84362         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
84363         SIZE_MAX not INT_MAX for integer overflow test.
84364         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84365         skip the construct in the format string but do not record anything.
84366         * stdio-common/bug22.c: Adjust to test both width/prevision
84367         INT_MAX overflow as well as total length INT_MAX overflow.  Check
84368         explicitly for proper errno values.
84370 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
84372         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84373         CHAR_MAX.
84374         * string/test-strcmp.c [! WIDE]: Likewise.
84375         * time/tst-mktime2.c: Likewise for INT_MAX.
84376         * string/test-string.h: #include <sys/param.h> for MIN.
84378         * csu/init-first.c (__libc_init_first): Call __ctype_init.
84379         * sysdeps/i386/init-first.c (init): Likewise.
84380         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84381         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84382         * sysdeps/sh/init-first.c (init): Likewise.
84384 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
84386         * po/ru.po: Update from translation team.
84387         * po/vi.po: Likewise.
84389 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
84391         * resolv/nss_dns/dns-host.c: Merge copyright years.
84393 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84396         Optimize memcpy with prefetch if
84397         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
84398         src, dst pointers have unequal 16 byte alignments.
84400 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
84402         [BZ #13928]
84403         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
84404         from a CNAME entry and return the minimum ttl for the query.
84405         (gaih_getanswer_slice): Likewise.
84407 2012-03-30  Jeff Law  <law@redhat.com>
84409         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
84410         due to long keys.
84411         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84412         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84414         * resolv/nss_dns/dns-host.c: Update copyright year.
84416 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
84418         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84419         requests to save a system call.  Fix check that all bytes are sent.
84421         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84422         comments for sendmmsg.
84424 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
84426         [BZ #13691]
84427         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84428         with only 1 character between 0x0041 and 0x01b0.
84429         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84430         * wcsmbs/tst-mbsnrtowcs.c: New file.
84432 2012-03-29  David S. Miller  <davem@davemloft.net>
84434         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84435         small copies by hand.
84437 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
84439         [BZ #13761]
84440         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84441         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84442         group memberships.
84444 2012-03-28  David S. Miller  <davem@davemloft.net>
84446         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84447         that branches into memcpy.
84448         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84449         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84450         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84451         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84453         bits.
84454         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84455         implementation too.
84456         * sysdeps/sparc/mempcpy.S: New file.
84458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84459         the IFUNC routine in the libc case.
84460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84462         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84463         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84464         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84465         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84466         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84467         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84468         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84469         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84471         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84472         loop to 256 bytes instead of 64 bytes and fix test signedness.
84474         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84475         * sysdeps/sparc/sparc32/Makefile: rather than here...
84476         * sysdeps/sparc/sparc64/Makefile: and here.
84478 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
84480         * malloc/mallocbug.c: Avoid warnings about unused variables.
84482 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
84484         [BZ #13760]
84485         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84486         in the right place. Discard and retry query if response is
84487         larger than input buffer size.
84489 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
84491         [BZ #369]
84492         [BZ #2678]
84493         [BZ #3866]
84494         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84495         x for large integer exponent.
84496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84497         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
84498         sign of result as needed afterwards.
84499         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84500         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84501         result for underflowing pow the same as for overflow.
84502         (__kernel_standard_l): Handle powl overflow and underflow here
84503         rather than calling __kernel_standard.
84504         * math/libm-test.inc (pow_test): Add more tests.
84506         [BZ #3868]
84507         [BZ #13879]
84508         [BZ #13910]
84509         [BZ #13911]
84510         [BZ #13912]
84511         [BZ #13913]
84512         [BZ #13915]
84513         [BZ #13916]
84514         [BZ #13917]
84515         [BZ #13918]
84516         [BZ #13919]
84517         [BZ #13920]
84518         [BZ #13921]
84519         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84520         * sysdeps/ieee754/k_standard.c: Include <float.h>.
84521         (__kernel_standard_l): New function.
84522         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84523         __kernel_standard.
84524         * math/w_acosl.c (__acosl): Likewise.
84525         * math/w_asinl.c (__asinl): Likewise.
84526         * math/w_atan2l.c (__atan2l): Likewise.
84527         * math/w_atanhl.c (__atanhl): Likewise.
84528         * math/w_coshl.c (__coshl): Likewise.
84529         * math/w_exp10l.c (__exp10l): Likewise.
84530         * math/w_exp2l.c (__exp2l): Likewise.
84531         * math/w_fmodl.c (__fmodl): Likewise.
84532         * math/w_hypotl.c (__hypotl): Likewise.
84533         * math/w_j0l.c (__j0l, __y0l): Likewise.
84534         * math/w_j1l.c (__j1l, __y1l): Likewise.
84535         * math/w_jnl.c (__jnl, __ynl): Likewise.
84536         * math/w_lgammal.c (__lgammal): Likewise.
84537         * math/w_log10l.c (__log10l): Likewise.
84538         * math/w_log2l.c (__log2l): Likewise.
84539         * math/w_logl.c (__logl): Likewise.
84540         * math/w_powl.c (__powl): Likewise.
84541         * math/w_remainderl.c (__remainderl): Likewise.
84542         * math/w_scalbl.c (sysv_scalbl): Likewise.
84543         * math/w_sinhl.c (__sinhl): Likewise.
84544         * math/w_sqrtl.c (__sqrtl): Likewise.
84545         * math/w_tgammal.c (__tgammal): Likewise.
84546         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84547         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84548         * math/libm-test.inc (acos_test): Add more tests.
84549         (acosh_test): Likewise.
84550         (asin_test): Likewise.
84551         (atanh_test): Likewise.
84552         (exp_test): Likewise.
84553         (exp10_test): Likewise.
84554         (exp2_test): Likewise.
84555         (expm1_test): Likewise.
84556         (lgamma_test): Likewise.
84557         (log_test): Likewise.
84558         (log10_test): Likewise.
84559         (log1p_test): Likewise.
84560         (log2_test): Likewise.
84561         (pow_test): Do not allow some spurious overflow exceptions.
84562         (sqrt_test): Add more tests.
84563         (tgamma_test): Likewise.
84564         (y0_test): Likewise.
84565         (y1_test): Likewise.
84566         (yn_test): Likewise.
84568 2012-03-27  Anton Blanchard  <anton@samba.org>
84570         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84571         MAP_HUGETLB.
84572         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84573         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84576 2012-03-27  David S. Miller  <davem@davemloft.net>
84578         * conform/Makefile: Run run-conformtest.sh using $(BASH).
84580         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84581         have-as-vis3 check.
84583 2012-03-27  Andreas Jaeger  <aj@suse.de>
84585         * sysdeps/x86_64/elf/configure.in: Moved to ...
84586         * sysdeps/x86_64/configure.in: ... here.
84587         * sysdeps/x86_64/elf/start.S: Moved to ...
84588         * sysdeps/x86_64/start.S: ... here.
84589         * sysdeps/x86_64/elf/configure: Delete.
84591         * sysdeps/x86_64/configure.in: Merge contents from
84592         sysdeps/i386/configure.in (without i686 check).
84594         * sysdeps/i386/elf/Versions: Merge into ...
84595         * sysdeps/i386/Versions: ... this.
84596         * sysdeps/i386/elf/Versions: Delete file.
84597         * sysdeps/i386/elf/start.S: Moved to ...
84598         * sysdeps/i386/start.S: ...here.
84599         * sysdeps/i386/elf/configure.in: Merge into...
84600         * sysdeps/i386/configure.in: ...here.
84601         * sysdeps/i386/elf/configure.in: Delete file.
84602         * sysdeps/i386/elf/configure: Delete file.
84604         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84605         * debug/backtracesyms.c: ... here.
84606         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84607         * debug/backtracesymsfd.c: ... here.
84608         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84609         * sysdeps/generic/ifunc-sel.h: ... here.
84611         * sysdeps/unix/i386/start.c: Delete file.
84612         * sysdeps/unix/sparc/start.c: Delete file.
84613         * sysdeps/unix/start.c: Delete file.
84615         * sysdeps/sh/elf/configure.in: Moved to ...
84616         * sysdeps/sh/configure.in: ... here.
84617         * sysdeps/sh/elf/start.S: Moved to ...
84618         * sysdeps/sh/start.S: ... here.
84619         * sysdeps/sh/elf/configure: Delete file.
84621         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84622         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84623         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84624         * sysdeps/powerpc/powerpc64/entry.h: ... here.
84625         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84626         * sysdeps/powerpc/powerpc64/start.S: here.
84627         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84628         * sysdeps/powerpc/powerpc64/Makefile: ... this.
84629         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84630         * sysdeps/powerpc/powerpc64/configure.in: ... this.
84631         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84633         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84634         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84635         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84636         * sysdeps/powerpc/powerpc32/start.S: ... here.
84637         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84638         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84639         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84641         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84642         * sysdeps/powerpc/ifunc-sel.h: ... here.
84643         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84644         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84646         * sysdeps/sparc/elf/configure.in: Moved to ...
84647         * sysdeps/sparc/configure.in: ... here.
84648         * sysdeps/sparc/elf/configure: Delete file.
84649         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84650         * sysdeps/sparc/sparc32/start.S: ... here.
84651         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84652         * sysdeps/sparc/sparc64/start.S: ... here.
84653         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84654         * sysdeps/sparc/sparc32/Makefile: ... this.
84655         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84656         * sysdeps/sparc/sparc64/Makefile: ... this.
84658         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84659         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84660         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84661         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84662         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84663         * sysdeps/s390/s390-32/setjmp.S: ... here.
84664         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84665         * sysdeps/s390/s390-32/configure.in: ... here.
84666         * sysdeps/s390/s390-32/elf/configure: Delete file.
84667         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84668         * sysdeps/s390/s390-32/start.S: ... here.
84670         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84671         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84672         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84673         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84674         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84675         * sysdeps/s390/s390-64/setjmp.S: ... here.
84676         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84677         * sysdeps/s390/s390-64/configure.in: ... here
84678         * sysdeps/s390/s390-64/elf/configure: Delete file.
84679         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84680         * sysdeps/s390/s390-64/start.S: ... here.
84681         * sysdeps/s390/s390-64/elf/configure: Delete.
84683         * configure.in: Remove support for elf directories in sysdeps.
84685         * configure: Regenerated.
84686         * sysdeps/i386/configure: Regenerated.
84687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84688         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84689         * sysdeps/s390/s390-32/configure: Regenerated.
84690         * sysdeps/s390/s390-64/configure: Regenerated.
84691         * sysdeps/sh/configure: Regenerated.
84692         * sysdeps/sparc/configure: Regenerated.
84693         * sysdeps/x86_64/configure: Regenerated.
84695 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84699         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84700         denormal result into account.
84702 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84704         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84705         Reported by Allan McRae <allan@archlinux.org>.
84707 2012-03-23  Jeff Law  <law@redhat.com>
84709         * nss/getnssent.c (__nss_getent): Fix typo.
84711 2012-03-23  David S. Miller  <davem@davemloft.net>
84713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84715 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84717         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84718         to pad to uint64_t for each field.
84719         (dl_tls_index): Replace unsigned long with uint64_t.
84721 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84722         Paul Pluzhnikov  <ppluzhnikov@google.com>
84724         [BZ #6528]
84725         * grp/Makefile (otherlibs): Don't set it.
84726         * inet/Makefile (otherlibs): Likewise.
84727         * login/Makefile (otherlibs): Likewise.
84728         * nscd/Makefile (otherlibs): Likewise.
84729         * posix/Makefile (otherlibs): Likewise.
84730         * pwd/Makefile (otherlibs): Likewise.
84731         * rt/Makefile (otherlibs): Likewise.
84732         * sunrpc/Makefile (otherlibs): Likewise.
84733         * nss/Makefile (otherlibs): Likewise.
84734         Add libnss_files to routines and static-only-routines.
84735         ($(objpfx)getent): Remove rule.
84736         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84737         static-only-routines.
84739 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84741         [BZ #13892]
84742         * math/s_cexp.c: Include <float.h>.
84743         (__cexp): Handle exp result overflowing not necessarily
84744         overflowing both real and imaginary parts of result.
84745         * math/s_cexpf.c: Likewise.
84746         * math/s_cexpl.c: Likewise.
84747         * math/libm-test.inc (cexp_test): Add more tests.
84748         * sysdeps/i386/fpu/libm-test-ulps: Update.
84749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84753         * include/link.h (ELFW): New macro.
84754         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84755         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84757 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84759         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84760         with uint64_t.
84762 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84764         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84765         declaration.
84766         (struct La_x32_retval): Likewise.
84768 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84770         * sysdeps/x86_64/preconfigure.in: New file.
84771         * sysdeps/x86_64/preconfigure: New generated file.
84773 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84775         [BZ #13824]
84776         * math/e_exp2l.c: Include <float.h>.
84777         (__ieee754_exp2l): Handle overflow and underflow cases
84778         separately.  Only pass fractional part of argument to
84779         __ieee754_expl.
84780         * math/libm-test.inc (exp2_test): Add more tests.
84782         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84783         negating x to take absolute value.
84784         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84785         Likewise.
84786         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84787         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84788         Likewise.
84789         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84790         computing low part if x was negated.
84791         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84793 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84795         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84796         la_x32_gnu_pltexit.
84797         (pltexit): Cast int_retval to ptrdiff_t.
84798         * elf/tst-auditmod3b.c: Likewise.
84799         * elf/tst-auditmod4b.c: Likewise.
84800         * elf/tst-auditmod5b.c: Likewise.
84801         * elf/tst-auditmod6b.c: Likewise.
84802         * elf/tst-auditmod6c.c: Likewise.
84803         * elf/tst-auditmod7b.c: Likewise.
84805         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84806         and x32_gnu_pltexit.
84808         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84809         __ELF_NATIVE_CLASS.
84810         (La_x32_regs): New macro.
84811         (La_x32_retval): Likewise.
84812         (la_x32_gnu_pltenter): New function prototype.
84813         (la_x32_gnu_pltexit): Likewise.
84815 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84817         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84818         exponent.
84820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84822         * configure.in (libc_cv_cc_nofma): Check for option to disable
84823         generation of FMA instructions.
84824         * configure: Regenerate.
84825         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84826         * sysdeps/ieee754/dbl-64/Makefile: New file.
84827         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84828         Remove brandred-fma4.
84829         (CFLAGS-brandred-fma4.c): Remove.
84830         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84831         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84832         define.
84833         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84834         define.
84836 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84838         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84839         LLONG_MAX != LONG_MAX.
84840         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84841         (_fitoa_word): Likewise.
84842         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84843         LLONG_MAX != LONG_MAX.
84844         * stdio-common/_itowa.h: Include <_itoa.h>.
84845         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84846         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84847         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84848         only if not defined.
84849         (_ITOA_WORD_TYPE): Likewise.
84850         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84851         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84853 2012-03-21  David S. Miller  <davem@davemloft.net>
84855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84857 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84859         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84860         of x86_64 when setting libc_cv_slibdir, libdir and
84861         libc_cv_localedir.
84862         * sysdeps/unix/sysv/linux/configure: Regenerated.
84864 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84866         * manual/lang.texi (Old Varargs): Remove section.
84867         (How Variadic): Update menu.
84868         (va_start): Do not mention varargs.h.
84870 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84871             Joseph Myers  <joseph@codesourcery.com>
84873         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84874         link test.
84875         * configure: Regenerated.
84877 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84879         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84880         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84881         conformtest.pl
84883 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84885         * NOTES: Remove.
84886         * Makefile (files-for-dist): Remove NOTES.
84887         (NOTES): Remove rule.
84888         * README: Don't refer to NOTES.
84889         * manual/creature.texi: Don't include macros.texi.
84890         * manual/intro.texi (creature.texi): Remove comment referring to
84891         NOTES.
84893         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84894         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84895         * configure: Regenerated.
84896         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84897         LIBC_TRY_CC_OPTION.
84898         (libc_cv_as_i686): Likewise.
84899         (libc_cv_cc_avx): Likewise.
84900         (libc_cv_cc_sse2avx): Likewise.
84901         (libc_cv_cc_fma4): Likewise.
84902         (libc_cv_cc_novzeroupper): Likewise.
84903         * sysdeps/i386/configure: Regenerated.
84905         [BZ #13883]
84906         * sysdeps/i386/fpu/s_cexp.S: Remove.
84907         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84908         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84909         * math/libm-test.inc (cexp_test): Add more tests.
84910         * sysdeps/i386/fpu/libm-test-ulps: Update.
84911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84913 2012-03-21  Allan McRae  <allan@archlinux.org>
84915         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84917 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84919         [BZ #13871]
84920         * math/w_exp2.c: Do not include <float.h>.
84921         (o_threshold, u_threshold): Remove.
84922         (__exp2): Calculate result before checking finiteness and calling
84923         __kernel_standard.
84924         * math/w_exp2f.c: Likewise.
84925         * math/w_exp2l.c: Likewise.
84926         * math/libm-test.inc (exp2_test): Require overflow exception for
84927         1e6 input.
84929         [BZ #3866]
84930         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84931         range of signed 64-bit integers before using fistpll.  Remove
84932         checks for whether integers fit in mantissa bits.
84933         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84934         the range of signed 32-bit integers before using fistpl.  Remove
84935         checks for whether integers fit in mantissa bits.
84936         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84937         (__ieee754_powl): Test for y outside the range of signed 64-bit
84938         integers before using fistpll.  Reduce 64-bit values to 63-bit
84939         ones as needed.
84940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84941         divide-by-zero is raised for zero to large negative powers.
84942         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84943         (__ieee754_powl): Test for y outside the range of signed 64-bit
84944         integers before using fistpll.  Reduce 64-bit values to 63-bit
84945         ones as needed.
84946         * math/libm-test.inc (pow_test): Add more tests.
84948 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84950         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84951         <stdio-common/_itoa.h>.
84952         * debug/segfault.c: Likewise.
84953         * elf/dl-cache.c: Likewise.
84954         * elf/dl-minimal.c: Likewise.
84955         * elf/dl-misc.c: Likewise.
84956         * elf/dl-sysdep.c: Likewise.
84957         * elf/dl-version.c: Likewise.
84958         * elf/rtld.c: Likewise.
84959         * hurd/hurdsock.c: Likewise.
84960         * hurd/lookup-retry.c: Likewise.
84961         * malloc/malloc.c: Likewise.
84962         * malloc/mtrace.c: Likewise.
84963         * nscd/nscd_getgr_r.c: Likewise.
84964         * nscd/nscd_getpw_r.c: Likewise.
84965         * nscd/nscd_getserv_r.c: Likewise.
84966         * posix/getopt_init.c: Likewise.
84967         * posix/wordexp.c: Likewise.
84968         * stdio-common/_itoa.c: Likewise.
84969         * stdio-common/printf_fphex.c: Likewise.
84970         * stdio-common/vfprintf.c: Likewise.
84971         * string/_strerror.c: Likewise.
84972         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84973         * sysdeps/i386/i686/hp-timing.h: Likewise.
84974         * sysdeps/mach/_strerror.c: Likewise.
84975         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84976         * sysdeps/mach/hurd/sethostid.c: Likewise.
84977         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84978         * sysdeps/mach/xpg-strerror.c: Likewise.
84979         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84980         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84981         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84982         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84983         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84984         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84985         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84986         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84987         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84988         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84989         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84990         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84991         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84992         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84993         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84994         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84995         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84996         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84997         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84998         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84999         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85001         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85003         * stdio-common/_itoa.h: Moved to ...
85004         * sysdeps/generic/_itoa.h: Here.
85006         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85008         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85009         instead of "_itoa.h" and "_itowa.h".
85010         * stdio-common/vfprintf.: Likewise.
85012 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85014         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85015         <bits/wordsize.h>.
85016         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85017         (__signbit): Likewise.
85018         (llrintf): Likewise.
85019         (llrint): Likewise.
85021 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85023         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85024         __WORDSIZE != 64.
85026 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85028         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85029         OVERFLOW_EXCEPTION_OK.
85030         * math/libm-test.inc ("Philosophy"): Update comment about
85031         exception testing.
85032         (OVERFLOW_EXCEPTION): Define.
85033         (OVERFLOW_EXCEPTION_OK): Likewise.
85034         (INVALID_EXCEPTION_OK): Renumber.
85035         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85036         (IGNORE_ZERO_INF_SIGN): Likewise.
85037         (test_exceptions): Handle FE_OVERFLOW.
85038         (exp10_test): Expect overflow exceptions.
85039         (exp2_test): Likewise.
85040         (expm1_test): Likewise.
85041         (nextafter_test): Likewise.
85042         (pow_test): Likewise.
85043         (scalbn_test): Likewise.
85044         (scalbln_test): Likewise.
85046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85048         * sysdeps/x86_64/bits/atomic.h
85049         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85050         64bit integer.
85051         (atomic_exchange_acq): Likewise.
85052         (__arch_exchange_and_add_body): Likewise.
85053         (__arch_add_body): Likewise.
85054         (atomic_add_negative): Likewise.
85055         (atomic_add_zero): Likewise.
85057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85059         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85060         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85064         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85065         Check __x86_64__ instead of __WORDSIZE.
85067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85069         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85071 2012-03-19  David S. Miller  <davem@davemloft.net>
85073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85075         * sysdeps/sparc/fpu/fenv_private.h: New file.
85076         * sysdeps/sparc/fpu/math_private.h: Use it.
85077         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85078         Remove.
85079         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85080         (libc_feholdexcept_setroundl): Remove.
85081         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85082         Remove.
85083         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85084         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85086 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85088         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85089         int64_t instead of long int.
85090         (INSERT_WORDS64): Likewise.
85092 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85094         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85095         _Unwind_GetCFA return to _Unwind_Ptr first.
85097 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85099         [BZ #13629]
85100         * math/s_clog.c: Include <float.h>.
85101         (__clog): Scale large or subnormal inputs.
85102         * math/s_clogf.c: Likewise.
85103         * math/s_clogl.c: Likewise.
85104         * math/s_clog10.c: Include <float.h>.
85105         (M_LOG10_2): Define.
85106         (__clog10): Scale large or subnormal inputs.
85107         * math/s_clog10f.c: Likewise.
85108         * math/s_clog10l.c: Likewise.
85109         * math/libm-test.inc (clog_test): Add more tests.
85110         (clog10_test): Likewise.
85111         * sysdeps/i386/fpu/libm-test-ulps: Update.
85112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85114         [BZ #11451]
85115         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85116         x and y.
85117         * math/libm-test.inc (atan2_test): Add another test.
85119         * Makerules (common-objdir-compile): Remove.
85120         * sysdeps/unix/Makefile (config-generated): Do not add
85121         $(unix-generated) to variable.
85122         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85123         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85124         Remove rule.
85125         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85126         Likewise.
85127         [generic bits/local_lim.h] (before-compile): Do not append to
85128         variable.
85129         [generic bits/local_lim.h] (common-generated): Likewise.
85130         [generic sys/param.h] (before-compile): Do not append to variable.
85131         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85132         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85133         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85134         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85135         include.
85136         [generic sys/param.h] (sys/param.h-includes): Remove variable.
85137         [generic sys/param.h] (sys/param.h-includes): Remove rule.
85138         [generic sys/param.h] ($(addprefix
85139         $(common-objpfx),$(sys/param.h-includes))): Likewise.
85140         [generic sys/param.h] (common-generated): Do not append to
85141         variable.
85142         [generic sys/param.h] (sysdep_headers): Likewise.
85143         [generic bits/errno.h] (before-compile): Do not append to
85144         variable.
85145         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85146         rule.
85147         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85148         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85149         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85150         [generic bits/errno.h] (common-generated): Do not append to
85151         variable.
85152         [generic bits/ioctls.h] (before-compile): Do not append to
85153         variable.
85154         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85155         rule.
85156         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85157         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85158         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85159         rule.
85160         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85161         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85162         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85163         [generic bits/ioctls.h] (common-generated): Do not append to
85164         variable.
85165         [generic sys/syscall.h] (syscall.h): Remove variable.
85166         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85167         rule.
85168         [generic sys/syscall.h] (before-compile): Do not append to
85169         variable.
85170         [generic sys/syscall.h] (common-generated): Likewise.
85171         * sysdeps/unix/errnos-tmpl.c: Remove file.
85172         * sysdeps/unix/errnos.awk: Likewise.
85173         * sysdeps/unix/ioctls-tmpl.c: Likewise.
85174         * sysdeps/unix/ioctls.awk: Likewise.
85175         * sysdeps/unix/mk-local_lim.c: Likewise.
85176         * sysdeps/unix/snarf-ioctls: Likewise.
85178 2012-03-19  Richard Henderson  <rth@twiddle.net>
85180         * sysdeps/i386/fpu/fenv_private.h: New file.
85181         * sysdeps/i386/fpu/math_private.h: Use it.
85182         (math_opt_barrier, math_force_eval): Remove.
85183         (libc_feholdexcept_setround_53bit): Remove.
85184         (libc_feupdateenv_53bit): Remove.
85185         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85186         (math_opt_barrier, math_force_eval): Remove.
85187         (libc_feholdexcept): Remove.
85188         (libc_feholdexcept_setround): Remove.
85189         (libc_fetestexcept, libc_fesetenv): Remove.
85190         (libc_feupdateenv_test): Remove.
85191         (libc_feupdateenv, libc_feholdsetround): Remove.
85192         (libc_feresetround): Remove.
85194         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85195         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85197         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85198         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85199         (libc_feupdateenv_testl): New.
85200         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85201         (libc_feupdateenv_testf): New.
85202         (libc_feupdateenv): Use libc_feupdateenv_test.
85203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85204         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85206         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85207         (libc_feholdsetroundf, libc_feholdsetroundl): New.
85208         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85209         (libc_feresetround_noex): New.
85210         (libc_feresetround_noexf): New.
85211         (libc_feresetround_noexl): New.
85212         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85213         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85214         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85215         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85216         SET_RESTORE_ROUND.
85217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85219         (__cos): Likewise.
85220         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85222         SET_RESTORE_ROUND_NOEX.
85223         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85224         SET_RESTORE_ROUND_NOEXF.
85225         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85226         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85227         (libc_feholdsetroundf): New.
85228         (libc_feresetround, libc_feresetroundf): New.
85230         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85231         (libc_feholdexcept_setround_53bit): Convert from macro to function.
85232         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
85234         * sysdeps/generic/math_private.h: Include <fenv.h>.
85235         (default_libc_feholdexcept): New.
85236         (default_libc_feholdexcept_setround): New.
85237         (default_libc_fesetenv, default_libc_feupdateenv): New.
85238         (libc_feholdexcept): Only define if undefined.
85239         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85240         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85241         (libc_feholdexcept_setroundl): Likewise.
85242         (libc_feholdexcept_setround_53bit): Likewise.
85243         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85244         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85245         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85246         (libc_feupdateenv_53bit): Likewise.
85247         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85248         (libc_feholdexcept): Convert from macro to inline function.
85249         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85250         (libc_fesetenv, libc_feupdateenv): Likewise.
85252         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85253         not previously defined.
85254         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85255         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85256         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85257         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85258         * sysdeps/ieee754/flt-32/math_private.h: New file.
85259         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85260         math_private.h below SET_FLOAT_WORD.
85261         (__isnan, __isinf_ns, __finite): Remove.
85262         (__isnanf, __isinf_nsf, __finitef): Remove.
85264 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
85266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85268 2012-03-17  David S. Miller  <davem@davemloft.net>
85270         [BZ #6471]
85271         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85272         for 2.16.
85274 2012-03-16  David S. Miller  <davem@davemloft.net>
85276         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85277         warnings.
85279         [BZ #6471]
85280         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85281         properly.
85282         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85283         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85284         sysdep_routines when subdir is sysvipc.
85285         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85286         __getshmlba helper.
85288         * sysdeps/sparc/fpu/libm-test/ulps: Update.
85290 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85292         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85293         [__LP64__].
85295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85297         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85298         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85299         (__lround): Renamed to ...
85300         (__llround): This.  Replace long int with long long int.
85301         Define lround functions as aliases of llround functions.
85302         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85304 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85306         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85307         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
85308         adresses to uintptr_t.  Replace "long int" and "unsigned long
85309         int" with "greg_t" on va_arg.
85311 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85313         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85314         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85316         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85317         Move e_machine check before EI_CLASS check.  Handle x32
85318         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85319         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85320         SKIP_EM_IA_64 and include
85321         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85323         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85324         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85325         (add_system_dir): New macro.
85327         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85328         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85330 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85332         [BZ #2551]
85333         [BZ #2552]
85334         [BZ #2553]
85335         [BZ #2554]
85336         [BZ #2562]
85337         [BZ #2563]
85338         [BZ #2565]
85339         [BZ #2566]
85340         [BZ #2576]
85341         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85342         (y0): Likewise.
85343         * math/w_j0f.c (j0f): Likewise.
85344         (y0f): Likewise.
85345         * math/w_j0l.c (__j0l): Likewise.
85346         (__y0l): Likewise.
85347         * math/w_j1.c (j1): Likewise.
85348         (y1): Likewise.
85349         * math/w_j1f.c (j1f): Likewise.
85350         (y1f): Likewise.
85351         * math/w_j1l.c (__j1l): Likewise.
85352         (__y1l): Likewise.
85353         * math/w_jn.c (jn): Likewise.
85354         (yn): Likewise.
85355         * math/w_jnf.c (jnf): Likewise.
85356         (ynf): Likewise.
85357         * math/w_jnl.c (__jnl): Likewise.
85358         (__ynl): Likewise.
85359         * math/libm-test.inc (j0_test): Add more tests.
85360         (j1_test): Likewise.
85361         (jn_test): Likewise.  Add trailing semicolon to existing test.
85362         (y0_test): Likewise.
85363         (y1_test): Likewise.
85364         * sysdeps/i386/fpu/libm-test-ulps: Update.
85365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85367         [BZ #13851]
85368         [BZ #13854]
85369         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85370         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85371         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85372         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85373         (__tanl): Set errno for infinite argument.
85374         * sysdeps/i386/fpu/mptan.c: Remove.
85375         * sysdeps/i386/fpu/s_tan.S: Likewise.
85376         * sysdeps/i386/fpu/s_tanl.S: Likewise.
85377         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85378         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85379         * math/libm-test.inc (tan_test): Add more tests and enable more
85380         tests for double and long double.
85381         * sysdeps/i386/fpu/libm-test-ulps: Update.
85382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85384 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
85386         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85387         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85389 2012-03-16  Roland McGrath  <roland@hack.frob.com>
85391         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85392         * configure.in: Use it for both main tree and add-ons.
85393         * configure: Regenerated.
85395 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85397         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85399 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85401         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
85402         in comment.
85404         [BZ #13851]
85405         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
85406         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
85410         infinite argument.
85411         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85412         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85413         != 0 for prec == 2.
85414         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85415         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85416         * sysdeps/i386/fpu/s_cosl.S: Likewise.
85417         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85418         * sysdeps/i386/fpu/s_sinl.S: Likewise.
85419         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85420         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85421         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85422         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85423         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85424         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85425         * math/libm-test.inc (cos_test): Add more tests and enable more
85426         tests for long double.
85427         (sin_test): Likewise.
85428         (sincos_test): Likewise.
85429         * sysdeps/i386/fpu/libm-test-ulps: Update.
85430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85432 2012-03-16  David S. Miller  <davem@davemloft.net>
85434         * sysdeps/sparc/fpu/math_private.h: New file.
85436 2012-03-15  David S. Miller  <davem@davemloft.net>
85438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85439         file.
85440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85442         file.
85443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85449         sysdep routines.
85450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85452         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85453         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85455         * sysdeps/sparc/sparc-ifunc.h: New file.
85456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85457         sparc-ifunc.h
85458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85460         Likewise.
85461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85462         Likewise.
85463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85467         Likewise.
85468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85473         Likewise.
85474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85475         Likewise.
85476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85482         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85483         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85494         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85495         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85496         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85497         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85498         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85499         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85501 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85503         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85504         scaling.
85505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85507 2012-03-15  Andreas Jaeger  <aj@suse.de>
85509         [BZ #13852]
85510         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85511         ieee754/flt-32 implementation for sin, cos and sincos.
85512         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85513         * sysdeps/i386/fpu/s_cosf.S: Likewise.
85514         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85515         * sysdeps/i386/fpu/s_sinf.S: Likewise.
85516         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85517         ieee754/flt-32 implementation for tan.
85519         * math/libm-test.inc (cos_test): Enable some large input tests for
85520         float as well
85521         (sin_test): Likewise.
85522         (sincos_test): Likewise.
85523         (tan_test): Add tests for large input.
85525         * sysdeps/i386/fpu/libm-test-ulps: Update.
85527 2012-03-15  Andreas Jaeger  <aj@suse.de>
85529         [BZ #13658]
85530         * math/libm-test.inc (cos_test): Add more test cases.
85531         (sin_test): Likewise.
85532         (sincos_test): Likewise.
85534 2012-03-15  Andreas Jaeger  <aj@suse.de>
85536         [BZ #13837]
85537         * math/libm-test.inc (cos_test): Add a test case for large input
85538         value.
85539         (sin_test): Likewise.
85540         (sincos_test): Likewise.
85542 2012-03-15  Andreas Jaeger  <aj@suse.de>
85543             Joseph Myers  <joseph@codesourcery.com>
85545         [BZ #13658]
85546         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85547         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85548         * sysdeps/i386/fpu/branred.c: Likewise.
85549         * sysdeps/i386/fpu/dosincos.c: Likewise.
85550         * sysdeps/i386/fpu/mpa.c: Likewise.
85551         * sysdeps/i386/fpu/s_cos.S: Likewise.
85552         * sysdeps/i386/fpu/s_sin.S: Likewise.
85553         * sysdeps/i386/fpu/s_sincos.S: Likewise.
85554         * sysdeps/i386/fpu/sincos32.c: Likewise.
85556         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85557         Define.
85558         (libc_feupdateenv_53bit): Define.
85559         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85560         Define.
85561         (libc_feupdateenv_53bit): Define.
85563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85564         53 bit (without extend i386 double precision).
85566         * math/libm-test.inc (sincos_test): Add tests for large input.
85567         (sin): Likewise.
85568         (cos): Likewise.
85570         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85572 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85576 2012-03-15  David S. Miller  <davem@davemloft.net>
85578         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85579         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85580         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85581         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85594         file.
85595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85597         file.
85598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85600         file.
85601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85603         file.
85604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85606         fmin/fmax sysdep routines.
85607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85609 2012-03-14  David S. Miller  <davem@davemloft.net>
85611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85616         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85617         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85618         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85632         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85633         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85634         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85636         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85637         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85638         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85640         routines.
85641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85642         file.
85643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85645         file.
85646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85648         file.
85649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85651         file.
85652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85654         file.
85655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85657         file.
85658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85659         file.
85660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85661         file.
85662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85663         file.
85664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85665         New file.
85666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85667         file.
85668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85669         file.
85670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85672         file.
85673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85675         file.
85676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85678         file.
85679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85681         VIS3 routines.
85683         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85684         New file.
85686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85688         * sysdeps/sparc/configure.in: New file.
85689         * sysdeps/sparc/configure: Generate.
85690         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85691         * configure: Regenerate.
85692         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85693         * config.make.in (have-as-vis3): New.
85694         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85695         available use -Av9d instead of -Av9a.
85696         * sysdeps/sparc/sparc64/Makefile: Likewise.
85697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85699         New file.
85700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85701         file.
85702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85703         New file.
85704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85705         file.
85706         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85708         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85709         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85710         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85712         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85713         fzeros/fnegs to load 0x80000000 into a float register instead of
85714         using the stack.
85715         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85717 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85720         bits/syscall.h.
85721         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85722         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85723         ($(inst_includedir)/bits/syscall.h): Remove rule.
85724         ($(objpfx)bits/syscall.d): Include instead of
85725         $(objpfx)syscall-list.d.
85726         (generated): Change syscall-list.h and syscall-list.d to
85727         bits/syscall.h and bits/syscall.d.
85729 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85731         [BZ #13846]
85732         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85734 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85736         [BZ #13841]
85737         * math/s_csqrt.c: Include <float.h>.
85738         (__csqrt): Scale large or subnormal inputs.
85739         * math/s_csqrtf.c: Likewise.
85740         * math/s_csqrtl.c: Likewise.
85741         * math/libm-test.inc (csqrt_test): Add more tests.
85742         * sysdeps/i386/fpu/libm-test-ulps: Update.
85743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85745         [BZ #13840]
85746         * math/libm-test.inc (hypot_test): Add more tests.
85748 2012-03-13  David S. Miller  <davem@davemloft.net>
85750         [BZ #13840]
85751         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85752         double-precision for the calculation instead of scaling.
85754 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85756         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85757         manipulate bits before adding and subtracting TWO52[sx].
85758         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85759         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85760         Likewise.
85761         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85763 2012-03-13  David S. Miller  <davem@davemloft.net>
85765         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85766         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85767         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85768         rtld-global-offsets.h
85769         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85771         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85772         large parameters.
85774         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85776         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85777         'err' in the ifdef scope in which it is actually used.
85779         * nss/nss_db/db-init.c: Include string.h
85781 2012-03-12  David S. Miller  <davem@davemloft.net>
85783         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85784         masking out of the most significant byte of random value used.
85785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85786         Fix coding style in previous change.
85788         * sysdeps/unix/sysv/linux/kernel-features.h
85789         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85790         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85791         expression.
85792         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85793         later.
85795 2012-03-11  David S. Miller  <davem@davemloft.net>
85797         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85798         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85799         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85800         for 'resultvar' otherwise things get truncated on 64-bit.
85802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85803         Fix masking out of the most significant byte of random value used.
85805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85807 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85811 2012-03-09  David S. Miller  <davem@davemloft.net>
85813         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85814         variables with appropriate CPP guards.
85815         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85816         from the frame pointer, not the stack pointer.  Correct layout
85817         comments.  Fix test on resulting framesize and the management of
85818         the outregs buffer for pltexit.  Preserve floating point return
85819         values across _dl_call_pltexit call.
85820         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85821         framesize and the management of the outregs buffer for pltexit.
85822         Preserve floating point return values across _dl_call_pltexit
85823         call.
85824         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85825         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85826         (la_sparc64_gnu_pltexit): New functions.
85827         (print_exit): Fix format string for return register value.
85829 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85831         * sunrpc/Makefile (others): Add rpcgen.
85832         ($(objpfx)rpcgen): Remove special build rule and dependency on
85833         libc.
85834         * sunrpc/rpcgen.c: New file.
85836 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85838         [BZ #13673]
85839         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85840         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85841         * sysdeps/i386/crti.S: Likewise.
85842         * sysdeps/i386/crtn.S: Likewise.
85843         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85844         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85845         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85846         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85847         * sysdeps/sh/crti.S: Likewise.
85848         * sysdeps/sh/crtn.S: Likewise.
85849         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85851         [BZ #13673]
85852         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85853         with URL.
85854         * locale/programs/locfile-kw.gperf: Likewise.
85855         * locale/programs/charmap-kw.h: Regenerated.
85856         * locale/programs/locfile-kw.h: Likewise.
85858         [BZ #13673]
85859         * intl/plural.y: Replace FSF snail mail address with URL.
85860         * intl/plural.c: Regenerated.
85862 2012-03-09  Richard Henderson  <rth@twiddle.net>
85864         * include/math_private.h: Remove file.
85865         * math/math_private.h: Move file ...
85866         * sysdeps/generic/math_private.h: ... here.
85868         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85869         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85870         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85872         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85873         and <math_private.h>.
85874         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85875         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85876         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85877         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85878         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85879         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85880         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85881         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85882         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85883         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85885         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85886         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85887         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85888         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85889         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85890         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85891         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85892         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85893         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85895         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85896         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85897         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85898         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85899         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85900         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85901         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85903         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85904         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85905         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85906         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85907         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85908         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85909         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85910         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85911         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85912         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85913         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85914         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85915         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85916         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85917         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85918         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85919         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85920         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85921         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85922         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85923         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85924         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85925         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85926         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85927         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85928         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85929         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85930         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85931         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85932         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85933         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85934         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85935         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85937         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85938         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85939         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85940         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85941         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85942         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85943         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85944         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85945         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85946         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85947         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85948         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85951         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85952         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85953         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85954         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85955         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85956         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85957         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85958         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85959         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85961         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85962         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85963         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85964         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85965         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85966         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85967         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85968         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85969         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85970         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85971         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85972         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85973         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85974         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85975         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85976         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85977         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85978         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85979         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85980         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85981         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85982         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85984         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85985         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85986         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85987         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85988         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85989         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85990         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85991         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85992         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85993         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85994         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85995         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85996         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85997         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85998         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85999         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86000         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86001         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86002         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86003         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86004         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86005         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86006         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86007         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86008         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86009         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86010         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86011         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86012         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86013         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86014         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86015         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86016         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86017         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86018         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86019         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86020         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86021         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86022         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86023         * sysdeps/ieee754/k_standard.c: Likewise.
86024         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86025         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86026         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86027         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86028         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86029         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86030         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86031         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86032         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86033         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86034         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86035         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86036         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86037         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86038         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86039         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86040         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86041         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86042         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86043         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86044         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86045         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86046         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86047         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86048         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86049         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86050         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86051         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86052         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86053         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86054         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86055         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86056         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86057         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86058         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86059         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86060         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86061         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86062         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86063         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86066         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86067         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86068         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86069         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86070         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86074         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86075         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86076         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86077         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86078         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86079         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86080         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86081         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86082         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86083         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86084         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86085         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86086         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86087         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86090         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86091         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86092         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86093         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86096         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86098         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86100         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86103         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86104         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86105         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86106         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86109         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86110         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86111         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86112         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86113         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86114         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86115         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86116         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86117         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86118         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86119         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86120         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86121         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86122         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86123         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86124         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86125         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86126         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86127         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86128         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86131         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86132         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86133         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86134         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86135         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86136         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86137         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86138         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86140         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86141         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86142         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86143         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86144         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86145         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86146         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86147         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86148         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86149         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86150         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86151         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86152         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86153         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86154         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86155         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86156         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86157         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86158         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86159         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86160         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86161         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86162         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86163         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86164         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86165         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86166         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86167         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86168         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86169         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86170         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86171         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86172         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86173         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86174         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86175         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86176         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86177         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86178         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86179         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86180         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86181         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86182         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86183         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86184         * sysdeps/ieee754/s_lib_version.c: Likewise.
86185         * sysdeps/ieee754/s_matherr.c: Likewise.
86186         * sysdeps/ieee754/s_signgam.c: Likewise.
86187         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86188         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86189         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86190         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86191         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86192         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86193         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86194         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86195         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86196         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86197         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86198         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86199         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86200         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86201         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86203         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86204         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86205         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86206         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86207         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86209 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86211         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86212         * sunrpc/rpc_main.c: Likewise.
86213         * sunrpc/rpc_svcout.c: Likewise.
86215 2012-03-09  David S. Miller  <davem@davemloft.net>
86217         * include/math_private.h: New file.
86219 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86221         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86222         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86223         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86224         from <bits/socket_type.h>.
86225         (enum __socket_type): Don't define here.
86226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86228         bits/socket_type.h.
86230         [BZ #13566]
86231         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86232         checking __USE_GNU.
86234         * Makerules ($(inst_includedir)/%.h): New rule.
86235         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86236         (install-others): Remove variable setting.
86237         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86239 2012-03-08  Richard Henderson  <rth@twiddle.net>
86241         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86242         from macro to inline function; merge with the
86243         !__LIBC_INTERNAL_MATH_INLINES version.
86244         (__ieee754_sqrtf): Likewise.
86246         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86247         to inline function.
86248         (__rintf, __floor, __floorf): Likewise.
86250         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86251         macro to inline function.
86252         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86254         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86255         not <math/math_private.h>.
86257 2012-03-08  David S. Miller  <davem@davemloft.net>
86259         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86260         copyright year.
86261         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86263 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
86265         * resolv/gai_misc.c (handle_requests): Fix struct timespec
86266         normalization.
86267         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86268         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86270 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
86272         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
86273         be defined individually, they must be defined as a block.  Define
86274         S for printing a string instead of hidint the different by using a
86275         macro for adding the 'l'.
86276         * stdio-common/tst-fphex-wide.c: Adjust.
86278 2012-03-07  Marek Polacek  <polacek@redhat.com>
86280         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86282 2012-03-08  Marek Polacek  <polacek@redhat.com>
86284         [BZ #13806]
86285         * stdio-common/Makefile (tests): Add tst-fphex-wide.
86286         * stdio-common/tst-fphex.c: Define a few macros to make the
86287         test reusable.  Use them.
86288         * stdio-common/tst-fphex-wide.c: New file.
86290 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
86292         [BZ #6911]
86293         * manual/macros.texi (gnusystems): New macro.
86294         (nongnusystems): Likewise.
86295         (gnulinuxhurdsystems): Likewise.
86296         (gnuhurdsystems): Likewise..
86297         (gnulinuxsystems): Likewise.
86298         * manual/charset.texi: Use new macros or @theglibc{} to refer to
86299         variants of the GNU system, not "GNU system".
86300         * manual/conf.texi: Likewise.
86301         * manual/errno.texi: Likewise.  Update example of errno macro
86302         expansion.
86303         * manual/filesys.texi: Likewise.
86304         (getumask): Document as specific to GNU/Hurd.
86305         * manual/install.texi: Likewise.  Reword some references to
86306         GNU/Linux.
86307         * manual/intro.texi: Likewise.
86308         * manual/io.texi: Likewise.
86309         (File Name Portability): Detail which constraints are inapplicable
86310         to all GNU systems and which are only inapplicable to GNU/Hurd.
86311         * manual/job.texi: Likewise.
86312         * manual/llio.texi: Likewise.
86313         (O_NOCTTY): Document as present on GNU/Linux.
86314         * manual/maint.texi: Likewise.
86315         * manual/memory.texi: Likewise.
86316         * manual/pattern.texi: Likewise.
86317         * manual/pipe.texi: Likewise.
86318         * manual/process.texi: Likewise.
86319         * manual/resource.texi: Likewise.
86320         (RUSAGE_CHILDREN): Remove statement about specifying a particular
86321         child on GNU/Hurd.
86322         * manual/setjmp.texi: Likewise.
86323         * manual/signal.texi: Likewise.
86324         * manual/startup.texi: Likewise.
86325         * manual/stdio.texi: Likewise.
86326         * manual/terminal.texi: Likewise.
86327         (ONLCR): Document as POSIX.
86328         (OXTABS): Document availability on GNU/Linux as XTABS.
86329         (ONOEOT): Document availability separately from other bits.
86330         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86331         * manual/time.texi: Likewise.
86332         * manual/users.texi: Likewise.
86333         * INSTALL: Regenerated.
86334         * sysdeps/gnu/errlist.c: Regenerated.
86336         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86337         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86338         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
86339         puts.
86340         * configure: Regenerated.
86342 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
86344         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86345         default includes instead of AC_HEADER_CHECK.
86346         * sysdeps/i386/configure: Regenerated.
86348         [BZ #10716]
86349         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86350         * math/s_cacoshf.c (__cacoshf): Likewise.
86351         * math/s_cacoshl.c (__cacoshl): Likewise.
86352         * math/s_casinh.c (__casinh): Set signs of result from argument.
86353         * math/s_casinhf.c (__casinhf): Likewise.
86354         * math/s_casinhl.c (__casinhl): Likewise.
86355         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86356         (casinh_test): Add more tests.
86357         * sysdeps/i386/fpu/libm-test-ulps: Update.
86358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86360 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
86362         * po/zh_TW.po: Update from translation team.
86364         * login/Makefile (distribute): Remove variable.
86365         * catgets/Makefile: Likewise.
86366         * mach/Makefile: Likewise.
86367         * malloc/Makefile: Likewise.
86368         * misc/Makefile: Likewise.
86369         * iconv/Makefile: Likewise.
86370         * nscd/Makefile: Likewise.
86371         * hurd/Makefile: Likewise.
86372         * manual/Makefile: Likewise.
86373         * locale/Makefile: Likewise.
86374         * intl/Makefile: Likewise.
86375         * conform/Makefile: Likewise.
86376         * nss/Makefile: Likewise.
86377         * time/Makefile: Likewise.
86378         * soft-fp/Makefile: Likewise.
86379         * dirent/Makefile: Likewise.
86380         * gmon/Makefile: Likewise.
86381         * po/Makefile: Likewise.
86382         * rt/Makefile: Likewise.
86383         * socket/Makefile: Likewise.
86384         * math/Makefile: Likewise.
86385         * signal/Makefile: Likewise.
86386         * debug/Makefile: Likewise.
86387         * elf/Makefile: Likewise.
86388         * timezone/Makefile: Likewise.
86389         * stdlib/Makefile: Likewise.
86390         * iconvdata/Makefile: Likewise.
86391         * sunrpc/Makefile: Likewise.
86392         * io/Makefile: Likewise.
86393         * argp/Makefile: Likewise.
86394         * inet/Makefile: Likewise.
86395         * hesiod/Makefile: Likewise.
86396         * grp/Makefile: Likewise.
86397         * csu/Makefile: Likewise.
86398         * wctype/Makefile: Likewise.
86399         * crypt/Makefile: Likewise.
86400         * libio/Makefile: Likewise.
86401         * string/Makefile: Likewise.
86402         * nis/Makefile: Likewise.
86403         * resolv/Makefile: Likewise.
86404         * stdio-common/Makefile: Likewise.
86405         * wcsmbs/Makefile: Likewise.
86406         * dlfcn/Makefile: Likewise.
86407         * posix/Makefile: Likewise.
86409         [BZ #6959]
86410         * timezone/Makefile: Don't install timezone files, just the programs
86411         and scripts.
86413 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
86415         * nss/databases.def: Add missing gshadow entry.
86417         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
86419 2012-03-06  Marek Polacek  <polacek@redhat.com>
86421         [BZ #13726]
86422         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86423         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86424         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86425         * stdio-common/tst-long-dbl-fphex.c: New file.
86427 2012-03-06  David S. Miller  <davem@davemloft.net>
86429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86430         (set_obp_int): New function.
86431         (get_obp_int): New function.
86432         (__get_clockfreq_via_dev_openprom): Likewise.
86433         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86434         Avoid unused variable warnings on 'val' and use builtin_expect.
86435         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86436         __builtin_expect.
86437         (INLINE_CLONE_SYSCALL): Likewise.
86439 2012-03-05  David S. Miller  <davem@davemloft.net>
86441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86443 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
86445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86447         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86448         only for |x| >= 40.
86449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86451 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
86453         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86454         Replace gettimeofday with __vdso_gettimeofday.
86456         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86457         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86458         __vdso_clock_gettime and __vdso_getcpu.
86460         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86461         time with __vdso_time.
86463 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86465         * manual/lang.texi (size_t): Note types to which size_t may be
86466         equivalent with the GNU C Library, but do not describe when
86467         differences between them are significant.
86469 2012-03-05  Andreas Jaeger  <aj@suse.de>
86471         * sysdeps/i386/fpu/libm-test-ulps: Update.
86473 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86475         [BZ #3976]
86476         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86477         (__ieee754_pow): Save and restore rounding mode and use
86478         round-to-nearest for main computations.
86479         * math/libm-test.inc (pow_test_tonearest): New function.
86480         (pow_test_towardzero): Likewise.
86481         (pow_test_downward): Likewise.
86482         (pow_test_upward): Likewise.
86483         (main): Call the new functions.
86484         * sysdeps/i386/fpu/libm-test-ulps: Update.
86485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86487         [BZ #3976]
86488         * math/libm-test.inc (cosh_test_tonearest): New function.
86489         (cosh_test_towardzero): Likewise.
86490         (cosh_test_downward): Likewise.
86491         (cosh_test_upward): Likewise.
86492         (sinh_test_tonearest): Likewise.
86493         (sinh_test_towardzero): Likewise.
86494         (sinh_test_downward): Likewise.
86495         (sinh_test_upward): Likewise.
86496         (main): Call the new functions.
86497         * sysdeps/i386/fpu/libm-test-ulps: Update.
86498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86500 2012-03-05  Tom de Vries  <tom@codesourcery.com>
86502         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86503         default stack guard is set in last bytes.
86504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86506 2012-03-05  Kees Cook  <keescook@chromium.org>
86508         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86510         [BZ #13656]
86511         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86512         possibly allocate from heap instead of stack.
86513         * stdio-common/bug-vfprintf-nargs.c: New file.
86514         * stdio-common/Makefile (tests): Add nargs overflow test.
86516 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
86518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86520 2012-03-03  Marek Polacek  <polacek@redhat.com>
86522         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86523         * math/math_private.h: Likewise.
86524         * stdlib/tst-strtod.c: Likewise.
86525         * sysdeps/i386/i486/bits/atomic.h: Likewise.
86526         * sysdeps/x86_64/bits/atomic.h: Likewise.
86528 2012-03-02  David S. Miller  <davem@davemloft.net>
86530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86534         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86535         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86536         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86537         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86539 2012-03-02  Roland McGrath  <roland@hack.frob.com>
86541         [BZ #13792]
86542         * manual/examples/README: New file, says the example source files
86543         can be used under GPL>=2.
86544         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86545         line containing just "*/".
86546         * manual/examples/add.c: Add copyright header (GPL>=2).
86547         * manual/examples/argp-ex1.c: Likewise.
86548         * manual/examples/argp-ex2.c: Likewise.
86549         * manual/examples/argp-ex3.c: Likewise.
86550         * manual/examples/argp-ex4.c: Likewise.
86551         * manual/examples/atexit.c: Likewise.
86552         * manual/examples/db.c: Likewise.
86553         * manual/examples/dir.c: Likewise.
86554         * manual/examples/dir2.c: Likewise.
86555         * manual/examples/execinfo.c: Likewise.
86556         * manual/examples/filecli.c: Likewise.
86557         * manual/examples/filesrv.c: Likewise.
86558         * manual/examples/fmtmsgexpl.c: Likewise.
86559         * manual/examples/genpass.c: Likewise.
86560         * manual/examples/inetcli.c: Likewise.
86561         * manual/examples/inetsrv.c: Likewise.
86562         * manual/examples/isockad.c: Likewise.
86563         * manual/examples/longopt.c: Likewise.
86564         * manual/examples/memopen.c: Likewise.
86565         * manual/examples/memstrm.c: Likewise.
86566         * manual/examples/mkfsock.c: Likewise.
86567         * manual/examples/mkisock.c: Likewise.
86568         * manual/examples/mygetpass.c: Likewise.
86569         * manual/examples/pipe.c: Likewise.
86570         * manual/examples/popen.c: Likewise.
86571         * manual/examples/rprintf.c: Likewise.
86572         * manual/examples/search.c: Likewise.
86573         * manual/examples/select.c: Likewise.
86574         * manual/examples/setjmp.c: Likewise.
86575         * manual/examples/sigh1.c: Likewise.
86576         * manual/examples/sigusr.c: Likewise.
86577         * manual/examples/stpcpy.c: Likewise.
86578         * manual/examples/strdupa.c: Likewise.
86579         * manual/examples/strftim.c: Likewise.
86580         * manual/examples/strncat.c: Likewise.
86581         * manual/examples/subopt.c: Likewise.
86582         * manual/examples/swapcontext.c: Likewise.
86583         * manual/examples/termios.c: Likewise.
86584         * manual/examples/testopt.c: Likewise.
86585         * manual/examples/testpass.c: Likewise.
86586         * manual/examples/timeval_subtract.c: Likewise.
86588         [BZ #13792]
86589         * manual/time.texi (Elapsed Time): Move timeval_subtract example
86590         function to ...
86591         * manual/timeval_subtract.c.texi: ... here, new file.
86593 2012-03-02  David S. Miller  <davem@davemloft.net>
86595         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86597 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
86599         [BZ #3976]
86600         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86601         (__sin): Save and restore rounding mode and use round-to-nearest
86602         for all computations.
86603         (__cos): Save and restore rounding mode and use round-to-nearest
86604         for all computations.
86605         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86606         <fenv.h>.
86607         (tan): Save and restore rounding mode and use round-to-nearest for
86608         all computations.
86609         * math/libm-test.inc (cos_test_tonearest): New function.
86610         (cos_test_towardzero): Likewise.
86611         (cos_test_downward): Likewise.
86612         (cos_test_upward): Likewise.
86613         (sin_test_tonearest): Likewise.
86614         (sin_test_towardzero): Likewise.
86615         (sin_test_downward): Likewise.
86616         (sin_test_upward): Likewise.
86617         (tan_test_tonearest): Likewise.
86618         (tan_test_towardzero): Likewise.
86619         (tan_test_downward): Likewise.
86620         (tan_test_upward): Likewise.
86621         (main): Call the new functions.
86622         * sysdeps/i386/fpu/libm-test-ulps: Update.
86623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86625         [BZ #10135]
86626         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86627         small n, then large n, before computing and testing k+n.
86628         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86630         Likewise.
86631         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86632         Likewise.
86633         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86634         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86639         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86640         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86641         * math/libm-test.inc (scalbn_test): Add more tests.
86642         (scalbln_test): Likewise.
86644         * manual/filesys.texi (mode_t): Describe constraints on size and
86645         signedness, not exact equivalence to a particular type.
86646         (ino_t): Likewise.
86647         (ino64_t): Likewise.
86648         (dev_t): Likewise.
86649         (nlink_t): Likewise.
86650         (blkcnt_t): Likewise.
86651         (blkcnt64_t): Likewise.
86652         * manual/llio.texi (off_t): Likewise.
86654         [BZ #3976]
86655         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86656         (__ieee754_exp): Save and restore rounding mode and use
86657         round-to-nearest for all computations.
86658         * math/libm-test.inc (exp_test_tonearest): New function.
86659         (exp_test_towardzero): Likewise.
86660         (exp_test_downward): Likewise.
86661         (exp_test_upward): Likewise.
86662         (main): Call the new functions.
86663         * sysdeps/i386/fpu/libm-test-ulps: Update.
86664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86666 2012-03-01  Chris Demetriou  <cgd@google.com>
86668         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86669         have predictable order.
86671 2012-03-01  David S. Miller  <davem@davemloft.net>
86673         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86675         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86676         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86677         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86678         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86680         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86681         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86682         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86684         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86685         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86686         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86687         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86688         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86692         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86693         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86694         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86696         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86697         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86698         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86699         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86700         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86701         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86702         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86703         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86704         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86705         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86706         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86707         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86709         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86710         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86712         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86713         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86714         * sysdeps/sparc/elf/configure: Regenerated.
86716 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86718         * configure.in (AS, LD): Require binutils 2.20 or later.
86719         * configure: Regenerated.
86720         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86721         as required minimum version.
86722         * INSTALL: Regenerated.
86724         [BZ #2541]
86725         [BZ #4108]
86726         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86727         before squaring exponent.
86728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86729         bottom long double and 27 bits of top long double before squaring
86730         exponent.
86731         * math/libm-test.inc (erfc_test): Add more tests.
86732         * sysdeps/i386/fpu/libm-test-ulps: Update.
86733         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86736 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86738         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86739         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86740         containing bit-fields.
86741         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86742         * soft-fp/single.h (_FP_UNION_S): Likewise.
86743         * soft-fp/double.h (_FP_UNION_D): Likewise.
86745 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86747         [BZ #13786]
86748         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86749         not include ../strcmp.S.
86750         [USE_AS_STRNCASECMP_L]: Likewise.
86751         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86752         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86753         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86754         (__strncasecmp_l_ia32): Define as alias to
86755         __strncasecmp_l_nonascii.
86757         [BZ #5794]
86758         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86759         * sysdeps/i386/fpu/libm-test-ulps: Update.
86760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86762         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86765 2012-02-29  Jeff Law  <law@redhat.com>
86767         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86768         out of bounds read.
86770 2012-02-29  Marek Polacek  <polacek@redhat.com>
86772         [BZ #13706]
86773         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86774         * elf/Makefile: Add rules to run tst-unused-dep.out.
86776 2012-02-28  David S. Miller  <davem@davemloft.net>
86778         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86779         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86780         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86781         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86782         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86783         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86785 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86787         * math/libm-test.inc (llround_test): Move one test from
86788         lround_test.  Use TEST_f_L in moved test.
86789         (lround_test): Move misplaced test to llround_test.  Add testcase
86790         from bug 2561.
86792 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86794         * sysdeps/x86_64/fpu/e_expf.S: New file.
86795         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86797 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86799         [BZ #13637]
86800         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86801         of remain_len that may cause incomplete multi-byte character and
86802         false match.
86803         * posix/bug-regex33.c: New file.
86804         * posix/Makefile (tests): Add bug-regex33.
86806 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86808         * manual/macros.texi: New file.
86809         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86810         * manual/libc.texinfo: Include macros.texi.
86811         * manual/creatute.texi: Likewise.
86812         * manual/install.texi: Likewise.
86813         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86814         @glibcadj{} in references to the GNU C Library.
86815         * manual/charset.texi: Likewise.
86816         * manual/conf.texi: Likewise.
86817         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86818         when not using those macros.
86819         * manual/creature.texi: Likewise.
86820         * manual/crypt.texi: Likewise.
86821         * manual/errno.texi: Likewise.
86822         * manual/filesys.texi: Likewise.
86823         * manual/header.texi: Likewise.
86824         * manual/install.texi: Likewise.
86825         * manual/intro.texi: Likewise.
86826         * manual/io.texi: Likewise.
86827         * manual/job.texi: Likewise.
86828         * manual/lang.texi: Likewise.
86829         * manual/libc.texiinfo: Likewise.
86830         * manual/llio.texi: Likewise.
86831         * manual/locale.texi: Likewise.
86832         * manual/maint.texi: Likewise.
86833         * manual/math.texi: Likewise.
86834         * manual/memory.texi: Likewise.
86835         * manual/message.texi: Likewise.
86836         * manual/nss.texi: Likewise.
86837         * manual/pattern.texi: Likewise.
86838         * manual/process.texi: Likewise.
86839         * manual/resource.texi: Likewise.
86840         * manual/search.texi: Likewise.
86841         * manual/setjmp.texi: Likewise.
86842         * manual/signal.texi: Likewise.
86843         * manual/socket.texi: Likewise.
86844         * manual/startup.texi: Likewise.
86845         * manual/stdio.texi: Likewise.
86846         * manual/string.texi: Likewise.
86847         * manual/sysinfo.texi: Likewise.
86848         * manual/syslog.texi: Likewise.
86849         * manual/terminal.texi: Likewise.
86850         * manual/time.texi: Likewise.
86851         * manual/users.texi: Likewise.
86852         * INSTALL: Regenerated.
86853         * NOTES: Regenerated.
86854         * sysdeps/gnu/errlist.c: Regenerated.
86856 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86858         * include/dirent.h: Include <dirstream.h> before
86859         <dirent/dirent.h>.
86861 2012-02-28  David S. Miller  <davem@davemloft.net>
86863         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86864         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86865         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86866         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86868 2012-02-27  David S. Miller  <davem@davemloft.net>
86870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86872         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86873         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86876         frame pointer instead of stack pointer relative arg slot.
86877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86878         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86879         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86881 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86883         [BZ #3992]
86884         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86886 2012-02-27  David S. Miller  <davem@davemloft.net>
86888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86892         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86893         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86894         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86895         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86897 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86899         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86900         later.  Allow versions 5-9.
86901         * configure: Regenerated.
86902         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86903         required minimum version and 4.6 as recommended version.  Do not
86904         mention bugs in GCC 2.7 and 2.8.
86905         * INSTALL: Regenerated.
86907 2012-02-27  David S. Miller  <davem@davemloft.net>
86909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86913         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86914         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86915         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86916         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86918         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86919         manipulate bits before adding and subtracting TWO112[sx].
86920         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86922 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86924         [BZ #13775]
86925         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86926         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86927         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86928         being in POSIX, because they are in 1003.1-2008.
86930         * rt/tst-aio.c: Include <fcntl.h>.
86931         * rt/tst-aio7.c: Likewise.
86932         * rt/tst-aio64.c: Likewise.
86934         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86936 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86938         * manual/install.texi (--with-headers): Describe headers as
86939         interface headers, not private headers.
86940         (Specific advice for GNU/Linux systems): Describe use of headers
86941         from "make headers_install", not private headers from older
86942         kernels.
86943         * INSTALL: Regenerated.
86944         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86945         Change to 2.6.19.
86946         * sysdeps/unix/sysv/linux/configure: Regenerated.
86948         * manual/llio.texi (fclean): Remove documentation.
86950         * manual/Makefile (libc-texi-generated): New variable.  Include
86951         version.texi.
86952         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86953         $(libc-texi-generated), not duplicated list of files.
86954         (version.texi, stamp-version): New rules.
86955         (realclean): Remove $(libc-texi-generated), not individual files
86956         from that list.  Do not remove dir-add.texinfo.
86957         * manual/libc.texinfo: Comment out uses of edition numbers and
86958         references to printed manual.  Remove last-updated dates.
86959         (EDITION): Comment out.
86960         (ISBN): Likewise.
86961         (VERSION, UPDATED): Remove.
86962         (version.texi): Include.
86964 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86966         * sysdeps/posix/spawni.c: Include <signal.h>.
86967         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86968         * sysdeps/pthread/aio_fsync.c: Likewise.
86970 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86972         * conform/Makefile (tests): Run only when not cross-compiling and
86973         when fast-check is not defined.
86975         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86976         * conform/data/limits.h-data: Fixes for POSIX2008.
86977         * conform/run-conformtest.sh: Run all tests.
86978         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86979         headers.
86980         * include/bits/dlfcn.h: Likewise.
86981         * include/langinfo.h: Likewise.
86982         * include/monetary.h: Likewise.
86983         * include/sys/poll.h: Likewise.
86985         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86986         for __USE_GNU.
86987         * posix/spawn.h: Define __need_sigset_t.
86988         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86989         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86990         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86991         to get sigevent_t only.
86992         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86993         only for __USE_GNU.
86994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86995         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86996         process_vm_writev only for __USE_GNU.
86997         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86999         * conform/Makefile: For now ignore errors from run-conformtest.
87000         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87001         POSIX to avoid namespace pollution.  Don't prepend headers.
87002         * conform/data/aio.h-data: Fixes for POSIX testing.
87003         * conform/data/fcntl.h-data: Likewise.
87004         * conform/data/glob.h-data: Likewise.
87005         * conform/data/grp.h-data: Likewise.
87006         * conform/data/pthread.h-data: Likewise.
87007         * conform/data/pwd.h-data: Likewise.
87008         * conform/data/signal.h-data: Likewise.
87009         * conform/data/spawn.h-data: Likewise.
87010         * conform/data/stdio.h-data: Likewise.
87011         * conform/data/stdlib.h-data: Likewise.
87012         * conform/data/stropts.h-data: Likewise.
87013         * conform/data/sys/mman.h-data: Likewise.
87014         * conform/data/sys/stat.h-data: Likewise.
87015         * conform/data/sys/types.h-data: Likewise.
87016         * conform/data/sys/wait.h-data: Likewise.
87017         * conform/data/time.h-data: Likewise.
87018         * conform/data/unistd.h-data: Likewise.
87019         * conform/data/utime.h-data: Likewise.
87021         * io/sys/stat.h: fchmod was always in POSIX.
87022         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87023         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87024         * rt/aio.h: Define __need_timespec before including <time.h>.
87025         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87026         struct.  Add forward declaration of pthread_attr_t and use it in
87027         sigevent.
87028         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87029         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87030         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87031         always remove CLK_TCK definition.
87033 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87035         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87037 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87039         * conform/run-conformtest.sh: New file.
87040         * conform/Makefile: Run run-conformtest for tests.
87041         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87042         support.
87044         * conform/data/uchar.h-data: New file.
87045         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87046         * conform/data/arpa/inet.h-data: Likewise.
87047         * conform/data/assert.h-data: Likewise.
87048         * conform/data/complex.h-data: Likewise.
87049         * conform/data/cpio.h-data: Likewise.
87050         * conform/data/ctype.h-data: Likewise.
87051         * conform/data/dirent.h-data: Likewise.
87052         * conform/data/dlfcn.h-data: Likewise.
87053         * conform/data/errno.h-data: Likewise.
87054         * conform/data/fcntl.h-data: Likewise.
87055         * conform/data/float.h-data: Likewise.
87056         * conform/data/fmtmsg.h-data: Likewise.
87057         * conform/data/fnmatch.h-data: Likewise.
87058         * conform/data/ftw.h-data: Likewise.
87059         * conform/data/glob.h-data: Likewise.
87060         * conform/data/grp.h-data: Likewise.
87061         * conform/data/iconv.h-data: Likewise.
87062         * conform/data/inttypes.h-data: Likewise.
87063         * conform/data/langinfo.h-data: Likewise.
87064         * conform/data/libgen.h-data: Likewise.
87065         * conform/data/limits.h-data: Likewise.
87066         * conform/data/locale.h-data: Likewise.
87067         * conform/data/math.h-data: Likewise.
87068         * conform/data/monetary.h-data: Likewise.
87069         * conform/data/mqueue.h-data: Likewise.
87070         * conform/data/ndbm.h-data: Likewise.
87071         * conform/data/net/if.h-data: Likewise.
87072         * conform/data/netdb.h-data: Likewise.
87073         * conform/data/netinet/in.h-data: Likewise.
87074         * conform/data/nl_types.h-data: Likewise.
87075         * conform/data/poll.h-data: Likewise.
87076         * conform/data/pthread.h-data: Likewise.
87077         * conform/data/pwd.h-data: Likewise.
87078         * conform/data/regex.h-data: Likewise.
87079         * conform/data/sched.h-data: Likewise.
87080         * conform/data/search.h-data: Likewise.
87081         * conform/data/semaphore.h-data: Likewise.
87082         * conform/data/setjmp.h-data: Likewise.
87083         * conform/data/signal.h-data: Likewise.
87084         * conform/data/spawn.h-data: Likewise.
87085         * conform/data/stdarg.h-data: Likewise.
87086         * conform/data/stdio.h-data: Likewise.
87087         * conform/data/stdlib.h-data: Likewise.
87088         * conform/data/string.h-data: Likewise.
87089         * conform/data/strings.h-data: Likewise.
87090         * conform/data/stropts.h-data: Likewise.
87091         * conform/data/sys/ipc.h-data: Likewise.
87092         * conform/data/sys/mman.h-data: Likewise.
87093         * conform/data/sys/msg.h-data: Likewise.
87094         * conform/data/sys/resource.h-data: Likewise.
87095         * conform/data/sys/select.h-data: Likewise.
87096         * conform/data/sys/sem.h-data: Likewise.
87097         * conform/data/sys/shm.h-data: Likewise.
87098         * conform/data/sys/socket.h-data: Likewise.
87099         * conform/data/sys/stat.h-data: Likewise.
87100         * conform/data/sys/statvfs.h-data: Likewise.
87101         * conform/data/sys/time.h-data: Likewise.
87102         * conform/data/sys/timeb.h-data: Likewise.
87103         * conform/data/sys/times.h-data: Likewise.
87104         * conform/data/sys/types.h-data: Likewise.
87105         * conform/data/sys/uio.h-data: Likewise.
87106         * conform/data/sys/un.h-data: Likewise.
87107         * conform/data/sys/utsname.h-data: Likewise.
87108         * conform/data/sys/wait.h-data: Likewise.
87109         * conform/data/syslog.h-data: Likewise.
87110         * conform/data/tar.h-data: Likewise.
87111         * conform/data/termios.h-data: Likewise.
87112         * conform/data/utime.h-data: Likewise.
87113         * conform/data/utmpx.h-data: Likewise.
87114         * conform/data/varargs.h-data: Likewise.
87115         * conform/data/wchar.h-data: Likewise.
87116         * conform/data/wctype.h-data: Likewise.
87117         * conform/data/wordexp.h-data: Likewise.
87119         * include/stropts.h: New file.
87120         * include/uchar.h: New file.
87121         * include/aio.h: Changes to allow conformtest.pl to use the headers.
87122         * include/assert.h: Likewise.
87123         * include/ctype.h: Likewise.
87124         * include/dirent.h: Likewise.
87125         * include/dlfcn.h: Likewise.
87126         * include/fcntl.h: Likewise.
87127         * include/fnmatch.h: Likewise.
87128         * include/glob.h: Likewise.
87129         * include/grp.h: Likewise.
87130         * include/libio.h: Likewise.
87131         * include/locale.h: Likewise.
87132         * include/math.h: Likewise.
87133         * include/net/if.h: Likewise.
87134         * include/netdb.h: Likewise.
87135         * include/netinet/in.h: Likewise.
87136         * include/pthread.h: Likewise.
87137         * include/pwd.h: Likewise.
87138         * include/regex.h: Likewise.
87139         * include/sched.h: Likewise.
87140         * include/search.h: Likewise.
87141         * include/setjmp.h: Likewise.
87142         * include/signal.h: Likewise.
87143         * include/stdio.h: Likewise.
87144         * include/stdlib.h: Likewise.
87145         * include/string.h: Likewise.
87146         * include/sys/cdefs.h: Likewise.
87147         * include/sys/mman.h: Likewise.
87148         * include/sys/msg.h: Likewise.
87149         * include/sys/resource.h: Likewise.
87150         * include/sys/select.h: Likewise.
87151         * include/sys/socket.h: Likewise.
87152         * include/sys/stat.h: Likewise.
87153         * include/sys/statvfs.h: Likewise.
87154         * include/sys/time.h: Likewise.
87155         * include/sys/times.h: Likewise.
87156         * include/sys/uio.h: Likewise.
87157         * include/sys/utsname.h: Likewise.
87158         * include/sys/wait.h: Likewise.
87159         * include/termios.h: Likewise.
87160         * include/time.h: Likewise.
87161         * include/ulimit.h: Likewise.
87162         * include/unistd.h: Likewise.
87163         * include/utime.h: Likewise.
87164         * include/wchar.h: Likewise.
87165         * include/wctype.h: Likewise.
87166         * include/wordexp.h: Likewise.
87168         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87170         * time/time.h: TIME_UTC must be a macro.
87171         Make timespec_get available for ISO C11 only as well.
87173 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
87175         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87176         Reported by Peng Haitao <penght@cn.fujitsu.com>.
87178 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87180         * configure.in: Use -o not -a in test for unsupported multi-arch.
87182 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87184         * manual/texinfo.tex: Update to version 2012-01-19.16.
87186 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87188         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87190 2012-02-24  Roland McGrath  <roland@hack.frob.com>
87192         [BZ #13738]
87193         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87194         * manual/fdl-1.3.texi: New file.
87195         * manual/fdl-1.1.texi: File removed.
87197         [BZ #13738]
87198         * manual/libc.texinfo (FDL_VERSION): New @set.
87199         Use it for mention of FDL in cover text.
87200         (Documentation License): Use it in @include file name.
87202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87203             Roland McGrath  <roland@hack.frob.com>
87205         [BZ #5461]
87206         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87207         (not LONG_LONG_MAX and LONG_LONG_MIN.
87208         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87209         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
87210         name.
87211         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87215         [BZ #2547]
87216         [BZ #11365]
87217         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87218         manipulate bits before adding and subtracting TWO23[sx].
87219         * math/libm-test.inc (nearbyint_test): Add more tests.
87221 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87223         [BZ #2548]
87224         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87225         bits before adding and subtracting TWO23[sx].
87226         * math/libm-test.inc (rint_test): Add more tests.
87227         (rint_test_tonearest): Likewise.
87228         (rint_test_towardzero): Likewise.
87229         (rint_test_downward): Likewise.
87230         (rint_test_upward: Likewise.
87232 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87234         [BZ #10110]
87235         * include/stdc-predef.h: New file.  Extracted from features.h.
87236         * include/features.h: Include stdc-predef.h.
87237         * Makefile (headers): Add stdc-predef.h.
87238         * CONFORMANCE (Compiler limitations): Update.
87240 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87242         * manual/libc.texinfo (VERSION, UPDATED): Revert.
87244 2012-02-21  David S. Miller  <davem@davemloft.net>
87246         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87247         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87249 2012-02-20  David S. Miller  <davem@davemloft.net>
87251         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87252         using a normal save/restore sequence, rather than allocating a
87253         dummy stack frame just to store a frame pointer and restore.
87254         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87256 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87258         * manual/install.texi: Fix stray word in line-wrapped comment.
87260 2012-02-20  David S. Miller  <davem@davemloft.net>
87262         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87263         both binutils and gcc support GOTDATA.
87265         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87266         "rd %pc" in the PIC register setup sequences.
87268         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87269         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87270         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87271         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87272         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87274         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87275         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87277         (SYSCALL_ERROR_HANDLER): Likewise.
87278         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87279         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87281         (SYSCALL_ERROR_HANDLER): Likewise.
87283         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87284         (HAVE_GCC_GOTDATA): New.
87285         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87286         relocation support in both binutils and gcc.
87287         * sysdeps/sparc/elf/configure: Regenerate.
87289         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87290         * sysdeps/sparc/sparc32/elf/configure: Delete.
87291         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87292         * sysdeps/sparc/sparc64/elf/configure: Delete.
87293         * sysdeps/sparc/elf/configure.in: New file.
87294         * sysdeps/sparc/elf/configure: Generate.
87296         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87297         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87298         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87299         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87300         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87302 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87304         * manual/install.texi: Do not mention specific glibc version
87305         numbers.
87306         * manual/libc.texinfo (VERSION, UPDATED): Update.
87307         (@copying): Use @copyright{} and range of years.
87309 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87311         [BZ #13695]
87312         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87313         [crti.S not in sysdirs] (generated): Do not append.
87314         [crti.S not in sysdirs] (omit-deps): Likewise.
87315         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87316         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87317         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87318         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87319         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87320         Likewise.
87321         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87322         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87323         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87324         * csu/defs.awk: Remove file.
87325         * sysdeps/generic/initfini.c: Likewise.
87326         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87327         variable.
87328         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87329         Likewise.
87331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87333         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87334         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87335         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87336         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87337         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87338         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87339         <bits/epoll.h>.
87340         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87341         (__EPOLL_PACKED): Define to empty if not defined by
87342         <bits/epoll.h>.
87343         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87345         bits/epoll.h.
87347 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87349         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87350         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87351         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87352         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87353         <bits/timerfd.h>.
87354         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87356         bits/timerfd.h.
87358 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87360         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87361         in C locale.
87362         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87363         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87364         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87367 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
87369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87370         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87372 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
87374         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87375         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87376         defined.
87377         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87378         Likewise.
87379         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87380         entry for 2.16.
87382 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
87384         * math/w_acos.c: Use non-signaling floating-point comparisons.
87385         * math/w_acosf.c: Likewise.
87386         * math/w_acosh.c: Likewise.
87387         * math/w_acoshf.c: Likewise.
87388         * math/w_acoshl.c: Likewise.
87389         * math/w_acosl.c: Likewise.
87390         * math/w_asin.c: Likewise.
87391         * math/w_asinf.c: Likewise.
87392         * math/w_asinl.c: Likewise.
87393         * math/w_atanh.c: Likewise.
87394         * math/w_atanhf.c: Likewise.
87395         * math/w_atanhl.c: Likewise.
87396         * math/w_exp2.c: Likewise.
87397         * math/w_exp2f.c: Likewise.
87398         * math/w_exp2l.c: Likewise.
87399         * math/w_j0.c: Likewise.
87400         * math/w_j0f.c: Likewise.
87401         * math/w_j0l.c: Likewise.
87402         * math/w_j1.c: Likewise.
87403         * math/w_j1f.c: Likewise.
87404         * math/w_j1l.c: Likewise.
87405         * math/w_jn.c: Likewise.
87406         * math/w_jnf.c: Likewise.
87407         * math/w_log.c: Likewise.
87408         * math/w_log10.c: Likewise.
87409         * math/w_log10f.c: Likewise.
87410         * math/w_log10l.c: Likewise.
87411         * math/w_log2.c: Likewise.
87412         * math/w_log2f.c: Likewise.
87413         * math/w_log2l.c: Likewise.
87414         * math/w_logf.c: Likewise.
87415         * math/w_logl.c: Likewise.
87416         * math/w_sqrt.c: Likewise.
87417         * math/w_sqrtf.c: Likewise.
87418         * math/w_sqrtl.c: Likewise.
87419         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87420         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87421         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87422         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87423         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87425 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87427         [BZ #9739]
87428         * manual/string.texi (strnlen): Use correct parameter name in
87429         equivalent expression.
87431 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87433         [BZ #11174]
87434         * manual/users.texi (seteuid): Consistently use neweuid for
87435         argument name.
87437 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87439         [BZ #13704]
87440         * manual/nss.texi (Services in the NSS configuration): Correct
87441         list of services in example configuration file.
87443 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
87445         [BZ #11322]
87446         * manual/arith.texi: Remove statements about negative zero
87447         behaving identically to zero.
87449 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87451         [BZ #5993]
87452         * manual/install.texi: Do not document upgrading from libc5.
87454 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87456         [BZ #4596]
87457         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87459 2012-02-18  David S. Miller  <davem@davemloft.net>
87461         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87462         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87463         %o7 across the call.
87464         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87465         instead.
87466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87467         SETUP_PIC_REG_LEAF.
87468         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87469         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87470         * sysdeps/sparc/crtn.S: Likewise.
87472 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
87474         * aout/Makefile: Remove.
87476 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
87478         [BZ #13058]
87479         * manual/examples/argp-ex1.c (main): Format definition in GNU
87480         style.
87481         * manual/examples/argp-ex2.c (main): Likewise.
87482         * manual/examples/argp-ex3.c (main): Likewise.
87483         * manual/examples/argp-ex4.c (main): Likewise.
87484         * manual/examples/longopt.c (main): Use new-style prototype
87485         definition.
87486         * manual/examples/strncat.c (main): Specify return type and use
87487         (void) for arguments.
87488         * manual/examples/subopt.c (main): Use char **argv argument.
87490 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87492         [BZ #5077]
87493         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87494         rounding modes.
87496 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
87498         [BZ #6907]
87499         * manual/string.texi (strchr): Change when strchrnul is
87500         recommended.
87502 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
87504         [BZ #174]
87505         * manual/locale.texi (setlocale): Document LOCPATH.
87507 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87509         [BZ #10210]
87510         * manual/process.texi (execle): Move @dots{} before last argument.
87512 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
87514         [BZ #12047]
87515         * manual/charset.texi (Generic Charset Conversion): Fix typo
87516         (LC_TYPE -> LC_CTYPE).
87518 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
87520         [BZ #5805]
87521         * manual/arith.texi (scalbn): Use @var{} on parameter names.
87522         (scalbnf): Likewise.
87523         (scalbnl): Likewise.
87524         (scalbln): Likewise.
87525         (scalblnf): Likewise.
87526         (scalblnl): Likewise.
87527         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87528         (vwarnx): Likewise.
87529         (verr): Likewise.
87530         (verrx): Likewise.
87531         * manual/filesys.texi (telldir): Use braces around return type.
87532         * manual/llio.texi (mmap): Add space after comma.
87533         (mmap64): Likewise.
87534         * manual/math.texi (jn): Use @var{} on parameter names.
87535         (jnf): Likewise.
87536         (jnl): Likewise.
87537         (yn): Likewise.
87538         (ynf): Likewise.
87539         (ynl): Likewise.
87540         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87541         line.
87542         * manual/resource.texi (ulimit): Use @dots{} instead of literal
87543         "...".
87544         (sched_get_priority_min): Remove semicolon on @deftypefun line.
87545         (sched_get_priority_max): Likewise.
87546         * manual/signal.texi (sigvec): Add space after comma.
87547         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87548         names.
87549         (if_indextoname): Likewise.
87550         (if_freenameindex): Likewise.
87551         (sendto): Use ',' instead of '.' in prototype.
87552         * manual/startup.texi (syscall): Use @dots{} instead of literal
87553         "...".
87554         * manual/stdio.texi (__fpending): Separate initial words of
87555         paragraph from @deftypefun line.
87556         * manual/syslog.texi (syslog): Use @dots{} instead of literal
87557         "...".
87558         (vsyslog): Use @var{} on parameter names.
87559         * manual/terminal.texi (stty): Use @var{} on parameter names.
87560         * manual/users.texi (getutmp): Use @var{} on parameter names.
87561         (getutmpx): Likewise.
87563 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87565         [BZ #6884]
87566         * manual/stdio.texi (fopen): Fix typos in description of
87567         ",ccs=STRING".
87569 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
87571         [BZ #4026]
87572         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87573         get clock_id definition.
87575 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
87577         [BZ #4822]
87578         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87579         (madvise): Cast every argument to void on its own.
87581 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87583         [BZ #9902]
87584         * manual/startup.texi (Exit Status): Fix typo.
87586 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87588         [BZ #10140]
87589         * manual/examples/argp-ex1.c: Include <stdlib.h>.
87590         * manual/examples/argp-ex2.c: Likewise.
87591         * manual/examples/argp-ex3.c: Likewise.
87593 2012-02-16  Richard Henderson  <rth@redhat.com>
87595         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87596         * sysdeps/s390/s390-32/initfini.c: Remove.
87597         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87598         * sysdeps/s390/s390-64/initfini.c: Remove.
87600 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
87602         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87603         compiler output for sysdeps/generic/initfini.c.
87604         * sysdeps/sh/elf/initfini.c: Remove file.
87606 2012-02-16  David S. Miller  <davem@davemloft.net>
87608         [BZ #11494]
87609         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87611         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87612         * sysdeps/sparc/crti.S: New file.
87613         * sysdeps/sparc/crtn.S: New file.
87614         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87615         * sysdeps/sparc/sparc64/Makefile: Likewise.
87617 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
87619         [BZ #3335]
87620         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87622 2012-02-15  Roland McGrath  <roland@hack.frob.com>
87624         [BZ #4822]
87625         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87627         * mach/devstream.c (cookie_io_functions_t): Macro removed.
87628         (write, read, close): Likewise.
87629         Patch by Aurelien Jarno <aurelien@aurel32.net>.
87631 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
87633         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87634         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87635         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87636         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87637         <bits/signalfd.h>.
87638         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87640         bits/signalfd.h.
87642 2012-02-14  Marek Polacek  <polacek@redhat.com>
87644         * sysdeps/x86_64/crti.S: New file.
87645         * sysdeps/x86_64/crtn.S: New file.
87646         * sysdeps/x86_64/elf/initfini.c: Remove file.
87648 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87650         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87651         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87652         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87653         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87654         <bits/inotify.h>.
87655         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87657         bits/inotify.h.
87659 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87661         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87662         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87663         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87664         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87665         <bits/eventfd.h>.
87666         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87667         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87668         bits/eventfd.h.
87670 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87672         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87673         __feraiseexcept instead of feraiseexcept.
87675         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87676         nanosleep invocations.
87677         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87678         strings, and add error checking for a nanosleep invocations.
87680 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87682         Replace FSF snail mail address with URLs, as per GNU coding standards.
87683         Most of the snail mail addresses were wrong anyway, and omitting
87684         them makes the source code easier to maintain.  Almost all of the
87685         changes are to license notices and to locale LC_IDENTIFICATION
87686         addresses, except for this one:
87687         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87688         not its snail mail address.
87690 2012-02-09  Richard Henderson  <rth@twiddle.net>
87692         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87693         of kernel-features.h.
87695         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87697 2012-02-08  Marek Polacek  <polacek@redhat.com>
87699         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87700         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87701         * sysdeps/gnu/_G_config.h: Likewise.
87702         * sysdeps/generic/_G_config.h: Likewise.
87704 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87706         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87707         tests.
87708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87710         * sysdeps/powerpc/powerpc32/crti.S: New file.
87711         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87712         * sysdeps/powerpc/powerpc64/crti.S: New file.
87713         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87715         * Makeconfig (have-initfini): Don't set.
87716         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87717         * configure.in (nopic_initfini): Don't substitute.
87718         * config.h.in (HAVE_INITFINI): Don't #undef.
87719         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87720         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87722 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87724         Support crti.S and crtn.S provided directly by architectures.
87725         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87726         [crti.S in sysdirs] (omit-deps): Likewise.
87727         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87728         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87729         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87730         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87731         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87732         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87733         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87734         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87735         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87736         compiler output for sysdeps/generic/initfini.c.
87737         * sysdeps/i386/elf/Makefile: Remove file.
87738         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87740 2012-02-07  Marek Polacek  <polacek@redhat.com>
87742         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87743         * sysdeps/gnu/_G_config.h: Likewise.
87744         * sysdeps/mach/hurd/_G_config.h: Likewise.
87746 2012-02-07  Marek Polacek  <polacek@redhat.com>
87748         * math/Makefile (tests): Add tst-CMPLX2.
87749         * math/tst-CMPLX2.c: New file.
87751 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87753         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87755         * math/libm-test.inc (jn_test): Add missing L suffix.
87757 2012-02-06  Marek Polacek  <polacek@redhat.com>
87759         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87760         * sysdeps/i386/fpu/e_powf.S: Likewise.
87761         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87762         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87763         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87764         * sysdeps/i386/fpu/e_pow.S: Likewise.
87765         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87766         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87767         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87768         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87769         * sysdeps/i386/fpu/e_log2.S: Likewise.
87770         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87771         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87772         * sysdeps/i386/fpu/e_powl.S: Likewise.
87773         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87774         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87775         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87776         * sysdeps/i386/fpu/e_logl.S: Likewise.
87777         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87778         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87779         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87780         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87781         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87782         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87783         * sysdeps/i386/fpu/e_log.S: Likewise.
87784         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87785         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87786         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87787         * sysdeps/i386/fpu/e_logf.S: Likewise.
87788         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87789         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87790         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87791         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87792         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87793         * sysdeps/i386/fpu/e_log10.S: Likewise.
87794         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87795         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87796         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87797         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87798         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87799         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87800         * sysdeps/i386/asm-syntax.h: Likewise.
87801         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87802         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87803         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87804         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87805         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87806         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87807         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87808         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87809         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87810         * sysdeps/powerpc/sysdep.h: Likewise.
87811         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87812         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87814 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87816         [BZ #411]
87817         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87819 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87821         * sysdeps/i386/sysdep.h: Include <features.h>.
87822         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87823         version.
87825 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87827         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87828         Define.
87829         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87830         LOAD_PIC_REG_STR.
87832 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87834         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87835         (SETUP_PIC_REG): Use GET_PC_THUNK.
87836         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87837         macro.
87839 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87841         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87842         for non-PIC compilation.
87843         (SETUP_PIC_REG): Add .p2align directive.
87844         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87845         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87847         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87848         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87849         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87850         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87851         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87852         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87853         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87854         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87855         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87856         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87857         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87858         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87859         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87860         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87861         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87862         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87863         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87864         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87865         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87866         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87867         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87868         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87869         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87871         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87872         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87873         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87874         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87876         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87877         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87878         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87879         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87880         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87881         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87882         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87883         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87884         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87886 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87888         * math/tst-CMPLX.c: Include <stdio.h>.
87890 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87892         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87893         float.
87894         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87895         * sysdeps/sparc/bits/mathdef.h: Likewise.
87897 2012-01-31  Marek Polacek  <polacek@redhat.com>
87899         * libio/libio.h: Don't define _PARAMS.
87900         * locale/programs/config.h: Don't define PARAMS.
87901         * stdlib/strtol_l.c: Likewise.
87902         (__strtol_l): Remove PARAMS from the prototype.
87904 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87906         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87907         names.  Just use the correct names.  Remove unnecessary wrapper
87908         functions.
87909         * malloc/arena.c: Likewise.
87910         * malloc/hooks.c: Likewise.
87912         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87913         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87914         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87916 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87918         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87919         into tail calls.
87920         (update_get_addr): New function.
87921         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87922         GET_ADDR_MODULE parameter.
87924 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87926         * crypt/cert.c: Remove __STDC__ conditionals.
87927         * crypt/crypt-entry.c: Likewise.
87928         * crypt/crypt_util.c: Likewise.
87929         * libio/filedoalloc.c: Likewise.
87930         * libio/fileops.c: Likewise.
87931         * libio/genops.c: Likewise.
87932         * libio/iofclose.c: Likewise.
87933         * libio/iofdopen.c: Likewise.
87934         * libio/iofopen.c: Likewise.
87935         * libio/iofopen64.c: Likewise.
87936         * libio/iogetdelim.c: Likewise.
87937         * libio/iopopen.c: Likewise.
87938         * libio/obprintf.c: Likewise.
87939         * libio/oldfileops.c: Likewise.
87940         * libio/oldiofclose.c: Likewise.
87941         * libio/oldiofdopen.c: Likewise.
87942         * libio/oldiofopen.c: Likewise.
87943         * libio/oldiopopen.c: Likewise.
87944         * libio/wfiledoalloc.c: Likewise.
87945         * libio/wgenops.c: Likewise.
87946         * locale/programs/xmalloc.c: Likewise.
87947         * misc/syslog.c: Likewise.
87948         * stdio-common/xbug.c: Likewise.
87949         * string/memchr.c: Likewise.
87950         * string/memcmp.c: Likewise.
87951         * string/memrchr.c: Likewise.
87952         * string/rawmemchr.c: Likewise.
87953         * sysdeps/posix/getcwd.c: Likewise.
87954         * time/strftime_l.c: Likewise.
87956 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87958         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87959         * config.make.in (config-cflags-sse2avx): Define.
87960         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87961         Fix typo.
87963 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87965         * scripts/config.guess: Update from upstream config git repository.
87966         * scripts/config.sub: Likewise.
87968 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87970         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87971         (EM_NUM): Update.
87972         (R_TILEPRO_*, R_TILEGX_*): New macros.
87974         * scripts/firstversions.awk: Fix bug in version range handling.
87976         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87978         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87980         * include/sys/epoll.h: New file.
87981         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87982         libc_hidden_def.
87984 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87986         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87987         Avoid unnecessary __WORDSIZE == 64 test.
87988         (fmaxf): Use VEX format if possible.
87989         (fmax): Likewise.
87990         (fminf): Likewise.
87991         (fmin): Likewise.
87993         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87994         * math/math_private.h: Remove libc_fegetround* and
87995         libc_fesetround*.
87996         * sysdeps/i386/configure.in: Check for -msse2avx.
87997         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87998         also if SSE2AVX is defined.
87999         Remove libc_fegetround* and libc_fesetround*.
88000         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88001         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88002         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88003         of HAS_YMM_USABLE.
88004         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88005         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88006         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88007         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88008         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88010         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88012 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88014         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88015         size is not set.
88016         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88018 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88020         [BZ #13618]
88021         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88022         relocation.
88023         * Makeconfig (libm): Define.
88024         * elf/Makefile: Add rules to build and run tst-relsort1.
88025         * elf/tst-relsort1.c: New file.
88026         * elf/tst-relsort1mod1.c: New file.
88027         * elf/tst-relsort1mod2.c: New file.
88029 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88031         * math/s_ldexp.c: Remove __STDC__ conditionals.
88032         * math/s_ldexpf.c: Likewise.
88033         * math/s_ldexpl.c: Likewise.
88034         * math/s_nextafter.c: Likewise.
88035         * math/s_nexttowardf.c: Likewise.
88036         * math/s_significand.c: Likewise.
88037         * math/s_significandf.c: Likewise.
88038         * math/s_significandl.c: Likewise.
88039         * math/w_jnl.c: Likewise.
88040         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88041         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88042         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88043         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88044         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88045         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88046         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88047         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88048         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88049         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88050         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88051         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88052         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88053         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88054         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88055         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88056         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88057         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88059         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88060         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88061         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88062         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88063         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88064         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88065         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88066         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88067         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88068         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88069         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88070         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88071         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88072         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88073         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88074         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88075         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88076         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88077         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88078         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88079         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88080         * sysdeps/ieee754/k_standard.c: Likewise.
88081         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88082         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88083         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88084         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88085         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88086         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88087         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88088         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88089         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88090         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88091         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88092         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88093         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88094         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88095         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88096         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88097         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88098         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88099         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88100         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88101         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88102         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88103         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88104         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88105         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88106         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88110         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88111         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88112         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88113         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88114         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88116         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88117         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88118         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88119         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88120         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88121         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88123         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88124         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88125         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88126         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88127         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88128         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88129         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88130         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88131         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88132         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88133         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88134         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88135         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88136         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88137         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88138         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88139         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88140         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88141         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88142         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88143         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88144         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88145         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88146         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88147         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88148         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88149         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88150         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88151         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88152         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88153         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88154         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88155         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88156         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88157         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88158         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88159         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88160         * sysdeps/ieee754/s_matherr.c: Likewise.
88161         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88162         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88163         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88164         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88166 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88168         * crypt/md5.h: Remove __STDC__ conditionals.
88169         * libio/libioP.h: Likewise.
88170         * locale/programs/config.h: Likewise.
88171         * sysdeps/generic/sysdep.h: Likewise.
88172         * sysdeps/i386/asm-syntax.h: Likewise.
88173         * sysdeps/s390/asm-syntax.h: Likewise.
88174         * sysdeps/unix/sysdep.h: Likewise.
88175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88178 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88180         * libio/libio.h: Remove __STDC__ conditionals.
88181         * malloc/obstack.h: Likewise.
88182         * math/complex.h: Likewise.
88183         * math/math.h: Likewise.
88184         * sysdeps/generic/_G_config.h: Likewise.
88185         * sysdeps/gnu/_G_config.h: Likewise.
88186         * sysdeps/mach/hurd/_G_config.h: Likewise.
88187         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88188         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88189         * sysdeps/sparc/bits/mathdef.h: Likewise.
88191 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
88193         [BZ #13583]
88194         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88195         Clean up HAS_* macros.
88196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88197         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88198         possible.
88199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88200         HAS_AVX.
88201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88202         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88203         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88204         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88205         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88207 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
88209         * elf/tst-unique3.cc (gets): Remove declaration.
88210         * elf/tst-unique3lib.cc (gets): Likewise.
88211         * elf/tst-unique3lib2.cc (gets): Likewise.
88212         * elf/tst-unique4.cc (gets): Likewise.
88214 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
88216         * include/stdio.h: Add C++ protection.  Add gets declarations and
88217         definitions.
88218         * debug/tst-chk1.c: Don't declare gets here.
88219         * stdio-common/tst-gets.c: Likewise.
88221 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88223         * posix/glob: Remove directory.
88225 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88227         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88229 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
88231         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88232         of the non-standard EPFNOSUPPORT.
88234 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88236         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88237         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88238         ANYWHERE set to 1 only on KERN_NO_SPACE error.
88240 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
88242         * wcsmbs/uchar.h: Test __STDC_VERSION__.
88244 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
88246         * nscd/aicache.c (addhstaiX): Do not cache negative results of
88247         transient errors.
88248         * nscd/grpcache.c (cache_addgr): Likewise.
88249         * nscd/hstcache.c (cache_addhst): Likewise.
88250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88251         * nscd/pwdcache.c (cache_addpw): Likewise.
88252         * nscd/servicescache.c (cache_addserv): Likewise.
88254 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
88256         * malloc/malloc.c: Various cleanups.
88257         * malloc/hooks.c: Likewise.
88259         * stdlib/Makefile (tests): Add bug-fmtmsg1.
88260         * stdlib/bug-fmtmsg1.c: New file.
88262         * stdlib/fmtmsg.c (init): Add missing unlock.
88263         Patch by Peng Haitao <penght@cn.fujitsu.com>.
88265 2012-01-12  Marek Polacek  <polacek@redhat.com>
88267         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88268         and _GNU_SOURCE.
88270 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88272         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88273         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88274         macro to ensure uniqueness of label name.
88275         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88276         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88278 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
88280         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88282         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88283         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88284         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88287 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
88289         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88291         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88292         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88293         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88295         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88297         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88298         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88299         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88300         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88302         * math/bits/math-finite.h: Add ldexp support.
88304 2012-01-10  Marek Polacek  <polacek@redhat.com>
88306         * locale/programs/localedef.h (show_archive_content): Add noreturn
88307         attribute.
88309 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
88311         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88313 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88315         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88317         * io/Makefile (headers): Add bits/poll2.h.
88319 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
88321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88322         typo #include statement.
88324 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88326         * include/sys/cdefs.h: Define __attribute_alloc_size.
88327         * catgets/gencat.c: Add alloc_size attribute and apply consistently
88328         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88329         * elf/pldd.c: Likewise.
88330         * iconv/iconv_charmap.c: Likewise.
88331         * iconv/iconvconfig.c: Likewise.
88332         * iconv/strtab.c: Likewise.
88333         * locale/programs/locale.c: Likewise.
88334         * locale/programs/localedef.h: Likewise.
88335         * locale/programs/simple-hash.c: Likewise.
88336         * nscd/nscd.h: Likewise.
88337         * nss/makedb.c: Likewise.
88338         * sysdeps/generic/ldconfig.h: Likewise.
88339         * locale/programs/localedef.c: Remove xmalloc prototype.
88340         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88342 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88344         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88345         appropriate.
88347 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88349         * math/Makefile (tests): Add tst-CMPLX.
88350         * math/tst-CMPLX.c: New file.
88352         * math/complex.h (CMPLXL): Fix typo.
88354         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88355         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88356         GLIBC_2.16.
88357         * debug/tst-chk1.c: Add poll and ppoll tests.
88358         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88359         * include/sys/poll.h: Add hidden proto for ppoll.
88360         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88361         * sysdeps/mach/hurd/ppoll.c: Likewise.
88362         * io/ppoll.c: Likewise.
88363         * debug/poll_chk.c: New file.
88364         * debug/ppoll_chk.c: New file.
88365         * include/bits/poll2.h: New file.
88366         * io/bits/poll2.h: New file.
88368         [BZ #1350]
88369         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88371         * configure.in: static is always set to yes.  Remove.
88372         * config.make.in: Don't set build-static.
88373         * Makeconfig: Remove use of build-static.
88374         * dlfcn/Makefile: Likewise.
88375         * elf/Makefile: Likewise.
88376         * math/Makefile: Likewise.
88377         * misc/Makefile: Likewise.
88378         * nptl/Makefile: Likewise.
88379         * sysdeps/mach/hurd/Makefile: Likewise.
88381         * configure.in: PWD_P is not used anymore.
88382         * config.make.in: Remove PWD_P entry.
88384         * configure.in: Remove last remnants of RANLIB.
88385         No need to check for signed size_t anymore.
88386         Don't set libc_commonpagesize and libc_relro_required here for Alpha
88387         and IA-64.
88388         Remove __builtin_expect test because we require at least gcc 3.4.
88389         * aclocal.m4: Likewise.
88391         * wcsmbs/mbrtoc16.c: Implement using towc function.
88392         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88393         * wcsmbs/wcsmbsload.c: Likewise.
88394         * iconv/gconv_simple.c: Likewise.
88395         * iconv/gconv_int.h: Likewise.
88396         * iconv/gconv_builtin.h: Likewise.
88397         * iconv/iconv_prog.c: Remove CHAR16 handling.
88399         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
88401         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
88403         * configure.in: Remove --with-elf and --enable-bounded options.
88404         Dont set base_machine for ia64.  More non-ELF conditions removed.
88405         Remove testing and setting of leading underscore information.
88406         * config.make.in (build-bounded): Set to no.
88407         * config.h.in: Remove NO_UNDERSCORES entry.
88408         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
88409         them.
88410         * csu/start.c: Remove !NO_UNDERSCORE code.
88411         * locale/localeinfo.h: Likewise.
88412         * sysdeps/generic/machine-gmon.h: Likewise.
88413         * sysdeps/generic/sysdep.h: Likewise.
88414         * sysdeps/i386/sysdep.h: Likewise.
88415         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88416         * sysdeps/mach/sysdep.h: Likewise.
88417         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88419         * sysdeps/sh/sysdep.h: Likewise.
88420         * sysdeps/sparc/sparc32/alloca.S: Likewise.
88421         * sysdeps/unix/i386/sysdep.S: Likewise.
88422         * sysdeps/unix/sparc/start.c: Likewise.
88423         * sysdeps/unix/sparc/sysdep.S: Likewise.
88424         * sysdeps/unix/sparc/sysdep.h: Likewise.
88425         * sysdeps/unix/start.c: Likewise.
88426         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88427         * sysdeps/x86_64/sysdep.h: Likewise.
88429 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
88431         [BZ #13553]
88432         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88433         for non-gcc.
88434         * argp/argp-fmtstream.h: Use const instead __const.
88435         * argp/argp.h: Likewise.
88436         * assert/assert.h: Likewise.
88437         * bits/fenv.h: Likewise.
88438         * bits/sched.h: Likewise.
88439         * bits/sigset.h: Likewise.
88440         * bits/sigthread.h: Likewise.
88441         * catgets/nl_types.h: Likewise.
88442         * conform/data/pthread.h-data: Likewise.
88443         * crypt/crypt-private.h: Likewise.
88444         * crypt/crypt.h: Likewise.
88445         * crypt/crypt_util.c: Likewise.
88446         * ctype/ctype.h: Likewise.
88447         * debug/execinfo.h: Likewise.
88448         * debug/mbsnrtowcs_chk.c: Likewise.
88449         * debug/mbsrtowcs_chk.c: Likewise.
88450         * debug/wcsnrtombs_chk.c: Likewise.
88451         * debug/wcsrtombs_chk.c: Likewise.
88452         * debug/wcstombs_chk.c: Likewise.
88453         * dirent/dirent.h: Likewise.
88454         * dlfcn/dlfcn.h: Likewise.
88455         * elf/neededtest4.c: Likewise.
88456         * grp/grp.h: Likewise.
88457         * gshadow/gshadow.h: Likewise.
88458         * iconv/gconv.h: Likewise.
88459         * iconv/gconv_int.h: Likewise.
88460         * iconv/gconv_simple.c: Likewise.
88461         * iconv/iconv.h: Likewise.
88462         * iconv/loop.c: Likewise.
88463         * iconv/skeleton.c: Likewise.
88464         * include/aio.h: Likewise.
88465         * include/aliases.h: Likewise.
88466         * include/argz.h: Likewise.
88467         * include/arpa/inet.h: Likewise.
88468         * include/assert.h: Likewise.
88469         * include/dirent.h: Likewise.
88470         * include/dlfcn.h: Likewise.
88471         * include/execinfo.h: Likewise.
88472         * include/fcntl.h: Likewise.
88473         * include/fenv.h: Likewise.
88474         * include/glob.h: Likewise.
88475         * include/grp.h: Likewise.
88476         * include/libintl.h: Likewise.
88477         * include/mntent.h: Likewise.
88478         * include/netdb.h: Likewise.
88479         * include/pwd.h: Likewise.
88480         * include/rpc/netdb.h: Likewise.
88481         * include/sched.h: Likewise.
88482         * include/search.h: Likewise.
88483         * include/shadow.h: Likewise.
88484         * include/signal.h: Likewise.
88485         * include/stdio.h: Likewise.
88486         * include/stdlib.h: Likewise.
88487         * include/string.h: Likewise.
88488         * include/sys/socket.h: Likewise.
88489         * include/sys/stat.h: Likewise.
88490         * include/sys/statfs.h: Likewise.
88491         * include/sys/statvfs.h: Likewise.
88492         * include/sys/syslog.h: Likewise.
88493         * include/sys/time.h: Likewise.
88494         * include/sys/uio.h: Likewise.
88495         * include/time.h: Likewise.
88496         * include/unistd.h: Likewise.
88497         * include/utmp.h: Likewise.
88498         * include/wchar.h: Likewise.
88499         * include/wctype.h: Likewise.
88500         * inet/aliases.h: Likewise.
88501         * inet/arpa/inet.h: Likewise.
88502         * inet/netinet/ether.h: Likewise.
88503         * inet/netinet/in.h: Likewise.
88504         * intl/libintl.h: Likewise.
88505         * io/bits/fcntl2.h: Likewise.
88506         * io/fcntl.h: Likewise.
88507         * io/ftw.h: Likewise.
88508         * io/sys/poll.h: Likewise.
88509         * io/sys/stat.h: Likewise.
88510         * io/sys/statfs.h: Likewise.
88511         * io/sys/statvfs.h: Likewise.
88512         * io/utime.h: Likewise.
88513         * libio/bits/stdio.h: Likewise.
88514         * libio/bits/stdio2.h: Likewise.
88515         * libio/libio.h: Likewise.
88516         * libio/libioP.h: Likewise.
88517         * libio/stdio.h: Likewise.
88518         * locale/lc-ctype.c: Likewise.
88519         * locale/locale.h: Likewise.
88520         * login/utmp.h: Likewise.
88521         * malloc/arena.c: Likewise.
88522         * malloc/malloc.c: Likewise.
88523         * malloc/malloc.h: Likewise.
88524         * malloc/mcheck.c: Likewise.
88525         * malloc/mtrace.c: Likewise.
88526         * math/bits/mathcalls.h: Likewise.
88527         * math/fenv.h: Likewise.
88528         * math/math_private.h: Likewise.
88529         * misc/bits/error.h: Likewise.
88530         * misc/bits/syslog.h: Likewise.
88531         * misc/err.h: Likewise.
88532         * misc/error.h: Likewise.
88533         * misc/fstab.h: Likewise.
88534         * misc/mntent.h: Likewise.
88535         * misc/regexp.h: Likewise.
88536         * misc/search.h: Likewise.
88537         * misc/sgtty.h: Likewise.
88538         * misc/sys/mman.h: Likewise.
88539         * misc/sys/syslog.h: Likewise.
88540         * misc/sys/uio.h: Likewise.
88541         * misc/sys/xattr.h: Likewise.
88542         * misc/ttyent.h: Likewise.
88543         * nis/rpcsvc/ypclnt.h: Likewise.
88544         * nss/nss.h: Likewise.
88545         * posix/bits/unistd.h: Likewise.
88546         * posix/fnmatch.h: Likewise.
88547         * posix/glob.h: Likewise.
88548         * posix/sched.h: Likewise.
88549         * posix/spawn.h: Likewise.
88550         * posix/sys/wait.h: Likewise.
88551         * posix/unistd.h: Likewise.
88552         * posix/wordexp.h: Likewise.
88553         * pwd/pwd.h: Likewise.
88554         * resolv/netdb.h: Likewise.
88555         * resource/sys/resource.h: Likewise.
88556         * rt/aio.h: Likewise.
88557         * rt/bits/mqueue2.h: Likewise.
88558         * rt/mqueue.h: Likewise.
88559         * shadow/shadow.h: Likewise.
88560         * signal/signal.h: Likewise.
88561         * socket/send.c: Likewise.
88562         * socket/sendto.c: Likewise.
88563         * socket/sys/socket.h: Likewise.
88564         * stdio-common/printf.h: Likewise.
88565         * stdlib/bits/stdlib.h: Likewise.
88566         * stdlib/fmtmsg.h: Likewise.
88567         * stdlib/monetary.h: Likewise.
88568         * stdlib/stdlib.h: Likewise.
88569         * stdlib/ucontext.h: Likewise.
88570         * streams/stropts.h: Likewise.
88571         * string/argz.h: Likewise.
88572         * string/bits/string2.h: Likewise.
88573         * string/string.h: Likewise.
88574         * string/strings.h: Likewise.
88575         * sunrpc/rpc/auth.h: Likewise.
88576         * sunrpc/rpc/auth_des.h: Likewise.
88577         * sunrpc/rpc/clnt.h: Likewise.
88578         * sunrpc/rpc/netdb.h: Likewise.
88579         * sunrpc/rpc/pmap_clnt.h: Likewise.
88580         * sunrpc/rpc/xdr.h: Likewise.
88581         * sysdeps/generic/inttypes.h: Likewise.
88582         * sysdeps/generic/net/if.h: Likewise.
88583         * sysdeps/generic/sys/swap.h: Likewise.
88584         * sysdeps/gnu/net/if.h: Likewise.
88585         * sysdeps/gnu/utmpx.h: Likewise.
88586         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88587         * sysdeps/i386/i486/bits/string.h: Likewise.
88588         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88589         * sysdeps/s390/bits/string.h: Likewise.
88590         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88591         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88592         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88593         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88594         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88595         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88596         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88597         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88598         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88599         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88600         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88601         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88602         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88603         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88604         * sysdeps/unix/sysv/linux/readv.c: Likewise.
88605         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88606         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88608         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88609         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88611         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88612         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88613         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88614         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88615         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88616         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88617         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88618         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88619         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88620         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88621         * sysvipc/sys/ipc.h: Likewise.
88622         * sysvipc/sys/msg.h: Likewise.
88623         * sysvipc/sys/sem.h: Likewise.
88624         * sysvipc/sys/shm.h: Likewise.
88625         * termios/termios.h: Likewise.
88626         * time/sys/time.h: Likewise.
88627         * time/time.h: Likewise.
88628         * wcsmbs/bits/wchar2.h: Likewise.
88629         * wcsmbs/uchar.h: Likewise.
88630         * wcsmbs/wchar.h: Likewise.
88631         * wctype/wctype.h: Likewise.
88633         [BZ #13551]
88634         * Makeconfig: Remove all but ELF support including AIX support.
88635         * Makerules: Likewise.
88636         * config.h.in: Likewise.
88637         * config.make.in: Likewise.
88638         * configure: Likewise.
88639         * configure.in: Likewise.
88640         * csu/Makefile: Likewise.
88641         * csu/version.c: Likewise.
88642         * debug/Makefile: Likewise.
88643         * dlfcn/Makefile: Likewise.
88644         * elf/Makefile: Likewise.
88645         * extra-lib.mk: Likewise.
88646         * iconv/Makefile: Likewise.
88647         * include/libc-symbols.h: Likewise.
88648         * include/shlib-compat.h: Likewise.
88649         * resolv/Makefile: Likewise.
88650         * resolv/res_libc.c: Likewise.
88651         * rt/Makefile: Likewise.
88652         * sysdeps/i386/asm-syntax.h: Likewise.
88653         * sysdeps/i386/sysdep.h: Likewise.
88654         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88655         * sysdeps/mach/sysdep.h: Likewise.
88656         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88657         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88658         * sysdeps/s390/asm-syntax.h: Likewise.
88659         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88660         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88661         * sysdeps/sh/sysdep.h: Likewise.
88662         * sysdeps/unix/sparc/sysdep.h: Likewise.
88663         * sysdeps/wordsize-32/divdi3.c: Likewise.
88664         * sysdeps/x86_64/sysdep.h: Likewise.
88666         * argp/Versions: Remove _argp_unlock_xxx.
88668         [BZ #13559]
88669         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88670         * abilist/libBrokenLocale.abilist: Likewise.
88671         * abilist/libanl.abilist: Likewise.
88672         * abilist/libc.abilist: Likewise.
88673         * abilist/libcrypt.abilist: Likewise.
88674         * abilist/libdl.abilist: Likewise.
88675         * abilist/libm.abilist: Likewise.
88676         * abilist/libnsl.abilist: Likewise.
88677         * abilist/libpthread.abilist: Likewise.
88678         * abilist/libresolv.abilist: Likewise.
88679         * abilist/librt.abilist: Likewise.
88680         * abilist/libthread_db.abilist: Likewise.
88681         * abilist/libutil.abilist: Likewise.
88682         * abilist/libnss_db.abilist: New file.
88684         * scripts/abilist.awk: Add support for indirect functions.
88686         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88688         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88690         * shlib-versions: Remove entries for ports architectures.
88692         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88693         files in ports.
88694         * elf/stackguard-macros.h: Remove support for IA-64.
88695         * elf/tst-auditmod1.c: Likewise.
88696         * sysdeps/generic/ldsodefs.h: Likewise.
88698         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88699         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88700         configure files.
88702         [BZ #13552]
88703         * configure.in: Remove --enable-omitfp support.
88704         * FAQ.in: Adjust.
88705         * config.make.in: Likewise.
88706         * Makeconfig: Likewise.
88707         * manual/install.texi: Likewise.
88709         In case anyone cares, the IA-64 architecture could move to ports.
88710         * sysdeps/ia64/*: Removed.
88711         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88712         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88714         [BZ #13555]
88715         * configure.in: Remove entries for unsupported architectures.
88717         [BZ #13533]
88718         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88719         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88720         routines.
88721         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88722         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88723         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88724         fall back to using wcrtomb.
88725         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88726         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88727         renaming.
88728         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88729         * wcsmbs/tst-c16c32-1.c: New file.
88731         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88732         local variable.
88734         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88736         * elf/tst-unique3.cc: Add explicit declaration of gets.
88737         * elf/tst-unique3lib.cc: Likewise.
88738         * elf/tst-unique3lib2.cc: Likewise.
88739         * elf/tst-unique4.cc: Likewise.
88741         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88743 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88745         [BZ #13566]
88746         * assert/assert.h (static_assert): Don't define for C++.
88747         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88748         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88750 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88752         * iconv/loop.c (single loop): Fix assertion in storing of
88753         remaining bytes.
88755         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88757 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88759         * posix/getconf.c: Update copyright year.
88760         * nss/getent.c: Likewise.
88761         * nss/makedb.c: Likewise.
88762         * iconv/iconvconfig.c: Likewise.
88763         * iconv/iconv_prog.c: Likewise.
88764         * elf/ldconfig.c: Likewise.
88765         * elf/pldd.c: Likewise.
88766         * elf/sotruss.ksh: Likewise.
88767         * catgets/gencat.c: Likewise.
88768         * csu/version.c: Likewise.
88769         * elf/ldd.bash.in: Likewise.
88770         * elf/sprof.c (print_version): Likewise.
88771         * locale/programs/locale.c: Likewise.
88772         * locale/programs/localedef.c: Likewise.
88773         * login/programs/pt_chown.c: Likewise.
88774         * nscd/nscd.c (print_version): Likewise.
88775         * debug/xtrace.sh: Likewise.
88776         * malloc/memusage.sh: Likewise.
88777         * malloc/mtrace.pl: Likewise.
88778         * debug/catchsegv.sh: Likewise.
88780 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88782         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88783         pure attribute.
88785 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88787         [BZ #13533]
88788         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88789         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88790         transformations.
88791         * iconv/gconv_int.h: Likewise.
88792         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88793         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88794         from libc for GLIBC_2.16.
88795         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88796         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88797         * wcsmbs/uchar.h: Really define mbstate_t.
88798         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88799         * wcsmbs/c16rtomb.c: New file.
88800         * wcsmbs/mbrtoc16.c: New file.
88801         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88802         for C/POSIX locale.
88803         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88804         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88806         * wcsmbs/wchar.h: Add missing __restrict.
88808 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88810         [BZ #13532]
88811         * time/Makefile (routines): Add timespec_get.
88812         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88813         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88814         timespec for ISO C11.
88815         * time/timespec_get.c: New file.
88816         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88817         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88819         [BZ #13531]
88820         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88821         * stdlib/stdlib.h: Declare aligned_alloc.
88822         * Versions.def: Add GLIBC_2.16 for libc.
88823         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88825         [BZ 13527]
88826         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88827         ISO C11.
88829         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88830         code.
88832         [BZ #13528]
88833         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88835         [BZ #13529]
88836         * assert/assert.h (static_assert): Define.
88838         * version.h: Update for 2.16 development version.
88840         [BZ #13526]
88841         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88842         _ISOC11_SOURCE.
88844         * version.h (RELEASE): Bump for 2.15 release.
88845         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88847         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88848         Patch by Marek Polacek <mpolacek@redhat.com>.
88850         * bits/byteswap.h: Protect long long constants with __extension__.
88851         * sysdeps/i386/bits/byteswap.h: Likewise.
88852         * sysdeps/ia64/bits/byteswap.h: Likewise.
88853         * sysdeps/s390/bits/byteswap.h: Likewise.
88854         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88856 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88858         [BZ #13540]
88859         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88860         destination buffer.
88861         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88863 2011-12-23  Marek Polacek  <polacek@redhat.com>
88865         * elf/dl-addr.c (determine_info): Add inline keyword.
88866         * elf/tst-auditmod4b.c (check_avx): Likewise.
88867         * elf/tst-auditmod6b.c (check_avx): Likewise.
88868         * elf/tst-auditmod6c.c (check_avx): Likewise.
88869         * elf/tst-auditmod7b.c (check_avx): Likewise.
88871 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88873         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88874         !__SSE_MATH__.
88876 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88878         [BZ #13540]
88879         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88880         processing for last bytes.
88882 2011-08-06  Bruno Haible  <bruno@clisp.org>
88884         [BZ #13061]
88885         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88886         U+0385, not to U+1FEE.
88888         [BZ #13062]
88889         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88890         entry for U+00A5 U+0301.
88892 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88894         [BZ #13166]
88895         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88896         buffer for the output is too small.
88898         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88899         optimization.
88901         [BZ #13185]
88902         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88903         SSE flags if possible.
88905 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88907         [BZ #13540]
88908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88909         processing for last bytes.
88911 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88913         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88914         (syscall-list-default-options, syscall-list-default-condition)
88915         (syscall-list-includes): Define.
88916         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88917         list of ABIs and options and #if conditions for each ABI.  Do not
88918         handle common syscalls between ABIs specially.
88919         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88920         Remove.
88921         (syscall-list-variants, syscall-list-32bit-options)
88922         (syscall-list-32bit-condition, syscall-list-64bit-options)
88923         (syscall-list-64bit-condition): Define.
88924         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88925         (syscall-list-variants, syscall-list-32bit-options)
88926         (syscall-list-32bit-condition, syscall-list-64bit-options)
88927         (syscall-list-64bit-condition): Define.
88928         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88929         Remove.
88930         (syscall-list-variants, syscall-list-32bit-options)
88931         (syscall-list-32bit-condition, syscall-list-64bit-options)
88932         (syscall-list-64bit-condition): Define.
88933         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88934         Remove.
88935         (syscall-list-variants, syscall-list-32bit-options)
88936         (syscall-list-32bit-condition, syscall-list-64bit-options)
88937         (syscall-list-64bit-condition): Define.
88939 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88941         * locale/iso-639.def: Add brx entry.
88943         [BZ #13328]
88944         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88945         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88947         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88948         __feraiseexcept_renamed.
88950 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88952         [BZ #13538]
88953         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88954         EPOLLET with unsigned values.
88955         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88958         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88959         to large cancellation.
88960         * math/s_cacoshf.c: Likewise.
88961         * math/s_cacoshl.c: Likewise.
88963 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88965         [BZ #13305]
88966         [BZ #12786]
88967         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88968         * math/s_cacoshf.c: Likewise.
88969         * math/s_cacoshl.c: Likewise.
88971 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88973         [BZ #13439]
88974         * iconv/gconv.h: Define __GCONV_SWAP.
88975         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88976         * iconvdata/utf-16.c: Likewise.
88977         * iconvdata/utf-32.c: Likewise.
88979 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88981         [BZ #13524]
88982         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88983         numerator after shifting it by one limb.
88985 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88987         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88988         under [__USE_EXTERN_INLINES].
88990 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88992         [BZ #13446]
88993         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88995 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88997         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88998         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88999         optimized code.
89000         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89001         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89002         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89003         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89004         for strncasecmp/strncasecmp_l compilation.
89005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89006         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89008 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89010         [BZ #13484]
89011         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89012         of __asm__.
89014 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89016         [BZ #13506]
89017         * time/tzfile.c (__tzfile_read): Check values from file header.
89019 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89021         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89022         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89023         * powerpc/powerpc32/dl-start.S: Likewise.
89024         * powerpc/powerpc32/elf/start.S: Likewise.
89025         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89026         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89027         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89028         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89029         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89030         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89031         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89032         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89033         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89034         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89035         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89036         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89037         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89038         * powerpc/powerpc32/memset.S: Likewise.
89039         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89040         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89041         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89042         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89043         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89044         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89045         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89046         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89047         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89048         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89049         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89050         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89051         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89053 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89055         * math/libm-test.inc: Added more nearbyint tests.
89056         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89057         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89058         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89059         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89061 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89063         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89064         FD_CLOEXEC.
89066 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89068         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89069         Add wcscpy-ssse3 wcscpy-c.
89070         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89071         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89072         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89073         * sysdeps/x86_64/wcschr.S: New file.
89074         * sysdeps/x86_64/wcsrchr.S: New file.
89075         * string/test-strcmp.c: Remove checking of wcscmp function for
89076         wrong alignments.
89077         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89078         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89079         wcsrchr-sse2 wcsrchr-c.
89080         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89081         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89082         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89083         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89084         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89085         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89086         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89087         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89088         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89089         * wcsmbc/wcschr.c (WCSCHR): New macro.
89091 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89093         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89094         * wcsmbs/test-wcsrchr.c: New file.
89095         * string/test-strrchr.c: Add wcsrchr support.
89096         (WIDE): New macro.
89097         * wcsmbs/test-wcscpy.c: New file.
89098         * string/test-strcpy.c: Add wcscpy support.
89099         (WIDE): New macro.
89101 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89103         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89104         the inner loop.
89106 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
89108         [BZ #13472]
89109         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89111 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
89113         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89114         Minor optimizations.
89116         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89117         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89118         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89120 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
89122         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89123         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89124         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89125         for gcc to avoid warnings.
89126         * inet/Makefile (tests): Add tst-checks.
89127         * inet/tst-checks.c: New file.
89129         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89130         warning.
89132         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89133         __wmemcmp_sse2.
89135         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89136         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89138         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89140 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
89142         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89143         problem.
89145         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89147 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
89149         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89150         conditional on GCC version.
89151         (__arch_compare_and_exchange_val_8_acq)
89152         (__arch_compare_and_exchange_val_16_acq)
89153         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89154         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89155         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89157 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
89159         * sysdeps/sh/backtrace.c: New file.
89161 2011-12-02  Andreas Schwab  <schwab@redhat.com>
89163         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
89164         parenthesis.
89166 2011-12-01  Andreas Schwab  <schwab@redhat.com>
89168         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89169         falling back to utime.
89171 2011-11-30  Andreas Schwab  <schwab@redhat.com>
89173         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89174         expectations for float.
89176 2011-11-29  Andreas Schwab  <schwab@redhat.com>
89178         * locale/weight.h (findidx): Add parameter len.
89179         * locale/weightwc.h (findidx): Likewise.
89180         * posix/fnmatch_loop.c (FCT): Adjust caller.
89181         * posix/regcomp.c (build_equiv_class): Likewise.
89182         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89183         * posix/regexec.c (check_node_accept_bytes): Likewise.
89184         * string/strcoll_l.c (STRCOLL): Likewise.
89185         * string/strxfrm_l.c (STRXFRM): Likewise.
89187 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
89189         * Makefile.in: Remove CVSOPT handling.
89190         * configure.in: Remove use of AC_REVISION.
89191         * iconvdata/Makefile (distribute): No need to filter out CVS.
89192         * scripts/list-sources.sh: Remove CVS, subversion and monotone
89193         handling.
89195 2011-11-16  Andreas Schwab  <schwab@redhat.com>
89197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89198         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89199         [USE_AS_STRNCASECMP_L]: Likewise.
89200         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89201         NO_TLS_DIRECT_SEG_REFS.
89202         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89203         Fix argument offsets for non-PIC.
89204         [USE_AS_STRNCASECMP_L]: Likewise.
89205         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89206         NO_TLS_DIRECT_SEG_REFS.
89208 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89210         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89211         O_CLOEXEC.
89212         * locale/loadlocale.c (_nl_load_locale): Likewise.
89214 2011-11-15  Andreas Schwab  <schwab@redhat.com>
89216         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89217         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89218         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89219         (SYSCALL_GETTIME): Set errno on error.
89221         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89222         count references to noai6ai_cached.
89224 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89226         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89228         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89229         FD_CLOEXEC for /proc/self/maps.
89231         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89232         FD_CLOEXEC for /proc/meminfo.
89234         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89235         gai.conf.
89237         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
89238         FD_CLOEXEC for given file.
89240         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89242         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89243         FD_CLOEXEC for /etc/hosts.
89244         (_gethtent): Likewise.
89246         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89248         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89249         cancellation and set FD_CLOEXEC for /etc/netgroup.
89251         * nss/nss_files/files-key.c (search): Don't allow cancellation when
89252         reading /etc/publickey.
89254         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89255         allow cancellation when reading /etc/group.
89257         * nss/nss_files/files-alias.c (internal_setent): Don't allow
89258         cancellation.
89259         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
89261         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89262         when using data file.
89264         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89266         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89267         (write_nis_obj): Use "c" and "e" in fopen.
89269         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89271         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89273         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89275         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89277         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89278         locale.alias.
89280         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89282         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89284         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89286         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89287         file parsing and set FD_CLOEXEC.
89289 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89291         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89293 2011-11-14  Andreas Schwab  <schwab@redhat.com>
89295         * malloc/arena.c (arena_get2): Don't call reused_arena when
89296         _int_new_arena failed.
89298 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89300         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89301         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89303         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89304         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89305         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89306         to compile strcasecmp and strncasecmp.
89307         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89308         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89312 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
89314         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89315         locale-defines.sym to gen-as-const-headers.
89316         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89317         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89319         to compile strcasecmp and strncasecmp.
89320         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89321         strcasecmp_l and strncasecmp_l.
89322         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89323         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89324         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89325         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89326         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89327         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89328         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89329         * sysdeps/i386/i686/multiarch/strncase.S: New file.
89330         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89331         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89332         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89334 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
89336         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89337         result of SYSDEP_GETTIME_CPU to retval.
89338         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89339         parameter list to macro.  Remove trailing semicolon.  Adjust users.
89341         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89342         variable.
89344         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89345         mantissa words.
89346         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89348         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89349         from unused variable.
89351         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89352         DWARF definitions.
89353         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89354         for assembling.
89356         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89357         over namespaces.
89359         * sunrpc/rpc_prot.c (rejected): Fix case value.
89361         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89362         unsigned long long int to avoid warnings in shift.
89364         * posix/regex_internal.c (re_string_reconstruct): Actually use result
89365         of use of trans.
89366         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89367         variable tmp.
89369         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89370         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89371         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89373         * nis/nis_table.c (nis_list): Use variable of correct type for
89374         result of __follow_path call.
89376 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89378         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89379         of math functions ceil, trunc, floor, round, and sqrt, when
89380         avaliable on the platform.
89381         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89382         name clash.
89383         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89384         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89385         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89387 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
89389         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89390         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89392 2011-11-11  Roland McGrath  <roland@hack.frob.com>
89394         * include/unistd.h: Fix __readlink return type.
89395         Reported by Chris Metcalf <cmetcalf@tilera.com>.
89397 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
89399         * stdlib/ucontext.h: Undo last change for makecontext.
89401 2011-11-11  Andreas Schwab  <schwab@redhat.com>
89403         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
89405         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
89406         * setjmp/setjmp.h: Mark functions as non-leaf.
89407         * setjmp/bits/setjmp2.h: Likewise.
89408         * stdlib/ucontext.h: Likewise.
89410 2011-11-10  Andreas Schwab  <schwab@redhat.com>
89412         * malloc/arena.c (_int_new_arena): Don't increment narenas.
89413         (reused_arena): Don't check arena limit.
89414         (arena_get2): Atomically check arena limit.
89416 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
89418         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89419         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89421         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89422         instructions.
89424 2011-11-07  Andreas Schwab  <schwab@redhat.com>
89426         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89427         handler when locking.
89429         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89430         Fix size of allocated buffer.
89432 2011-11-04  Andreas Schwab  <schwab@redhat.com>
89434         [BZ #10103]
89435         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89436         declarations for long double functions.
89437         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89439         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89441 2011-11-03  Andreas Schwab  <schwab@redhat.com>
89443         * nscd/nscd.c (main): Don't start AVC thread until credentials are
89444         installed.
89446         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89447         is disabled.
89449 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89451         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89453 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
89455         * include/alloca.h (stackinfo_alloca_round): Define.
89456         (extend_alloca): Use it.
89457         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89458         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89459         here.
89461         * scripts/check-local-headers.sh: Ignore libaudit.h.
89463         * nscd/Makefile (extra-objs): Make recursively expanded.
89465 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
89467         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89468         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89470         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89471         * posix/tst-rfc3484-2.c: Likewise.
89472         * posix/tst-rfc3484-3.c: Likewise.
89474         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89475         process_vm_writev.
89476         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89477         process_vm_writev.
89478         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89479         process_vm_writev from libc using GLIBC_2.15 version.
89481         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89483 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
89485         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89486         stack usage.
89488 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
89490         [BZ #13367]
89491         * nss/getent.c (initgroups_keys): Show error message in case no group
89492         names are given.
89494         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89495         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89496         __bump_nl_timestamp.
89497         * nscd/connections (nscd_init): When host database is served open
89498         netlink socket and request notification about configuration changes.
89499         (main_loop_poll): Track netlink file descriptor and bump timestamp
89500         in case data becomes available.
89501         (main_loop_epoll): Likewise.
89502         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89503         (database_pers_head): Add extra_data fileds.
89504         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89505         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89506         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89507         Adjust caller.
89508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89509         in6ai data, call __free_in6ai.
89510         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89511         Add -DHAVE_NETLINK.
89512         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
89513         interface information.  Reuse previous data if netlink timestamp
89514         is not changed.
89515         (__bump_nl_timestamp): New function.
89516         (__free_in6ai): New function.
89518 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
89520         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89521         close_not_cancel_no_status here.
89522         (__check_pf): Reorganize code a bit to not call close twice if OOM.
89524 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89526         [BZ #13276]
89527         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89528         return value.
89530         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89531         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89532         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89534 2011-07-03  Andreas Jaeger  <aj@suse.de>
89536         [BZ #10709]
89537         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89538         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89539         * math/libm-test.inc (sin_test): Add test case.
89541 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89543         [BZ #13337]
89544         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89545         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89547         * elf/chroot_canon.c (chroot_canon): Cleanups.
89549         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89551         [BZ #13335]
89552         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89553         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89555         * string/test-strchr.c: Make usable for strchrnul testing.
89556         * string/test-strchrnul.c: New file.
89557         * string/Makefile (strop-tests): Add strchrnul.
89559         * po/it.po: Update from translation team.
89560         * po/es.po: Likewise.
89562 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
89564         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89565         the three constants needed as parameters.  Drop the others.
89566         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89567         __m128i_strloadu_tolower.
89568         Create and initialize variable zero and use it in all the places
89569         where _mm_setzero_si128 was used.
89571         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89572         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89573         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89574         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89575         anymore.
89576         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89577         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89578         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89579         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89580         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89581         __mpranred, __mptan.
89582         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89583         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89584         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89585         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89586         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89587         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89588         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89589         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89590         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89592 2011-10-28  Andreas Schwab  <schwab@redhat.com>
89594         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89595         redefine if SHARED.
89596         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89599         wide char related routines to wcsmbs subdir.
89601 2011-10-27  Andreas Schwab  <schwab@redhat.com>
89603         [BZ #13344]
89604         * misc/sys/cdefs.h (__THROWNL): Define.
89605         * posix/unistd.h: Use __THREADNL instead of __THREAD
89606         for memory synchronization functions.
89608 2011-10-26  Roland McGrath  <roland@hack.frob.com>
89610         [BZ #13349]
89611         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89612         doesn't exist.
89613         * manual/stdio.texi (Obstack Streams): Node removed.
89615 2011-10-26  Andreas Schwab  <schwab@redhat.com>
89617         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89618         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89619         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89621         * math/math_private.h (math_force_eval): Allow non-addressable
89622         arguments.
89623         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89625 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89627         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89628         file is not needed.
89630         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89632         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89633         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89634         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89635         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89636         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89637         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89638         Add AVX variants.
89639         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89640         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89641         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89642         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89643         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89644         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89645         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89646         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89647         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89648         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89649         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89650         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89651         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89652         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89653         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89654         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89655         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89656         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89657         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89659         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89660         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89662         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89663         place.  Use VEX encoding when compiling for AVX.
89665 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89667         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89668         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89670         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89672 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89674         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89675         useless if() expression.
89676         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89677         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89678         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89679         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89681         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89682         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89683         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89684         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89685         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89686         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89687         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89688         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89689         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89690         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89691         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89692         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89693         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89694         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89696         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89698 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89700         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89701         condition.
89702         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89704 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89706         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89707         .text section.  Avoid duplicate constants.
89708         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89710         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89712         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89715         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89716         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89717         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89718         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89719         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89720         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89721         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89722         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89723         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89724         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89725         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89726         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89728         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89729         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89730         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89731         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89732         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89733         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89734         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89735         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89736         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89737         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89738         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89739         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89740         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89741         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89742         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89743         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89744         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89746         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89747         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89748         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89749         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89750         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89751         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89752         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89754 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89756         * sysdeps/x86_64/dla.h: Move to ...
89757         * sysdeps/x86_64/fpu/dla.h: ...here.
89758         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89759         situations.  Use __builtin_fma only for gcc 4.6 and up.
89761         * config.make.in: Add have-mfma4 entry.
89762         * configure.in: Substitute libc_cv_cc_fma4.
89763         * math/Makefile (dbl-only-routines): Add sincostab.
89764         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89765         Use __sincostab not sincos.
89766         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89767         name is a macro.
89768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89772         using __copysign.
89773         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89774         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89775         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89776         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89777         and __inv.
89778         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89779         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89780         __copysign.
89781         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89782         define aliases when function name is a macro.
89783         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89784         sysdeps/ieee754/dbl-64/sincos.tbl.
89785         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89786         fma4-enabled routines.
89787         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89788         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89789         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89790         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89791         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89792         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89793         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89794         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89795         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89796         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89797         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89798         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89799         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89800         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89801         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89802         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89803         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89804         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89805         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89806         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89807         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89808         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89809         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89810         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89811         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89812         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89813         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89814         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89815         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89816         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89818         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89819         rename.
89820         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89825         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89826         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89827         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89829 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89831         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89837         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89838         prediction.
89839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89841         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89842         Remove unused variable magic_bits.
89843         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89845         * string/strnlen.c: Define and use STRNLEN macro.
89846         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89847         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89849         * wcsmbs/wcslen.c: Define and use WCSLEN.
89850         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89851         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89852         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89853         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89854         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89855         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89856         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89858 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89861         strnlen-sse2-no-bsf.
89862         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89863         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89864         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89865         Add strnlen support.
89866         (USE_AS_STRNLEN): New macro.
89867         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89868         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89869         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89870         * sysdeps/x86_64/wcslen.S: New file.
89872 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89874         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89875         XMM-moves are used for copying on small sizes.
89877 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89879         * wcsmbs/Makefile (strop-tests): Add wcschr.
89880         * wcsmbs/test-wcschr.c: New file.
89881         * string/test-strchr.c: Update.
89882         Add wcschr support.
89883         (WIDE): New macro.
89885 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89887         * wcsmbs/Makefile (strop-tests): Add wcslen.
89888         * wcsmbs/test-wcslen.c: New file.
89889         * string/test-strlen.c: Update.
89890         Add wcslen support.
89891         (WIDE): New macro.
89893 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89895         * po/it.po: Update from translation team.
89897 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89899         * sysdeps/x86_64/wcscmp.S: Update.
89900         Fix wrong comparison semantics.
89901         wcscmp shall use signed comparison not unsigned.
89902         Don't use substraction to avoid overflow bug.
89903         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89904         * wcsmbc/wcscmp.c: Likewise.
89905         * string/test-strcmp.c: Likewise.
89906         Add new tests to check cases with negative values.
89908 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89910         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89911         * sysdeps/x86_64/dla.h: ...here.  New file.
89912         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89913         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89914         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89917         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89918         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89919         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89920         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89922 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89925         __ynl_finite aliases.
89927 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89931         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89932         define DLA_FMA.
89933         [DLA_FMA] (EMULV): Use DLA_FMA.
89934         [DLA_FMA] (MUL12): Use EMULV.
89935         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89936         that are not needed.
89937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89941         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89942         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89943         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89945 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89947         * math/s_nan.c: Undef __nan.
89948         * math/s_nanf.c: Undef __nanf.
89949         * math/s_nanl.c: Undef __nanl.
89950         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89951         "math_private.h".
89953 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89955         * math/s_catan.c: Add branch predictions.
89956         * math/s_catanf.c: Likewise.
89957         * math/s_catanh.c: Likewise.
89958         * math/s_catanhf.c: Likewise.
89959         * math/s_catanhl.c: Likewise.
89960         * math/s_catanl.c: Likewise.
89961         * math/s_cexp.c: Likewise.
89962         * math/s_cexpf.c: Likewise.
89963         * math/s_cexpl.c: Likewise.
89964         * math/s_clog.c: Likewise.
89965         * math/s_clog10.c: Likewise.
89966         * math/s_clog10f.c: Likewise.
89967         * math/s_clog10l.c: Likewise.
89968         * math/s_clogf.c: Likewise.
89969         * math/s_clogl.c: Likewise.
89970         * math/s_csqrt.c: Likewise.
89971         * math/s_csqrtf.c: Likewise.
89972         * math/s_csqrtl.c: Likewise.
89973         * math/s_ctanf.c: Likewise.
89974         * math/s_ctanh.c: Likewise.
89975         * math/s_ctanhf.c: Likewise.
89976         * math/s_ctanhl.c: Likewise.
89977         * math/s_ctanl.c: Likewise.
89979         * math/math_private.h: Define __nan, __nanf, __nanl.
89980         * math/s_cacosh.c: Include <math_private.h>.
89981         * math/s_cacoshl.c: Likewise.
89982         * math/s_casinh.c: Likewise.
89983         * math/s_casinhf.c: Likewise.
89984         * math/s_casinhl.c: Likewise.
89985         * math/s_ccos.c: Rely entire on ccosh.
89986         * math/s_ccosf.c: Rely entire on ccoshf.
89987         * math/s_ccosl.c: Rely entirely on ccoshl.
89988         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89989         Remove tests for FE_INVALID.
89990         * math/s_ccoshf.c: Likewise.
89991         * math/s_ccoshl.c: Likewise.
89992         * math/s_csin.c: Likewise.
89993         * math/s_csinf.c: Likewise.
89994         * math/s_csinh.c Likewise.
89995         * math/s_csinhf.c: Likewise.
89996         * math/s_csinhl.c: Likewise.
89997         * math/s_csinl.c: Likewise.
89998         * math/s_ctan.c: Likewise.
89999         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90000         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90001         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90003 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90006         compilation problems.
90008         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90009         __builtin_expect.
90011 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90013         * sysdeps/i386/configure.in: Test for -mfma4 option.
90014         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90015         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90016         COMMON_CPUID_INDEX_80000001.
90017         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90018         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90019         use it if FMA3 is not supported.
90020         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90022         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90023         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90025 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90027         [BZ #12892]
90028         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90029         it would create a cycle with a link time dependency.
90031 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90033         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90034         instruction.
90035         * string/Makefile (strop-tests): Add rawmemchr.
90036         * string/test-rawmemchr.c: New file.
90038         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90040         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90041         when compiling str{,n}casecmp and when AVX is available.  Hook up
90042         new optimized code in initializers.
90044 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90046         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90047         __feraiseexcept instead of feraiseexcept.
90049 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90051         * math/math_private.h: Define defaults for libc_fetestexcept and
90052         libc_feupdateenv.
90053         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90054         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90055         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90056         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90057         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90058         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90059         libc_fetestexcept and libc_feupdateenv.
90061         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90062         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90063         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90064         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90065         libc_feholdexcept_setround.
90067         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90068         Add s_nearbyint-c and s_nearbyintf-c.
90069         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90070         nearbyintf inlines.
90071         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90072         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90073         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90074         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90076         * math/math_private.h: Define defaults for libc_fegetround,
90077         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90078         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90079         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90080         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90081         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90082         standard functions.
90083         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90084         Remove comments and hacks for old compiler versions.
90085         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90086         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90087         libc_feholdexceptl.
90089 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90091         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90092         (__feraiseexcept_renamed): Add __NTH.
90093         (feraiseexcept): Add __NTH.  Rename local variables to fix
90094         namespace violations.
90096 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90098         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90100         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90102         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90103         recently added interfaces.
90104         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90106         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90107         about macro parameter expansion.
90109         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90110         __NO_MATH_INLINES is defined.  Cleanups.
90112         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90113         and __floorf is target has SSE4.1.
90114         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90115         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90116         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90117         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90119         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90120         name.
90121         (floorf): Likewise.
90123         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90125 2011-10-17  Andreas Schwab  <schwab@redhat.com>
90127         * misc/sys/cdefs.h: Fix last change.
90129         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90130         database lookup.
90132 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
90134         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90136         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90137         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90138         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90139         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90140         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90141         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90143         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90144         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90145         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90146         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90147         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90148         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90149         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90150         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90151         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90152         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90153         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90154         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90155         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90156         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90157         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90159         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90160         ceil, ceilf, floor, floorf.
90162         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90163         Perform IRELATIVE relocations last.
90165         * elf/do-rel.h: Add another parameter nrelative, replacing the
90166         local variable with the same name.  Change name of the function
90167         to end in Rel or Rela (uppercase).
90168         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90169         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
90170         elf_dynamic_do_##reloc function.
90172 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90174         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90175         is sufficient, at least on modern CPUs.
90177         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90179         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90180         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90182         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90183         __expl_finite.
90184         * math/bits/math-finite.h: Add entries for exp.
90185         * math/e_expl.c: Add __*_finite alias.
90186         * sysdeps/i386/fpu/e_exp.S: Likewise.
90187         * sysdeps/i386/fpu/e_expf.S: Likewise.
90188         * sysdeps/i386/fpu/e_expl.c: Likewise.
90189         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90190         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90191         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90192         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90193         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90194         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90195         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90197         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90198         is sufficient, at least on modern CPUs.
90200         * ctype/ctype-info.c (__ctype_init): Define.
90201         * include/ctype.h (__ctype_init): Declare.
90202         (__ctype_b_loc): The variable is always initialized.
90203         (__ctype_toupper_loc): Likewise.
90204         (__ctype_tolower_loc): Likewise.
90205         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90206         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90208 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
90210         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90212         * configure.in: Also look in $cxxmachine/include for C++ system
90213         headers.
90215 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90217         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90218         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90219         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90220         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
90221         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90222         (USE_AS_WMEMCMP): New macro.
90223         Fixing indents.
90224         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90225         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90226         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90227         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90229         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90230         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90231         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90232         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90233         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90234         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90235         (USE_AS_WMEMCMP): New macro.
90236         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90237         * sysdeps/string/test-memcmp.c: Update.
90238         Fix simple_wmemcmp.
90239         Add new tests.
90240         * wcsmbs/wmemcmp.c: Update.
90241         (WMEMCMP): New macro.
90242         Fix overflow bug.
90244 2011-10-12  Andreas Jaeger  <aj@suse.de>
90246         [BZ #13268]
90247         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90249 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90251         * libio/iofwide.c (do_length): Avoid warning.
90253         * ctype/ctype.h (__isctype_f): Add missing __THROW.
90255 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
90257         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90259         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90260         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90261         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90262         * sysdeps/i386/i686/fpu/e_log.S: New file.
90263         * sysdeps/i386/i686/fpu/e_logf.S: New file.
90264         * sysdeps/i386/i686/fpu/e_logl.S: New file.
90266         * ctype/ctype.h: Add support for inlined isXXX functions when
90267         compiling C++ code.
90269 2011-10-14  Andreas Schwab  <schwab@redhat.com>
90271         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90273         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90275 2011-10-13  Roland McGrath  <roland@hack.frob.com>
90277         [BZ #13291]
90278         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90280 2011-10-13  Andreas Schwab  <schwab@redhat.com>
90282         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90283         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90284         feraiseexcept.
90286         * sysdeps/x86_64/memrchr.S: Check for zero size.
90288         * string/stratcliff.c: Add memrchr tests.
90290 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90293         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90294         rawmemchr-sse2 rawmemchr-sse2-bsf.
90295         * sysdeps/i386/i686/multiarch/memchr.S: New file.
90296         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90297         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90298         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90299         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90300         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90301         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90302         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90303         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90304         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90305         * string/memrchr.c (MEMRCHR): New macro.
90307 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
90309         Add integration with gcc's -ffinite-math-only and optimize wrapper
90310         functions in libm.
90311         * Versions.def: Define GLIBC_2.15 version for libm.
90312         * math/Makefile (headers): Add bits/math-finite.h.
90313         * math/bits/math-finite.h: New file.
90314         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90315         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90316         * math/e_acoshl.c: Add __*_finite alias.
90317         * math/e_acosl.c: Likewise.
90318         * math/e_asinl.c: Likewise.
90319         * math/e_atan2l.c: Likewise.
90320         * math/e_atanhl.c: Likewise.
90321         * math/e_coshl.c: Likewise.
90322         * math/e_exp10.c: Likewise.
90323         * math/e_exp10f.c: Likewise.
90324         * math/e_exp10l.c: Likewise.
90325         * math/e_exp2l.c: Likewise.
90326         * math/e_fmodl.c: Likewise.
90327         * math/e_gammal_r.c: Likewise.
90328         * math/e_hypotl.c: Likewise.
90329         * math/e_j0l.c: Likewise.
90330         * math/e_j1l.c: Likewise.
90331         * math/e_jnl.c: Likewise.
90332         * math/e_lgammal_r.c: Likewise.
90333         * math/e_log10l.c: Likewise.
90334         * math/e_log2l.c: Likewise.
90335         * math/e_logl.c: Likewise.
90336         * math/e_powl.c: Likewise.
90337         * math/e_sinhl.c: Likewise.
90338         * math/e_sqrtl.c: Likewise.
90339         * math/e_scalb.c: Completely rewritten and optimized.
90340         * math/e_scalbf.c: Likewise.
90341         * math/e_scalbl.c: Likewise.
90342         * math/w_acos.c: Likewise.
90343         * math/w_acosf.c: Likewise.
90344         * math/w_acosl.c: Likewise.
90345         * math/w_acosh.c: Likewise.
90346         * math/w_acoshf.c: Likewise.
90347         * math/w_acoshl.c: Likewise.
90348         * math/w_asin.c: Likewise.
90349         * math/w_asinf.c: Likewise.
90350         * math/w_asinl.c: Likewise.
90351         * math/w_atan2.c: Likewise.
90352         * math/w_atan2f.c: Likewise.
90353         * math/w_atan2l.c: Likewise.
90354         * math/w_atanh.c: Likewise.
90355         * math/w_atanhf.c: Likewise.
90356         * math/w_atanhl.c: Likewise.
90357         * math/w_exp10.c: Likewise.
90358         * math/w_exp10f.c: Likewise.
90359         * math/w_exp10l.c: Likewise.
90360         * math/w_fmod.c: Likewise.
90361         * math/w_fmodf.c: Likewise.
90362         * math/w_fmodl.c: Likewise.
90363         * math/w_j0.c: Likewise.
90364         * math/w_j0f.c: Likewise.
90365         * math/w_j0l.c: Likewise.
90366         * math/w_j1.c: Likewise.
90367         * math/w_j1f.c: Likewise.
90368         * math/w_j1l.c: Likewise.
90369         * math/w_jn.c: Likewise.
90370         * math/w_jnf.c: Likewise.
90371         * math/w_log.c: Likewise.
90372         * math/w_logf.c: Likewise.
90373         * math/w_logl.c: Likewise.
90374         * math/w_log10.c: Likewise.
90375         * math/w_log10f.c: Likewise.
90376         * math/w_log10l.c: Likewise.
90377         * math/w_log2.c: Likewise.
90378         * math/w_log2f.c: Likewise.
90379         * math/w_log2l.c: Likewise.
90380         * math/w_pow.c: Likewise.
90381         * math/w_powf.c: Likewise.
90382         * math/w_powl.c: Likewise.
90383         * math/w_remainder.c: Likewise.
90384         * math/w_remainderf.c: Likewise.
90385         * math/w_remainderl.c: Likewise.
90386         * math/w_scalb.c: Likewise.
90387         * math/w_scalbf.c: Likewise.
90388         * math/w_scalbl.c: Likewise.
90389         * math/w_sqrt.c: Likewise.
90390         * math/w_sqrtf.c: Likewise.
90391         * math/w_sqrtl.c: Likewise.
90392         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90393         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
90394         used.
90395         * math/math_private.h: Declare __kernel_standard_f.
90396         * math/w_cosh.c: Remove cruft and optimize a bit.
90397         * math/w_coshf.c: Likewise.
90398         * math/w_coshl.c: Likewise.
90399         * math/w_exp2.c: Likewise.
90400         * math/w_exp2f.c: Likewise.
90401         * math/w_exp2l.c: Likewise.
90402         * math/w_hypot.c: Likewise.
90403         * math/w_hypotf.c: Likewise.
90404         * math/w_hypotl.c: Likewise.
90405         * math/w_lgamma.c: Likewise.
90406         * math/w_lgamma_r.c: Likewise.
90407         * math/w_lgammaf.c: Likewise.
90408         * math/w_lgammaf_r.c: Likewise.
90409         * math/w_lgammal.c: Likewise.
90410         * math/w_lgammal_r.c: Likewise.
90411         * math/w_sinh.c: Likewise.
90412         * math/w_sinhf.c: Likewise.
90413         * math/w_sinhl.c: Likewise.
90414         * math/w_tgamma.c: Likewise.
90415         * math/w_tgammaf.c: Likewise.
90416         * math/w_tgammal.c: Likewise.
90417         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90418         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90419         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90420         Minor optimizations.  Pretty printing.  Remove cruft.
90421         * sysdeps/i386/fpu/e_acosf.S: Likewise.
90422         * sysdeps/i386/fpu/e_acosh.S: Likewise.
90423         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90424         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90425         * sysdeps/i386/fpu/e_acosl.c: Likewise.
90426         * sysdeps/i386/fpu/e_asin.S: Likewise.
90427         * sysdeps/i386/fpu/e_asinf.S: Likewise.
90428         * sysdeps/i386/fpu/e_atan2.S: Likewise.
90429         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90430         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90431         * sysdeps/i386/fpu/e_atanh.S: Likewise.
90432         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90433         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90434         * sysdeps/i386/fpu/e_exp10.S: Likewise.
90435         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90436         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90437         * sysdeps/i386/fpu/e_exp2.S: Likewise.
90438         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90439         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90440         * sysdeps/i386/fpu/e_fmod.S: Likewise.
90441         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90442         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90443         * sysdeps/i386/fpu/e_hypot.S: Likewise.
90444         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90445         * sysdeps/i386/fpu/e_log.S: Likewise.
90446         * sysdeps/i386/fpu/e_log10.S: Likewise.
90447         * sysdeps/i386/fpu/e_log10f.S: Likewise.
90448         * sysdeps/i386/fpu/e_log10l.S: Likewise.
90449         * sysdeps/i386/fpu/e_log2.S: Likewise.
90450         * sysdeps/i386/fpu/e_log2f.S: Likewise.
90451         * sysdeps/i386/fpu/e_log2l.S: Likewise.
90452         * sysdeps/i386/fpu/e_logf.S: Likewise.
90453         * sysdeps/i386/fpu/e_logl.S: Likewise.
90454         * sysdeps/i386/fpu/e_pow.S: Likewise.
90455         * sysdeps/i386/fpu/e_powf.S: Likewise.
90456         * sysdeps/i386/fpu/e_powl.S: Likewise.
90457         * sysdeps/i386/fpu/e_remainder.S: Likewise.
90458         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90459         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90460         * sysdeps/i386/fpu/e_scalb.S: Likewise.
90461         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90462         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90463         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90464         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90465         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90466         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90467         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90468         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90469         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90470         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90471         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90472         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90473         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90474         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90475         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90476         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90477         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90479         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90480         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90482         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90483         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90484         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90485         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90486         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90487         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90488         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90489         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90490         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90491         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90492         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90493         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90494         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90495         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90496         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90497         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90498         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90499         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90500         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90501         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90502         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90503         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90504         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90505         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90506         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90507         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90508         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90509         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90510         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90511         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90512         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90513         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90514         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90516         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90517         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90518         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90519         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90520         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90521         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90522         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90523         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90524         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90525         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90526         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90527         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90530         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90531         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90532         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90533         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90534         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90535         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90536         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90537         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90538         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90539         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90540         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90541         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90542         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90543         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90544         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90545         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90546         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90547         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90548         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90549         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90550         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90551         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90552         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90553         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90554         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90555         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90556         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90557         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90558         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90559         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90560         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90561         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90562         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90563         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90564         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90565         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90566         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90567         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90568         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90569         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90570         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90571         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90572         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90573         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90574         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90575         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90576         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
90577         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90578         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90579         (__isnanf): Likewise.
90580         (__isinf_ns): Likewise.
90581         (__isinf_nsf): Likewise.
90582         (__finite): Likewise.
90583         (__finitef): Likewise.
90584         (__ieee754_sqrt): Define as macro.
90585         (__ieee754_sqrtf): Define as macro.
90586         (__ieee754_sqrtl): Define as macro.
90587         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90588         inlined copy.
90589         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90590         __FINITE_MATH_ONLY__ consistent.
90591         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90593 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
90595         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90596         of rawmemchr.
90598         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90600 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
90602         * po/ja.po: Update from translation team.
90604 2011-10-08  Roland McGrath  <roland@hack.frob.com>
90606         * locale/programs/locarchive.c (prepare_address_space): New function.
90607         (create_archive, enlarge_archive, open_archive): Use it.
90609         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90610         inside [SHARED], where it is used.
90612         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90614         * nss/getent.c (netgroup_keys): Remove unused variable.
90615         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90617 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
90619         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90620         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90622         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90623         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90624         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90625         * math/Makefile (libm-calls): Add s_isinf_ns.
90626         * math/divtc3.c: Use __isinf_nsl instead of isinf.
90627         * math/multc3.c: Likewise.
90628         * math/s_casin.c: Likewise.
90629         * math/s_casinf.c: Likewise.
90630         * math/s_casinl.c: Likewise.
90631         * math/s_ccos.c: Likewise.
90632         * math/s_ccosf.c: Likewise.
90633         * math/s_ccosl.c: Likewise.
90634         * math/s_ctan.c: Likewise.
90635         * math/s_ctanf.c: Likewise.
90636         * math/s_ctanh.c: Likewise.
90637         * math/s_ctanhf.c: Likewise.
90638         * math/s_ctanhl.c: Likewise.
90639         * math/s_ctanl.c: Likewise.
90640         * math/w_fmod.c: Likewise.
90641         * math/w_fmodf.c: Likewise.
90642         * math/w_fmodl.c: Likewise.
90643         * math/w_remainder.c: Likewise.
90644         * math/w_remainderf.c: Likewise.
90645         * math/w_remainderl.c: Likewise.
90646         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90647         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90648         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90649         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90650         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90651         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90652         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90653         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90655         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90656         of the number.
90657         * stdio-common/printf_fphex.c: Likewise.
90658         * stdio-common/printf_size.c: Likewise.
90660         * math/e_exp10.c: Include math_private.h using <...> not "...".
90661         * math/e_exp10f.c: Likewise.
90662         * math/e_exp10l.c: Likewise.
90663         * math/e_exp2l.c: Likewise.
90664         * math/e_j0l.c: Likewise.
90665         * math/e_j1l.c: Likewise.
90666         * math/e_jnl.c: Likewise.
90667         * math/e_lgammal_r.c: Likewise.
90668         * math/e_rem_pio2l.c: Likewise.
90669         * math/e_scalb.c: Likewise.
90670         * math/e_scalbf.c: Likewise.
90671         * math/e_scalbl.c: Likewise.
90672         * math/k_cosl.c: Likewise.
90673         * math/k_sinl.c: Likewise.
90674         * math/k_tanl.c: Likewise.
90675         * math/s_cacoshf.c: Likewise.
90676         * math/s_catan.c: Likewise.
90677         * math/s_catanf.c: Likewise.
90678         * math/s_catanh.c: Likewise.
90679         * math/s_catanhf.c: Likewise.
90680         * math/s_catanhl.c: Likewise.
90681         * math/s_catanl.c: Likewise.
90682         * math/s_ccosh.c: Likewise.
90683         * math/s_ccoshf.c: Likewise.
90684         * math/s_ccoshl.c: Likewise.
90685         * math/s_cexp.c: Likewise.
90686         * math/s_cexpf.c: Likewise.
90687         * math/s_cexpl.c: Likewise.
90688         * math/s_clog.c: Likewise.
90689         * math/s_clog10.c: Likewise.
90690         * math/s_clog10f.c: Likewise.
90691         * math/s_clog10l.c: Likewise.
90692         * math/s_clogf.c: Likewise.
90693         * math/s_clogl.c: Likewise.
90694         * math/s_csin.c: Likewise.
90695         * math/s_csinf.c: Likewise.
90696         * math/s_csinh.c: Likewise.
90697         * math/s_csinhf.c: Likewise.
90698         * math/s_csinhl.c: Likewise.
90699         * math/s_csinl.c: Likewise.
90700         * math/s_csqrt.c: Likewise.
90701         * math/s_csqrtf.c: Likewise.
90702         * math/s_csqrtl.c: Likewise.
90703         * math/s_ctan.c: Likewise.
90704         * math/s_ctanf.c: Likewise.
90705         * math/s_ctanh.c: Likewise.
90706         * math/s_ctanhf.c: Likewise.
90707         * math/s_ctanhl.c: Likewise.
90708         * math/s_ctanl.c: Likewise.
90709         * math/s_ldexp.c: Likewise.
90710         * math/s_ldexpf.c: Likewise.
90711         * math/s_ldexpl.c: Likewise.
90712         * math/s_significand.c: Likewise.
90713         * math/s_significandf.c: Likewise.
90714         * math/s_significandl.c: Likewise.
90715         * math/w_acos.c: Likewise.
90716         * math/w_acosf.c: Likewise.
90717         * math/w_acosh.c: Likewise.
90718         * math/w_acoshf.c: Likewise.
90719         * math/w_acoshl.c: Likewise.
90720         * math/w_acosl.c: Likewise.
90721         * math/w_asin.c: Likewise.
90722         * math/w_asinf.c: Likewise.
90723         * math/w_asinl.c: Likewise.
90724         * math/w_atan2.c: Likewise.
90725         * math/w_atan2f.c: Likewise.
90726         * math/w_atan2l.c: Likewise.
90727         * math/w_atanh.c: Likewise.
90728         * math/w_atanhf.c: Likewise.
90729         * math/w_atanhl.c: Likewise.
90730         * math/w_cosh.c: Likewise.
90731         * math/w_coshf.c: Likewise.
90732         * math/w_coshl.c: Likewise.
90733         * math/w_dremf.c: Likewise.
90734         * math/w_exp10.c: Likewise.
90735         * math/w_exp10f.c: Likewise.
90736         * math/w_exp10l.c: Likewise.
90737         * math/w_exp2.c: Likewise.
90738         * math/w_exp2f.c: Likewise.
90739         * math/w_fmod.c: Likewise.
90740         * math/w_fmodf.c: Likewise.
90741         * math/w_fmodl.c: Likewise.
90742         * math/w_hypot.c: Likewise.
90743         * math/w_hypotf.c: Likewise.
90744         * math/w_hypotl.c: Likewise.
90745         * math/w_j0.c: Likewise.
90746         * math/w_j0f.c: Likewise.
90747         * math/w_j0l.c: Likewise.
90748         * math/w_j1.c: Likewise.
90749         * math/w_j1f.c: Likewise.
90750         * math/w_j1l.c: Likewise.
90751         * math/w_jn.c: Likewise.
90752         * math/w_jnf.c: Likewise.
90753         * math/w_jnl.c: Likewise.
90754         * math/w_lgamma.c: Likewise.
90755         * math/w_lgamma_r.c: Likewise.
90756         * math/w_lgammaf.c: Likewise.
90757         * math/w_lgammaf_r.c: Likewise.
90758         * math/w_lgammal.c: Likewise.
90759         * math/w_lgammal_r.c: Likewise.
90760         * math/w_log.c: Likewise.
90761         * math/w_log10.c: Likewise.
90762         * math/w_log10f.c: Likewise.
90763         * math/w_log10l.c: Likewise.
90764         * math/w_log2.c: Likewise.
90765         * math/w_log2f.c: Likewise.
90766         * math/w_log2l.c: Likewise.
90767         * math/w_logf.c: Likewise.
90768         * math/w_logl.c: Likewise.
90769         * math/w_pow.c: Likewise.
90770         * math/w_powf.c: Likewise.
90771         * math/w_powl.c: Likewise.
90772         * math/w_remainder.c: Likewise.
90773         * math/w_remainderf.c: Likewise.
90774         * math/w_remainderl.c: Likewise.
90775         * math/w_scalb.c: Likewise.
90776         * math/w_scalbf.c: Likewise.
90777         * math/w_scalbl.c: Likewise.
90778         * math/w_sinh.c: Likewise.
90779         * math/w_sinhf.c: Likewise.
90780         * math/w_sinhl.c: Likewise.
90781         * math/w_sqrt.c: Likewise.
90782         * math/w_sqrtf.c: Likewise.
90783         * math/w_sqrtl.c: Likewise.
90784         * math/w_tgamma.c: Likewise.
90785         * math/w_tgammaf.c: Likewise.
90786         * math/w_tgammal.c: Likewise.
90788         * po/ja.po: Update from translation team.
90790 2011-09-29  Andreas Jaeger  <aj@suse.de>
90792         [BZ #13179]
90793         * sunrpc/netname.c (netname2host): Fix logic.
90795         [BZ #6779]
90796         [BZ #6783]
90797         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90798         correctly.
90799         * math/w_remainder.c (__remainder): Likewise.
90800         * math/w_remainderf.c (__remainderf): Likewise.
90801         * math/libm-test.inc (remainder_test): Add test cases.
90803 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90805         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90806         sdiv_qrnnd.
90808 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90810         * string/test-memcmp.c: Avoid unncessary #defines.
90811         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90813 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90815         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90816         Use new sse2 version for core i3 - i7 as it's faster
90817         than sse42 version.
90818         (bit_Prefer_PMINUB_for_stringop): New.
90819         * sysdeps/x86_64/rawmemchr.S: Update.
90820         Replace with faster SSE2 version.
90821         * sysdeps/x86_64/memrchr.S: New file.
90822         * sysdeps/x86_64/memchr.S: Update.
90823         Replace with faster SSE2 version.
90825 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90827         * elf/dl-load.c (lose): Add cast to avoid warning.
90829 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90831         * po/ca.po: Update from translation team.
90833         * inet/getnetgrent_r.c: Hook up nscd.
90834         * nscd/Makefile (routines): Add nscd_netgroup.
90835         (nscd-modules): Add netgroupcache.
90836         (CFLAGS-netgroupcache.c): Define.
90837         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90838         (cache_search): Add const to second parameter.
90839         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90840         INNETGR.
90841         (dbs): Add netgrdb entry.
90842         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90843         (verify_persistent_db): Handle netgrdb.
90844         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90845         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90846         GETFDNETGR.
90847         (netgroup_response_header): Define.
90848         (innetgroup_response_header): Define.
90849         (datahead): Add netgroup_response_header and innetgroup_response_header
90850         elements.
90851         * nscd/nscd.conf: Add entries for netgroup cache.
90852         * nscd/nscd.h (dbtype): Add netgrdb.
90853         (_PATH_NSCD_NETGROUP_DB): Define.
90854         (netgroup_iov_disabled): Declare.
90855         (xmalloc, xcalloc, xrealloc): Move declarations here.
90856         (cache_search): Adjust prototype.
90857         Add netgroup-related prototypes.
90858         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90859         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90860         (__nscd_innetgr): Declare.
90861         * nscd/selinux.c (perms): Use access_vector_t as element type and
90862         add netgroup-related initializers.
90863         * nscd/netgroupcache.c: New file.
90864         * nscd/nscd_netgroup.c: New file.
90865         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90866         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90867         For four parameters use innetgr.
90868         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90869         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90870         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90871         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90873         * nscd/connections.c (register_traced_file): Don't register file
90874         for disabled databases.
90876 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90878         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90880         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90881         from tree and freeing node.
90883 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90885         * nss/nsswitch.c (__nss_database_lookup): Handle
90886         nss_parse_service_list out of memory case.
90888 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90890         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90891         out of memory case.
90893 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90895         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90896         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90897         pass it down.
90898         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90899         elf_machine_rela, elf_machine_lazy_rel.
90900         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90901         (ELF_DYNAMIC_DO_REL): Likewise.
90902         (ELF_DYNAMIC_DO_RELA): Likewise.
90903         (ELF_DYNAMIC_RELOCATE): Likewise.
90904         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90905         to ELF_DYNAMIC_DO_REL.
90906         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90907         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90908         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90909         elf_machine_rela.
90910         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90911         skip_ifunc, don't call ifunc function if non-zero.
90912         (elf_machine_rela): Likewise.
90913         (elf_machine_lazy_rel): Likewise.
90914         (elf_machine_lazy_rela): Likewise.
90915         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90916         (elf_machine_lazy_rel): Likewise.
90917         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90918         Likewise.
90919         (elf_machine_lazy_rel): Likewise.
90920         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90921         Likewise.
90922         (elf_machine_lazy_rel): Likewise.
90923         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90924         (elf_machine_lazy_rel): Likewise.
90925         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90926         (elf_machine_lazy_rel): Likewise.
90927         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90928         (elf_machine_lazy_rel): Likewise.
90929         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90930         (elf_machine_lazy_rel): Likewise.
90931         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90932         (elf_machine_lazy_rel): Likewise.
90933         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90934         (elf_machine_lazy_rel): Likewise.
90936 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90938         * nss/nss_files/files-init.c (_nss_files_init): Use static
90939         initialization for all the *_traced_file variables.
90941 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90943         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90945 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90947         [BZ #13226]
90948         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90950 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90952         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90953         Reread the line before reparsing it.
90955 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90957         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90959 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90960             Maxim Kuvyrkov  <maxim@codesourcery.com>
90961             Joseph Myers  <joseph@codesourcery.com>
90963         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90964         if needed for __stack_chk_guard.
90966 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90968         * sysdeps/posix/spawni.c (script_execute): Always define it.
90969         It will be optimized away if unused.
90970         (maybe_script_execute): New function.
90971         (__spawni): Call it.
90973         * Makerules: Don't include tls.make.
90974         (config-tls): Always set to thread.
90975         * tls.make.c: File removed.
90977 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90979         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90980         * config.make.in (CPPFLAGS-config): New substituted variable.
90982 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90984         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90986         [BZ #13192]
90987         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90988         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90990 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90992         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90993         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90994         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90995         (CALL_FAIL): Likewise.
90996         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90997         (CALL_FAIL): Macro removed.
90998         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91000 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91002         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91003         for __FINITE_MATH_ONLY__ == 1.
91005 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91007         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91008         __ieee754_sqrt instead of sqrt.
91009         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91010         __ieee754_sqrtf instead of sqrtf.
91011         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91012         __floorf instead of floorf.
91013         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91014         __floorf, __truncf instead of floorf, truncf.
91016 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91018         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91020         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91021         __extern_always_inline.
91022         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91023         32-bit.
91025 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91027         * elf/rtld.c (dl_main): Also relocate in dependency order when
91028         doing symbol dependency testing.
91030 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91032         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91033         Always define `refsym'.
91035 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91037         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91038         (__FD_ELT): Renamed from __FDELT.
91039         * misc/bits/select2.h (__FD_ELT): Likewise.
91040         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91041         __FD_MASK instead of __FDELT, __FDMASK.
91042         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91043         Likewise.
91044         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91045         Likewise.
91047         * elf/Makefile (gen-ldd): Fix pattern.
91049         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91050         (init_tls): Likewise.
91052 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91054         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91056 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91058         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91059         `struct cmsghdr *' instead of `void *'.
91060         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91061         Likewise.
91063 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91065         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91066         if non-absolute.
91067         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91068         ldd_rewrite_script.
91070 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91072         * configure.in: Remove --with-tls option.
91073         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91074         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91075         out in case it is missing.
91076         * sysdeps/ia64/elf/configure.in: Likewise.
91077         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91078         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91079         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91080         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91081         * sysdeps/sh/elf/configure.in: Likewise.
91082         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91083         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91084         * sysdeps/x86_64/elf/configure.in: Likewise.
91085         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91086         * sysdeps/mach/hurd/tls.h: Likewise.
91088         [BZ #13067]
91089         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91091         [BZ #13090]
91092         * configure.in: Fix use of AC_INIT.
91094         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91096 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91098         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91099         __set_errno.
91100         * malloc/hooks.c: Likewise.
91102         [BZ #11929]
91103         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91104         variables statically.
91105         (narenas): Initialize.
91106         (list_lock): Initialize.
91107         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
91108         initializtion of main_arena and list_lock.  Small cleanups.
91109         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91110         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
91111         Add initializers to main_arena and mp_.
91112         (malloc_state): Remove pagesize member.  Change all users to use
91113         GLRO(dl_pagesize).
91115         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91116         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
91117         is always initialized.
91119         * malloc/malloc.c: Removed unused configurations and dead code.
91120         * malloc/arena.c: Likewise.
91121         * malloc/hooks.c: Likewise.
91122         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91124         * include/tls.h: Removed.  USE___THREAD must always be defined.
91125         * bits/libc-tsd.h: Don't handle !USE___THREAD.
91126         * elf/dl-libc.c: Likewise.
91127         * elf/dl-tsd.c: Likewise.
91128         * include/errno.h: Likewise.
91129         * include/netdb.h: Likewise.
91130         * include/resolv.h: Likewise.
91131         * inet/herrno-loc.c: Likewise.
91132         * inet/herrno.c: Likewise.
91133         * malloc/arena.c: Likewise.
91134         * malloc/hooks.c: Likewise.
91135         * malloc/malloc.c: Likewise.
91136         * resolv/res-state.c: Likewise.
91137         * resolv/res_libc.c: Likewise.
91138         * sysdeps/i386/dl-machine.h: Likewise.
91139         * sysdeps/ia64/dl-machine.h: Likewise.
91140         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91141         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91142         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91143         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91144         * sysdeps/sh/dl-machine.h: Likewise.
91145         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91146         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91147         * sysdeps/unix/i386/sysdep.S: Likewise.
91148         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91149         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91154         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91158         * sysdeps/unix/x86_64/sysdep.S: Likewise.
91159         * sysdeps/x86_64/dl-machine.h: Likewise.
91160         * tls.make.c: Likewise.
91162         * configure.in: Remove --with-__thread option.  Make tests for
91163         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91164         tls_model attribute fail if no support is available.  Remove
91165         USE_IN_LIBIO.
91166         * Makeconfig: Adjust for dropped configure option.  All features are
91167         now mandatory.
91168         * Makerules: Likewise.
91169         * Versions.def: Likewise.
91170         * argp/argp-fmtstream.c: Likewise.
91171         * argp/argp-fmtstream.h: Likewise.
91172         * argp/argp-help.c: Likewise.
91173         * assert/assert.c: Likewise.
91174         * config.h.in: Likewise.
91175         * config.make.in: Likewise.
91176         * configure: Likewise.
91177         * configure.in: Likewise.
91178         * csu/Versions: Likewise.
91179         * csu/init.c: Likewise.
91180         * elf/tst-audit2.c: Likewise.
91181         * elf/tst-tls10.c: Likewise.
91182         * elf/tst-tls10.h: Likewise.
91183         * elf/tst-tls11.c: Likewise.
91184         * elf/tst-tls12.c: Likewise.
91185         * elf/tst-tls14.c: Likewise.
91186         * elf/tst-tlsmod11.c: Likewise.
91187         * elf/tst-tlsmod12.c: Likewise.
91188         * elf/tst-tlsmod13.c: Likewise.
91189         * elf/tst-tlsmod13a.c: Likewise.
91190         * elf/tst-tlsmod14a.c: Likewise.
91191         * elf/tst-tlsmod15b.c: Likewise.
91192         * elf/tst-tlsmod16a.c: Likewise.
91193         * elf/tst-tlsmod16b.c: Likewise.
91194         * elf/tst-tlsmod7.c: Likewise.
91195         * elf/tst-tlsmod8.c: Likewise.
91196         * elf/tst-tlsmod9.c: Likewise.
91197         * gmon/gmon.c: Likewise.
91198         * grp/fgetgrent_r.c: Likewise.
91199         * grp/putgrent.c: Likewise.
91200         * hurd/fopenport.c: Likewise.
91201         * include/libc-symbols.h: Likewise.
91202         * include/tls.h: Likewise.
91203         * intl/gettextP.h: Likewise.
91204         * intl/loadinfo.h: Likewise.
91205         * locale/global-locale.c: Likewise.
91206         * locale/localeinfo.h: Likewise.
91207         * mach/devstream.c: Likewise.
91208         * malloc/arena.c: Likewise.
91209         * malloc/set-freeres.c: Likewise.
91210         * misc/err.c: Likewise.
91211         * misc/getttyent.c: Likewise.
91212         * misc/mntent_r.c: Likewise.
91213         * posix/getopt.c: Likewise.
91214         * posix/wordexp.c: Likewise.
91215         * pwd/fgetpwent_r.c: Likewise.
91216         * resolv/Versions: Likewise.
91217         * resolv/res_hconf.c: Likewise.
91218         * shadow/fgetspent_r.c: Likewise.
91219         * shadow/putspent.c: Likewise.
91220         * stdio-common/printf_fphex.c: Likewise.
91221         * stdio-common/tmpfile.c: Likewise.
91222         * stdlib/abort.c: Likewise.
91223         * stdlib/fmtmsg.c: Likewise.
91224         * sunrpc/auth_unix.c: Likewise.
91225         * sunrpc/clnt_perr.c: Likewise.
91226         * sunrpc/clnt_tcp.c: Likewise.
91227         * sunrpc/clnt_udp.c: Likewise.
91228         * sunrpc/clnt_unix.c: Likewise.
91229         * sunrpc/openchild.c: Likewise.
91230         * sunrpc/svc_simple.c: Likewise.
91231         * sunrpc/svc_tcp.c: Likewise.
91232         * sunrpc/svc_udp.c: Likewise.
91233         * sunrpc/svc_unix.c: Likewise.
91234         * sunrpc/xdr.c: Likewise.
91235         * sunrpc/xdr_array.c: Likewise.
91236         * sunrpc/xdr_rec.c: Likewise.
91237         * sunrpc/xdr_ref.c: Likewise.
91238         * sunrpc/xdr_stdio.c: Likewise.
91240 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91242         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91244 2011-07-03  Andreas Jaeger  <aj@suse.de>
91246         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91247         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91248         regenerate with gen-libm-tests.pl.
91250 2010-05-12  Petr Baudis  <pasky@suse.cz>
91252         [BZ #11589]
91253         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91254         around j0() zero points by switching to j1().
91255         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91256         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91258         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91260 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91262         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91263         instead of 0.
91264         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91265         instead of 0.
91266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91267         Patch in part by Pavel Roskin <proski@gnu.org>.
91269         [BZ #13138]
91270         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91271         realloc.
91272         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
91273         Free memory block if necessary.
91275         [BZ #12847]
91276         * libio/genops.c (INTDEF): For string streams the _lock pointer can
91277         be NULL.  Don't lock in this case.
91279 2011-09-09  Roland McGrath  <roland@hack.frob.com>
91281         * elf/elf.h (ELFOSABI_GNU): New macro.
91282         (ELFOSABI_LINUX): Define to that.
91284 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
91286         * string/strncat.c (strncat): Undef the symbol in case it has been
91287         defined in bits/string.h.
91289 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91291         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91293         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91294         link map.
91296 2011-08-17  Andreas Jaeger  <aj@suse.de>
91298         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91300 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
91301             Ian Lance Taylor  <iant@google.com>
91303         * math/libm-test.inc (lround_test): New testcase.
91304         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91306 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
91308         * Makefile: Remove support for automatic cvs check-ins.
91309         * Makerules: Likewise.
91310         * config.make.in: Likewise.
91311         * configure.in: Likewise.
91312         * intl/Makefile: Likewise.
91313         * locale/Makefile: Likewise.
91314         * po/Makefile: Likewise.
91315         * posix/Makefile: Likewise.
91316         * sysdeps/gnu/Makefile: Likewise.
91317         * sysdeps/mach/hurd/Makefile: Likewise.
91318         * sysdeps/sparc/sparc32/Makefile: Likewise.
91320         [BZ #13118]
91321         * posix/Makefile (bug-regex32-ENV): Define.
91322         Patch by John Stanley <jpsinthemix@verizon.net>.
91324         * misc/Makefile (headers): Add bits/select2.h.
91325         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91326         * misc/bits/select2.h: New file.
91327         * include/bits/select2.h: New file.
91328         * debug/Makefile (routines): Add fdelt_chk.
91329         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91330         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91331         FD_ISSET.
91332         * debug/fdelt_chk.c: New file.
91334         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
91335         * wcsmbs/test-wmemcmp.c: Likewise.
91336         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91337         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91339 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91341         * string/Makefile (strop-tests): Add memcmp.
91342         * string/test-wmemcmp.c: New file.
91343         * string/test-memcmp.c: Add wmemcmp support.
91345 2011-09-08  Roland McGrath  <roland@hack.frob.com>
91347         [BZ #13153]
91348         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91349         2011-07-19 change.
91351         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91352         garbage value in a __mach_port_mod_refs call in the cases of the
91353         task-self and thread-self ports.
91355 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91357         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91359 2011-09-08  Andreas Schwab  <schwab@redhat.com>
91361         * elf/dl-load.c (lose): Check for non-null L.
91363 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91365         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91367         * elf/dl-libc.c (dlerror_run): Pass back error code from
91368         dl_catch_error.
91370         [BZ #13123]
91371         * elf/dl-load.c (lose): Free l_origin if it is valid.
91373         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91374         names.
91375         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91376         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91377         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91378         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91379         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91380         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91382 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91384         * sysdeps/powerpc/fpu/e_hypot.c: New file.
91385         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91386         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91387         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91388         * sysdeps/powerpc/fpu/k_cosf.c: New file.
91389         * sysdeps/powerpc/fpu/k_sinf.c: New file.
91390         * sysdeps/powerpc/fpu/s_cosf.c: New file.
91391         * sysdeps/powerpc/fpu/s_sinf.c: New file.
91392         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91393         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91395 2011-08-15  Alan Modra  <amodra@gmail.com>
91397         [BZ #13092]
91398         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
91399         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
91400         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
91401         ppc_mcount to static-only-routines.
91402         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
91403         __mcount_internal.
91404         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
91405         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
91407 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
91409         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
91410         for finite and infinity parameters.
91412 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
91414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91415         and add nop instructions for throughput optimization.
91416         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91418 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
91420         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91421         aligned copy for power7 with vector-scalar instructions.
91422         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91424 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
91426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91427         AVX check.
91429 2011-09-07  Andreas Schwab  <schwab@redhat.com>
91431         [BZ #13144]
91432         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91433         last change.
91435 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91437         * sysdeps/unix/sysv/linux/x86_64/init-first.c
91438         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91439         syscall wrapper around clock_gettime in __vdso_clock_gettime.
91440         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91441         clock_gettime.
91443 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91445         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91446         Forgot to demangle the pointer.
91448         * sysdeps/i386/sysdep.h: Define atom_text_section.
91449         * sysdeps/x86_64/sysdep.h: Likewise.
91450         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91451         section with atom_text_section.
91452         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91453         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91454         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91455         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91456         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91458         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91459         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91460         already be defined.  Change to take two parameters and don't assign
91461         result to variable.  Adjust all users.
91462         Define INTERNAL_GETTIME if not already defined.
91463         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91464         call.
91465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91466         HAVE_CLOCK_GETTIME_VSYSCALL.
91467         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91470         gettimeofday vsyscall, just use time.
91472 2011-09-06  Andreas Schwab  <schwab@redhat.com>
91474         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91475         <errno.h>.
91477 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91479         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91480         syscall on x86-64.
91481         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91482         syscall.
91483         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91484         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91485         syscall if possible.
91487 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91489         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91490         e_ident.  Don't pass to find_mapsXX.
91491         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91493 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91496         strchr-sse2-no-bsf strrchr-sse2-no-bsf
91497         * sysdeps/x86_64/multiarch/strchr.S: Update.
91498         Check bit_slow_BSF bit.
91499         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91500         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91501         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91503 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91505         [BZ #13134]
91506         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91507         before glibc 2.15.
91508         (tryshell): Define.
91509         (__spawni): Change last parameter to be flag.  Test
91510         SPAWN_XFLAGS_USE_PATH flag to use path or not.
91511         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91512         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91513         * posix/spawni.c: Likewise.
91514         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91515         * posix/spawnp.c: Likewise.  Change normal version to use
91516         SPAWN_XFLAGS_USE_PATH.
91517         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91518         SPAWN_XFLAGS_TRY_SHELL.
91520         [BZ #13150]
91521         * posix/glob.h: Remove gcc 1.x support.
91523         [BZ #13068]
91524         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91526 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91529         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91530         strrchr-sse2-bsf
91531         * sysdeps/i386/i686/multiarch/strchr.S: New file.
91532         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91533         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91534         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91535         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91536         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91538 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91540         * sysdeps/x86_64/wcscmp.S: New file.
91542         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91543         wcscmp-c wcscmp-sse2
91544         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91545         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91547         * wcsmbs/wcscmp.c: Allow renaming.
91549 2011-09-05  David S. Miller  <davem@davemloft.net>
91551         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91552         stack slot, rather than the struct return pointer slot.
91553         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91554         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91556         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91558 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91560         * po/ja.po: Update from translation team.
91562         [BZ #13144]
91563         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91564         kernel in 64-bit binaries.
91566 2011-09-01  David S. Miller  <davem@davemloft.net>
91568         * elf/elf.h (HWCAP_SPARC_*): Move to..
91569         * sysdeps/sparc/sysdep.h: this new file and add new values.
91570         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91571         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91572         _DL_HWCAP_COUNT to 24.
91573         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91574         entries.
91575         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91576         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91577         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91579         instead of magic constants.
91580         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91582 2011-08-31  David S. Miller  <davem@davemloft.net>
91584         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91586         Reimplement to do errno handling inline.
91587         (SYSCALL_ERROR_HANDLER): New macro.
91588         (__SYSCALL_STRING): Do not do errno handling in asm.
91589         (__CLONE_SYSCALL_STRING): Delete.
91590         (__INTERNAL_SYSCALL_STRING): Delete.
91591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91592         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91593         (PSEUDO): Reimplement to do errno handling inline.
91594         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91595         (SYSCALL_ERROR_HANDLER): New macro.
91596         (__SYSCALL_STRING): Do not do errno handling in asm.
91597         (__CLONE_SYSCALL_STRING): Delete.
91598         (__INTERNAL_SYSCALL_STRING): Delete.
91599         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91600         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91601         i386.
91602         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91603         (inline_syscall*): Add 'err' argument.
91604         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91605         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91606         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91607         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91609         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91610         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91612 2011-08-30  Andreas Schwab  <schwab@redhat.com>
91614         * elf/rtld.c (dl_main): Relocate objects in dependency order.
91616 2011-08-29  Jiri Olsa <jolsa@redhat.com>
91618         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91619         directive.
91621 2011-08-24  David S. Miller  <davem@davemloft.net>
91623         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91625 2011-08-24  Andreas Schwab  <schwab@redhat.com>
91627         * elf/Makefile: Add rules to build and run unload8 test.
91628         * elf/unload8.c: New file.
91629         * elf/unload8mod1.c: New file.
91630         * elf/unload8mod1x.c: New file.
91631         * elf/unload8mod2.c: New file.
91632         * elf/unload8mod3.c: New file.
91634         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91635         it wasn't used.
91637 2011-08-23  David S. Miller  <davem@davemloft.net>
91639         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91640         subtract stack bias.
91641         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91642         %sp not %fp in calculations.
91643         (_JMPBUF_UNWINDS_ADJ): Likewise.
91645         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91646         (aio_suspend): Call it to force an exception region around the
91647         AIO_MISC_WAIT() invocation.
91649 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91651         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91652         backslash.
91654 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91656         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91657         protection macro.
91658         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91659         and <dl-machine.h>.
91660         (Elf64_FuncDesc): Remove.
91662 2011-08-22  David S. Miller  <davem@davemloft.net>
91664         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91665         sigaltstack check, add missing cfi directives.
91666         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91667         missing cfi directives, and sigaltstack handling.
91669 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91671         [BZ #11724]
91672         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91673         object is seen twice.
91674         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91676         * elf/Makefile (distribute): Add tst-initorder2.c.
91677         (tests): Add tst-initorder2.
91678         (modules-names): Add tst-initorder2a tst-initorder2b
91679         tst-initorder2c tst-initorder2d.  Add rules to build them.
91680         ($(objpfx)tst-initorder2.out): New rule.
91681         * elf/tst-initorder2.c: New file.
91682         * elf/tst-initorder2.exp: New file.
91684 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91686         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91688         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91689         dependencies back to end of function.
91691         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91692         $(elfobjdir)/ld.so.
91694 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91696         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91697         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91698         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91699         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91700         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91701         of __vdso_gettimeofday.
91702         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91703         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91704         attribute_hidden.
91705         (_libc_vdso_platform_setup): Remove initialization of
91706         __vdso_gettimeofday and __vdso_time.
91708 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91710         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91711         and fgetc_unlocked.
91712         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91713         getc_unlocked.
91715         * elf/dl-open.c (add_to_global): Report additions to the global scope
91716         for LD_DEBUG=scopes.
91717         (dl_open_worker): Also print scope of newly loaded dependencies.
91718         (_dl_show_scope): Indicate if there is no scope.
91720         [BZ #13114]
91721         * stdio-common/Makefile (tests): Add bug24.
91722         * stdio-common/bug24.c: New file.
91724 2011-08-19  Andreas Jaeger  <aj@suse.de>
91726         [BZ #13114]
91727         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91728         non-existant file when using close-on-exec mode.
91730 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91733         the very first instruction.
91735         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91736         the CFI state in the end.
91737         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91738         inclusion of dl-trampoline.h.
91739         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91741 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91743         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91744         expectations for long double.
91746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91747         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91749 2011-08-14  David S. Miller  <davem@davemloft.net>
91751         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91752         artificual limit depends upon the system page size.
91754 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91756         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91757         * resolv/Makefile: Define CFLAGS-libresolv.
91759 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91761         * nss/makedb.c (compute_tables): Make variables used in nested
91762         function static.
91764 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91766         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91767         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91768         if buffer was too small.
91770         * elf/pldd.c (main): Attach to all threads in the process.
91771         Rewrite /proc handling to use *at functions.
91773 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91775         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91776         specifies first scope to show.
91777         (dl_open_worker): Update callers.  Move printing scope of new
91778         object to before the relocation.
91779         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91780         * sysdeps/generic/ldsodefs.h: Update declaration.
91782         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91783         string for the scope number.
91785 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91787         * nscd/servicescache.c (cache_addserv): Make sure written is always
91788         initialized.
91790 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91792         * sysdeps/i386/i486/bits/atomic.h
91793         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91794         statement expression, so as to suppress "set but not used" warning.
91795         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91797         * string/strncat.c (STRNCAT): Use prototype definition.
91799         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91800         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91801         -Iprograms here.
91802         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91803         (localedef-modules): Add localedef.
91804         (locale-modules): Add locale.
91806         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91807         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91808         to avoid a warning.
91810 2011-08-14  David S. Miller  <davem@davemloft.net>
91812         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91813         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91815 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91817         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91818         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91819         * elf/rtld.c (dl_main): Set l_name of vDSO.
91820         Call _dl_show_scope when DL_DEBUG_SCOPES.
91821         (process_dl_debug): Recognize scopes flag and also set it for all.
91822         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91823         Declare _dl_show_scope.
91825         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91826         (do_dlopen): Pass caller_dlopen to dl_open.
91827         (__libc_dlopen_mode): Initialize caller_dlopen.
91829         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91830         of libc.  Make tolower call locale-independent.  Optimize a bit by
91831         using isdigit instead of isalnum.
91832         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91834 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91836         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91837         was a dependency or dynamically loaded.
91839 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91841         * intl/l10nflist.c: Allow architecture-specific pop function.
91842         * sysdeps/x86_64/l10nflist.c: New file.
91844         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91845         classification.
91847 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91849         * include/dirent.h: Add libc_hidden_proto for scandirat and
91850         scandirat64.  Don't declare __scandirat64.
91851         * dirent/scandirat.c: Add libc_hidden_def.
91852         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91853         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91855 2011-08-10  David S. Miller  <davem@davemloft.net>
91857         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91858         enum.
91859         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91860         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91861         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91863 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91865         * Versions.def [libc]: Add GLIBC_2.15.
91866         * dirent/Makefile (routines): Add scandirat and scandirat64.
91867         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91868         GLIBC_2.15.
91869         * dirent/dirent.h: Declare scandirat and scandirat64.
91870         * dirent/scandirat.c: New file.
91871         * dirent/scandirat64.c: New file.
91872         * sysdeps/wordsize-64/scandirat.c: New file.
91873         * sysdeps/wordsize-64/scandirat64.c: New file.
91874         * dirent/opendir.c: Define opendirat.
91875         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91876         using scandirat.
91877         * dirent/scandir64.c: Adjust for scandir.c change.
91878         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91879         __scandirat64, and __scandir_cancel_handler.
91880         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91881         additional parameter and use openat instead of open (outside of ld.so).
91882         Add new __opendir as wrapper around __opendirat.
91883         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91884         here without requiring old scandirat implementation.
91886 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91888         * dirent/scandir.c (cancel_handler): Renamed to
91889         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91890         defined.  Adjust users.
91891         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91892         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91894 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91896         * string/test-string.h (IMPL): Use __STRING to expand name and then
91897         stringify it.
91899         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91900         of cleanups.
91902 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91904         * string/Makefile: Update.
91905         (strop-tests): Append strncat.
91906         * string/test-wcscmp.c: New file.
91907         New comprehensive test for wcscmp.
91908         * string/test-strcmp.c: Update.
91909         (WIDE): New define.
91911 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91913         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91914         line.
91916 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91919         encoding to ACE if AI_IDN.
91921 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91923         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91924         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91926 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91928         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91929         Fix overflow bug in strncat.
91930         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91932         * string/test-strncat.c: Update.
91933         Add new tests for checking overflow bugs.
91935 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91937         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91938         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91939         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91940         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91941         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91942         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91943         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91944         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91945         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91947         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91948         (USE_AS_STRCAT): Define.
91949         Add strcat and strncat support.
91950         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91952 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91954         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91955         __n bigger than INT_MAX+1.
91956         (__strncmp_g): Likewise.
91958 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91960         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91961         * libio/stido.h: Likewise.
91963         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91964         (AF_NFC): Define.
91965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91966         (AF_NFC): Define.
91968         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91969         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91971         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91972         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91974         [BZ #13021]
91975         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91976         installed.
91978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91979         typo.
91980         (_dl_x86_64_save_sse): Likewise.
91982 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91985         OSXSAVE.
91986         (_dl_x86_64_save_sse): Likewise.
91988         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91990         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91992 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91995         change.
91996         (_dl_x86_64_save_sse): Use correct AVX check.
91998 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92000         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92001         bug in strncpy/strncat.
92002         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92004 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92006         * string/tester.c (test_strcat): Add tests for different alignments
92007         of source and destination.
92008         (test_strncat): Likewise.
92010 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92012         [BZ #12852]
92013         * posix/glob.c (glob): Check passed in values before using them in
92014         expressions to avoid some overflows.
92015         (glob_in_dir): Likewise.
92017         [BZ #13007]
92018         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92019         check for AVX enablement so that we don't crash with old kernels and
92020         new hardware.
92021         * elf/tst-audit4.c: Add same checks here.
92022         * elf/tst-audit6.c: Likewise.
92024         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92026 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92028         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92030 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92032         * po/cs.po: Update from translation team.
92033         * po/bg.po: Likewise.
92035 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92037         * misc/sys/cdefs.h: Add support for const attribute.
92038         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92039         to gnu_dev_{major,minor,makedev} functions.
92041 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92043         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92045 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92047         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92048         strlen results.
92050 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92053         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92054         register in order to avoid conflicts with the soft frame pointer
92055         being held in r11 when necessary.
92056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92057         (INTERNAL_VSYSCALL_NCS): Likewise.
92059 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92061         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92062         * elf/dl-fini.c (_dl_fini): Adjust caller.
92063         * elf/dl-close.c (_dl_close_worker): Likewise.
92064         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92066 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92068         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92069         "aux_cache->nlibs < 0".
92071         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92072         in the reload-count case.
92074 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92077         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92078         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92079         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92080         * sysdeps/x86_64/multiarch/strcat.S: New file.
92081         * sysdeps/x86_64/multiarch/strncat.S: New file.
92082         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92083         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92084         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92085         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92086         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92087         (USE_AS_STRCAT): Define.
92088         Add strcat and strncat support.
92089         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92090         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92091         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92092         * string/strncat.c: Update.
92093         (USE_AS_STRNCAT): Define.
92094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92095         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92096         and i7.
92097         * sysdeps/x86_64/multiarch/init-arch.h
92098         (bit_Prefer_PMINUB_for_stringop): New.
92099         (index_Prefer_PMINUB_for_stringop): Likewise.
92100         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92101         bit_Prefer_PMINUB_for_stringop.
92103 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92105         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92106         buffer64.
92107         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92108         of casting of buffer.
92109         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92110         buffer32 and buffer64.
92111         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92112         writes instead of casting of buffer.
92113         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92114         buffer32.
92115         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92116         casting of buffer.
92118 2011-07-19  Andreas Schwab  <schwab@redhat.com>
92120         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92122 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92124         * nscd/nscd.c (termination_handler): Don't do anything for a database
92125         if it has not yet been initialized.
92127 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92129         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92131 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92133         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92135 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92137         * po/nl.po: Update from translation team.
92138         * po/sv.po: Likewise.
92140 2011-07-16  Roland McGrath  <roland@hack.frob.com>
92142         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92143         now disallowed by GCC.
92145         * configure.in (use-default-link): Default to yes if a test -shared
92146         link meets our qualifications.
92147         * configure: Regenerated.
92149         * config.make.in (output-format): New variable.
92150         * configure.in: Check for ld --print-output-format support.
92151         * configure: Regenerated.
92152         * Makerules ($(common-objpfx)format.lds)
92153         [$(output-format) != unknown]: Just use $(output-format),
92154         instead of the linker-script munging.
92156 2011-07-14  Roland McGrath  <roland@hack.frob.com>
92158         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92159         of $(common-objpfx)shlib.lds.
92160         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92162         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92163         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92165         * configure.in (-z relro check): Adjust test code to add a large
92166         writable data section after it.
92167         * configure: Regenerated.
92169 2011-07-11  Roland McGrath  <roland@hack.frob.com>
92171         * configure.in (-z relro check): Fix test code to make the variable
92172         truly const.
92173         * configure: Regenerated.
92175 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
92177         * nscd/nscd.h (struct traced_file): Define.
92178         (struct database_dyn): Remove inotify_descr, reset_res, and filename
92179         elements.  Add traced_files.
92180         (inotify_fd): Declare.
92181         (register_traced_file): Declare.
92182         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92183         (inotify_fd): Export.
92184         (resolv_conf_descr): Remove.
92185         (nscd_init): Move inotify descriptor creation to main.
92186         Don't register files for notification here.
92187         (register_traced_file): New function.
92188         (invalidate_cache): Don't use reset_res to determine whether to call
92189         res_init, go through the list of registered files.
92190         (main_loop_poll): The inotify descriptors are now stored in the
92191         structures for the traced files.
92192         (main_loop_epoll): Likewise.
92193         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
92194         to __nss_disable_nscd.
92195         * nscd/cache.c (prune_cache): There is no single inotify descriptor
92196         for a database anymore.  Check the records for all the registered
92197         files instead.
92198         * nss/Makefile (libnss_files-routines): Add files-init.
92199         (libnss_db-routines): Add db-init.
92200         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92201         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92202         * nss/nss_db/db-init.c: New file.
92203         * nss/nss_files/files-init.c: New file.
92204         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
92205         __nss_lookup_function.
92206         (__nss_lookup_function): Call nss_load_library.
92207         (nss_load_all_libraries): New function.
92208         (__nss_disable_nscd): Take parameter with callback function for files
92209         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
92210         used for the cached services.
92211         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92212         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92213         options for features to all the files in nscd.
92215         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92217 2011-07-10  Roland McGrath  <roland@hack.frob.com>
92219         * csu/elf-init.c (__libc_csu_init): Comment typo.
92221 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
92223         * po/pl.po: Update from translation team.
92224         * po/ja.po: Likewise.
92225         * po/ru.po: Likewise.
92226         * po/ko.po: Likewise.
92227         * po/fr.po: Likewise.
92229 2011-07-09  Roland McGrath  <roland@hack.frob.com>
92231         * configure.in (.ctors/.dtors header and trailer check):
92232         Use an empirical test on a built program.
92233         * configure: Regenerated.
92235         * configure.in (-z relro check): Use an empirical test on a built DSO.
92236         Detect, but do not require, on ia64.
92237         * configure: Regenerated.
92239         * configure.in (READELF): Find it with AC_CHECK_TOOL.
92240         Update tests that use readelf to use $READELF instead.
92241         * configure: Regenerated.
92243 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
92245         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92246         if the result is not used.
92248 2011-07-05  Andreas Jaeger  <aj@suse.de>
92250         [BZ #9696]
92251         * stdlib/tst-strtod.c: Add testcase.
92253 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
92255         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92256         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92257         The latter has a higher limit.  Take additional parameter to pass to
92258         the new function.
92259         (__pathconf): Pass file to __statfs_link_max.
92260         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92261         __statfs_link_max.
92262         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92263         __statfs_link_max.
92265         [BZ #12868]
92266         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92267         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92268         Handle Lustre.
92269         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92270         (__statfs_filesize_max): Likewise.
92271         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92273 2011-07-05  Andreas Jaeger  <aj@suse.de>
92275         * resolv/res_comp.c (dn_skipname): Remove unused variable.
92277 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
92279         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92280         `status' variable.
92281         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92282         Likewise.
92284 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
92286         * Makefile (strop-tests): Add strncat.
92287         * string/test-strncat.c: New file.
92289 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
92291         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92293 2011-06-21  Andreas Jaeger  <aj@suse.de>
92295         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92296         Copy rule from iconvdata/Makefile.
92298 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92300         [BZ #12922]
92301         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92302         but no long options are defined, just return 'W'.
92304 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
92306         [BZ #9696]
92307         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92309 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92311         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92312         netgroups to read.
92313         (innetgr): Likewise.
92315 2011-07-05  Roland McGrath  <roland@hack.frob.com>
92317         * config.make.in (install_root): Default to $(DESTDIR).
92319 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
92321         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92323 2011-07-02  Roland McGrath  <roland@hack.frob.com>
92325         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92327         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92328         containing directory rather than embedding absolute directory names.
92330         * scripts/check-local-headers.sh: Rewritten using awk.
92331         Match by word, not by line.  Print error messages for matches.
92332         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92334         * Makerules [shlib-lds-flags empty]:
92335         ($(common-objpfx)libc_pic.opts): New target.
92336         ($(common-objpfx)libc_pic.os.clean): New target.
92337         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92339         * config.make.in (OBJCOPY): New variable.
92340         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92341         * configure: Regenerated.
92343         * config.make.in (use-default-link): New variable.
92344         * configure.in (use_default_link): Grok --with-default-link to set it.
92345         * configure: Regenerated.
92346         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92347         (shlib-lds, shlib-lds-flags): Define to empty.
92349         * Makerules (shlib-lds): New variable.
92350         (shlib-lds-flags): New variable.
92351         (build-shlib, build-moduile, build-module-asneeded): Use it.
92352         ($(common-objpfx)libc.so): Use $(shlib-lds).
92353         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92354         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92356         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92357         DT_FLAGS/DT_FLAGS_1 with zero flags.
92359         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92360         linker script munging.
92362 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
92364         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92365         as 128-bit value.
92366         * crypt/sha512.c (sha512_process_block): Perform total addition using
92367         128-bit if possible.
92368         (__sha512_finish_ctx): Likewise.
92369         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92370         as 64-bit value.
92371         * crypt/sha256.c (SWAP64): Define.
92372         (sha256_process_block): Perform total addition using 64-bit if
92373         possible.
92374         (__sha256_finish_ctx): Likewise.
92376 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
92378         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
92379         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92380         * nscd/hstcache.c (cache_addhst): Likewise.
92381         * nscd/grpcache.c (cache_addgr): Likewise.
92382         * nscd/aicache.c (addhstaiX): Likewise.
92383         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92385 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
92387         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92389         * nscd/hstcache.c (cache_addhst): Likewise.
92390         * nscd/grpcache.c (cache_addgr): Likewise.
92391         * nscd/aicache.c (addhstaiX): Likewise.
92393 2011-07-01  Andreas Schwab  <schwab@redhat.com>
92395         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92396         domain only when needed.
92398 2011-06-30  Andreas Schwab  <schwab@redhat.com>
92400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
92401         is always restored.
92403 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
92405         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
92406         are re-adding the entry.
92407         * nscd/servicescache.c (cache_addserv): Likewise.
92409 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
92411         * sysdeps/generic/dl-irel.h: fix protection against multiple
92412         inclusions.
92413         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92415 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
92417         [BZ #12935]
92418         * malloc/memusage.sh: Fix quoting in message.
92419         * debug/xtrace.sh: Likewise.
92421         * configure.in: Remove support for --experimental-malloc option, make
92422         it the default.
92423         * config.make.in: Likewise.
92424         * malloc/Makefile: Likewise.
92426 2011-06-27  Andreas Schwab  <schwab@redhat.com>
92428         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92429         two-byte characters.
92431 2011-06-27  Roland McGrath  <roland@hack.frob.com>
92433         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92434         AC_CACHE_CHECK invocation.
92435         * configure: Regenerated.
92437         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92439 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
92441         [BZ #12350]
92442         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
92443         bit from old_res_options.
92445         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92447         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92448         value type for setfct.
92450 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
92452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92453         __gettimeofday instead of gettimeofday.
92455 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
92457         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92459 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
92461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92463         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92464         info.
92466 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92469         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92470         strcpy-sse2-unaligned strncpy-sse2-unaligned
92471         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92472         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92473         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92474         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92475         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92477         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92478         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92479         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92480         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92481         (STRCPY): Support SSE2 and SSSE3 versions.
92483 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
92485         [BZ #12874]
92486         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92487         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92488         kernels which artificially limit size of requests.
92490 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92493         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92494         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92495         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92496         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92497         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92498         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92499         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92500         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92501         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92502         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92503         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92504         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92505         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92506         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92508         Enable unaligned load optimization for Intel Core i3, i5 and i7
92509         processors.
92510         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92511         Define.
92512         (index_Fast_Unaligned_Load): Define.
92513         (HAS_FAST_UNALIGNED_LOAD): Define.
92515 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
92517         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92519 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92521         [BZ #12907]
92522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92523         until it is clear that the information is realy needed.
92524         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92526 2011-06-22  Andreas Schwab  <schwab@redhat.com>
92528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92530 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92533         /sys/devices/system/cpu/online if it is usable.
92535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92536         reading the information from the /proc filesystem to once a second.
92538 2011-06-21  Andreas Jaeger  <aj@suse.de>
92540         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92541         NULL after inclusion of kernel headers.
92543 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
92545         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92546         calls to internal_setent.
92548         [BZ #12885]
92549         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92550         addresses using gethostbyname4_r ignore IPv4 addresses.
92552         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92553         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
92555         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92557 2011-06-20  David S. Miller  <davem@davemloft.net>
92559         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92560         inclusions.
92561         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92563         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92564         (elf_irel): Use it.
92565         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92566         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92567         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92568         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92569         * sysdeps/x86_64/dl-irel.h: Likewise.
92571         * elf/dl-runtime.c: Use elf_ifunc_invoke.
92572         * elf/dl-sym.c: Likewise.
92574 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92576         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
92577         need to dereference resplen2.
92579 2011-06-14  Andreas Schwab  <schwab@redhat.com>
92581         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92583 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92585         * Makeconfig: Define vardbdir and inst_vardbdir.
92586         * nss/Makefile: Add rules to install db-Makefile.
92588         * nss/nss_db/db-XXX.c: Cleanup.
92590         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92591         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92592         GLIBC_PRIVATE.
92593         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92594         * nss/makedb.c: Implement -g option to specify that value strings
92595         are generated and should not be added to table iterated over for
92596         get*ent calls.
92597         * nss/nss_db/db-initgroups.c: New file.
92599         * nss/getent.c: Add support for initgroups lookups through getgrouplist
92600         interface.
92602         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92603         (internal_getgrouplist): Adjust to name change.
92604         Update use_initgroups_entry if this is not the first call.
92605         * nss/databases.def: Add initgroups entry.
92607         * nss/makedb.c (compute_tables): Check result of multiple hash table
92608         sizes to minimize maximum chain length.
92610 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
92612         * Versions.def: Add entry for libnss_db.
92613         * shlib-versions: Likewise.
92614         * nss/Makefile: Add rules to build libnss_db.
92615         * nss/Versions: Add libnss_db information.  Organize libnss_files
92616         entries better.
92617         * nss/db-Makefile: Add gshadow support.  Change rules for the new
92618         makedb progra.  Some minor improvements to generate smaller files.
92619         * nss/nss_db/nss_db.h: Move NSS database header data structures to
92620         here from...
92621         * nss/makedb.c: ...here.
92622         Improve database format to be smaller and require less memory at
92623         runtime.
92624         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
92625         db anymore.
92626         * nss/nss_db/db-netgrp.c: Likewise.
92627         * nss/nss_db/db-open.c: Likewise.
92628         * nss/nss_files/flies-XXX.x: Adjust comments.
92629         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92630         * nss/nss_files/files-grp.c: Likewise.
92631         * nss/nss_files/files-hosts.c: Likewise.
92632         * nss/nss_files/files-network.c: Likewise.
92633         * nss/nss_files/files-proto.c: Likewise.
92634         * nss/nss_files/files-pwd.c: Likewise.
92635         * nss/nss_files/files-rpc.c: Likewise.
92636         * nss/nss_files/files-service.c: Likewise.
92637         * nss/nss_files/files-sgrp.c: Likewise.
92638         * nss/nss_files/files-spwd.c: Likewise.
92639         * nss/nss_db/db-alias.c: Removed.
92640         * nss/nss_db/dummy-db.h: Removed.
92642 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92644         * nss/makedb.c: Rewritten to not use database library.
92645         * nss/Makefile: Update to build new makedb program.
92647 2011-06-14  Andreas Jaeger  <aj@suse.de>
92649         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92650         memset declaration.
92652 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92655         tmpbuf.
92657 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92659         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92660         * elf/Makefile ($(objpfx)ld.so): Likewise.
92662         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92663         Don't list ld.so twice in dependencies.
92665         * posix/bug-regex31.c: Include <stdlib.h>.
92667         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92669         * nis/nss_compat/compat-spwd.c
92670         (getspent_next_nss_netgr): Remove unused variable.
92671         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92673         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92674         nonmembers" output to use the right array.
92676         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92678         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92680         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92681         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92682         * catgets/gencat.c (read_input_file): Likewise.
92683         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92685         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92686         variable definition inside #if's controlling its use.
92688         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92690         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92692         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92694         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92695         unreachable code.
92697         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92699         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92700         * configure: Regenerated.
92702         * Makerules: Revert last change.
92703         * elf/Makefile: Likewise.
92705 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92707         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92708         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92709         (reloc-link): Likewise.
92711 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92713         * elf/Makefile: Add rules to build pldd.
92714         * elf/pldd.c: New file.
92715         * elf/pldd-xx.c: New file.
92717 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92719         * version.h: Update for 2.15 development version.
92721 2011-06-07  David S. Miller  <davem@davemloft.net>
92723         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92724         ifuncs.
92725         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92726         elf_machine_lazy_rel): Likewise.
92727         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92729         elf_machine_lazy_rel): Likewise.
92730         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92731         dl_hwcap via passed in argument.
92732         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92733         Likewise.
92735 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92737         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92739 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92741         [BZ #12849]
92742         * manual/fdl-1.1.texi: New file, verbatim from:
92743         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92744         * manual/lgpl-2.1.texi: New file, verbatim from:
92745         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92746         * manual/Makefile (licenses): New variable, list those new file names.
92747         (texis): Use it.
92748         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92750         * manual/fdl.texi: File removed.
92751         * manual/lesser.texi: File removed.
92752         * manual/libc.texinfo (Copying, Documentation License):
92753         Use new @include file names, put @appendix directive before @include.
92755 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92757         [BZ #12841]
92758         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92759         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92760         (mq_open): Add __NTH.
92762 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92765         Assume Intel Core i3/i5/i7 processor if AVX is available.
92767 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92769         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92770         typo.
92772 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92774         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92775         memory.  Use alloca_account.  Fix memory leak when retrying.
92777 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92779         * version.h (RELEASE): Bump for 2.14 release.
92780         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92782         * config.make.in (RANLIB): Remove entry.
92784 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92786         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92787         (libc.pot): Work around missing support for .ksh extension in xgettext.
92789         [BZ #12684]
92790         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92791         if both request failed.
92792         (send_dg): In case of server errors clear resplen or *resplen2.
92794         [BZ #12454]
92795         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92796         when there are multiple maps.
92797         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92798         (_dl_fini): Remove test here.
92800         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92802 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92804         [BZ #12350]
92805         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92806         bit from old_res_options.
92807         (gaih_inet): Likewise.
92809         [BZ #11099]
92810         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92811         as signed.
92813         * resolv/res_init.c (res_setoptions): Make the code more compact.
92815         [BZ #11558]
92816         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92817         set RES_USEVC.
92819         [BZ #11634]
92820         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92822         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92824         [BZ #11781]
92825         * malloc/malloc.h: Declare malloc hook variables as volatile.
92827         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92828         in last patch.
92830         [BZ #11799]
92831         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92832         raise in the comment.
92833         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92834         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92835         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92837 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92839         [BZ #12811]
92840         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92841         grow the buffers more if it already has to be sufficient.
92842         (build_wcs_upper_buffer): Likewise.
92843         * posix/regexec.c (check_matching): Likewise.
92844         (clean_state_log_if_needed): Likewise.
92845         (extend_buffers): Don't enlarge buffers beyond size of the input
92846         buffer.
92847         Patches mostly by Emil Wojak <emil@wojak.eu>.
92848         * posix/bug-regex32.c: New file.
92849         * posix/Makefile (tests): Add bug-regex32.
92851         * locale/findlocale.c (_nl_find_locale): Return right away if
92852         _nl_explode_name failed.
92853         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92855         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92857         * debug/xtrace.sh: Unify messages.
92858         * malloc/memusage.sh: Likewise.
92860         [BZ #12813]
92861         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92862         time symbol from vDSO.  Substitute with vsyscall if not available.
92863         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92864         __vdso_time.
92866         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92867         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92868         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92869         Add sendmmsg and internal_sendmmsg.
92870         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92871         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92872         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92874         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92875         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92876         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92878 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92880         [BZ #12813]
92881         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92882         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92883         available.
92884         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92885         __vdso_getcpu.
92887         [BZ #12814]
92888         * iconvdata/Makefile (tests): Add bug-iconv9.
92889         * iconvdata/bug-iconv9.c: New file.
92891 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92893         [BZ #12814]
92894         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92896 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92898         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92899         (struct user_regs_struct): Change intcs field back to cs.
92901 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92903         * po/ja.po: Update from translation team.
92905 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92907         [BZ #12795]
92908         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92909         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92911 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92913         * stdlib/longlong.h: Update from GCC.
92915 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92917         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92918         parameter name.
92919         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92920         Add parameter name.
92921         (__sysconf): Pass it down.
92923 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92925         [BZ #12671]
92926         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92927         some situations.
92928         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92929         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92930         add in in __libc_use_alloca calls.  Adjust callers.
92931         (glob): Use malloc in some situations.
92933         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92934         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92935         pltexit.
92937 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92939         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92940         and CLOCK_BOOTTIME_ALARM.
92942         [BZ #12782]
92943         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92944         is returned.
92946         * string/_strerror.c (__strerror_r): Print negative errors as signed
92947         numbers.
92949         [BZ #12777]
92950         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92951         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92952         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92954         * configure.in: Fix typo in redirection and correct removal of test
92955         files in two cases.
92957         [BZ #12788]
92958         * locale/setlocale.c (new_composite_name): Fix test to check for
92959         identical name of all categories.
92961         [BZ #12792]
92962         * libio/filedoalloc.c (local_isatty): New function.
92963         (_IO_file_doallocate): Use local_isatty.
92964         * stdio-common/perror.c (perror): In case a new stream is used
92965         forward the stream error.
92966         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92967         error flag.
92969 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92971         [BZ #11884]
92972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92973         alloca.
92974         * include/alloca.h (extend_alloca_account): Define.
92976         [BZ #11857]
92977         * posix/regex.h: Fix comments with documentation of user-accessible
92978         fields after compilation and describe correct free'ing of pattern
92979         after re_compile_pattern.
92980         Patch by Reuben Thomas <rrt@sc3d.org>.
92982 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92984         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92985         and -mno-altivec to prevent the compiler from using Altivec and/or
92986         VSX instructions when the corresponding registers are not available.
92988 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92990         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92992 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92994         * libio/freopen.c (freopen): Use __dup2, not dup2.
92995         * libio/freopen64.c (freopen64): Likewise.
92997 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92999         [BZ #12775]
93000         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93001         * math/Makefile (tests): Add test-powl.
93002         (CFLAGS-test-powl.c): Define.
93003         * math/test-powl.c: New file.
93005 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93007         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93009 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93011         [BZ #11837]
93012         * iconvdata/gb18030.c: Update to GB18020-2005.
93014 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93016         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93017         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93018         Patch by Aharon Robbins <arnold@skeeve.com>.
93020         [BZ #11892]
93021         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93022         on the stack.
93024         [BZ #11895]
93025         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93026         through underflows.
93028         [BZ #12766]
93029         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93030         point to strings before performing equality test for error_one_per_line
93031         mode.
93033         [BZ #11697]
93034         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93036         [BZ #11820]
93037         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93038         (struct user_fpregs_struct): Avoid __uint*_t types.
93040         [BZ #6420]
93041         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93042         symbol info.  Use it instead of calling _dl_addr locally.
93043         (lock_and_info): New function.
93044         (tr_freehook): Call lock_and_info and pass symbol info as additional
93045         parameter to tr_where.
93046         (tr_mallochook): Likewise.
93047         (tr_reallochook): Likewise.
93048         (tr_memalignhook): Likewise.
93050         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93051         used and couldn't be at all thread-safe.
93053 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93055         * libio/freopen.c (freopen): Don't close old file descriptor
93056         before the new one is opened.  Instead dup the new file descriptor
93057         to the old one after the new stream is created.
93058         * libio/freopen64.c (freopen64): Likewise.
93059         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93060         * libio/fileops.c (_IO_new_file_close_it): Handle new
93061         _IO_FLAGS2_NOCLOSE flag.
93062         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93063         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93064         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93065         _IO_FLAGS2_NOCLOSE flag.
93066         * include/unistd.h: Add hidden_proto for dup3.
93067         Define __have_dup3.
93068         * io/dup3.c: Define hidden symbol.
93069         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93071         [BZ #7101]
93072         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93073         when an incomplete long option is used.
93074         * posix/tst-getopt_long1.c: New file.
93075         * posix/Makefile (tests): Add tst-getopt_long1.
93077         [BZ #10138]
93078         * scripts/config.guess: Update from autoconf-2.68.
93079         * scripts/config.sub: Likewise.
93081         [BZ #10157]
93082         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93083         tests into ...
93084         (has_cpuclock): ...this.  New function.
93085         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93086         macro here based on has_cpuclock code.
93088         [BZ #10149]
93089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93090         First byte (not low byte) is now always NUL.
93091         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93094         Use non-cancelable interfaces.
93096         [BZ #9809]
93097         * locale/iso-639.def: Add entry for Sorani.
93099         [BZ #11901]
93100         * include/stdlib.h: Move include protection to the right place.
93101         Define abort_msg_s.  Declare __abort_msg with it.
93102         * stdlib/abort.c (__abort_msg): Adjust type.
93103         * assert/assert.c (__assert_fail_base): New function.  Majority
93104         of code from __assert_fail.  Allocate memory for __abort_msg with
93105         mmap.
93106         (__assert_fail): Now call __assert_fail_base.
93107         * assert/assert-perr.c: Remove bulk of implementation.  Use
93108         __assert_fail_base.
93109         * include/assert.hL Declare __assert_fail_base.
93110         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93111         mmap.
93112         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93114 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
93116         [BZ #11952]
93117         [BZ #12453]
93118         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93119         until all modules are registered in the DTV.
93120         * elf/Makefile: Add rules to build and run tst-tls19.
93121         * elf/tst-tls19.c: New file.
93122         * elf/tst-tls19mod1.c: New file.
93123         * elf/tst-tls19mod2.c: New file.
93124         * elf/tst-tls19mod3.c: New file.
93125         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93127         [BZ #12083]
93128         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93129         correctly.
93131         [BZ #12601]
93132         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93133         two-byte sequence errors.
93134         * iconvdata/Makefile (tests): Add bug-iconv8.
93135         * iconvdata/bug-iconv8.c: New file.
93137         [BZ #12626]
93138         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93139         buf2 definition.
93141         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93143         [BZ #12432]
93144         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93145         (dummy_getcfa): New function.
93146         (init): Get _Unwind_GetCFA address, use dummy if not found.
93147         (backtrace_helper): In recursion check, also check whether CFA changes.
93148         (__backtrace): Completely initialize arg.
93150         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93151         storing incomplete byte sequence in state object.  Avoid testing for
93152         guaranteed too small input if we know there is enough data available.
93154 2011-05-11  Andreas Schwab  <schwab@redhat.com>
93156         * Makeconfig (+link-pie): Indent.
93157         * Rules (binaries-pie): Define if $(have-fpie) and
93158         $(build-shared).
93159         (binaries-shared): Also filter out $(binaries-pie).
93160         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93161         * nscd/Makefile (others-pie): Add nscd.
93162         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93163         ($(objpfx)nscd): Remove command override.
93164         * login/Makefile (others-pie): Add pt_chown.
93165         ($(objpfx)pt_chown): Remove command override.
93166         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93167         remove command overrides.
93169 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
93171         * libio/tst_putwc.c: Fix error messages.
93173         [BZ #12724]
93174         * libio/fileops.c (_IO_new_file_close_it): Always flush when
93175         currently writing and seek to current position when not.
93176         * libio/Makefile (tests): Add bug-fclose1.
93177         * libio/bug-fclose1.c: New file.
93179 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
93181         [BZ #12511]
93182         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93183         don't set DF_1_NODELETE here.
93184         (do_lookup_x): When entering new entry test for copy relocation
93185         and if necessary set DF_1_NODELETE flag.
93186         * elf/tst-unique4.cc: New file.
93187         * elf/tst-unique4.h: New file.
93188         * elf/tst-unique4lib.cc: New file.
93189         * elf/Makefile: Add rules to build and run tst-unique4.
93190         Patch by Piotr Bury <pbury@goahead.com>.
93192 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
93194         [BZ #12052]
93195         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93197         [BZ #12625]
93198         * misc/mntent_r.c (addmntent): Flush the stream after the output
93200         [BZ #12393]
93201         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93202         (is_trusted_path_normalize): Skip initial colon.  Append slash
93203         to empty buffer.  Duplicate is_trusted_path code but allow
93204         constructed patch to be prefix.
93205         (is_dst): Allow $ORIGIN followed by /.
93206         (_dl_dst_substitute): Correct clearing of check_for_trusted.
93207         Correct testing of result of is_trusted_path_normalize
93208         (decompose_rpath): Fix warning.
93210 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
93212         [BZ #11257]
93213         * grp/initgroups.c (internal_getgrouplist): When we found the service
93214         list through the initgroups entry in nsswitch.conf do not always
93215         continue on a successful lookup.  Don't always use the
93216         __nss_group_database value if it is set.
93217         * nss/nsswitch.conf (initgroups): Change action for successful db
93218         lookup to continue for compatibility.
93220 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
93222         [BZ #11532]
93223         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93224         and CP774 modules.
93225         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93226         and CP774 modules.
93227         * iconvdata/tst-tables.sh: Likewise.
93228         * iconvdata/cp770.c: New file.
93229         * iconvdata/cp771.c: New file.
93230         * iconvdata/cp772.c: New file.
93231         * iconvdata/cp773.c: New file.
93232         * iconvdata/cp774.c: New file.
93233         * iconvdata/testdata/CP770: New file.
93234         * iconvdata/testdata/CP770..UTF8: New file.
93235         * iconvdata/testdata/CP771: New file.
93236         * iconvdata/testdata/CP771..UTF8: New file.
93237         * iconvdata/testdata/CP772: New file.
93238         * iconvdata/testdata/CP772..UTF8: New file.
93239         * iconvdata/testdata/CP773: New file.
93240         * iconvdata/testdata/CP773..UTF8: New file.
93241         * iconvdata/testdata/CP774: New file.
93242         * iconvdata/testdata/CP774..UTF8: New file.
93244         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93245         END CHARMAP line.
93246         * iconvdata/gen-8bit-gap.sh: Likewise.
93247         * iconvdata/gen-8bit.sh: Likewise.
93249         * locale/iso-639.def: Add ary entry.
93251         [BZ #11258]
93252         * locale/C-translit.h.in: Add U20A1 transliteration.
93254         [BZ #12178]
93255         * locale/iso-639.def: Add wae entry.
93256         Patch by Kevin Bortis <bortis@translate-wae.ch>.
93258         [BZ #12545]
93259         * locale/programs/localedef.c (construct_output_path): Use ssize_t
93260         for n.
93262         [BZ #12711]
93263         * locale/C-translit.h.in: Add entry for U20B9.
93264         Patch by pravin.d.s@gmail.com.
93266 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
93268         [BZ #12713]
93269         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93270         ENAMETOOLONG use generic getcwd.
93271         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
93272         in rtld.  Use *stat64.
93273         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93274         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93275         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93276         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93277         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93278         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93279         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93280         __fstatat64 macros.
93281         * include/dirent.h: Add libc_hidden_proto for rewinddir.
93282         * dirent/rewinddir.c: Add libc_hidden_def.
93283         * sysdeps/mach/hurd/rewinddir.c: Likewise.
93284         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
93286         * include/dirent.h (__alloc_dir): Add flags parameter.
93287         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93288         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93289         __alloc_dir.
93290         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
93291         from fdopendir if O_CLOEXEC is already set.
93293 2011-03-15  Alan Modra  <amodra@gmail.com>
93295         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93296         l_tls_firstbyte_offset non-zero.  Save padding offset in
93297         l_tls_firstbyte_offset for later use.
93298         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93299         freeing static tls block.
93301 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
93303         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93304         where #ifdef was intended.  The intent is to prevent ARG_MAX from
93305         being defined by the kernel headers.
93307 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
93309         [BZ #12734]
93310         * resolv/resolv.h: Define RES_NOTLDQUERY.
93311         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93312         no-tld-query and set RES_NOTLDQUERY.
93313         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93314         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93315         modern BIND to search name as TLD unless forbidden.
93317 2011-05-07  Petr Baudis  <pasky@suse.cz>
93318             Ulrich Drepper  <drepper@gmail.com>
93320         [BZ #12393]
93321         * elf/dl-load.c (fillin_rpath): Move trusted path check...
93322         (is_trusted_path): ...to here.
93323         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93324         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93325         using is_trusted_path_normalize() in setuid scripts.
93327 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
93329         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93330         __BEGIN/__END_DECLS.
93332 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
93334         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93335         NSS_STATUS_NOTFOUND if no record was found.
93337 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93339         * sunrpc/Makefile (headers): Add rpc/netdb.h.
93340         (headers-not-in-tirpc): Remove rpc/netdb.h
93341         * resolv/netdb.h: Revert last change.
93343 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
93345         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93346         circular dependency between libgcc.a and libc.a.
93348 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93350         * resolv/netdb.h: Don't include <rpc/netdb.h>.
93351         * nis/Makefile: Don't install rpcsvc/*.
93352         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93353         instead of <rpc/types.h>.
93354         (MAXHOSTNAMELEN): Define.
93356 2011-05-03  Andreas Schwab  <schwab@redhat.com>
93358         * elf/ldconfig.c (add_dir): Don't crash on empty path.
93360 2011-04-28  Maciej Babinski  <mbabinski@google.com>
93362         [BZ #12714]
93363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93364         gethostbyname4_r when IPv6 results are possible.
93366 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
93368         [BZ #12723]
93369         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93370         _PC_PIPE_BUF handling.
93372 2011-04-30  Bruno Haible  <bruno@clisp.org>
93374         [BZ #12717]
93375         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93376         * resolv/netdb.h (getnameinfo): Change type of flags parameter
93377         to 'int'.
93378         * inet/getnameinfo.c (getnameinfo): Likewise.
93380 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
93382         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93383         to groups setting in database lookup.
93384         * nss/nsswitch.conf: Add initgroups entry.
93386 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
93388         [BZ #12685]
93389         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93390         mode string.
93391         Patch by Eric Blake <eblake@redhat.com>.
93393 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
93395         * sunrpc/Makefile (need-export-routines): Add svc_run.
93396         (routines): Remove svc_run.
93397         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93398         * sunrpc/clnt_perr.c (clnt_perrno): Export.
93399         * sunrpc/svc_run.c (svc_run): Likewise.
93400         * sunrpc/svc_udp.c (svcudp_create): Likewise.
93402 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
93404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
93405         problem in reallocation in last patch.
93407 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
93409         * sunrpc/Makefile: Move inclusion of Rules.
93411 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93413         * nss/nss_files/files-initgroups.c: New file.
93414         * nss/Makefile (libnss_files-routines): Add files-initgroups.
93415         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93416         _nss_files_initgroups_dyn.
93418 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
93420         * elf/elf.h (R_ARM_IRELATIVE): Define.
93422 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93424         * po/ru.po: Update from translation team.
93426 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93428         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93429         dependencies.
93431 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
93433         [BZ #12653]
93434         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93435         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93437         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93438         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93440 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
93442         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93443         differing bytes.
93444         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93445         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93446         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93448 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93450         [BZ #12420]
93451         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93452         storing it.
93453         * stdlib/bug-getcontext.c: New file.
93454         * stdlib/Makefile: Add rules to build and run bug-getcontext.
93456 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93458         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93459         instructions into .machine "z9-109".
93460         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93461         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93463 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93465         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93466         between environment variables and auxiliary vector.
93468 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
93470         * Makefile: Add rules to build linkobj/libc.so.
93471         * include/libc-symbols.h: Define libc_hidden_nolink.
93472         * include/rpc/auth.h: Mark functions which are to be hidden.
93473         * include/rpc/auth_des.h: Likewise.
93474         * include/rpc/auth_unix.h: Likewise.
93475         * include/rpc/clnt.h: Likewise.
93476         * include/rpc/des_crypt.h: Likewise.
93477         * include/rpc/key_prot.h: Likewise.
93478         * include/rpc/pmap_clnt.h: Likewise.
93479         * include/rpc/pmap_prot.h: Likewise.
93480         * include/rpc/pmap_rmt.h: Likewise.
93481         * include/rpc/rpc_msg.h: Likewise.
93482         * include/rpc/svc.h: Likewise.
93483         * include/rpc/svc_auth.h: Likewise.
93484         * include/rpc/xdr.h: Likewise.
93485         * nis/Makefile: Link all DSOs against linkobj/libc.so.
93486         * nss/Makefile: Likewise.
93487         * sunrpc/Makefile: Don't install headers.  Build library with normal
93488         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
93489         * sunrpc/auth_des.c: Hide exported symbols by default, export some
93490         for the compat linking library.  Remove use of INTDEF/INTUSE.
93491         * sunrpc/auth_none.c: Likewise.
93492         * sunrpc/auth_unix.c: Likewise.
93493         * sunrpc/authdes_prot.c: Likewise.
93494         * sunrpc/authuxprot.c: Likewise.
93495         * sunrpc/clnt_gen.c: Likewise.
93496         * sunrpc/clnt_perr.c: Likewise.
93497         * sunrpc/clnt_raw.c: Likewise.
93498         * sunrpc/clnt_simp.c: Likewise.
93499         * sunrpc/clnt_tcp.c: Likewise.
93500         * sunrpc/clnt_udp.c: Likewise.
93501         * sunrpc/clnt_unix.c: Likewise.
93502         * sunrpc/des_crypt.c: Likewise.
93503         * sunrpc/des_soft.c: Likewise.
93504         * sunrpc/get_myaddr.c: Likewise.
93505         * sunrpc/key_call.c: Likewise.
93506         * sunrpc/key_prot.c: Likewise.
93507         * sunrpc/netname.c: Likewise.
93508         * sunrpc/pm_getmaps.c: Likewise.
93509         * sunrpc/pm_getport.c: Likewise.
93510         * sunrpc/pmap_clnt.c: Likewise.
93511         * sunrpc/pmap_prot.c: Likewise.
93512         * sunrpc/pmap_prot2.c: Likewise.
93513         * sunrpc/pmap_rmt.c: Likewise.
93514         * sunrpc/publickey.c: Likewise.
93515         * sunrpc/rpc_cmsg.c: Likewise.
93516         * sunrpc/rpc_common.c: Likewise.
93517         * sunrpc/rpc_dtable.c: Likewise.
93518         * sunrpc/rpc_prot.c: Likewise.
93519         * sunrpc/rpc_thread.c: Likewise.
93520         * sunrpc/rtime.c: Likewise.
93521         * sunrpc/svc.c: Likewise.
93522         * sunrpc/svc_auth.c: Likewise.
93523         * sunrpc/svc_authux.c: Likewise.
93524         * sunrpc/svc_raw.c: Likewise.
93525         * sunrpc/svc_run.c: Likewise.
93526         * sunrpc/svc_simple.c: Likewise.
93527         * sunrpc/svc_tcp.c: Likewise.
93528         * sunrpc/svc_udp.c: Likewise.
93529         * sunrpc/svc_unix.c: Likewise.
93530         * sunrpc/svcauth_des.c: Likewise.
93531         * sunrpc/xcrypt.c: Likewise.
93532         * sunrpc/xdr.c: Likewise.
93533         * sunrpc/xdr_array.c: Likewise.
93534         * sunrpc/xdr_float.c: Likewise.
93535         * sunrpc/xdr_intXX_t.c: Likewise.
93536         * sunrpc/xdr_mem.c: Likewise.
93537         * sunrpc/xdr_rec.c: Likewise.
93538         * sunrpc/xdr_ref.c: Likewise.
93539         * sunrpc/xdr_sizeof.c: Likewise.
93540         * sunrpc/xdr_stdio.c: Likewise.
93542 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
93544         [BZ #12650]
93545         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93546         * sysdeps/ia64/dl-tls.h: Likewise.
93547         * sysdeps/powerpc/dl-tls.h: Likewise.
93548         * sysdeps/s390/dl-tls.h: Likewise.
93549         * sysdeps/sh/dl-tls.h: Likewise.
93550         * sysdeps/sparc/dl-tls.h: Likewise.
93551         * sysdeps/x86_64/dl-tls.h: Likewise.
93552         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93554 2011-03-14  Andreas Schwab  <schwab@redhat.com>
93556         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93557         rpath element also skip the following colon.
93558         (expand_dynamic_string_token): Add is_path parameter and pass
93559         down to DL_DST_REQUIRED and _dl_dst_substitute.
93560         (decompose_rpath): Call expand_dynamic_string_token with
93561         non-zero is_path.  Ignore empty rpaths.
93562         (_dl_map_object_from_fd): Call expand_dynamic_string_token
93563         with zero is_path.
93565 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
93567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93568         Make cancelable.
93570 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
93572         [BZ #12655]
93573         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93574         Patch by Filipe David Manana <fdmanana@apache.org>.
93576 2011-04-07  Andreas Schwab  <schwab@redhat.com>
93578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93579         Maintain aligned stack.
93580         (CHECK_RSP): Remove unused macro.
93582 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
93584         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93585         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93587 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
93589         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93591         * include/features.h: Mention __USE_XOPEN2K8 in comment.
93593 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
93595         [BZ #12518]
93596         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93597         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93598         * sysdeps/x86_64/memmove.c: New file.
93599         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93600         (memcpy): Renamed to ...
93601         (__new_memcpy): This.
93602         (memcpy): Provide GLIBC_2_14 memcpy.
93603         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93604         (memcpy): Provide GLIBC_2_2_5 memcpy.
93606 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93608         [BZ #12631]
93609         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93611 2011-03-30  Andreas Schwab  <schwab@redhat.com>
93613         * misc/syncfs.c: New file.
93614         * misc/Makefile (routines): Add syncfs.
93615         * posix/unistd.h: Declare syncfs.
93616         * sysdeps/unix/syscalls.list: Add syncfs.
93618 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93620         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93621         open_by_handle_at.
93622         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93623         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93625         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93627         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93628         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93630 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93633         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93634         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93636         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93637         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93638         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93640         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93641         sync_file_range.c with -fexceptions.
93642         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93643         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93644         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93645         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93646         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93647         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93649         sync_file_range as cancellation point
93650         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93651         now a wrapper around __call_sync_file_range with cancellation handling.
93652         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93653         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93654         function name to __call_sync_file_range.
93655         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93656         Add call_sync_file_range.
93658 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93661         bits/timex.h.
93663 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93665         * iconv/iconv.h: Fix typo in comment.
93666         * io/fcntl.h: Likewise.
93667         * libio/stdio.h: Likewise.
93668         * posix/spawn.h: Likewise.
93669         * posix/unistd.h: Likewise.
93670         * stdlib/stdlib.h: Likewise.
93671         * time/time.h: Likewise.
93672         * wcsmbs/wchar.h: Likewise.
93674         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93675         open_by_handle): Add.
93676         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93677         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93678         Augment a few comments.
93679         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93681         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93683         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93684         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93685         open_by_handle.
93687         * io/fcntl.h (AT_EMPTY_PATH): Define.
93689 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93691         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93692         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93693         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93694         to...
93695         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93696         * Versions.def: Add GLIBC_2.14.
93697         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93698         Export.
93700 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93702         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93703         round counter.
93704         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93706 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93708         [BZ #12597]
93709         * string/test-strncmp.c (do_page_test): New function.
93710         (check2): Likewise.
93711         (test_main): Call check2.
93712         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93714 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93716         [BZ #12587]
93717         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93718         Handle cache information in CPU leaf 4.
93719         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93721 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93723         [BZ #12583]
93724         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93725         character representation.
93726         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93728 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93730         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93731         END(__isnan) to END(__isnanf) to match function entry point/label
93732         EALIGN(__isnanf,...).
93734 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93736         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93738 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93740         [BZ #12510]
93741         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93742         copy from the symbol referenced in the relocation to initialize the
93743         used variable.
93744         Patch by Piotr Bury <pbury@goahead.com>.
93745         * elf/Makefile: Add rules to build and tst-unique3.
93746         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93747         * elf/tst-unique3.cc: New file.
93748         * elf/tst-unique3.h: New file.
93749         * elf/tst-unique3lib.cc: New file.
93750         * elf/tst-unique3lib2.cc: New file.
93752         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93754 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93756         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93757         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93758         to _start.
93760 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93762         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93763         to-be-loaded object along a path to loader is ld.so.
93765 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93766             Ulrich Drepper  <drepper@gmail.com>
93768         * sysdeps/x86_64/memset.S: After aligning destination, code
93769         branches to different locations depending on the value of
93770         misalignment, when multiarch is enabled. Fix this.
93772 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93774         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93775         Set _x86_64_preferred_memory_instruction for AMD processsors.
93776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93777         Set bit_Prefer_SSE_for_memop for AMD processors.
93779 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93781         * libio/fmemopen.c (fmemopen): Optimize a bit.
93783 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93785         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93787 2011-03-03  Roland McGrath  <roland@redhat.com>
93789         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93791 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93793         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93794         __bzero_ultra1 instead of __memset_ultra1.
93796 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93797             Ulrich Drepper  <drepper@gmail.com>
93799         [BZ #12509]
93800         * include/link.h (struct link_map): Add l_orig_initfini.
93801         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93802         returning unsuccessfully.
93803         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93804         close of a file loaded at startup, restore the original l_initfini
93805         list.
93806         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93807         list, store the pointer.
93808         * elf/Makefile ($(objpfx)noload-mem): New rule.
93809         (noload-ENV): Define.
93810         (tests): Add $(objpfx)noload-mem.
93811         * elf/noload.c: Include <memcheck.h>.
93812         (main): Call mtrace.  Close all opened handles.
93814 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93816         [BZ #12454]
93817         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93818         dependencies are missing.
93820 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93822         Fix __if_freereq crash: Unlike the generic version which uses free,
93823         Hurd needs munmap.
93824         * sysdeps/mach/hurd/ifreq.h: New file.
93826 2011-01-27  Petr Baudis  <pasky@suse.cz>
93827             Ulrich Drepper  <drepper@gmail.com>
93829         [BZ 12445]#
93830         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93831         to extend_alloca().
93832         * stdio-common/bug23.c: New file.
93833         * stdio-common/Makefile (tests): Add bug23.
93835 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93836             Ulrich Drepper  <drepper@gmail.com>
93838         [BZ #12489]
93839         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93840         before performing relro protection.  At old place add assertion
93841         to make sure nothing changed.
93843 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93844             Glauber de Oliveira Costa  <glommer@gmail.com>
93846         * elf/elf.h: Add new ARM TLS relocs.
93848 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93851         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93852         cast from r3.
93853         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93854         'tests' variable.
93855         * sysdeps/wordsize-64/tst-writev.c: New file.
93857 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93859         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93860         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93861         insns in _dl_start to prevent a TOC reference before relocs are
93862         resolved.
93864 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93866         [BZ #12469]
93867         * Makeconfig: Remove RANLIB definition.
93868         * Makerules: Don't use RANLIB.
93869         * aclocal.m4: Remove ranlib test.
93870         * configure.in: No need to check for ranlib.
93871         * elf/rtld-Rules: Don't use RANLIB.
93873 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93875         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93876         protection macro.
93877         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93878         inclusion protection macro.
93880         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93881         SIGRTMIN and SIGRTMAX and print information in that case only when
93882         SIGRTMIN is defined.
93884 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93886         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93887         arginfo fn returning -1.
93889         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93890         and thousands string is zero terminated.
93892 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93895         sysdeps/unix/sysv/linux/bits/socket.h.
93897 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93899         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93900         (__CPU_COUNT): Remove old macros.
93901         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93902         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93903         (__CPU_ALLOC, __CPU_FREE): Add macros.
93904         (__sched_cpualloc, __sched_cpufree): Add declarations.
93906 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93908         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93909         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93910         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93911         (readdhstai): Return value of addhstaiX call.
93912         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93913         (addgrbyX): Return value returned by cache_addgr.
93914         (readdgrbyname): Return value returned by addgrbyX.
93915         (readdgrbygid): Likewise.
93916         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93917         (addpwbyX): Return value returned by cache_addpw.
93918         (readdpwbyname): Return value returned by addhstbyX.
93919         (readdpwbyuid): Likewise.
93920         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93921         (addservbyX): Return value returned by cache_addserv.
93922         (readdservbyname): Return value returned by addservbyX:
93923         (readdservbyport): Likewise.
93924         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93925         (addhstbyX): Return value returned by cache_addhst.
93926         (readdhstbyname): Return value returned by addhstbyX.
93927         (readdhstbyaddr): Likewise.
93928         (readdhstbynamev6): Likewise.
93929         (readdhstbyaddrv6): Likewise.
93930         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93931         (readdinitgroups): Return value returned by addinitgroupsX.
93932         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93933         (prune_cache): Keep track of timeout value of re-added entries.
93934         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93935         * nscd/nscd.h: Adjust prototypes of readd* functions.
93937 2011-02-04  Roland McGrath  <roland@redhat.com>
93939         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93940         (nis_stats): Likewise.
93941         * nis/nis_modify.c (nis_modify): Likewise.
93942         * nis/nis_remove.c (nis_remove): Likewise.
93943         * nis/nis_add.c (nis_add): Likewise.
93945         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93947         * posix/fnmatch_loop.c: Add some consts.
93949         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93951 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93953         [BZ #12460]
93954         * config.make.in (config-cflags-novzeroupper): Define.
93955         * configure.in: Substitute libc_cv_cc_novzeroupper.
93956         * elf/Makefile (AVX-CFLAGS): Define.
93957         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93958         (CFLAGS-tst-auditmod4a.c): Likewise.
93959         (CFLAGS-tst-auditmod4b.c): Likewise.
93960         (CFLAGS-tst-auditmod6b.c): Likewise.
93961         (CFLAGS-tst-auditmod6c.c): Likewise.
93962         (CFLAGS-tst-auditmod7b.c): Likewise.
93963         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93965 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93967         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93968         function to the callback.
93969         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93971 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93973         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93974         of errno.
93976 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93978         [BZ #11724]
93979         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93980         of constructors.
93981         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93982         of destructors.
93983         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93985         [BZ #11724]
93986         * elf/Makefile: Add rules to build and run new test.
93987         * elf/tst-initorder.c: New file.
93988         * elf/tst-initorder.exp: New file.
93989         * elf/tst-initordera1.c: New file.
93990         * elf/tst-initordera2.c: New file.
93991         * elf/tst-initordera3.c: New file.
93992         * elf/tst-initordera4.c: New file.
93993         * elf/tst-initorderb1.c: New file.
93994         * elf/tst-initorderb2.c: New file.
93995         * elf/tst-order-a1.c: New file.
93996         * elf/tst-order-a2.c: New file.
93997         * elf/tst-order-a3.c: New file.
93998         * elf/tst-order-a4.c: New file.
93999         * elf/tst-order-b1.c: New file.
94000         * elf/tst-order-b2.c: New file.
94001         * elf/tst-order-main.c: New file.
94002         New test case by George Gensure <werkt0@gmail.com>.
94004 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94007         decoding ACE if AI_CANONIDN.
94009 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94011         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94013 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94015         * version.h (RELEASE): Bump for 2.13 release.
94016         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94018         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94020         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94021         MADV_NOHUGEPAGE.
94022         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94023         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94024         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94026         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94027         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94029         * posix/getconf.c: Update copyright year.
94030         * catgets/gencat.c: Likewise.
94031         * csu/version.c: Likewise.
94032         * debug/catchsegv.sh: Likewise.
94033         * debug/xtrace.sh: Likewise.
94034         * elf/ldconfig.c: Likewise.
94035         * elf/ldd.bash.in: Likewise.
94036         * elf/sprof.c (print_version): Likewise.
94037         * iconv/iconv_prog.c: Likewise.
94038         * iconv/iconvconfig.c: Likewise.
94039         * locale/programs/locale.c: Likewise.
94040         * locale/programs/localedef.c: Likewise.
94041         * malloc/memusage.sh: Likewise.
94042         * malloc/mtrace.pl: Likewise.
94043         * nscd/nscd.c (print_version): Likewise.
94044         * nss/getent.c: Likewise.
94046         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94047         PF_CAIF, and PF_ALG.
94048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94050 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94052         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94053         (modules-names): Use them.
94054         (ifunc-test-modules, ifunc-pie-tests): Define.
94055         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94056         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94057         (test-extras): Likewise.
94058         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94059         $(compile-command.c).
94060         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94061         (all-built-dso): Define.
94062         (check-textrel.out, check-execstack.out): Depend on it.
94064         * configure.in: Don't override --enable-multi-arch.
94066 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94068         [BZ #6812]
94069         * nscd/hstcache.c (tryagain): Define.
94070         (cache_addhst): Return tryagain not notfound for temporary errors.
94071         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94072         failed.
94074 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94076         [BZ #10563]
94077         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94078         to make the syscall.
94079         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94081         [BZ #12378]
94082         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94083         and fall back to matching as normal character if the string ends before
94084         the matching ']' is found.  This is what POSIX requires.
94085         * posix/testfnm.c: Adjust test result.
94086         * posix/globtest.sh: Adjust test result.  Add new test.
94087         * posix/tst-fnmatch.input: Likewise.
94088         * posix/tst-fnmatch2.c: Add new test.
94090 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94092         * elf/Makefile (check-execstack): Revert last change.  Depend on
94093         check-execstack.h.
94094         (check-execstack.h): New target.
94095         (generated): Add check-execstack.h.
94096         * elf/check-execstack.c: Include "check-execstack.h".
94097         (main): Revert last change.
94098         (handle_file): Return zero if GNU_STACK is absent and
94099         DEFAULT_STACK_PERMS doesn't include PF_X.
94101 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94103         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94104         in child fails because the descriptor is already closed.
94105         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94106         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94107         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94109         [BZ #12397]
94110         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94111         syscall.
94113         [BZ #10484]
94114         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94115         temporary buffer used to handle multi lookups locally.
94116         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94118 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94120         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94121         loader is ld.so.
94123 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
94125         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94126         alignment for SSE2.
94128 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94130         [BZ #12394]
94131         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94132         characters.  When rounding increased number of integer digits recompute
94133         number of groups.
94134         * stdio-common/tst-grouping.c: New file.
94135         * stdio-common/Makefile: Add rules to build and run tst-grouping.
94137 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
94139         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94140         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
94142         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94143         void.
94144         * bits/select.h: Likewise.
94146 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
94148         * po/ja.po: Update from translation team.
94150 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
94152         [BZ #11155]
94153         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94154         implementation just like for lxstat, fxstatat, et al.
94156 2010-12-27  Jim Meyering  <meyering@redhat.com>
94158         [BZ #12348]
94159         * posix/regexec.c (build_trtable): Return failure indication upon
94160         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
94162 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
94164         [BZ #12201]
94165         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94166         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94167         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94168         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94170         [BZ #12207]
94171         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94173         [BZ #12204]
94174         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94175         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94177 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
94179         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94180         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94181         script has SORT_BY_INIT_PRIORITY.
94182         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94183         NO_CTORS_DTORS_SECTIONS is defined.
94184         * elf/soinit.c: Likewise.
94185         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94186         NO_CTORS_DTORS_SECTIONS is defined.
94187         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94188         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94189         * sysdeps/sh/init-first.c: Likewise.
94190         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94192 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
94194         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94195         always use the slow path.
94197 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
94199         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94200         similar rule which adds the sysdep directories to the header search in
94201         order to pick up the correct platform stackinfo.h.
94202         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94203         perform test if it is, otherwise return successfully without testing.
94204         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94205         DEFAULT_STACK_PERMS define in stackinfo.h.
94206         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94207         defined in stackinfo.h.
94208         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94209         DEFAULT_STACK_PERMS defined in stackinfo.h.
94210         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94211         * sysdeps/ia64/stackinfo.h: Likewise.
94212         * sysdeps/s390/stackinfo.h: Likewise.
94213         * sysdeps/sh/stackinfo.h: Likewise.
94214         * sysdeps/sparc/stackinfo.h: Likewise.
94215         * sysdeps/x86_64/stackinfo.h: Likewise.
94216         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94217         PF_X for powerpc64.  Retain PF_X for powerpc32.
94219 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
94221         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94222         accurately.
94223         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94224         GETDENTS_64BIT_ALIGNED.
94226 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
94228         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94230 2010-12-10  Andreas Schwab  <schwab@redhat.com>
94232         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94233         _GNU_SOURCE.
94235         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94236         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94237         Remove __restrict.
94238         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94239         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94241 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
94243         [BZ #11655]
94244         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94245         are initialized.
94247 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
94249         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94251 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
94253         * po/it.po: Update from translation team.
94255 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
94257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94258         unused codes.
94260 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
94262         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94264 2010-11-24  Andreas Schwab  <schwab@redhat.com>
94266         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94267         specially.
94268         (gaih_getanswer_slice): Likewise.
94270 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
94272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94274 2010-05-31  Petr Baudis  <pasky@suse.cz>
94276         [BZ #11149]
94277         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94278         silently even in the chroot mode.
94280 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
94282         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94283         last patch a bit.  Pretty printing
94285 2010-05-31  Petr Baudis <pasky@suse.cz>
94287         [BZ #10085]
94288         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94289         initialization of skip_initgroups_dyn.
94291 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
94293         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94294         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94296 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
94298         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94300 2010-11-11  Andreas Schwab  <schwab@redhat.com>
94302         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94303         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94304         (tst-fnmatch-ENV): Set MALLOC_TRACE.
94305         ($(objpfx)tst-fnmatch-mem): New rule.
94306         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94307         * posix/tst-fnmatch.c (main): Call mtrace.
94309 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
94311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94312         Support Intel processor model 6 and model 0x2c.
94314 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
94316         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94317           signed comparison.
94319 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
94321         [BZ #12205]
94322         * string/test-strncasecmp.c (check_result): New function.
94323         (do_one_test): Use it.
94324         (check1): New function.
94325         (test_main): Use it.
94326         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94327         Support strcasecmp and strncasecmp.
94329 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
94331         [BZ #12194]
94332         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94333         * sysdeps/x86_64/bits/byteswap.h: Likewise.
94335 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
94337         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94338         IFUNC support.
94339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94340         memset-x86-64.
94341         * sysdeps/x86_64/multiarch/bzero.S: New file.
94342         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94343         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94344         * sysdeps/x86_64/multiarch/memset.S: New file.
94345         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94347         Set bit_Prefer_SSE_for_memop for Intel processors.
94348         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94349         Define.
94350         (index_Prefer_SSE_for_memop): Define.
94351         (HAS_PREFER_SSE_FOR_MEMOP): Define.
94353 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
94355         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94358 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
94360         [BZ #12191]
94361         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94362         (__x86_64_raw_data_cache_size_half): Likewise.
94363         (__x86_64_raw_shared_cache_size): Likewise.
94364         (__x86_64_raw_shared_cache_size_half): Likewise.
94366         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94367         (__x86_64_raw_data_cache_size_half): Likewise.
94368         (__x86_64_raw_shared_cache_size): Likewise.
94369         (__x86_64_raw_shared_cache_size_half): Likewise.
94370         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94371         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94372         and __x86_64_raw_shared_cache_size_half.  Round
94373         __x86_64_data_cache_size_half, __x86_64_data_cache_size
94374         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94375         to multiple of 256 bytes.
94377 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
94379         [BZ #12167]
94380         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94381         of inacessible symlinks.  Verify result of symlink before returning it.
94382         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94383         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94385 2010-10-28  Erich Ritz  <erichritz@gmail.com>
94387         * math/math.h (isinf): Fix typo in comment.
94389 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
94391         * po/da.po: Update from translation team.
94393 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
94395         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94396         is added to the list.
94398 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94399             Ulrich Drepper  <drepper@gmail.com>
94401         * elf/dl-object.c (_dl_new_object): Don't append the new object to
94402         the global list here.  Move code to...
94403         (_dl_add_to_namespace_list): ...here.  New function.
94404         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
94405         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
94406         * elf/dl-load.c (lose): Don't remove the element from the list.
94407         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
94408         (_dl_map_object): Likewise.
94410 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
94412         [BZ #12159]
94413         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94414         into all bytes of SSE register.
94415         Patch by Richard Li <richardpku@gmail.com>.
94417 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
94419         [BZ #12140]
94420         * malloc/malloc.c (_int_free): Fill correct number of bytes when
94421         perturbing.
94423 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
94425         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94426         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94427         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94428         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94430         submachine.
94431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94433 2010-10-22  Andreas Schwab  <schwab@redhat.com>
94435         * include/dlfcn.h (__RTLD_SECURE): Define.
94436         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
94437         mode & __RTLD_SECURE instead.
94438         (open_path): Rename preloaded parameter to secure.
94439         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94440         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94441         * elf/dl-deps.c (openaux): Likewise.
94442         * elf/rtld.c (struct map_args): Remove is_preloaded.
94443         (map_doit): Don't use it.
94444         (dl_main): Likewise.
94445         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94446         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94448 2010-09-09  Andreas Schwab  <schwab@redhat.com>
94450         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94451         (sysd-rules-targets): Remove duplicates.
94452         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94453         rtld-%.$o dependency.
94455 2010-10-18  Andreas Schwab  <schwab@redhat.com>
94457         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94458         _dl_map_object do it.
94460 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
94462         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94463         fast fma builtins, define the macros in the C99 standard.
94464         (FP_FAST_FMAF): Likewise.
94465         (FP_FAST_FMAL): Likewise.
94466         * sysdeps/x86_64/bits/mathdef.h: Likewise.
94468         * bits/mathdef.h: Update copyright year.
94469         * sysdeps/powerpc/bits/mathdef.h: Likewise.
94471 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
94473         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94474         builtins, define the macros in the C99 standard.
94475         (FP_FAST_FMAF): Likewise.
94476         (FP_FAST_FMAL): Likewise.
94477         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94478         multiply/add.
94479         (FP_FAST_FMAF): Likewise.
94481 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
94483         [BZ #3268]
94484         * math/libm-test.inc (fma_test): Some new testcases.
94485         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94486         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94487         y and infinite z.  Do multiplication by C already in long double.
94488         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94490         y and infinite z.  Do bitwise or of inexact bit into u.d.
94491         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94492         * sysdeps/i386/fpu/s_fmaf.S: Removed.
94493         * sysdeps/i386/fpu/s_fma.S: Removed.
94494         * sysdeps/i386/fpu/s_fmal.S: Removed.
94496 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
94498         [BZ #3268]
94499         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94501         computation is not scheduled after fetestexcept.  Fix value
94502         of minimum denormal long double.
94504 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
94506         [BZ #3268]
94507         * math/libm-test.inc (fma_test): Add some more tests.
94508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94509         correctly.
94511 2010-10-15  Andreas Schwab  <schwab@redhat.com>
94513         * scripts/data/localplt-s390-linux-gnu.data: New file.
94514         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94516 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
94518         [BZ #3268]
94519         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94520         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94521         instead of dbl-64.
94522         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94523         inlines.
94524         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94526         if one of x and y is very large and the other is subnormal.
94527         * sysdeps/s390/fpu/s_fmaf.c: New file.
94528         * sysdeps/s390/fpu/s_fma.c: New file.
94529         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94530         * sysdeps/powerpc/fpu/s_fma.S: New file.
94531         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94532         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94533         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94535 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
94537         [BZ #3268]
94538         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94539         fma tests.
94540         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94541         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94542         * sysdeps/i386/i686/multiarch/s_fma.c: Include
94543         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94544         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94545         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94546         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94548 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
94550         [BZ #12078]
94551         * posix/regcomp.c (parse_branch): One more memory leak plugged.
94552         * posix/bug-regex31.input: Add test case.
94554 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94556         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94557         * posix/bug-regex31.input: New file.
94559         [BZ #12078]
94560         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94561         (parse_sub_exp): Fix last change, use postorder.
94563         * posix/bug-regex31.c: New file.
94564         * posix/Makefile: Add rules to build and run bug-regex31.
94566         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94568         [BZ #12078]
94569         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94571         [BZ #12108]
94572         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94573         to have entries in sys_siglist.
94575         [BZ #12093]
94576         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94577         be NULL.
94579 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
94581         [BZ #3268]
94582         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94583         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94584         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94585         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94586         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94587         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94588         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94589         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94590         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94591         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94592         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94593         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94594         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94595         * math/ftestexcept.c (fetestexcept): Likewise.
94596         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94597         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94598         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94599         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94600         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94601         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94602         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94604 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94606         [BZ #12107]
94607         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94608         newline.
94610 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
94612         * string/bug-strstr1.c: New file.
94613         * string/Makefile: Add rules to build and run bug-strstr1.
94615 2010-10-05  Eric Blake  <eblake@redhat.com>
94617         [BZ #12092]
94618         * string/str-two-way.h (two_way_long_needle): Always clear memory
94619         when skipping input due to the shift table.
94621 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
94623         [BZ #12005]
94624         * malloc/mcheck.c: Handle large requests.
94626         [BZ #12077]
94627         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94628         for strncmp and strncasecmp.
94629         * string/stratcliff.c: Add tests for strcmp and strncmp.
94630         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94632 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
94634         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94635         __set_fpscr.
94637 2010-09-30  Andreas Jaeger  <aj@suse.de>
94639         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94640         (CGROUP_SUPER_MAGIC): Define.
94641         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94642         Handle btrfs and cgroup file systems.
94643         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94644         Likewise.
94646 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94648         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94649         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94651 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94653         [BZ #12067]
94654         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94655         trying to locate the ELF header.
94657 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94659         [BZ #11611]
94660         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94661         Mask out sign-bit copies when constructing f_fsid.
94663 2010-09-24  Petr Baudis <pasky@suse.cz>
94665         * debug/stack_chk_fail_local.c: Add missing licence exception.
94666         * debug/warning-nop.c: Likewise.
94668 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94670         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94671         implementing getdents64 using getdents syscall, set d_type if
94672         __ASSUME_GETDENTS32_D_TYPE.
94674 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94676         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94677         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94679 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94681         [BZ #12037]
94682         * posix/unistd.h: Undo change of feature selection for ftruncate from
94683         2010-01-11.
94685 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94687         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94688         detection.
94690 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94692         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94693         fanotify_mark.
94694         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94696 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94698         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94699         variables after CHECK_SP call.
94700         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94702 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94703             Ulrich Drepper  <drepper@redhat.com>
94705         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94706         re-relocationg ld.so.
94707         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94708         _dl_init_paths call.
94709         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94710         here anymore.
94712 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94714         * resolv/res_init.c (__res_vinit): Count the default server we added.
94716 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94717             Ulrich Drepper  <drepper@redhat.com>
94719         [BZ #11968]
94720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94721         (____longjmp_chk): Use %ebx for saving value across system call.
94722         Add unwind info.
94724 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94726         * manual/Makefile: Don't mix pattern rules with normal rules.
94728 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94730         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94731         operation.
94732         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94733         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94734         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94735         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94736         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94737         Likewise.
94739 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94741         [BZ #11979]
94742         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94743         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94745 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94747         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94748         * sysdeps/x86_64/addmul_1.S: Likewise.
94749         * sysdeps/x86_64/lshift.S: Likewise.
94750         * sysdeps/x86_64/mul_1.S: Likewise.
94751         * sysdeps/x86_64/rshift.S: Likewise.
94752         * sysdeps/x86_64/sub_n.S: Likewise.
94753         * sysdeps/x86_64/submul_1.S: Likewise.
94755 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94757         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94758         Define __sched_param instead of SCHED_* and sched_param when
94759         <bits/sched.h> is included with __need_schedparam defined.
94760         * bits/sched.h [__need_schedparam]
94761         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94762         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94763         (__defined_schedparam): Define to 1.
94764         (__sched_param): New structure, identical to sched_param.
94765         (__need_schedparam): Undefine.
94767 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94769         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94770         (epoll_create1): Declare.
94772         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94774 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94776         [BZ #7066]
94777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94778         shifting retval into place.
94780 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94782         * nis/rpcsvc/nis.h: Update copyright notice.
94783         * nis/rpcsvc/nis.x: Likewise.
94784         * nis/rpcsvc/nis_callback.h: Likewise.
94785         * nis/rpcsvc/nis_callback.x: Likewise.
94786         * nis/rpcsvc/nis_object.x: Likewise.
94787         * nis/rpcsvc/nis_tags.h: Likewise.
94788         * nis/rpcsvc/yp.h: Likewise.
94789         * nis/rpcsvc/yp.x: Likewise.
94790         * nis/rpcsvc/ypupd.h: Likewise.
94791         * nis/yp_xdr.c: Likewise.
94792         * nis/ypupdate_xdr.c: Likewise.
94794         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94795         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94796         (pmap_getport): Use __libc_rpc_getport.
94797         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94798         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94799         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94801 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94804         fanotify_mark.
94806 2010-08-27  Roland McGrath  <roland@redhat.com>
94808         * sysdeps/i386/i686/multiarch/Makefile
94809         (CFLAGS-varshift.c): New variable.
94811 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94813         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94814         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94816         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94818         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94820 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94822         * sysdeps/x86_64/strlen.S: Unroll the loop.
94823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94824         strlen-sse2 strlen-sse2-bsf.
94825         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94826         __strlen_no_bsf if bit_Slow_BSF is set.
94827         (__strlen_sse42): Removed.
94828         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94829         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94831 2010-08-25  Roland McGrath  <roland@redhat.com>
94833         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94834         * sysdeps/x86_64/multiarch/varshift.c: New file.
94835         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94836         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94837         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94838         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94840 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94843         strlen-sse2 strlen-sse2-bsf.
94844         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94845         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94846         (__strlen_sse2): Removed.
94847         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94850         bit_Slow_BSF for Atom.
94851         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94852         (index_Slow_BSF): Define.
94853         (HAS_SLOW_BSF): Define.
94855 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94857         [BZ #10851]
94858         * resolv/res_init.c (__res_vinit): When no server address at all
94859         is given default to loopback.
94861 2010-08-24  Roland McGrath  <roland@redhat.com>
94863         * configure.in: Remove config-name.h generation.
94864         * configure: Regenerated.
94865         * config-name.in: File removed.
94866         * scripts/config-uname.sh: New file.
94867         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94868         ($(objdir)config-name.h): New target.
94870         * sunrpc/rpc_parse.h: Avoid nested comment.
94872 2010-08-24  Richard Henderson  <rth@redhat.com>
94873             Ulrich Drepper  <drepper@redhat.com>
94874             H.J. Lu  <hongjiu.lu@intel.com>
94876         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94878         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94879         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94880         _mm_alignr_epi8 with _mm_loadu_si128.
94881         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94882         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94883         (__m128i_shift_right): Removed.
94884         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94885         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94886         * sysdeps/x86_64/multiarch/varshift.h: New file.
94887         * sysdeps/x86_64/multiarch/varshift.S: New file.
94889 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94891         * configure.in: Move assembler checks to before sysdep dir checking.
94893 2010-08-20  Petr Baudis  <pasky@suse.cz>
94895         * LICENSES: Sync the sunrpc license.
94897 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94899         * sunrpc/auth_des.c: Update copyright notice once again.
94900         * sunrpc/auth_none.c: Likewise.
94901         * sunrpc/auth_unix.c: Likewise.
94902         * sunrpc/authdes_prot.c: Likewise.
94903         * sunrpc/authuxprot.c: Likewise.
94904         * sunrpc/bindrsvprt.c: Likewise.
94905         * sunrpc/clnt_gen.c: Likewise.
94906         * sunrpc/clnt_perr.c: Likewise.
94907         * sunrpc/clnt_raw.c: Likewise.
94908         * sunrpc/clnt_simp.c: Likewise.
94909         * sunrpc/clnt_tcp.c: Likewise.
94910         * sunrpc/clnt_udp.c: Likewise.
94911         * sunrpc/clnt_unix.c: Likewise.
94912         * sunrpc/des_crypt.c: Likewise.
94913         * sunrpc/des_soft.c: Likewise.
94914         * sunrpc/get_myaddr.c: Likewise.
94915         * sunrpc/getrpcport.c: Likewise.
94916         * sunrpc/key_call.c: Likewise.
94917         * sunrpc/key_prot.c: Likewise.
94918         * sunrpc/openchild.c: Likewise.
94919         * sunrpc/pm_getmaps.c: Likewise.
94920         * sunrpc/pm_getport.c: Likewise.
94921         * sunrpc/pmap_clnt.c: Likewise.
94922         * sunrpc/pmap_prot.c: Likewise.
94923         * sunrpc/pmap_prot2.c: Likewise.
94924         * sunrpc/pmap_rmt.c: Likewise.
94925         * sunrpc/rpc/auth.h: Likewise.
94926         * sunrpc/rpc/auth_unix.h: Likewise.
94927         * sunrpc/rpc/clnt.h: Likewise.
94928         * sunrpc/rpc/des_crypt.h: Likewise.
94929         * sunrpc/rpc/key_prot.h: Likewise.
94930         * sunrpc/rpc/netdb.h: Likewise.
94931         * sunrpc/rpc/pmap_clnt.h: Likewise.
94932         * sunrpc/rpc/pmap_prot.h: Likewise.
94933         * sunrpc/rpc/pmap_rmt.h: Likewise.
94934         * sunrpc/rpc/rpc.h: Likewise.
94935         * sunrpc/rpc/rpc_des.h: Likewise.
94936         * sunrpc/rpc/rpc_msg.h: Likewise.
94937         * sunrpc/rpc/svc.h: Likewise.
94938         * sunrpc/rpc/svc_auth.h: Likewise.
94939         * sunrpc/rpc/types.h: Likewise.
94940         * sunrpc/rpc/xdr.h: Likewise.
94941         * sunrpc/rpc_clntout.c: Likewise.
94942         * sunrpc/rpc_cmsg.c: Likewise.
94943         * sunrpc/rpc_common.c: Likewise.
94944         * sunrpc/rpc_cout.c: Likewise.
94945         * sunrpc/rpc_dtable.c: Likewise.
94946         * sunrpc/rpc_hout.c: Likewise.
94947         * sunrpc/rpc_main.c: Likewise.
94948         * sunrpc/rpc_parse.c: Likewise.
94949         * sunrpc/rpc_parse.h: Likewise.
94950         * sunrpc/rpc_prot.c: Likewise.
94951         * sunrpc/rpc_sample.c: Likewise.
94952         * sunrpc/rpc_scan.c: Likewise.
94953         * sunrpc/rpc_scan.h: Likewise.
94954         * sunrpc/rpc_svcout.c: Likewise.
94955         * sunrpc/rpc_tblout.c: Likewise.
94956         * sunrpc/rpc_util.c: Likewise.
94957         * sunrpc/rpc_util.h: Likewise.
94958         * sunrpc/rpcinfo.c: Likewise.
94959         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94960         * sunrpc/rpcsvc/key_prot.x: Likewise.
94961         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94962         * sunrpc/rpcsvc/mount.x: Likewise.
94963         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94964         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94965         * sunrpc/rpcsvc/rex.x: Likewise.
94966         * sunrpc/rpcsvc/rstat.x: Likewise.
94967         * sunrpc/rpcsvc/rusers.x: Likewise.
94968         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94969         * sunrpc/rpcsvc/spray.x: Likewise.
94970         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94971         * sunrpc/rtime.c: Likewise.
94972         * sunrpc/svc.c: Likewise.
94973         * sunrpc/svc_auth.c: Likewise.
94974         * sunrpc/svc_authux.c: Likewise.
94975         * sunrpc/svc_raw.c: Likewise.
94976         * sunrpc/svc_run.c: Likewise.
94977         * sunrpc/svc_simple.c: Likewise.
94978         * sunrpc/svc_tcp.c: Likewise.
94979         * sunrpc/svc_udp.c: Likewise.
94980         * sunrpc/svc_unix.c: Likewise.
94981         * sunrpc/svcauth_des.c: Likewise.
94982         * sunrpc/xcrypt.c: Likewise.
94983         * sunrpc/xdr.c: Likewise.
94984         * sunrpc/xdr_array.c: Likewise.
94985         * sunrpc/xdr_float.c: Likewise.
94986         * sunrpc/xdr_mem.c: Likewise.
94987         * sunrpc/xdr_rec.c: Likewise.
94988         * sunrpc/xdr_ref.c: Likewise.
94989         * sunrpc/xdr_sizeof.c: Likewise.
94990         * sunrpc/xdr_stdio.c: Likewise.
94992         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94993         handling.
94995 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94997         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94999 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95001         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95002         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95003         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95004         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95005         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95006         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95007         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95008         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95010         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95011         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95012         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95013         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95014         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95016 2010-07-26  Anton Blanchard  <anton@samba.org>
95018         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95019         * malloc/arena.c (heap_trim): Likewise.
95021 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95023         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95024         here.  Not...
95025         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95026         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95028 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95030         * sysdeps/i386/elf/Makefile: New file.
95032 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95034         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95035         from fanotify_init.
95036         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95039 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95041         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95042         of strncasecmp_l.
95043         * sysdeps/multiarch/strcmp.S: Likewise.
95045 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95047         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95048         strncase_l-nonascii.
95049         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95050         Add strncase_l-ssse3.
95051         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95052         * sysdeps/x86_64/strcmp.S: Likewise.
95053         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95054         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95055         * sysdeps/x86_64/strncase.S: New file.
95056         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95057         * sysdeps/x86_64/strncase_l.S: New file.
95058         * string/Makefile (strop-tests): Add strncasecmp.
95059         * string/test-strncasecmp.c: New file.
95061         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95062         warning.
95064         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95065         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95067 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95069         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95071 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95073         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95074         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95075         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95077 2010-05-01  Alan Modra  <amodra@gmail.com>
95079         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95080         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95081         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95082         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95083         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95084         tidying.  Don't tail-call __sigjmp_save for static lib.
95085         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95086         save location.
95087         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95088         (CALL_MCOUNT): Add eh info, and nop after bl.
95089         (TAIL_CALL_SYSCALL_ERROR): New macro.
95090         (PSEUDO_RET): Use it.
95091         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95092         Correct save location of integer regs and cr.
95093         (_dl_profile_resolve): Correct cr save location.  Delete nops
95094         after bl when SHARED.  Reduce cfi size a little by better
95095         placement of cfi directives.
95096         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95097         make a stack frame.  Instead use parm save area as a temp.
95098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95099         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95101         Don't make a stack frame for parent, use parm save area.
95102         Increase child stack frame to 112 bytes.  Don't save unused reg,
95103         and adjust reg usage.  Set up cfi on error recovery and
95104         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95106         (__makecontext): Add dummy nop after jump to exit.
95107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95108         Use correct parm save area and cr save, reduce stack frame.
95109         Correct cfi for possible PSEUDO_RET frame setup.
95110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95111         Branch to local label emitted by PSEUDO_RET rather than
95112         __syscall_error.
95114 2010-08-12  Andreas Schwab  <schwab@redhat.com>
95116         [BZ #11904]
95117         * locale/programs/locale.c (print_assignment): New function.
95118         (show_locale_vars): Use it.
95120 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
95122         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95123         field.
95124         (struct statfs64): Likewise.
95125         (_STATFS_F_FLAGS): Define.
95126         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95128         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95129         (ST_VALID): Define locally.
95130         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95131         __statvfs_getflags, use the provided value.
95132         * sysdeps/unix/sysv/linux/kernel-features.h: Define
95133         __ASSUME_STATFS_F_FLAGS.
95135         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95137         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95138         Add sys/fanotify.h.
95139         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95140         fanotify_mask for GLIBC_2.13.
95141         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95142         fanotify_init and fanotify_mark.
95143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95144         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95146         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95147         Add prlimit.
95148         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95149         prlimit64 for GLIBC_2.13.
95150         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95151         prlimit64.
95152         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95153         syscall.
95154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95156         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95157         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95158         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
95159         add prlimit alias.
95160         * sysdeps/unix/sysv/linux/prlimit.c: New file.
95162         [BZ #11903]
95163         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95164         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95166         * nss/Makefile: Add rules to build and run tst-nss-test1.
95167         * shlib-versions: Add entry for libnss_test1.
95168         * nss/nss_test1.c: New file.
95169         * nss/tst-nss-test1.c: New file.
95171         * nss/nsswitch.c (__nss_database_custom): Define new variable.
95172         (__nss_configure_lookup): Set appropriate entry in
95173         __nss_configure_lookup to true.
95174         * nss/nsswitch.h: Define enum with indeces of databases in
95175         databases and __nss_database_custom arrays.  Declare
95176         __nss_database_custom.
95177         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95178         to avoid using nscd when custom rules are installed.
95179         * nss/getXXbyYY_r.c: Likewise.
95180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95182         * nss/nss_files/files-parse.c: Whitespace fixes.
95184 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
95186         [BZ #11883]
95187         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95188         * posix/fnmatch_loop.c: Likewise.
95190 2010-07-17  Andi Kleen  <ak@linux.intel.com>
95192         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95193         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95194         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95195         * Versions.def [GLIBC_2.13]: Add.
95197 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
95199         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95200         Also fail if tpwd after pwuid call is NULL.
95202 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95204         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95205         when converting to ms.
95207 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95209         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95210         EOPNOTSUPP errors with ENOTTY.
95211         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95212         EOPNOTSUPP errors with ENOTTY.
95214 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
95216         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95217         Add strcasecmp_l-ssse3.
95218         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95219         strcasecmp.
95220         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95221         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95222         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95224 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
95226         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95228         * string/Makefile (strop-tests): Add strcasecmp.
95229         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95230         strcasecmp_l-nonascii.
95231         (gen-as-const-headers): Add locale-defines.sym.
95232         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95233         * sysdeps/x86_64/strcasecmp.S: New file.
95234         * sysdeps/x86_64/strcasecmp_l.S: New file.
95235         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95236         * sysdeps/x86_64/locale-defines.sym: New file.
95237         * string/test-strcasecmp.c: New file.
95239         * string/test-strcasestr.c: Test both ends of the range of characters.
95240         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95242 2010-07-29  Roland McGrath  <roland@redhat.com>
95244         [BZ #11856]
95245         * manual/locale.texi (Yes-or-No Questions): Fix example code.
95247 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
95249         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95250         for ld.so.
95252 2010-07-27  Andreas Schwab  <schwab@redhat.com>
95254         * manual/memory.texi (Malloc Tunable Parameters): Document
95255         M_PERTURB.
95257 2010-07-26  Roland McGrath  <roland@redhat.com>
95259         [BZ #11840]
95260         * configure.in (-fgnu89-inline check): Set and substitute
95261         gnu89_inline, not libc_cv_gnu89_inline.
95262         * configure: Regenerated.
95263         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95265 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
95267         * string/test-strnlen.c: New file.
95268         * string/Makefile (strop-tests): Add strnlen.
95269         * string/tester.c (test_strnlen): Add a few more test cases.
95270         * string/tst-strlen.c: Better error reporting.
95272         * sysdeps/x86_64/strnlen.S: New file.
95274 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
95276         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95277         lower-latency instructions.
95279 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
95281         * string/test-strcasestr.c: New file.
95282         * string/test-strstr.c: New file.
95283         * string/Makefile (strop-tests): Add strstr and strcasestr.
95284         * string/str-two-way.h: Don't undefine MAX.
95285         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95287 2010-07-21  Andreas Schwab  <schwab@redhat.com>
95289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95290         strcasestr-nonascii.
95291         (CFLAGS-strcasestr-nonascii.c): Define.
95292         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95293         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95294         Remove unused attribute.
95296 2010-07-20  Roland McGrath  <roland@redhat.com>
95298         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95299         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
95300         ld.so.cache was broken.  With it, there is no way to disable dsocaps
95301         like LD_HWCAP_MASK can disable hwcaps.
95303 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95305         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95307 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
95309         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95310         call in strcasestr.
95311         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95312         __strcasestr_sse42_nonascii.
95313         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95314         strcasestr-nonascii.c.
95315         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95317 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
95319         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95320         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95321         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95322         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95324 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
95326         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95327         fcntl.
95329 2010-07-06  Andreas Schwab  <schwab@redhat.com>
95331         [BZ #11577]
95332         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95333         dl_signal_cerror.
95335 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
95337         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95338         _PC_PIPE_BUF using F_GETPIPE_SZ.
95340 2010-07-05  Roland McGrath  <roland@redhat.com>
95342         * manual/arith.texi (Rounding Functions): Fix rint description
95343         implicit in round description.
95345 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
95347         * elf/Makefile: Fix linking for a few tests to make recent linker
95348         happy.
95350 2010-06-30  Andreas Schwab  <schwab@redhat.com>
95352         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95353         $(common-objpfx)libc_nonshared.a.
95355 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
95357         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95358         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95359         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95360         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95361         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95362         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95363         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95364         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95379         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95380         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95381         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95382         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95383         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95384         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95385         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95386         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95387         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95388         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95389         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95390         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
95399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
95400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
95401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
95403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
95404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
95406 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
95408         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
95409         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
95410         * string/memmove.c (memmove): Renamed to ...
95411         (MEMMOVE): ...this.  Default to memmove.
95412         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95413         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95414         (END_CHK): Define.
95415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95416         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95417         mempcpy-ssse3-back memmove-ssse3-back.
95418         * sysdeps/x86_64/multiarch/bcopy.S: New file .
95419         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95421         * sysdeps/x86_64/multiarch/memcpy.S: New file.
95422         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95423         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95424         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95425         * sysdeps/x86_64/multiarch/memmove.c: New file.
95426         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95427         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95428         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95429         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95430         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95431         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95432         Define.
95433         (index_Fast_Copy_Backward): Define.
95434         (HAS_ARCH_FEATURE): Define.
95435         (HAS_FAST_REP_STRING): Define.
95436         (HAS_FAST_COPY_BACKWARD): Define.
95438 2010-06-21  Andreas Schwab  <schwab@redhat.com>
95440         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95441         Restore proper fallback handling.
95443 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
95445         [BZ #11701]
95446         * posix/group_member.c (__group_member): Correct checking loop.
95448         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95449         OOM in getpwuid_r correctly.  Return error number when the caller
95450         should return, otherwise -1.
95451         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95452         call returning > 0 value.
95453         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95455 2010-06-07  Andreas Schwab  <schwab@redhat.com>
95457         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95458         libc_nonshared.a from targets in modules-names.
95460 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
95462         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95463         requires it.
95465 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
95467         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95468         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95469         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95472 2010-06-02  Andreas Schwab  <schwab@redhat.com>
95474         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95476 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
95478         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95479         and F_GETPIPE_SZ.
95480         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95484         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95485         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95487 2010-06-14  Roland McGrath  <roland@redhat.com>
95489         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95491 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
95493         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95494         __REDIRECT followed by __THROW.
95495         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95496         * posix/getopt.h (getopt): Likewise.
95498 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95500         * hurd/lookup-at.c (__file_name_lookup_at): Accept
95501         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
95502         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95503         in AT_FLAGS.
95504         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95505         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95507 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
95509         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95511 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
95513         [BZ #11640]
95514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95515         Properly check family and model.
95517 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
95519         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95521 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
95523         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95525 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
95527         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95528         symbol reference.
95530 2010-05-19  Andreas Schwab  <schwab@redhat.com>
95532         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95533         symbol reference.
95535 2010-05-21  Andreas Schwab  <schwab@redhat.com>
95537         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95538         and internal_recvmmsg.
95539         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95540         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95541         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95542         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95544         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95545         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95546         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95548 2010-05-20  Andreas Schwab  <schwab@redhat.com>
95550         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95552 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
95554         POWER7 optimizations.
95555         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95556         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95558 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
95560         * version.h: Update for 2.13 development version.
95562 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
95564         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95565         exceptions.  Return 0.
95567 2010-05-07  Roland McGrath  <roland@redhat.com>
95569         * elf/ldconfig.c (main): Add a const.
95571 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
95573         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95574         (args_options): Add no-idn option.
95575         (ahosts_keys_int): Add idn_flags to ai_flags.
95576         (parse_option): Handle 'i' option to clear idn_flags.
95578         * malloc/malloc.c (_int_free): Possible race in the most recently
95579         added check.  Only act on the data if no current modification
95580         happened.
95582 See ChangeLog.17 for earlier changes.